1 2014-07-07 Roland McGrath <roland@hack.frob.com>
3 * NEWS: NPTL is no longer an add-on!
4 * nptl/internaltypes.h: Moved ...
5 * sysdeps/nptl/internaltypes.h: ... here.
6 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7 * sysdeps/nptl/fork.c: Likewise.
8 * sysdeps/nptl/gai_misc.h: Likewise.
9 * sysdeps/nptl/librt-cancellation.c: Likewise.
10 * sysdeps/nptl/jmp-unwind.c: Likewise.
11 * sysdeps/nptl/setxid.h: Likewise.
12 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14 * sysdeps/unix/sysv/linux/arm/Implies: New file.
15 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
18 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
19 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
20 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21 * sysdeps/unix/sysv/linux/mips/Implies: New file.
22 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24 * sysdeps/unix/sysv/linux/sh/Implies: New file.
25 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26 * sysdeps/unix/sysv/linux/tile/Implies: New file.
27 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29 * nptl/Makeconfig: Moved ...
30 * sysdeps/nptl/Makeconfig: ... here.
31 * nptl/configure: File removed.
32 * nptl/ANNOUNCE: File removed.
33 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34 * sysdeps/unix/sysv/linux/configure: Regenerated.
36 * nptl/Makefile (routines): Add libc_pthread_init,
37 libc_multiple_threads, register-atfork and unregister-atfork.
38 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
39 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41 pthread-pi-defines.sym, structsem.sym.
42 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
43 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44 [$(subdir) = nptl] (tests): Add tst-setgetname.
45 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
46 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
48 [!LIBC_SIGACTION]: Remove aliases.
49 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
50 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
51 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
52 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
53 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
54 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
55 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
58 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
59 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
60 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
61 __libc_allocate_rtsig_private.
62 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
63 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
64 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
65 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
66 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
67 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
68 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
69 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
70 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
71 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
72 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
73 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
74 * nptl/internaltypes.h: ... here.
75 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
76 * sysdeps/nptl/jmp-unwind.c: ... here.
77 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
78 * nptl/libc-lowlevellock.c: ... here.
79 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
80 * nptl/libc_multiple_threads.c: ... here.
81 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
82 * nptl/libc_pthread_init.c: ... here.
83 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
84 * nptl/lowlevelbarrier.sym: ... here.
85 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
86 * nptl/lowlevelcond.sym: ... here.
87 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
88 * nptl/lowlevellock.c: ... here.
89 * nptl/lowlevellock.h: Moved ...
90 * sysdeps/nptl/lowlevellock.h: ... here.
91 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
92 * nptl/lowlevelrobustlock.c: ... here.
93 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
94 * nptl/lowlevelrobustlock.sym: ... here.
95 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
96 * nptl/lowlevelrwlock.sym: ... here.
97 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
98 * nptl/pt-fork.c: ... here.
99 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
100 * nptl/pthread-pi-defines.sym: ... here.
101 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
102 * nptl/pthread_attr_getaffinity.c: ... here.
103 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
104 * nptl/pthread_attr_setaffinity.c: ... here.
105 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
106 * nptl/pthread_mutex_cond_lock.c: ... here.
107 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
109 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
110 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
111 * nptl/pthread_once.c: ... here, replacing old file.
112 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
113 * nptl/pthread_yield.c: ... here.
114 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
115 * nptl/register-atfork.c: ... here.
116 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
117 * nptl/sem_post.c: ... here.
118 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
119 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
120 * nptl/sem_timedwait.c: ... here.
121 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
122 * nptl/sem_trywait.c: ... here.
123 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
124 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
125 * nptl/sem_wait.c: ... here.
126 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
127 * nptl/structsem.sym: ... here.
128 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
129 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
130 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
131 * nptl/unregister-atfork.c: ... here.
132 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
133 * nptl/unwindbuf.sym: ... here.
134 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
135 * sysdeps/nptl/fork.c: ... here.
136 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
137 * sysdeps/nptl/fork.h: ... here.
138 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
139 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
140 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
141 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
142 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
143 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
144 * sysdeps/unix/sysv/linux/getpid.c: ... here.
145 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
146 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
147 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
148 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
149 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
150 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
151 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
152 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
153 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
154 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
155 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
156 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
157 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
158 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
159 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
160 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
161 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
162 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
163 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
164 * sysdeps/unix/sysv/linux/raise.c: ... here.
165 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
166 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
167 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
168 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
169 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
170 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
171 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
172 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
173 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
174 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
175 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
176 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
177 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
178 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
179 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
181 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
183 * sysdeps/generic/memcopy.h: Add comment for
184 MEMCPY_OK_FOR_FWD_MEMMOVE.
186 2014-07-04 Will Newton <will.newton@linaro.org>
188 * string/memchr.c: Merge from gnulib.
189 [_LIBC]: Remove conditionals.
190 (__ptr_t): Remove define.
191 (LONG_MAX_32_BITS): Likewise.
192 (LONG_MAX): Likewise.
193 (MEMCHR): Use ANSI prototype and optimize algorithm.
195 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
197 2014-07-03 Roland McGrath <roland@hack.frob.com>
199 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
200 (lll_futex_timed_wait_bitset): Fix syscall argument count.
202 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
203 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
204 in a bare environment with no <stdlib.h> installed.
205 * sysdeps/nptl/configure: Regenerated.
207 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
209 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
210 AC_EGREP_CPP for kernel header checks, so they only succeed if
211 including <linux/version.h> actually works right.
212 * sysdeps/unix/sysv/linux/configure: Regenerated.
214 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
215 value so it's not diagnosed as unused.
217 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
218 thing) with "ifeq ($(subdir),rt)".
220 2014-07-03 Richard Henderson <rth@redhat.com>
222 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
223 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
224 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
226 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
227 (math_force_eval): New.
229 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
230 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
232 * sysdeps/alpha/fpu/s_round.c: Remove file.
233 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
235 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
236 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
237 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
238 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
239 (_dl_start, print_statistics): Likewise.
240 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
241 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
243 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
244 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
245 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
246 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
247 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
248 (HP_SMALL_TIMING_AVAIL): Define.
249 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
250 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
251 (HP_SMALL_TIMING_AVAIL): Define.
252 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
253 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
255 * sysdeps/aarch64/hp-timing.h: New file.
257 * sysdeps/generic/hp-timing.h: Remove dead comment.
258 * sysdeps/generic/hp-timing-common.h: New file.
259 * sysdeps/alpha/hp-timing.h: Include it.
260 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
261 * sysdeps/i386/i686/hp-timing.h: Likewise.
262 * sysdeps/ia64/hp-timing.h: Likewise.
263 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
264 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
265 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
266 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
267 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
268 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
271 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
272 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
273 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
274 * elf/rtld.c (_dl_start_final): Likewise.
275 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
276 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
277 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
278 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
279 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
281 (HP_TIMING_DIFF_INIT): Remove.
282 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
283 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
284 (HP_TIMING_DIFF_INIT): Remove.
285 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
286 * sysdeps/i386/i686/hp-timing.c: Remove file.
287 * sysdeps/x86_64/hp-timing.c: Remove file.
288 * sysdeps/ia64/hp-timing.c: Remove file.
289 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
290 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
291 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
292 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
294 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
295 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
296 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
297 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
298 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
299 (HP_TIMING_ACCUM): Remove.
300 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
301 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
302 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
304 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
305 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
306 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
307 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
308 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
309 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
310 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
311 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
313 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
315 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
317 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
319 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
321 Sync up with gettext.
322 * intl/loadmsgcat.c: Define O_BINARY if not defined.
323 [_MSC_VER]: Include malloc.h
324 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
325 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
326 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
327 TEMP_FAILURE_RETRY. Cast return of alloca.
328 [!_LIBC] Call gl_rwlock_init.
329 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
331 2014-07-02 Roland McGrath <roland@hack.frob.com>
333 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
334 before checking its value.
336 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
338 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
340 * debug/memcpy_chk.c: Don't include pagecopy.h.
341 * debug/mempcpy_chk.c: Likewise.
342 * string/memcpy.c: Likewise.
343 * string/memmove.c: Likewise.
344 * sysdeps/powerpc/memmove.c: Likewise.
345 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
346 definition of PAGE_COPY_FWD_MAYBE here...
347 * sysdeps/generic/pagecopy.h: ... from here.
348 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
350 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
351 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
357 (__libc_ifunc_impl_list): Likewise.
358 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
359 multiarch strcat for PPC64.
360 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
361 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
363 2014-07-02 Roland McGrath <roland@hack.frob.com>
365 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
367 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
369 * intl/loadmsgcat.c: Remove declaration of
370 get_sysdep_segment_value.
371 (get_sysdep_segment_value): Use ISO C style.
372 (_nl_load_domain): Use ISO C style. Get rid of redundant
373 semicolon. Fix typo and formatting in comment.
374 (_nl_unload_domain): Use ISO C style.
376 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
378 2014-07-02 Will Newton <will.newton@linaro.org>
380 * malloc/obstack.c: Merge from gnulib master.
381 [HAVE_CONFIG_H]: Remove conditional code.
382 [!_LIBC]: Include config.h.
383 [!ELIDE_CODE]: Don't include inttypes.h, include
384 stdint.h unconditionally.
385 (print_and_abort): Mark as _Noreturn.
386 (_obstack_allocated_p): Mark as __attribute_pure__.
387 (obstack_free): Rename to __obstack_free.
388 [!__attribute__]: Remove conditional code.
389 * malloc/obstack.h: Merge from gnulib master.
390 [__cplusplus]: Move conditional down.
391 [!__attribute_pure__]: Define __attribute_pure__ here
392 if it is not already defined.
393 (_obstack_memory_used): Mark as __attribute_pure__.
394 [!__obstack_free]: Define as obstack_free.
395 [__GNUC__]: Remove check for ancient NeXT gcc.
397 2014-07-02 Will Newton <will.newton@linaro.org>
398 Paul Eggert <eggert@cs.ucla.edu>
400 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
402 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
404 * resolv/gethnamaddr.c: Add comment warning that the file is
407 2014-07-01 Carlos O'Donell <carlos@redhat.com>
409 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
412 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
413 entry for aio_cancel and aio_cancel64.
414 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
415 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
416 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
417 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
418 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
419 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
420 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
421 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
422 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
423 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
424 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
425 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
426 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
428 2014-07-01 Roland McGrath <roland@hack.frob.com>
430 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
431 * nptl/pthread_mutex_lock.c: Likewise.
432 * nptl/pthread_mutex_timedlock.c: Likewise.
433 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
435 2014-07-01 Richard henderson <rth@redhat.com>
437 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
438 (__isnan, __isnanl): Remove.
439 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
441 * sysdeps/alpha/fpu/libm-test-ulps: Update.
443 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
445 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
447 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
449 * resolv/nss_dns/dns-host.c (getanswer_r)
450 [MULTI_PTRS_ARE_ALIASES]: Remove code.
452 2014-07-01 Joseph Myers <joseph@codesourcery.com>
454 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
455 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
457 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
458 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
460 2014-07-01 Roland McGrath <roland@hack.frob.com>
462 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
463 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
465 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
466 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
468 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
469 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
471 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
472 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
474 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
475 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
476 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
477 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
479 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
480 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
481 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
482 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
483 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
485 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
487 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
489 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
490 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
491 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
492 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
493 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
494 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
495 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
497 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
499 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
500 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
501 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
503 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
504 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
505 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
506 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
508 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
509 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
510 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
511 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
512 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
513 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
514 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
515 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
517 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
519 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
520 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
521 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
524 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
528 2014-06-30 Joseph Myers <joseph@codesourcery.com>
530 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
531 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
533 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
535 * sysdeps/arm/libm-test-ulps: Regenerated.
537 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
538 Roland McGrath <roland@hack.frob.com>
540 * test-skeleton.c (signal_handler): Kill the whole process group
541 before killing the child individually.
542 (main): Report any failure on `setpgid'.
544 2014-06-30 Roland McGrath <roland@hack.frob.com>
546 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
547 from _TLS_H to _ARM_NPTL_TLS_H.
548 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
549 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
551 2014-06-30 Joseph Myers <joseph@codesourcery.com>
554 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
555 (__expm1l): Return argument unchanged when small but not
558 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
560 (_FP_UNPACK_RAW_1_P): Likewise.
561 (_FP_PACK_RAW_1): Likewise.
562 (_FP_PACK_RAW_1_P): Likewise.
563 (_FP_MUL_MEAT_1_wide): Likewise.
564 (_FP_MUL_MEAT_DW_1_hard): Likewise.
565 (_FP_MUL_MEAT_1_hard): Likewise.
566 (_FP_DIV_MEAT_1_imm): Likewise.
567 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
568 (_FP_DIV_MEAT_1_udiv): Likewise.
569 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
570 (_FP_UNPACK_RAW_2): Likewise.
571 (_FP_UNPACK_RAW_2_P): Likewise.
572 (_FP_PACK_RAW_2): Likewise.
573 (_FP_PACK_RAW_2_P): Likewise.
574 (_FP_MUL_MEAT_DW_2_wide): Likewise.
575 (_FP_MUL_MEAT_2_wide): Likewise.
576 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
577 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
578 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
579 (_FP_MUL_MEAT_2_gmp): Likewise.
580 (_FP_DIV_MEAT_2_udiv): Likewise.
581 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
582 (_FP_FRAC_SRL_4): Likewise.
583 (_FP_FRAC_SRST_4): Likewise.
584 (_FP_FRAC_SRS_4): Likewise.
585 (_FP_UNPACK_RAW_4): Likewise.
586 (_FP_UNPACK_RAW_4_P): Likewise.
587 (_FP_PACK_RAW_4): Likewise.
588 (_FP_PACK_RAW_4_P): Likewise.
589 (_FP_MUL_MEAT_DW_4_wide): Likewise.
590 (_FP_MUL_MEAT_4_wide): Likewise.
591 (_FP_MUL_MEAT_4_gmp): Likewise.
592 (umul_ppppmnnn): Likewise.
593 (_FP_DIV_MEAT_4_udiv): Likewise.
594 (__FP_FRAC_ADD_4): Likewise.
595 (__FP_FRAC_SUB_3): Likewise.
596 (__FP_FRAC_SUB_4): Likewise.
597 (__FP_FRAC_DEC_3): Likewise.
598 (__FP_FRAC_DEC_4): Likewise.
599 (__FP_FRAC_ADDI_4): Likewise.
600 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
601 (_FP_FRAC_SRL_8): Likewise.
602 (_FP_FRAC_SRS_8): Likewise.
604 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
606 (FP_UNPACK_RAW_EP): Likewise.
607 (FP_PACK_RAW_E): Likewise.
608 (FP_PACK_RAW_EP): Likewise.
609 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
610 (_FP_ISSIGNAN): Likewise.
611 (_FP_ADD_INTERNAL): Likewise.
614 (_FP_SQRT): Likewise.
615 (_FP_TO_INT): Likewise.
616 (_FP_FROM_INT): Likewise.
617 (FP_EXTEND): Likewise.
618 (_FP_DIV_MEAT_N_loop): Likewise.
620 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
622 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
625 2014-06-29 Joseph Myers <joseph@codesourcery.com>
628 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
629 result with correct sign in case of exponents that produce
630 overflow except for X very close to 1.
632 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
634 mktime: merge #if/#ifdef usage from glibc
635 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
636 as that works with both Glibc's and Gnulib's style.
637 See thread starting at Siddhesh Poyarekar's bug report at:
638 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
640 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
642 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
643 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
644 * sysdeps/tile/tilegx/memmove.c: Remove file.
646 2014-06-27 Joseph Myers <joseph@codesourcery.com>
648 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
650 * scripts/soversions.awk: Do not handle or generate ABI lines.
651 * shlib-versions: Remove ABI entries.
652 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
653 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
655 2014-06-27 Roland McGrath <roland@hack.frob.com>
657 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
658 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
659 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
660 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
661 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
662 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
663 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
665 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
667 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
668 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
670 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
671 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
673 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
674 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
675 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
676 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
677 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
678 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
679 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
681 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
682 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
684 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
686 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
688 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
689 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
691 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
692 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
693 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
694 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
696 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
697 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
698 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
699 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
700 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
701 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
703 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
705 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
706 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
707 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
708 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
710 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
711 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
713 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
714 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
715 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
718 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
720 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
721 Identical file removed.
722 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
724 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
725 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
726 Identical file removed.
727 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
728 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
729 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
731 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
732 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
733 Identical file removed.
734 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
736 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
737 Identical file removed.
738 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
740 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
741 Identical file removed.
742 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
744 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
745 Identical file removed.
746 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
748 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
749 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
750 Identical file removed.
751 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
753 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
754 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
756 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
757 Identical file removed.
758 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
760 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
762 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
763 Identical file removed.
764 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
766 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
767 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
768 Identical file removed.
769 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
771 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
772 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
773 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
774 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
776 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
778 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
779 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
780 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
782 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
783 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
784 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
785 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
786 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
788 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
791 * nscd/nscd.c (monitor_child): Return exit status of child
792 instead of return value from wait syscall.
794 2014-06-27 Joseph Myers <joseph@codesourcery.com>
796 * configure.ac (libc_commonpagesize): Remove variable.
797 (libc_relro_required): Likewise.
798 (libc_cv_z_relro): Remove configure test.
799 * configure: Regenerated.
800 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
802 (libc_relro_required): Likewise.
803 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
804 (libc_relro_required): Likewise.
805 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
806 (libc_relro_required): Likewise.
807 * sysdeps/arm/preconfigure: Regenerated.
808 * sysdeps/ia64/preconfigure: Remove file.
809 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
811 (libc_relro_required): Likewise.
815 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
816 (__ieee754_yn): Set FE_TONEAREST mode internally and then
817 recompute overflowing results in original rounding mode.
818 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
819 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
820 recompute overflowing results in original rounding mode.
821 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
822 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
823 recompute overflowing results in original rounding mode.
824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
825 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
826 recompute overflowing results in original rounding mode.
827 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
828 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
829 recompute overflowing results in original rounding mode.
830 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
831 (libc_feholdsetround_ctx): New macro.
832 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
833 * sysdeps/i386/fpu/libm-test-ulps: Update.
834 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
836 2014-06-26 Joseph Myers <joseph@codesourcery.com>
838 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
839 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
840 corresponding .cpsetup call.
842 2014-06-26 Roland McGrath <roland@hack.frob.com>
844 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
845 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
846 * sysdeps/arm/Makefile [$(subdir) = csu]
847 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
848 (static-only-routines): Add aeabi_read_tp here.
849 (shared-only-routines): Add libc-aeabi_read_tp here.
850 (CFLAGS-libc-start.c): Add -fexceptions here.
851 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
852 (sysdep_routines, static-only-routines, shared-only-routines):
853 Don't add to these here.
854 (CFLAGS-libc-start.c): Likewise.
856 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
857 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
858 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
859 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
860 * sysdeps/arm/Makefile [$(subdir) = rt]
861 (librt-sysdep_routines, librt-shared-only-routines):
862 Append rt-aeabi_unwind_cpp_pr1 here.
863 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
864 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
865 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
866 (libpthread-sysdep_routines, libpthread-shared-only-routines):
867 Append nptl-aeabi_unwind_cpp_pr1 here.
868 (tests): Filter out tst-cleanupx4 here.
869 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
870 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
873 2014-06-26 Joseph Myers <joseph@codesourcery.com>
875 * scripts/list-sources.sh: Do not handle ports specially.
877 2014-06-26 Roland McGrath <roland@hack.frob.com>
879 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
880 * sysdeps/arm/feupdateenv.c: Likewise.
882 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
884 2014-06-26 Joseph Myers <joseph@codesourcery.com>
886 * manual/texinfo.tex: Update to version 2014-05-05.10 with
887 trailing whitespace removed.
888 * scripts/config.guess: Update to version 2014-03-23.
889 * scripts/config.sub: Update to version 2014-05-01
890 * scripts/install-sh: Update to version 2013-12-25.23.
891 * scripts/move-if-change: Update from gnulib.
893 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
895 * debug/memmove_chk.c: Remove pagecopy.h include.
897 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
899 * time/mktime.c (leapyear): Remove inline keyword. The code is now
900 identical to gnulib mktime.
902 2014-06-26 Joseph Myers <joseph@codesourcery.com>
904 * configure.ac: Do not test for machine being rs6000. Do not test
906 * configure: Regenerated.
908 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
910 * configure: Regenerated.
911 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
912 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
913 Remove configure test.
914 * sysdeps/arm/configure: Regenerated.
915 * sysdeps/nptl/configure.ac: Do not check
916 libc_cv_asm_cfi_directives.
917 * sysdeps/nptl/configure: Regenerated.
918 * sysdeps/x86_64/nptl/configure.ac: Remove file.
919 * sysdeps/x86_64/nptl/configure: Remove generated file.
920 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
922 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
924 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
926 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
927 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
928 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
931 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
932 instead of whether it is defined.
933 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
934 * sysdeps/hppa/dl-machine.h: Likewise.
935 * sysdeps/ia64/dl-machine.h: Likewise.
936 * sysdeps/m68k/dl-machine.h: Likewise.
937 * sysdeps/microblaze/dl-machine.h: Likewise.
938 * sysdeps/mips/dl-machine.: Likewise.
939 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
940 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
941 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
942 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
943 * sysdeps/sh/dl-machine.h: Likewise.
944 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
945 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
946 * sysdeps/tile/dl-machine.h: Likewise.
947 * sysdeps/x86_64/dl-machine.h: Likewise.
949 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
951 (verify_persistent_db): Likewise.
953 2014-06-26 Roland McGrath <roland@hack.frob.com>
955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
956 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
958 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
961 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
964 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
966 Identical file removed.
967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
968 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
970 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
972 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
974 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
976 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
979 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
981 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
986 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
990 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
992 Identical file removed.
993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
994 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
996 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
999 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1002 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1004 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1006 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1008 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1010 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1013 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1016 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1018 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1021 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1023 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1027 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1028 * sysdeps/unix/sysv/linux/s390/Versions
1029 (libpthread: GLIBC_2.19): New version set.
1030 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1031 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1032 (librt: GLIBC_2.3.3): New version set.
1033 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1034 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1035 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1036 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1037 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1038 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1039 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1040 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1041 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1042 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1043 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1044 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1045 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1047 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1049 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1050 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1051 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1052 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1053 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1054 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1055 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1056 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1057 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1058 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1059 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1060 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1061 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1062 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1063 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1064 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1066 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1069 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1070 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1071 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1072 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1073 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1074 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1075 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1076 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1077 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1079 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1080 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1081 (__libc_vfork): Define the function under this name.
1082 [!NOT_IN_libc] (__vfork): Make this an alias.
1083 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1084 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1085 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1086 (__libc_vfork): Define the function under this name.
1087 [!NOT_IN_libc] (__vfork): Make this an alias.
1088 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1089 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1090 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1091 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1092 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1093 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1095 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1096 code that was previously under [RESET_PID].
1097 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1098 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1099 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1101 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1102 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1103 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1104 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1105 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1106 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1107 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1108 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1109 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1110 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1111 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1113 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1114 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1115 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1117 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1118 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1119 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1123 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1124 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1125 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1126 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1131 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1132 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1135 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1136 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1137 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1138 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1139 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1140 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1141 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1143 2014-06-25 Roland McGrath <roland@hack.frob.com>
1145 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1146 that was previously under [RESET_PID].
1147 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1149 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1151 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1152 not undefine and redefine.
1153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1154 [O_CLOEXEC]: Make code unconditional.
1155 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1156 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1157 <kernel-features.h>.
1158 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1159 conditional variable definition.
1160 (shm_open) [O_CLOEXEC]: Make code unconditional.
1161 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1164 * configure.ac (USE_REGPARMS): Don't define here.
1165 * configure: Regenerated.
1166 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1167 * sysdeps/i386/configure: Regenerated.
1169 * nptl/createthread.c: Don't include kernel-features.h.
1170 * nptl/pthread_cancel.c: Likewise.
1171 * nptl/pthread_condattr_setclock.c: Likewise.
1172 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1173 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1174 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1175 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1176 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1177 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1178 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1179 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1180 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1181 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1182 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1183 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1184 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1185 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1186 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1187 * nscd/gai.c: Likewise.
1188 * nss/nss_db/db-open.c: Likewise.
1189 * sysdeps/generic/ldsodefs.h: Likewise.
1190 * sysdeps/sh/nptl/tls.h: Likewise.
1191 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1192 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1193 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1194 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1195 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1196 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1197 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1198 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1200 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1201 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1202 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1203 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1204 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1205 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1206 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1207 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1208 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1209 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1210 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1211 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1212 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1213 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1214 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1215 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1216 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1217 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1218 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1219 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1220 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1221 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1222 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1223 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1224 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1225 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1226 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1227 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1228 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1229 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1230 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1231 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1232 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1233 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1234 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1235 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1236 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1237 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1238 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1239 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1240 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1241 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1242 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1243 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1244 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1245 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1246 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1247 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1248 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1271 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1272 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1273 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1274 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1275 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1276 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1277 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1278 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1279 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1280 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1281 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1282 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1283 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1284 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1285 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1286 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1287 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1288 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1289 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1290 * sysdeps/unix/sysv/linux/system.c: Likewise.
1291 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1292 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1293 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1294 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1295 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1296 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1297 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1299 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1300 * configure: Regenerated.
1301 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1303 * configure.ac (base_machine): Do not set specially for particular
1305 * configure: Regenerated.
1306 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1307 settings from configure.ac.
1308 * sysdeps/i386/preconfigure: New file.
1309 * sysdeps/s390/preconfigure: Likewise.
1310 * sysdeps/sh/preconfigure: Likewise.
1311 * sysdeps/sparc/preconfigure: Likewise.
1313 2014-06-25 Roland McGrath <roland@hack.frob.com>
1315 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1316 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1317 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1318 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1319 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1320 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1321 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1322 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1323 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1324 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1325 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1326 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1327 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1328 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1329 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1330 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1331 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1332 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1333 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1335 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1336 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1337 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1338 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1339 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1340 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1341 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1342 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1343 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1344 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1345 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1346 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1347 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1348 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1349 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1350 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1351 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1352 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1353 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1354 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1355 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1356 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1357 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1358 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1359 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1360 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1361 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1362 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1363 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1364 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1365 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1366 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1367 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1368 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1369 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1370 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1371 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1372 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1375 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1380 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1383 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1385 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1388 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1390 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1392 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1394 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1397 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1400 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1402 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1405 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1407 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1411 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1416 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1419 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1421 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1424 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1426 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1428 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1430 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1433 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1436 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1441 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1443 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1445 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1447 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1449 * timezone/checktab.awk: Update from tzcode 2014e.
1450 * timezone/private.h: Likewise.
1451 * timezone/tzfile.h: Likewise.
1452 * timezone/zdump.c: Likewise.
1453 * timezone/zic.c: Likewise.
1455 * sysdeps/unix/sysv/linux/kernel-features.h
1456 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1457 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1458 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1459 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1460 Remove conditional code.
1462 2014-06-25 Will Newton <will.newton@linaro.org>
1464 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1465 (_dl_arm_cap_flags): Add HWCAP2 values.
1466 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1467 (_DL_HWCAP_COUNT): Increase to 37.
1468 (_DL_HWCAP_LAST): New define.
1469 (_DL_HWCAP2_LAST): New define.
1470 (_dl_procinfo): Add support for printing
1472 (_dl_string_hwcap): Use _dl_hwcap_string.
1474 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1478 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1480 * README: Do not mention ports directory.
1482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1484 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1485 <kernel-features.h>.
1486 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1487 conditional variable definition.
1488 (__futimes): Update comment.
1489 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1490 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1493 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1494 arguments close to 0.
1495 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1497 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1499 * math/auto-libm-test-in: Add more tests of exp10.
1500 * math/auto-libm-test-out: Regenerated.
1501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1503 * sysdeps/unix/sysv/linux/kernel-features.h
1504 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1505 * sysdeps/unix/sysv/linux/readv.c: Do not include
1506 <kernel-features.h>.
1507 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1508 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1509 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1511 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1513 * sysdeps/unix/sysv/linux/writev.c: Do not include
1514 <kernel-features.h>.
1515 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1516 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1517 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1519 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1522 2014-06-25 Will Newton <will.newton@linaro.org>
1524 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1525 comment changes throughout the file. Remove checks
1526 for HAVE_*_H definitions that are not required.
1527 (__gen_tempname): Call abort if an unknown kind value is
1530 2014-06-25 Andreas Schwab <schwab@suse.de>
1533 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1534 scalbln, scalblnf, scalblnl in libc.
1536 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1539 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1540 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1541 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1543 2014-06-24 Roland McGrath <roland@hack.frob.com>
1545 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1546 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1547 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1548 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1550 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1551 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1553 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1554 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1555 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1556 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1557 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1558 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1559 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1560 * sysdeps/x86/bits/semaphore.h: ... here.
1561 * sysdeps/x86/nptl/elide.h: Moved ...
1562 * sysdeps/x86/elide.h: ... here.
1563 * sysdeps/x86_64/nptl/Implies: File removed.
1564 * sysdeps/i386/nptl/Implies: File removed.
1566 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1569 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1570 return the argument for normal arguments with exponent below -64.
1571 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1573 * math/auto-libm-test-in: Add another test of expm1.
1574 * math/auto-libm-test-out: Regenerated.
1577 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1578 calling __erfcl for arguments at least 16.
1579 * math/auto-libm-test-in: Add more tests of erf.
1580 * math/auto-libm-test-out: Regenerated.
1582 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1583 individual architectures.
1584 * sysdeps/unix/sysv/linux/configure: Regenerated.
1585 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1586 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1587 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1588 (ldd_rewrite_script): Define variable.
1589 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1594 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1595 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1596 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1597 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1598 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1599 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1600 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1601 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1603 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1606 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1607 Rename member __data.d to __data.__elision_data.
1609 2014-06-24 Wilco <wdijkstr@arm.com>
1611 * NEWS: Add 16918 to fixed bug list.
1613 2014-06-24 Wilco <wdijkstr@arm.com>
1615 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1617 2014-06-24 Wilco <wdijkstr@arm.com>
1619 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1620 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1621 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1622 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1623 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1624 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1625 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1628 2014-06-24 Wilco <wdijkstr@arm.com>
1630 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1632 2014-06-24 Wilco <wdijkstr@arm.com>
1634 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1635 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1636 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1637 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1639 2014-06-24 Wilco <wdijkstr@arm.com>
1642 * sysdeps/arm/feupdateenv.c (feupdateenv):
1643 Rewrite to reduce FPSCR accesses and fix return value.
1645 2014-06-24 Wilco <wdijkstr@arm.com>
1647 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1648 Optimize to avoid unnecessary FPSCR writes.
1649 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1650 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1651 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1652 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1654 2014-06-24 Wilco <wdijkstr@arm.com>
1656 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1657 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1658 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1659 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1660 Call libc_fetestexcept_vfp.
1661 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1662 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1663 __SOFTFP__ ifdef so that they can be built for softfp.
1665 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1667 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1668 argument type signed char.
1670 * Makerules (check-abi): Dump diff of symlist if the test
1673 2014-06-23 Roland McGrath <roland@hack.frob.com>
1675 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1678 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1679 Remove unused variable ST.
1681 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1685 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1686 small arguments before calling __expm1.
1687 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1688 small arguments before calling __expm1f.
1689 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1690 small arguments before calling __expm1l.
1691 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1693 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1694 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1695 spurious underflow for some cosh tests.
1696 * math/auto-libm-test-out: Regenerated.
1697 * sysdeps/i386/fpu/libm-test-ulps: Update.
1700 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1701 (__ieee754_y1): Set errno if return value overflows.
1702 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1703 (__ieee754_y1f): Set errno if return value overflows.
1704 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1705 (__ieee754_y1l): Set errno if return value overflows.
1706 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1707 (__ieee754_y1l): Set errno if return value overflows.
1708 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1709 * math/auto-libm-test-out: Regenerated.
1711 * math/gen-auto-libm-tests.c: Document use of
1712 ignore-zero-inf-sign.
1713 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1714 (input_flags): Add ignore-zero-inf-sign.
1715 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1716 * math/gen-libm-test.pl (generate_testfile): Handle
1717 ignore-zero-inf-sign.
1718 * math/auto-libm-test-in: Mark some cpow tests with
1719 ignore-zero-inf-sign and some with xfail-rounding.
1720 * math/auto-libm-test-out: Regenerated.
1721 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1722 * sysdeps/i386/fpu/libm-test-ulps: Update.
1723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1726 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1727 overflowing or underflowing operations take place with sign of
1729 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1730 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1731 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1732 (__ieee754_pow): Recompute overflowing and underflowing results in
1733 original rounding mode.
1734 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1735 (__powl_helper): Allow negative argument X and scale negated value
1736 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1737 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1738 overflowing or underflowing operations take place with sign of
1740 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1742 * math/auto-libm-test-in: Add more tests of pow.
1743 * math/auto-libm-test-out: Regenerated.
1744 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1745 (pow_tonearest_test_data): Remove.
1746 (pow_test_tonearest): Likewise.
1747 (pow_towardzero_test_data): Likewise.
1748 (pow_test_towardzero): Likewise.
1749 (pow_downward_test_data): Likewise.
1750 (pow_test_downward): Likewise.
1751 (pow_upward_test_data): Likewise.
1752 (pow_test_upward): Likewise.
1753 (main): Don't call removed functions.
1754 * sysdeps/i386/fpu/libm-test-ulps: Update.
1755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1757 2014-06-23 Roland McGrath <roland@hack.frob.com>
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1933 2014-06-23 Will Newton <will.newton@linaro.org>
1934 Wilco <wdijkstr@arm.com>
1936 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1937 implementation. Include get-rounding-mode.h.
1938 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1939 [!libc_feholdsetround_noex_ctx]: Define
1940 libc_feholdsetround_noex_ctx.
1941 [!libc_feholdsetround_noexf_ctx]: Define
1942 libc_feholdsetround_noexf_ctx.
1943 [!libc_feholdsetround_noexl_ctx]: Define
1944 libc_feholdsetround_noexl_ctx.
1945 (libc_feholdsetround_ctx): New function.
1946 (libc_feresetround_ctx): New function.
1947 (libc_feholdsetround_noex_ctx): New function.
1948 (libc_feresetround_noex_ctx): New function.
1950 2014-06-23 Roland McGrath <roland@hack.frob.com>
1952 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1953 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1954 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1955 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1956 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1957 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1959 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1960 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1961 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1962 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1963 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1964 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1965 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1966 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1967 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1971 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1973 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1974 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1976 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1979 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1980 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1981 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1983 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1984 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1985 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1988 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1989 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1991 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1996 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1997 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1998 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2000 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2001 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2002 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2003 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2004 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2005 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2007 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2009 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2010 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2011 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2012 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2013 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2014 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2015 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2016 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2017 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2018 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2020 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2021 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2023 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2024 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2025 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2027 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2028 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2030 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2031 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2032 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2034 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2036 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2037 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2038 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2039 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2040 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2041 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2042 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2043 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2044 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2045 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2047 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2048 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2049 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2050 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2051 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2052 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2053 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2057 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2058 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2059 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2063 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2065 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2068 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2069 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2070 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2071 (IPV6_PMTUDISC_INTERFACE): Likewise.
2072 (IPV6_PMTUDISC_OMIT): Likewise.
2074 2014-06-23 Andreas Schwab <schwab@suse.de>
2076 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2077 Remove unused errout label.
2079 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2082 macro: hardware supports Vector Crypto instructions.
2084 2014-06-23 Will Newton <will.newton@linaro.org>
2086 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2087 rather than __builtin_expect.
2089 * elf/dl-lookup.c (undefined_msg): Remove variable.
2090 (_dl_lookup_symbol_x): Replace undefined_msg with string
2093 * elf/dl-lookup.c (do_lookup_unique): New function.
2094 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2095 to a separate function.
2097 2014-06-23 Andreas Schwab <schwab@suse.de>
2100 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2101 before reading the next line.
2103 2014-06-23 Will Newton <will.newton@linaro.org>
2105 * test-skeleton.c (signal_handler): Use printf and %m
2106 rather than perror. Use printf rather than fprintf to
2107 stderr. Use puts rather than fputs to stderr.
2110 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2112 * nscd/nscd.c (thread_info_t): Remove typedef.
2113 (thread_info): Remove variable.
2115 2014-06-21 Allan McRae <allan@archlinux.org>
2117 * NEWS: Mention CVE-2014-4043.
2119 2014-06-20 Roland McGrath <roland@hack.frob.com>
2121 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2122 * nptl/smp.h: ... here.
2124 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2126 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2127 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2128 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2129 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2131 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2132 * nptl/stack-aliasing.h: New file.
2133 * sysdeps/i386/i686/stack-aliasing.h: New file.
2134 * sysdeps/i386/i686/nptl/Makefile: File removed.
2135 * sysdeps/x86_64/stack-aliasing.h: New file.
2136 * sysdeps/x86_64/nptl/Makefile
2137 (CFLAGS-pthread_create.c): Variable removed.
2139 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2140 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2142 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2143 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2146 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2148 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2149 (__ASSUME_SIGFRAME_V2): Remove macro.
2150 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2151 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2152 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2153 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2154 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2155 Declare as function. Remove conditional macro definitions.
2156 (__default_rt_sa_restorer): Likewise.
2157 (__default_sa_restorer_v1): Remove declaration.
2158 (__default_sa_restorer_v2): Likewise.
2159 (__default_rt_sa_restorer_v1): Likewise.
2160 (__default_rt_sa_restorer_v2): Likewise.
2161 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2162 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2163 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2165 2014-06-20 Roland McGrath <roland@hack.frob.com>
2167 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2168 (libpthread-routines): Add sysdep.
2169 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2170 * sysdeps/unix/sysv/linux/sparc/Versions
2171 (libpthread: GLIBC_2.3.3): New version set.
2172 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2173 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2174 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2175 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2176 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2177 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2179 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2180 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2181 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2182 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2183 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2184 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2185 * sysdeps/sparc/nptl/sem_init.c: ... here.
2186 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2187 * sysdeps/sparc/nptl/sem_post.c: ... here.
2188 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2189 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2190 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2191 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2192 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2193 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2194 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2195 (libpthread-routines): Add cpu_relax.
2196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2198 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2199 (librt: GLIBC_2.3.3): New version set.
2200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2201 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2202 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2203 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2206 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2209 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2210 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2211 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2213 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2214 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2215 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2216 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2217 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2218 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2220 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2222 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2224 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2226 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2228 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2230 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2232 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2234 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2236 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2240 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2243 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2245 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2254 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2256 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2258 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2260 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2262 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2263 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2264 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2265 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2266 * nscd/nscd.c: Likewise.
2267 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2268 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2269 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2270 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2272 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2273 <kernel-features.h>.
2274 (init_mq_netlink): Remove conditional have_sock_cloexec
2275 definitions. Remove code conditional on have_sock_cloexec < 0.
2276 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2277 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2278 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2279 <kernel-features.h>.
2280 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2281 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2283 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2286 Add tests for memset_chk and memset.
2288 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2291 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2294 * elf/tst-dl-iter-static.c: New file.
2295 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2297 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2300 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2302 * sysdeps/unix/sysv/linux/kernel-features.h
2303 (__ASSUME_F_GETOWN_EX): Remove macro.
2304 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2305 <kernel-features.h>.
2306 (miss_F_GETOWN_EX): Remove variable or macro.
2307 (do_fcntl): Do not check miss_F_GETOWN_EX.
2308 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2310 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2313 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2314 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2316 * sysdeps/unix/sysv/linux/kernel-features.h
2317 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2318 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2319 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2320 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2322 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2325 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2326 Fix calculation of the symbol's value.
2327 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2328 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2329 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2330 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2331 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2332 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2333 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2334 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2335 (modules-names): Add `tst-armtlsdescmod',
2336 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2337 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2338 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2339 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2340 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2341 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2342 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2343 ($(objpfx)tst-armtlsdescloc): New dependency.
2344 ($(objpfx)tst-armtlsdescextnow): Likewise.
2345 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2346 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2348 * sysdeps/arm/configure: Regenerate.
2350 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2352 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2353 (__atfct_seterrno_2): Likewise.
2354 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2355 <kernel-features.h>.
2356 (__ASSUME_ATFCTS): Do not undefine and redefine.
2357 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2358 (__have_atfcts): Remove conditional definition.
2359 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2360 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2361 unreachable if [__ASSUME_ATFCTS].
2362 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2363 not undefine and redefine.
2364 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2365 <kernel-features.h>.
2366 (faccessat) [__NR_faccessat]: Make code unconditional.
2367 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2368 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2369 <kernel-features.h>.
2370 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2371 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2372 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2373 <kernel-features.h>.
2374 (fchownat) [__NR_fchownat]: Make code unconditional.
2375 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2376 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2377 <kernel-features.h>.
2378 (futimesat) [__NR_futimesat]: Make code unconditional.
2379 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2380 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2381 <kernel-features.h>.
2382 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2383 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2384 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2385 <kernel-features.h>.
2386 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2387 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2388 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2389 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2390 <kernel-features.h>.
2391 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2392 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2393 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2394 <kernel-features.h>.
2395 (linkat) [__NR_linkat]: Make code unconditional.
2396 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2397 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2398 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2399 <kernel-features.h>.
2400 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2401 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2402 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2403 <kernel-features.h>.
2404 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2405 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2406 * sysdeps/unix/sysv/linux/openat.c: Do not include
2407 <kernel-features.h>.
2408 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2409 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2410 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2411 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2412 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2413 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2414 <kernel-features.h>.
2415 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2416 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2417 result of INLINE_SYSCALL directly, not via int variable.
2418 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2419 <kernel-features.h>.
2420 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2421 (renameat) [__NR_renameat]: Make code unconditional.
2422 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2423 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2424 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2425 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2426 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2427 (__ASSUME_ATFCTS): Do not undefine and redefine.
2428 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2429 <kernel-features.h>.
2430 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2431 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2432 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2433 <kernel-features.h>.
2434 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2435 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2436 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2437 (__ASSUME_ATFCTS): Do not undefine and redefine.
2438 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2439 <kernel-features.h>.
2440 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2441 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2442 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2443 <kernel-features.h>.
2444 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2445 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2447 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2449 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2451 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2454 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2455 constructed tree before returning error.
2456 * posix/bug-regexp36.c: Expand test case.
2458 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2461 * math/libm-test.inc (scalbln_test_date):
2462 Add errno expectations.
2463 * math/w_scalblnf.c: New File.
2464 Add wrapper which checks for setting errno to ERANGE.
2465 Add weak_alias for corresponding scalbln function.
2466 * math/w_scalbln.c: Likewise.
2467 * math/w_scalblnl.c: Likewise.
2468 * math/Makefile (libm-calls): Add w_scalbln.
2469 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2470 Remove weak_alias for corresponding scalbln function.
2471 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2473 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2475 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2476 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2477 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2478 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2479 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2480 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2481 Remove long_double_symbol for scalblnl function in libm, libc.
2482 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2483 Add wrapper which checks for setting errno to ERANGE.
2484 Add long_double_symbol for scalblnl function in libm, libc.
2485 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2486 Remove long_double_symbol for scalblnl in libm.
2487 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2488 Add wrapper which checks for setting errno to ERANGE.
2489 Add long_double_symbol for scalblnl function in libm.
2490 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2491 Do not use wrapper because of own implementation.
2493 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2495 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2496 3 bytes for __pad1 for x32.
2497 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2499 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2500 H.J. Lu <hongjiu.lu@intel.com>
2502 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2503 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2504 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2505 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2506 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2508 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2511 * posix/regcomp.c (parse_expression): Deallocate partially
2512 constructed tree before returning error.
2513 * posix/Makefile.c (tests): Add bug-regex36.
2514 (generated): Add bug-regex36.mtrace.
2515 (tests-special): Add $(objpfx)bug-regex36-mem.out
2516 (bug-regex36-ENV): New variable.
2517 ($(objpfx)bug-regex36-mem.out): New rule.
2518 * posix/bug-regex36.c: New file.
2520 2014-06-19 Will Newton <will.newton@linaro.org>
2522 * malloc/malloc.c (systrim): If extra is zero then return
2525 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2527 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2529 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2531 * sysdeps/aarch64/strchr.S: New file.
2533 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2536 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2537 from arguments -2 or below.
2538 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2539 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2541 2014-06-18 Andreas Schwab <schwab@suse.de>
2544 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2545 of a bracket expr not to run off the end of the string.
2546 * posix/Makefile (tests): Add tst-fnmatch3.
2547 * posix/tst-fnmatch3.c: New file.
2549 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2551 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2552 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2553 [$(cross-compiling) = no]: Likewise.
2554 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2555 [$(cross-compiling) = no]: Likewise.
2557 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2560 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2561 double, adjusted for any remainder from the high double.
2562 * math/libm-test.inc (nearbyint): Add tests.
2565 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2567 * nptl/sysdeps/powerpc/Makefile: Moved ...
2568 * sysdeps/powerpc/nptl/Makefile: ... here.
2569 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2570 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2571 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2572 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2573 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2574 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2575 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2576 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2577 * nptl/sysdeps/powerpc/tls.h: Moved ...
2578 * sysdeps/powerpc/nptl/tls.h: ... here.
2580 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2583 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2584 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2585 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2586 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2587 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2588 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2589 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2590 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2591 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2593 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2595 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2597 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2599 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2602 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2605 2014-06-16 Florian Weimer <fweimer@redhat.com>
2608 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2609 non-executed part of the test.
2611 2014-06-16 Andreas Schwab <schwab@suse.de>
2613 * string/bits/string2.h (strdup, strndup): Update feature guard.
2615 2014-06-14 David S. Miller <davem@davemloft.net>
2617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2619 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2621 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2622 that was previously under [RESET_PID].
2623 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2625 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2626 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2627 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2628 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2629 (__libc_vfork): New strong alias.
2630 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2632 2014-06-14 Andi Kleen <ak@linux.intel.com>
2634 * sysdeps/generic/elide.h: New file.
2636 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2638 * Makefile (installed-headers): Adjust path of pthread.h header.
2640 2014-06-13 Roland McGrath <roland@hack.frob.com>
2642 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2643 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2644 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2645 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2647 * nptl/sysdeps/s390/Makefile: Moved ...
2648 * sysdeps/s390/nptl/Makefile: ... here.
2649 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2650 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2651 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2652 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2653 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2654 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2655 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2656 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2657 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2658 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2659 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2660 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2661 * nptl/sysdeps/s390/tls.h: Moved ...
2662 * sysdeps/s390/nptl/tls.h: ... here.
2664 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2665 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2667 2014-06-13 David S. Miller <davem@davemloft.net>
2669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2676 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2677 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2678 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2679 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2680 Remove RESET_PID cpp guards.
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2682 Remove RESET_PID cpp guards.
2683 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2685 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2687 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2690 2014-06-13 Andi Kleen <ak@linux.intel.com>
2692 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2693 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2694 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2695 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2696 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2697 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2698 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2699 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2700 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2701 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2702 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2703 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2704 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2705 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2706 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2707 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2708 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2709 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2710 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2711 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2713 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2714 (pthread_rwlock_rdlock): Add elision.
2715 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2716 (pthread_rwlock_wrlock): Add elision.
2717 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2718 (pthread_rwlock_trywrlock): Add elision.
2719 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2720 (pthread_rwlock_tryrdlock): Add elision.
2721 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2722 (pthread_rwlock_tryrdlock): Add elision unlock.
2723 * nptl/sysdeps/pthread/pthread.h:
2724 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2725 (PTHREAD_RWLOCK_INITIALIZER,
2726 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2727 Handle new elision field.
2728 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2729 * sysdeps/arm/nptl/bits/pthreadtypes.h
2730 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2731 * sysdeps/sh/nptl/bits/pthreadtypes.h
2732 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2733 * sysdeps/tile/nptl/bits/pthreadtypes.h
2734 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2735 * sysdeps/a/nptl/bits/pthreadtypes.h
2736 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2737 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2738 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2739 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2740 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2741 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2742 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2743 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2744 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2745 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2746 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2747 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2748 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2749 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2750 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2751 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2752 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2753 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2754 (elision_init): Set try_xbegin to zero when no RTM.
2755 * sysdeps/x86/nptl/bits/pthreadtypes.h
2756 (pthread_rwlock_t): Change __pad1 to __rwelision.
2757 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2759 2014-06-13 Andi Kleen <ak@linux.intel.com>
2761 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2762 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2763 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2764 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2766 2014-06-13 Meador Inge <meadori@codesourcery.com>
2769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2770 that the cached result has been set before returning it.
2772 2014-06-12 Roland McGrath <roland@hack.frob.com>
2774 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2775 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2776 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2777 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2778 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2779 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2781 * nptl/sysdeps/sparc/Makefile: Moved ...
2782 * sysdeps/sparc/nptl/Makefile: ... here.
2783 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2784 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2785 * nptl/sysdeps/sparc/tls.h: Moved ...
2786 * sysdeps/sparc/nptl/tls.h: ... here.
2787 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2788 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2789 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2790 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2791 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2792 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2793 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2794 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2795 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2796 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2797 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2798 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2799 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2800 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2801 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2802 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2803 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2804 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2806 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2807 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2809 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2810 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2812 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2813 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2816 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2818 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2819 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2821 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2822 (struct list_links): Type removed.
2823 (struct thread_node, struct timer_node): Replace struct list_links
2824 with struct list_head.
2825 (list_unlink_ip): Likewise.
2826 * sysdeps/pthread/timer_routines.c
2827 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2828 (list_append, list_insbefore): Likewise.
2829 (list_init): Function removed.
2830 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2831 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2832 * sysdeps/pthread/Makefile: ... here, new file.
2834 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2835 * sysdeps/nptl/Implies: ... here.
2836 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2837 * nptl/sysdeps/pthread/list.h: Moved ...
2838 * include/list.h: ... here.
2839 * nptl/sysdeps/pthread/createthread.c: Moved ...
2840 * nptl/createthread.c: ... here.
2841 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2842 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2843 * nptl/pt-longjmp.c: ... here.
2844 * nptl/sysdeps/pthread/Makefile: Moved ...
2845 * sysdeps/nptl/Makefile: ... here.
2846 * nptl/sysdeps/pthread/Subdirs: Moved ...
2847 * sysdeps/nptl/Subdirs: ... here.
2848 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2849 * sysdeps/nptl/aio_misc.h: ... here.
2850 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2851 * sysdeps/nptl/bits/libc-lock.h: ... here.
2852 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2853 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2854 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2855 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2856 * nptl/sysdeps/pthread/configure: Moved ...
2857 * sysdeps/nptl/configure: ... here.
2858 * nptl/sysdeps/pthread/configure.ac: Moved ...
2859 * sysdeps/nptl/configure.ac: ... here.
2860 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2861 * sysdeps/nptl/gai_misc.h: ... here.
2862 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2863 * sysdeps/nptl/librt-cancellation.c: ... here.
2864 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2865 * sysdeps/nptl/malloc-machine.h: ... here.
2866 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2867 * sysdeps/nptl/pthread-functions.h: ... here.
2868 * nptl/sysdeps/pthread/pthread.h: Moved ...
2869 * sysdeps/nptl/pthread.h: ... here.
2870 * nptl/sysdeps/pthread/setxid.h: Moved ...
2871 * sysdeps/nptl/setxid.h: ... here.
2872 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2873 * sysdeps/nptl/sigfillset.c: ... here.
2874 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2875 * sysdeps/nptl/tcb-offsets.h: ... here.
2876 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2877 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2878 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2879 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2880 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2881 * sysdeps/pthread/allocalim.h: ... here.
2882 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2883 * sysdeps/pthread/bits/sigthread.h: ... here.
2884 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2885 * sysdeps/pthread/flockfile.c: ... here.
2886 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2887 * sysdeps/pthread/ftrylockfile.c: ... here.
2888 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2889 * sysdeps/pthread/funlockfile.c: ... here.
2890 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2891 * sysdeps/pthread/posix-timer.h: ... here.
2892 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2893 * sysdeps/pthread/timer_create.c: ... here.
2894 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2895 * sysdeps/pthread/timer_delete.c: ... here.
2896 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2897 * sysdeps/pthread/timer_getoverr.c: ... here.
2898 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2899 * sysdeps/pthread/timer_gettime.c: ... here.
2900 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2901 * sysdeps/pthread/timer_routines.c: ... here.
2902 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2903 * sysdeps/pthread/timer_settime.c: ... here.
2904 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2905 * sysdeps/pthread/tst-timer.c: ... here.
2906 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2907 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2909 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2910 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2912 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2913 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2914 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2915 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2916 Update #include target.
2917 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2918 * sysdeps/i386/i686/nptl/Makefile: ... here.
2919 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2920 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2921 Update #include target.
2922 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2923 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2924 * nptl/sysdeps/i386/Makefile: Moved ...
2925 * sysdeps/i386/nptl/Makefile: ... here.
2926 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2927 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2928 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2929 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2930 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2931 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2932 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2933 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2934 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2935 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2936 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2937 * nptl/sysdeps/i386/tls.h: Moved ...
2938 * sysdeps/i386/nptl/tls.h: ... here.
2940 * sysdeps/sh/Makefile [$(subdir) = csu]
2941 (gen-as-const-headers): Add tcb-offsets.sym.
2942 * nptl/sysdeps/sh/Makefile: File removed.
2943 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2944 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2945 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2946 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2947 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2948 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2949 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2950 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2951 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2952 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2953 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2954 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2955 * nptl/sysdeps/sh/tls.h: Moved ...
2956 * sysdeps/sh/nptl/tls.h: ... here.
2957 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2958 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2959 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2960 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2961 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2962 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2964 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2965 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2966 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2967 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2968 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2969 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2970 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2972 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2974 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2975 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2976 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2978 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2980 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2983 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2984 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2986 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2987 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2988 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2989 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2990 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2991 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2992 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2993 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2994 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2995 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2996 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2997 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2998 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2999 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3000 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3001 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3002 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3003 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3004 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3006 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3008 * posix/spawn_faction_addopen.c: Include string.h.
3010 2014-06-11 Roland McGrath <roland@hack.frob.com>
3012 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3013 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3014 * nptl/sysdeps/x86_64/Makefile: Moved ...
3015 * sysdeps/x86_64/nptl/Makefile: ... here.
3016 * nptl/sysdeps/x86_64/configure: Moved ...
3017 * sysdeps/x86_64/nptl/configure: ... here.
3018 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3019 * sysdeps/x86_64/nptl/configure.ac: ... here.
3020 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3021 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3022 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3023 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3024 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3025 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3026 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3027 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3028 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3029 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3030 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3031 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3032 * nptl/sysdeps/x86_64/tls.h: Moved ...
3033 * sysdeps/x86_64/nptl/tls.h: ... here.
3034 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3035 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3036 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3037 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3039 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3041 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3045 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3047 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3049 [POSIX] (off_t): Likewise.
3050 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3051 [POSIX] (S_ISBLK): Require macro.
3052 [POSIX] (S_ISCHR): Likewise.
3053 [POSIX] (S_ISDIR): Likewise.
3054 [POSIX] (S_ISFIFO): Likewise.
3055 [POSIX] (S_ISREG): Likewise.
3056 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3058 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3060 [POSIX] (time_t): Likewise.
3061 [POSIX] (timer_t): Likewise.
3063 2014-06-11 Florian Weimer <fweimer@redhat.com>
3066 * posix/spawn_int.h (struct __spawn_action): Make the path string
3067 non-const to support deallocation.
3068 * posix/spawn_faction_addopen.c
3069 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3070 * posix/spawn_faction_destroy.c
3071 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3072 path in all spawn_do_open actions.
3073 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3074 posix_spawn_file_actions_addopen.
3076 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3078 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3079 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3080 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3081 conditional code always true.
3082 (__libc_vfork): New alias.
3084 2014-06-11 Roland McGrath <roland@hack.frob.com>
3086 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3087 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3089 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3091 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3092 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3094 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3095 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3097 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3098 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3100 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3102 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3103 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3104 multiarch strcmp for PPC64.
3105 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3106 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3108 multiarch optimizations.
3109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3110 (__libc_ifunc_impl_list): Likewise.
3112 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3114 * benchtests/scripts/validate_benchout.py: New script.
3115 * benchtests/Makefile (bench-func): Call it.
3116 * benchtests/scripts/benchout.schema.json: New file.
3118 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3120 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3121 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3122 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3123 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3124 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3125 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3126 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3127 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3128 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3129 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3130 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3131 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3132 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3133 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3134 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3135 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3239 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3240 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3241 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3242 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3243 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3245 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3247 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3248 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3249 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3250 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3251 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3252 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3253 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3254 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3255 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3256 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3257 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3258 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3259 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3261 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3262 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3264 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3266 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3267 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3269 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3271 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3272 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3273 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3274 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3275 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3277 2014-06-10 Wilco <wdijkstr@arm.com>
3279 * math/test-fenv-return.c: New file.
3280 * math/Makefile: Add new test test-fenv-return.
3282 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3285 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3287 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3288 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3289 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3290 0.0L for an argument of 1.0L.
3291 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3293 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3294 value when x - 1 is zero.
3295 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3296 * sysdeps/i386/fpu/libm-test-ulps: Update.
3297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3299 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3302 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3304 2014-06-09 Roland McGrath <roland@hack.frob.com>
3306 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3307 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3309 2014-06-09 Roland McGrath <roland@hack.frob.com>
3311 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3312 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3314 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3315 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3317 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3318 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3320 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3321 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3323 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3324 if not already defined.
3325 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3326 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3327 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3328 (TLS_INIT_TP): Use it.
3329 (TLS_DEFINE_INIT_TP): New macro.
3330 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3332 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3334 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3336 [POSIX] (IXANY): Likewise.
3337 [POSIX] (OLCUC): Likewise.
3338 [POSIX || POSIX2008] (CBAUD): Do not allow.
3339 [POSIX || POSIX2008] (DEFECHO): Likewise.
3340 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3341 [POSIX || POSIX2008] (ECHOKE): Likewise.
3342 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3343 [POSIX || POSIX2008] (EXTA): Likewise.
3344 [POSIX || POSIX2008] (EXTB): Likewise.
3345 [POSIX || POSIX2008] (FLUSHO): Likewise.
3346 [POSIX || POSIX2008] (LOBLK): Likewise.
3347 [POSIX || POSIX2008] (PENDIN): Likewise.
3348 [POSIX || POSIX2008] (SWTCH): Likewise.
3349 [POSIX || POSIX2008] (VDISCARD): Likewise.
3350 [POSIX || POSIX2008] (VDSUSP): Likewise.
3351 [POSIX || POSIX2008] (VLNEXT): Likewise.
3352 [POSIX || POSIX2008] (VREPRINT): Likewise.
3353 [POSIX || POSIX2008] (VSTATUS): Likewise.
3354 [POSIX || POSIX2008] (VWERASE): Likewise.
3355 (B*): Change to B[0123456789]*.
3356 * conform/data/time.h-data [POSIX || UNIX98]
3357 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3358 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3359 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3360 [POSIX] (tm_*): Do not allow.
3362 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3364 * Makefile (install): Don't set LANGUAGE.
3365 * Makefile.in (install): Likewise.
3366 * assert/Makefile (test-assert-ENV): Remove variable.
3367 (test-assert-perr-ENV): Likewise.
3368 * elf/Makefile (neededtest4-ENV): Likewise.
3369 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3370 [$(cross-compiling) = no]: Don't set LANGUAGE.
3371 * io/ftwtest-sh (LANG): Remove variable.
3372 * libio/Makefile (tst-widetext-ENV): Likewise.
3373 * manual/install.texi (Running make install): Don't refer to
3374 environment settings for make install.
3375 * INSTALL: Regenerated.
3376 * nptl/tst-tls6.sh: Don't set LANG.
3377 * posix/globtest.sh (LANG): Remove variable.
3378 * string/Makefile (tester-ENV): Likewise.
3379 (inl-tester-ENV): Likewise.
3380 (noinl-tester-ENV): Likewise.
3381 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3382 [$(cross-compiling) = no]: Don't set LANGUAGE.
3383 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3384 without explicit environment settings.
3386 2014-06-06 Roland McGrath <roland@hack.frob.com>
3388 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3389 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3390 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3391 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3393 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3395 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3396 other files in the crypt directory.
3397 * crypt/crypt.c: Remove duplicate includes.
3398 * crypt/crypt-entry.c: Likewise.
3399 * crypt/crypt_util.c: Likewise.
3401 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3403 * Makeconfig (run-program-env): New variable.
3404 (run-program-prefix-before-env): Likewise.
3405 (run-program-prefix-after-env): Likewise.
3406 (run-program-prefix): Define in terms of new variables.
3407 (built-program-cmd-before-env): New variable.
3408 (built-program-cmd-after-env): Likewise.
3409 (built-program-cmd): Define in terms of new variables.
3410 (test-program-prefix-before-env): New variable.
3411 (test-program-prefix-after-env): Likewise.
3412 (test-program-prefix): Define in terms of new variables.
3413 (test-program-cmd-before-env): New variable.
3414 (test-program-cmd-after-env): Likewise.
3415 (test-program-cmd): Define in terms of new variables.
3416 * Rules (make-test-out): Use $(run-program-env).
3417 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3418 (help): Do not mention environment variables. Mention
3419 --timeoutfactor option.
3420 (timeoutfactor): New variable.
3421 (blacklist_exports): Remove function.
3422 (exports): Remove variable.
3423 (command): Do not include ${exports}.
3424 * manual/install.texi (Configuring and compiling): Do not mention
3425 test wrappers preserving environment variables. Mention that last
3426 assignment to a variable must take precedence.
3427 * INSTALL: Regenerated.
3428 * benchtests/Makefile (run-bench): Use $(run-program-env).
3429 * catgets/Makefile ($(objpfx)test1.cat): Use
3430 $(built-program-cmd-before-env), $(run-program-env) and
3431 $(built-program-cmd-after-env).
3432 ($(objpfx)test2.cat): Do not specify environment variables
3434 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3435 $(run-program-env) and $(built-program-cmd-after-env).
3436 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3437 $(run-program-env) and $(test-program-cmd-after-env).
3438 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3440 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3441 run_program_env and test_program_cmd_after_env arguments.
3442 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3443 * elf/tst-pathopt.sh: Use run_program_env argument.
3444 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3445 $(test-wrapper-env) and $(run-program-env).
3446 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3447 run_program_env arguments.
3448 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3449 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3450 $(test-program-prefix-before-env), $(run-program-env) and
3451 $(test-program-prefix-after-env).
3452 ($(objpfx)tst-gettext2.out): Likewise.
3453 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3454 run_program_env and test_program_prefix_after_env arguments.
3455 * intl/tst-gettext2.sh: Likewise.
3456 * intl/tst-gettext4.sh: Do not set environment variables
3458 * intl/tst-gettext6.sh: Likewise.
3459 * intl/tst-translit.sh: Likewise.
3460 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3461 $(test-program-prefix-before-env), $(run-program-env) and
3462 $(test-program-prefix-after-env).
3463 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3464 run_program_env and test_program_prefix_after_env arguments.
3465 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3466 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3467 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3468 explicitly with each use of ${test_wrapper_env}.
3469 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3470 $(test-program-prefix-before-env), $(run-program-env) and
3471 $(test-program-prefix-after-env).
3472 * posix/tst-getconf.sh: Do not set environment variables
3474 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3475 run_program_env and test_program_prefix_after_env arguments.
3476 * stdio-common/tst-printf.sh: Do not set environment variables
3478 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3479 $(test-program-prefix-before-env), $(run-program-env) and
3480 $(test-program-prefix-after-env).
3481 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3482 run_program_env and test_program_prefix_after_env arguments.
3483 Split $test calls into $test_pre and $test.
3484 * timezone/Makefile (build-testdata): Use
3485 $(built-program-cmd-before-env), $(run-program-env) and
3486 $(built-program-cmd-after-env).
3488 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3490 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3491 strlen for non SHARED builds.
3493 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3495 * nptl/allocatestack.c (check_list): Inlined function...
3496 (__reclaim_stacks): ... here.
3498 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3501 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3504 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3506 * Rules (make-test-out): Include
3507 LOCPATH=$(common-objpfx)localedata in default environment.
3508 * debug/Makefile (tst-chk1-ENV): Remove variable.
3509 (tst-chk2-ENV): Likewise.
3510 (tst-chk3-ENV): Likewise.
3511 (tst-chk4-ENV): Likewise.
3512 (tst-chk5-ENV): Likewise.
3513 (tst-chk6-ENV): Likewise.
3514 (tst-lfschk1-ENV): Likewise.
3515 (tst-lfschk2-ENV): Likewise.
3516 (tst-lfschk3-ENV): Likewise.
3517 (tst-lfschk4-ENV): Likewise.
3518 (tst-lfschk5-ENV): Likewise.
3519 (tst-lfschk6-ENV): Likewise.
3520 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3521 (tst-iconv7-ENV): Likewise.
3522 * intl/Makefile (LOCPATH-ENV): Likewise.
3523 (tst-codeset-ENV): Likewise.
3524 (tst-gettext3-ENV): Likewise.
3525 (tst-gettext5-ENV): Likewise.
3526 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3527 (tst-fopenloc-ENV): Likewise.
3528 (tst-fgetws-ENV): Remove variable.
3529 (tst-ungetwc1-ENV): Likewise.
3530 (tst-ungetwc2-ENV): Likewise.
3531 (bug-ungetwc2-ENV): Likewise.
3532 (tst-swscanf-ENV): Likewise.
3533 (bug-ftell-ENV): Likewise.
3534 (tst-fgetwc-ENV): Likewise.
3535 (tst-fseek-ENV): Likewise.
3536 (tst-ftell-partial-wide-ENV): Likewise.
3537 (tst-ftell-active-handler-ENV): Likewise.
3538 (tst-ftell-append-ENV): Likewise.
3539 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3540 (tst-regexloc-ENV): Likewise.
3541 (bug-regex1-ENV): Likewise.
3542 (tst-regex-ENV): Likewise.
3543 (tst-regex2-ENV): Likewise.
3544 (bug-regex5-ENV): Likewise.
3545 (bug-regex6-ENV): Likewise.
3546 (bug-regex17-ENV): Likewise.
3547 (bug-regex18-ENV): Likewise.
3548 (bug-regex19-ENV): Likewise.
3549 (bug-regex20-ENV): Likewise.
3550 (bug-regex22-ENV): Likewise.
3551 (bug-regex23-ENV): Likewise.
3552 (bug-regex25-ENV): Likewise.
3553 (bug-regex26-ENV): Likewise.
3554 (bug-regex30-ENV): Likewise.
3555 (bug-regex32-ENV): Likewise.
3556 (bug-regex33-ENV): Likewise.
3557 (bug-regex34-ENV): Likewise.
3558 (bug-regex35-ENV): Likewise.
3559 (tst-rxspencer-ENV): Likewise.
3560 (tst-rxspencer-no-utf8-ENV): Likewise.
3561 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3562 (tst-sscanf-ENV): Likewise.
3563 (tst-swprintf-ENV): Likewise.
3564 (tst-swscanf-ENV): Likewise.
3565 (test-vfprintf-ENV): Likewise.
3566 (scanf13-ENV): Likewise.
3567 (bug14-ENV): Likewise.
3568 (tst-grouping-ENV): Likewise.
3569 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3570 (tst-strtod3-ENV): Likewise.
3571 (tst-strtod4-ENV): Likewise.
3572 (tst-strtod5-ENV): Likewise.
3573 (testmb2-ENV): Likewise./
3574 * string/Makefile (tst-strxfrm-ENV): Likewise.
3575 (tst-strxfrm2-ENV): Likewise.
3576 (bug-strcoll1-ENV): Likewise.
3577 (test-strcasecmp-ENV): Likewise.
3578 (test-strncasecmp-ENV): Likewise.
3579 * time/Makefile (tst-strptime-ENV): Likewise.
3580 (tst-ftime_l-ENV): Likewise.
3581 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3582 (tst-mbrtowc-ENV): Likewise.
3583 (tst-wcrtomb-ENV): Likewise.
3584 (tst-mbrtowc2-ENV): Likewise.
3585 (tst-c16c32-1-ENV): Likewise.
3586 (tst-mbsnrtowcs-ENV): Likewise.
3588 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3590 * manual/resource.texi (How to get information about the memory
3591 subsystem?): Fix typo.
3592 Reported by Peon de la Parra Ivan <peon@keba.com>
3594 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3597 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3598 (pthread_spin_lock): Branch out of spin loop to proper location.
3599 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3600 (pthread_spin_lock): Likewise.
3602 * nptl/tst-spin4.c: New test.
3603 * nptl/Makefile (tests): Add tst-spin4.
3605 2014-06-03 Andreas Schwab <schwab@suse.de>
3608 * resolv/res_send.c (send_dg): Reload file descriptor after
3611 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3613 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3615 2014-06-03 Richard Henderson <rth@redhat.com>
3617 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3618 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3619 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3620 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3621 in the SAVE_PID block.
3622 (__libc_vfork): New alias.
3623 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3625 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3626 child in registers, not on the stack. Remove RESET_PID conditionals.
3627 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3629 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3631 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3633 2014-06-03 Wilco <wdijkstr@arm.com>
3635 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3636 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3637 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3638 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3639 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3642 2014-06-03 Wilco <wdijkstr@arm.com>
3644 * sysdeps/aarch64/fpu/math_private.h
3645 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3646 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3647 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3648 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3651 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3653 * crypt/crypt-private.h: Include ufc-crypt.h.
3654 (__b64_from_24bit): Declare extern.
3655 * crypt/crypt_util.c(__b64_from_24bit): New function.
3656 (b64t): New static const variable.
3657 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3658 (b64t): Remove variable.
3659 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3660 * crypt/sha256-crypt.c: Include crypt-private.h.
3661 (b64t): Remove variable.
3662 (__sha256_crypt_r): Remove b64_from_24bit and replace
3663 with __b64_from_24bit.
3664 * crypt/sha512-crypt.c: Likewise.
3666 2014-06-02 Roland McGrath <roland@hack.frob.com>
3668 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3669 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3670 Label the code __libc_vfork rather than __vfork.
3671 [!NOT_IN_libc] (vfork): Define as weak alias.
3672 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3673 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3674 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3676 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3678 * malloc/malloc.c (malloc_info): Fix format specifier for
3681 2014-06-02 Wilco <wdijkstr@arm.com>
3683 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3686 2014-06-02 Wilco <wdijkstr@arm.com>
3689 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3690 Rewrite to reduce FPCR/FPSR accesses.
3692 2014-06-01 David S. Miller <davem@davemloft.net>
3694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3696 2014-05-31 David S. Miller <davem@davemloft.net>
3698 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3699 to occur in round to nearest mode when |x| >= 2.0
3701 2014-05-30 Richard Henderson <rth@twiddle.net>
3703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3704 (PSEUDO_RET_NOERRNO): Remove.
3705 (ret): Don't redefine.
3706 (ret_NOERRNO): Define in terms of ret.
3707 (ret_ERRVAL): Likewise.
3709 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3710 use of PSEUDO_RET; perform the error check directly.
3712 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3714 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3717 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3719 * malloc/malloc (malloc_info): Fix formatting.
3721 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3722 Roland McGrath <roland@hack.frob.com>
3724 * malloc/malloc (malloc_info): Also print mmapped statistics.
3726 2014-05-30 Roland McGrath <roland@hack.frob.com>
3728 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3729 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3731 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3733 * malloc/malloc.c (malloc_info): Inline mi_arena.
3735 2014-05-29 Richard Henderson <rth@twiddle.net>
3737 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3738 Remove comma before expanding ASM_ARGS_##nr.
3739 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3740 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3742 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3743 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3744 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3745 (ASM_ARGS_1): Add leading comma.
3747 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3748 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3749 to __errno_location.
3750 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3751 Remove the expected plt for __errno_location.
3753 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3754 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3757 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3758 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3759 it and break it down.
3760 (DOCARGS_0, DOCARGS_1): Do nothing.
3761 (DOCARGS_2): Update to store into the new stack frame.
3762 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3763 (UNDOCARGS_1): Update to restore from the new stack frame.
3764 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3765 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3767 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3768 (SINGLE_THREAD_P): New parameter for result regno.
3769 (PSEUDO): Update to match; use cbz instead of beq.
3771 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3772 Use ENTRY to define the _nocancel entry point. Share the syscall
3773 and syscall error check paths with the cancel path.
3776 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3777 whitespace; tabs before and after asm mnemonics.
3779 2014-05-29 Eric Wong <normalperson@yhbt.net>
3782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3783 Call fstat64 or stat64 internally, depending on arguments passed.
3784 Replace stat buffer argument with file descriptor argument.
3785 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3786 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3787 Pass fd to __internal_statvfs instead of calling fstat64.
3788 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3789 Pass fd to __internal_statvfs64 instead of calling fstat64.
3790 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3791 Pass -1 to __internal_statvfs instead of calling stat64.
3792 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3793 Pass -1 to __internal_statvfs64 instead of calling stat64.
3795 2014-05-28 Roland McGrath <roland@hack.frob.com>
3797 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3798 that was previously under [RESET_PID].
3799 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3801 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3802 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3804 2014-05-27 Roland McGrath <roland@hack.frob.com>
3806 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3808 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3809 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3811 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3813 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3815 2014-05-27 Andreas Schwab <schwab@suse.de>
3817 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3819 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3820 * elf/rtld.c (init_tls, dl_main): Likewise.
3821 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3822 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3823 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3824 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3825 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3826 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3827 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3828 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3829 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3830 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3831 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3832 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3833 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3834 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3835 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3836 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3837 * sysdeps/generic/tls.h: Update description.
3839 2014-05-27 Will Newton <will.newton@linaro.org>
3842 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3843 and restore r2 rather than just restoring.
3845 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3848 * libio/tst-ftell-append.c: New test case.
3849 * libio/Makefile (tests): Add test case.
3850 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3852 * libio/wfileops.c (do_ftell_wide): Likewise.
3854 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3858 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3862 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3863 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3864 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3865 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3866 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3867 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3868 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3871 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3874 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3875 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3876 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3877 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3878 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3880 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3881 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3883 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3885 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3887 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3889 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3891 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3892 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3893 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3894 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3896 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3899 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3902 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3905 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3909 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3912 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3917 conditional [RESET_PID].
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3926 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3927 (__libc_vfork): New strong alias.
3928 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3930 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3935 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3936 (__libc_vfork): New strong alias.
3937 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3939 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3942 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3944 * malloc/malloc.c (mi_arena): New function.
3945 (malloc_info): Remove nested function mi_arena. Call non-nosted
3948 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3952 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3953 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3954 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3955 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3957 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3960 2014-05-26 Andreas Schwab <schwab@suse.de>
3963 * locale/programs/repertoire.c (repertoire_read): Add slash
3964 between I18NPATH element and file name.
3965 * locale/programs/locfile.c (locfile_read): Likewise.
3967 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3969 * nptl/pthread_mutexattr_settype.c
3970 (__pthread_mutexattr_settype):
3971 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3973 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3975 * nptl/tst-mutex5 (do_test):
3976 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3978 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3980 * benchtests/README: Document 'init' directive.
3981 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3983 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3984 (parse_file): Recognize 'init' directive.
3986 2014-05-26 Kyle McMartin <kyle@redhat.com>
3989 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3990 alignment of struct pthread.
3992 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3995 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3996 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3997 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3998 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4000 2014-05-25 Richard Henderson <rth@twiddle.net>
4002 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4003 (SINGLE_THREAD_P_PIC): Remove.
4004 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4005 (SINGLE_THREAD_P_PIC): Remove.
4007 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4008 branch to syscall error ...
4010 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4011 from __local_syscall_error to .Lsyscall_error.
4012 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4013 (SYSCALL_ERROR): Update label name.
4015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4016 Do not use DOARGS/UNDOARGS.
4017 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4018 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4019 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4020 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4021 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4023 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4026 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4027 define if !NOT_IN_libc.
4028 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4029 define with non-default symbol versions.
4031 2014-05-23 Richard Henderson <rth@twiddle.net>
4033 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4034 (vfork, __vfork): Define via compat_symbol.
4036 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4037 [!HAVE_IFUNC] (vfork_compat): Remove.
4038 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4040 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4043 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4044 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4047 2014-05-23 Richard Henderson <rth@twiddle.net>
4049 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4050 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4051 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4052 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4054 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4055 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4056 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4057 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4058 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4059 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4060 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4061 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4062 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4063 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4064 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4065 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4066 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4067 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4071 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4072 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4073 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4074 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4077 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4079 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4080 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4091 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4092 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4093 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4094 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4095 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4096 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4097 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4098 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4099 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4100 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4101 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4102 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4103 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4104 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4105 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4106 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4107 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4108 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4109 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4111 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4112 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4113 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4114 before exiting on error.
4115 (__libc_vfork): New strong alias.
4116 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4117 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4119 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4120 that was previously under [RESET_PID].
4121 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4123 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4125 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4128 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4129 value when x - 1 is zero.
4130 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4131 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4132 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4133 0.0L for an argument of 1.0L.
4134 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4136 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4137 value when x - 1 is zero.
4138 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4139 * sysdeps/i386/fpu/libm-test-ulps: Update.
4140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4142 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4144 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4145 alphasort and versionsort.
4147 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4149 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4151 [copysignf]: Likewise.
4153 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4155 * crypt/md5-crypt.c: Fix formatting.
4157 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4159 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4160 (b64_from_24bit): New function.
4162 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4164 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4165 libc_hidden_builtin_def to ifunc.
4166 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4167 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4169 2014-05-21 Roland McGrath <roland@hack.frob.com>
4171 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4172 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4174 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4176 * nscd/Depend (linuxthreads): Remove.
4178 * resolv/Depend (linuxthreads): Remove.
4179 * rt/Depend (linuxthreads): Remove.
4181 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4182 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4183 $(common-objpfx)elf/.
4184 (link-libc-before-gnulib): Likewise.
4185 (elfobjdir): Remove variable.
4186 * Makefile (install): Use $(elf-objpfx) instead of
4187 $(common-objpfx)elf/.
4188 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4190 (link-libc-deps): Likewise.
4191 ($(common-objpfx)libc.so): Likewise.
4192 ($(common-objpfx)linkobj/libc.so): Likewise.
4193 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4194 instead of $(common-objpfx)elf/.
4195 (symbolic-link-list): Likewise.
4196 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4197 [$(cross-compiling) = no]: Likewise.
4198 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4200 (static-gnulib-arch): Likewise.
4201 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4202 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4203 $(common-objpfx)elf/.
4205 2014-05-21 Richard Henderson <rth@redhat.com>
4207 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4208 (SINGLE_THREAD_P): Use the correct width load. Fold
4209 into the ldr offset.
4211 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4212 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4214 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4216 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4217 (libgcc_s_resume): Use __attribute_used__.
4218 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4221 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4223 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4224 optimization when used with float constants.
4226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4228 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4231 * locale/nl_langinfo_l.c: Make direct reference to every
4232 _nl_current_CATEGORY symbol.
4233 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4234 (tests-static): Add tst-langinfo-static.
4235 (tests-special): Add tst-langinfo-static.out.
4236 ($(objpfx)tst-langinfo.out): Redirect output.
4237 ($(objpfx)tst-langinfo-static.out): New.
4238 * localedata/tst-langinfo.sh: Send output to stdout.
4239 * localedata/tst-langinfo-static.c: New file.
4242 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4243 when the shift amount is modulo the limb size.
4245 2014-05-20 Richard Henderson <rth@redhat.com>
4248 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4249 Change type of sa_flags from unsigned int to int.
4252 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4254 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4256 2014-05-20 Will Newton <will.newton@linaro.org>
4258 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4259 Test the return value of the system call in the nocancel case.
4261 2014-05-20 Will Newton <will.newton@linaro.org>
4262 Yvan Roux <yvan.roux@linaro.org>
4264 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4265 #include of asm/ptrace.h.
4266 (PTRACE_GET_THREAD_AREA): Remove #undef.
4267 (PTRACE_GETHBPREGS): Likewise.
4268 (PTRACE_SETHBPREGS): Likewise.
4269 (struct user_regs_struct): New structure.
4270 (struct user_fpsimd_struct): New structure.
4271 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4272 #include of asm/ptrace.h and second #include of sys/user.h.
4273 (PTRACE_GET_THREAD_AREA): Remove #undef.
4274 (PTRACE_GETHBPREGS): Likewise.
4275 (PTRACE_SETHBPREGS): Likewise.
4276 (ELF_NGREG): Use new struct user_regs_struct.
4277 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4279 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4281 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4284 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4288 membar to avoid block loads/stores to overlap previous stores.
4290 2014-05-17 Richard Henderson <rth@redhat.com>
4292 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4293 Create the __##syscall_name##_nocancel entry point.
4294 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4295 Remove; let the sysdep-cancel.h code create it.
4297 2014-05-17 David S. Miller <davem@davemloft.net>
4299 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4300 Protect with __USE_GNU.
4301 (TIOCSET_TEMPT): Likewise.
4302 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4303 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4304 these are already provided in bits/ioctl-types.h
4306 2014-05-16 Roland McGrath <roland@hack.frob.com>
4308 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4309 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4311 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4312 Use wait4 regardless of [__NR_waitpid].
4314 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4317 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4318 (_FP_NANSIGN_Q): Set the quiet bit.
4320 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4322 * benchtests/Makefile
4323 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4324 not $(common-objpfx)math/libm.so.
4325 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4326 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4327 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4328 $(common-objpfx)dlfcn/libdl.so.
4329 ($(objpfx)tst-audit8): Depend on $(libm), not
4330 $(common-objpfx)math/libm.so.
4331 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4332 not $(common-objpfx)dlfcn/libdl.so.
4334 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4335 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4336 [$(build-shared) = yes].
4337 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4338 $(common-objpfx)nptl/libpthread.so.
4339 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4340 $(common-objpfx)math/libm.so$(libm.so-version) or
4341 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4342 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4343 $(common-objpfx)dlfcn/libdl.so.
4344 * setjmp/Makefile (link-libm): Remove variable.
4345 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4346 * stdio-common/Makefile (link-libm): Remove variable.
4347 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4348 * stdlib/Makefile (link-libm): Remove variable.
4349 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4350 ($(objpfx)tst-strtod-round): Likewise.
4351 ($(objpfx)tst-tininess): Likewise.
4352 ($(objpfx)tst-strtod-underflow): Likewise.
4353 ($(objpfx)tst-strtod6): Likewise.
4354 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4355 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4356 $(common-objpfx)dlfcn/libdl.so.
4358 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4360 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4361 BSD terminal modes definitions.
4363 2014-05-16 Roland McGrath <roland@hack.frob.com>
4365 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4366 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4368 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4369 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4370 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4371 Don't do #include_next.
4372 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4373 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4374 Don't do #include_next.
4375 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4376 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4377 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4378 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4380 2014-05-16 Allan McRae <allan@archlinux.org>
4382 * po/sv.po: Update Swedish translation from translation project.
4384 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4387 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4390 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4391 errno if the TIOCGPTN ioctl fails with an error different than
4393 * login/tst-ptsname.c: New file.
4394 * login/Makefile (tests): Add tst-ptsname.
4397 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4400 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4404 herrno to return EAI_AGAIN.
4406 2014-05-14 Roland McGrath <roland@hack.frob.com>
4408 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4409 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4410 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4411 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4412 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4421 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4422 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4423 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4424 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4425 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4426 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4427 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4428 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4429 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4430 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4431 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4432 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4433 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4434 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4435 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4436 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4437 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4439 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4441 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4444 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4446 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4448 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4450 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4452 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4454 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4456 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4458 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4460 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4462 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4466 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4468 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4470 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4473 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4475 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4477 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4479 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4481 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4483 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4485 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4487 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4489 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4491 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4494 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4498 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4499 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4500 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4501 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4502 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4503 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4504 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4505 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4506 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4507 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4508 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4509 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4510 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4511 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4512 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4513 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4514 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4515 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4516 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4517 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4518 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4519 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4520 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4521 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4522 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4523 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4524 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4525 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4526 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4528 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4530 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4531 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4533 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4534 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4535 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4536 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4537 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4538 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4540 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4541 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4543 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4544 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4546 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4547 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4549 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4550 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4551 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4552 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4554 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4555 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4556 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4557 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4558 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4559 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4560 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4561 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4563 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4564 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4566 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4568 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4569 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4570 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4571 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4572 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4574 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4576 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4578 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4579 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4580 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4581 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4582 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4583 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4585 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4586 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4588 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4589 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4591 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4592 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4594 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4595 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4596 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4597 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4599 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4600 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4601 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4602 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4603 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4604 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4605 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4606 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4608 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4609 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4611 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4613 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4614 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4615 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4616 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4617 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4621 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4623 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4624 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4625 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4626 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4627 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4628 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4629 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4630 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4631 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4632 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4634 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4635 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4637 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4638 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4640 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4641 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4643 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4644 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4645 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4646 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4647 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4648 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4650 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4651 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4652 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4653 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4654 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4655 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4656 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4657 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4659 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4660 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4662 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4664 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4665 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4666 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4667 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4668 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4670 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4672 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4674 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4675 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4676 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4678 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4679 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4680 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4681 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4682 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4683 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4684 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4686 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4687 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4689 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4690 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4692 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4693 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4694 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4695 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4696 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4697 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4698 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4699 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4700 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4701 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4702 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4703 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4704 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4706 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4708 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4711 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4712 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4713 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4714 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4716 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4717 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4718 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4719 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4720 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4722 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4725 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4728 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4729 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4730 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4731 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4732 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4734 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4736 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4737 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4738 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4739 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4740 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4742 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4743 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4744 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4746 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4747 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4748 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4749 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4750 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4752 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4753 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4754 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4755 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4756 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4757 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4758 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4759 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4760 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4761 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4763 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4764 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4766 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4767 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4768 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4769 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4770 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4771 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4772 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4773 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4774 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4775 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4776 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4777 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4778 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4779 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4780 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4782 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4786 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4788 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4800 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4801 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4802 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4803 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4804 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4805 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4806 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4807 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4808 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4809 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4810 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4811 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4812 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4813 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4814 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4816 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4817 that was previously under [RESET_PID].
4818 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4819 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4820 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4822 * sysdeps/i386/nptl/Implies: New file.
4823 * sysdeps/x86_64/nptl/Implies: New file.
4824 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4825 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4827 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4829 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4830 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4831 (__libc_vfork): New strong alias.
4832 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4833 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4835 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4836 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4837 (__libc_vfork): New strong alias.
4838 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4839 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4841 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4842 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4843 (__libc_vfork): New strong alias.
4844 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4845 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4846 * nptl/pt-vfork.c: New file.
4847 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4848 (libpthread: GLIBC_2.20): New version set (empty).
4850 2014-05-14 Will Newton <will.newton@linaro.org>
4852 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4855 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4858 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4859 arguments with exponent 65 or above.
4860 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4861 arguments 0x1p113L or above.
4862 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4863 to arguments 0x1p107L or above.
4864 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4865 positive arguments with exponent 65 or above.
4866 * math/auto-libm-test-in: Add more tests of log1p.
4867 * math/auto-libm-test-out: Regenerated.
4870 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4871 non-finite arguments is +0.
4872 * math/s_cacosf.c (__cacosf): Likewise.
4873 * math/s_cacosl.c (__cacosl): Likewise.
4874 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4875 * sysdeps/i386/fpu/libm-test-ulps: Update.
4876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4879 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4881 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4882 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4883 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4884 for explicit high bit of mantissa when testing for argument equal
4886 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4887 * sysdeps/i386/fpu/libm-test-ulps: Update.
4888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4892 (__erf): Scale by 16 instead of 8 in potentially underflowing
4893 case. Ensure exception if result actually underflows.
4894 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4895 (__erff): Scale by 16 instead of 8 in potentially underflowing
4896 case. Ensure exception if result actually underflows.
4897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4898 (efx8): Remove variable.
4899 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4900 case. Ensure exception if result actually underflows.
4901 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4902 (efx8): Remove variable.
4903 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4904 case. Ensure exception if result actually underflows.
4905 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4906 (efx8): Remove variable.
4907 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4908 case. Ensure exception if result actually underflows.
4909 * math/auto-libm-test-in: Add more tests of erf.
4910 * math/auto-libm-test-out: Regenerated.
4912 2014-05-14 Andreas Schwab <schwab@suse.de>
4914 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4915 Remove code conditionalized on USE___THREAD.
4917 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4918 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4921 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4924 Define unconditionally.
4925 (__ASSUME_O_CLOEXEC): Likewise.
4926 (__ASSUME_SOCK_CLOEXEC): Likewise.
4927 (__ASSUME_IN_NONBLOCK): Likewise.
4928 (__ASSUME_PIPE2): Likewise.
4929 (__ASSUME_EVENTFD2): Likewise.
4930 (__ASSUME_SIGNALFD4): Likewise.
4931 (__ASSUME_DUP3): Likewise.
4932 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4933 (__ASSUME_DUP3): Do not define.
4934 (__ASSUME_EVENTFD2): Likewise.
4935 (__ASSUME_IN_NONBLOCK): Likewise.
4936 (__ASSUME_O_CLOEXEC): Likewise.
4937 (__ASSUME_PIPE2): Likewise.
4938 (__ASSUME_SIGNALFD4): Likewise.
4939 (__ASSUME_SOCK_CLOEXEC): Likewise.
4940 (__ASSUME_UTIMES): Undefine.
4941 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4942 (__ASSUME_UTIMES): Do not define.
4943 (__ASSUME_O_CLOEXEC): Likewise.
4944 (__ASSUME_SOCK_CLOEXEC): Likewise.
4945 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4946 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4948 (__ASSUME_PIPE2): Likewise.
4949 (__ASSUME_EVENTFD2): Likewise.
4950 (__ASSUME_SIGNALFD4): Likewise.
4951 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4952 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4954 (__ASSUME_EVENTFD2): Likewise.
4955 (__ASSUME_SIGNALFD4): Likewise.
4956 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4957 (__ASSUME_32BITUIDS): Likewise.
4958 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4959 (__ASSUME_IPC64): Likewise.
4960 (__ASSUME_ST_INO_64_BIT): Likewise.
4961 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4962 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4963 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4964 (__ASSUME_UTIMES): Do not define.
4965 (__ASSUME_PSELECT): Likewise.
4966 (__ASSUME_PPOLL): Likewise.
4967 (__ASSUME_O_CLOEXEC): Likewise.
4968 (__ASSUME_SOCK_CLOEXEC): Likewise.
4969 (__ASSUME_IN_NONBLOCK): Likewise.
4970 (__ASSUME_PIPE2): Likewise.
4971 (__ASSUME_EVENTFD2): Likewise.
4972 (__ASSUME_SIGNALFD4): Likewise.
4973 (__ASSUME_DUP3): Likewise.
4974 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4975 (__ASSUME_UTIMES): Likewise.
4976 (__ASSUME_O_CLOEXEC): Likewise.
4977 (__ASSUME_SOCK_CLOEXEC): Likewise.
4978 (__ASSUME_IN_NONBLOCK): Likewise.
4979 (__ASSUME_PIPE2): Likewise.
4980 (__ASSUME_EVENTFD2): Likewise.
4981 (__ASSUME_SIGNALFD4): Likewise.
4982 (__ASSUME_DUP3): Likewise.
4983 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4984 (__ASSUME_UTIMES): Likewise.
4985 (__ASSUME_O_CLOEXEC): Likewise.
4986 (__ASSUME_SOCK_CLOEXEC): Likewise.
4987 (__ASSUME_IN_NONBLOCK): Likewise.
4988 (__ASSUME_PIPE2): Likewise.
4989 (__ASSUME_EVENTFD2): Likewise.
4990 (__ASSUME_SIGNALFD4): Likewise.
4991 (__ASSUME_DUP3): Likewise.
4992 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4994 (__ASSUME_UTIMES): Likewise.
4995 (__ASSUME_EVENTFD2): Likewise.
4996 (__ASSUME_SIGNALFD4): Likewise.
4997 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4998 (__ASSUME_O_CLOEXEC): Likewise.
4999 (__ASSUME_SOCK_CLOEXEC): Likewise.
5000 (__ASSUME_IN_NONBLOCK): Likewise.
5001 (__ASSUME_PIPE2): Likewise.
5002 (__ASSUME_EVENTFD2): Likewise.
5003 (__ASSUME_SIGNALFD4): Likewise.
5004 (__ASSUME_DUP3): Likewise.
5005 (__ASSUME_UTIMES): Undefine.
5007 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5008 feclearexcept. Remove symbol versioning code.
5009 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5010 symbol versioning code.
5011 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5012 symbol versioning code.
5013 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5014 feupdateenv. Remove symbol versioning code.
5015 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5016 fegetexceptflag. Remove symbol versioning code.
5017 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5018 fesetexceptflag. Remove symbol versioning code.
5019 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5020 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5021 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5022 (__posix_fadvise64_l32): Remove prototype.
5023 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5026 2014-05-13 Roland McGrath <roland@hack.frob.com>
5028 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5029 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5030 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5031 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5033 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5035 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5036 current working directory
5038 2014-05-13 Roland McGrath <roland@hack.frob.com>
5040 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5041 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5042 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5043 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5044 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5045 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5046 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5047 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5048 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5049 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5050 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5051 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5052 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5053 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5054 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5055 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5056 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5057 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5058 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5059 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5060 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5061 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5062 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5063 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5064 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5065 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5066 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5067 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5068 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5069 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5070 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5071 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5072 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5073 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5074 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5075 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5076 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5077 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5078 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5079 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5080 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5081 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5083 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5084 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5086 * sysdeps/unix/sysv/linux/arm/Makefile
5087 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5088 Add rt-aeabi_unwind_cpp_pr1.
5089 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5090 Add nptl-aeabi_unwind_cpp_pr1.
5091 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5092 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5093 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5094 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5095 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5096 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5098 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5099 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5100 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5101 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5103 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5104 Deconditionalize the code that was previously under [RESET_PID].
5105 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5107 * sysdeps/generic/exit-thread.h: New file.
5108 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5109 * include/unistd.h (__exit_thread): Remove declaration.
5110 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5111 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5112 * csu/libc-start.c: Include <exit-thread.h>.
5113 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5114 * nptl/pthread_create.c: Include <exit-thread.h>.
5115 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5116 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5117 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5118 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5119 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5120 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5121 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5122 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5123 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5124 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5125 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5126 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5127 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5128 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5129 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5130 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5131 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5133 2014-05-13 Andreas Schwab <schwab@suse.de>
5135 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5137 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5139 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5140 (__ASSUME_UTIMES): Do not condition on kernel version.
5141 (__ASSUME_PSELECT): Define unconditionally.
5142 (__ASSUME_PPOLL): Likewise.
5143 (__ASSUME_ATFCTS): Likewise.
5144 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5145 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5146 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5147 (__ASSUME_UTIMENSAT): Define unconditionally.
5148 (__ASSUME_PRIVATE_FUTEX): Likewise.
5149 (__ASSUME_FALLOCATE): Likewise.
5150 (__ASSUME_O_CLOEXEC): Likewise.
5151 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5152 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5153 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5154 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5155 (__ASSUME_IN_NONBLOCK): Likewise.
5156 (__ASSUME_PIPE2): Likewise.
5157 (__ASSUME_EVENTFD2): Likewise.
5158 (__ASSUME_SIGNALFD4): Likewise.
5159 (__ASSUME_DUP3): Likewise.
5160 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5161 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5162 (__ASSUME_AT_RANDOM): Likewise.
5163 (__ASSUME_PREADV): Likewise.
5164 (__ASSUME_PWRITEV): Likewise.
5165 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5166 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5167 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5168 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5169 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5170 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5171 (__ASSUME_O_CLOEXEC): Define unconditionally.
5172 (__ASSUME_PSELECT): Do not undefine conditionally.
5173 (__ASSUME_PPOLL): Likewise.
5174 (__ASSUME_ATFCTS): Likewise.
5175 (__ASSUME_SET_ROBUST_LIST): Likewise.
5176 (__ASSUME_UTIMENSAT): Likewise.
5177 (__ASSUME_FDATASYNC): Define unconditionally.
5178 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5179 (__ASSUME_SIGFRAME_V2): Likewise.
5180 )__ASSUME_EVENTFD2): Likewise.
5181 (__ASSUME_SIGNALFD4): Likewise.
5182 (__ASSUME_PSELECT): Do not undefine conditionally.
5183 (__ASSUME_PPOLL): Likewise.
5184 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5185 (__ASSUME_PSELECT): Define unconditionally.
5186 (__ASSUME_PPOLL): Likewise.
5187 (__ASSUME_O_CLOEXEC): Likewise.
5188 (__ASSUME_SOCK_CLOEXEC): Likewise.
5189 (__ASSUME_IN_NONBLOCK): Likewise.
5190 (__ASSUME_PIPE2): Likewise.
5191 (__ASSUME_EVENTFD2): Likewise.
5192 (__ASSUME_SIGNALFD4): Likewise.
5193 (__ASSUME_DUP3): Likewise.
5194 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5195 (__ASSUME_O_CLOEXEC): Likewise.
5196 (__ASSUME_SOCK_CLOEXEC): Likewise.
5197 (__ASSUME_IN_NONBLOCK): Likewise.
5198 (__ASSUME_PIPE2): Likewise.
5199 (__ASSUME_EVENTFD2): Likewise.
5200 (__ASSUME_SIGNALFD4): Likewise.
5201 (__ASSUME_DUP3): Likewise.
5202 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5203 (__ASSUME_EVENTFD2): Likewise.
5204 (__ASSUME_SIGNALFD4): Likewise.
5205 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5207 2014-05-12 Andreas Schwab <schwab@suse.de>
5210 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5211 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5212 than maximum RPC packet size.
5213 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5214 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5215 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5216 (_nss_nis_getservbyport_r): Likewise.
5218 2014-05-12 Will Newton <will.newton@linaro.org>
5220 * malloc/Makefile (tests): Add tst-mallopt.
5221 * malloc/tst-mallopt.c: New file.
5223 2014-05-09 Roland McGrath <roland@hack.frob.com>
5225 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5226 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5228 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5230 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5231 (tst-tlsmod6.so): Likewise.
5233 2014-05-09 Roland McGrath <roland@hack.frob.com>
5235 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5237 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5240 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5241 and <dl-procinfo.h>.
5242 (__fegetenv): Save SSE state in envp->__eip if supported.
5243 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5244 envp->__eip if supported.
5245 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5246 and <dl-procinfo.h>.
5247 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5248 __data_offset and __data_selector in environment to 0. Set SSE
5250 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5252 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5254 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5256 2014-05-09 Will Newton <will.newton@linaro.org>
5258 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5259 and libc_relro_required for ARM.
5260 * sysdeps/arm/preconfigure: Regenerate.
5262 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5263 Stefan Liebler <stli@linux.vnet.ibm.com>
5265 * config.make.in (enable-lock-elision): New Makefile variable.
5266 * configure.ac: Likewise.
5267 * configure: Regenerate.
5268 * sysdeps/s390/configure.ac:
5269 Add check for gcc transactions support.
5270 * sysdeps/s390/configure: Regenerate.
5271 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5272 Build elision files if enabled.
5273 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5274 Add lock elision support for s390.
5275 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5276 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5277 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5278 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5279 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5280 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5281 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5283 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5285 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5287 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5289 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5290 (__lll_timedlock_elision, __lll_lock_elision)
5291 (__lll_unlock_elision, __lll_trylock_elision)
5292 (lll_timedlock_elision, lll_lock_elision)
5293 (lll_unlock_elision, lll_trylock_elision): Add.
5294 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5295 (pthread_mutex_t): Add lock elision support for s390.
5297 2014-05-14 Wilco <wdijkstr@arm.com>
5299 * sysdeps/arm/fclrexcpt.c: Cleanup.
5300 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5301 * sysdeps/arm/feenablxcpt.c: Cleanup.
5302 * sysdeps/arm/fegetenv.c: Cleanup.
5303 * sysdeps/arm/fegetexcept.c: Cleanup.
5304 * sysdeps/arm/fegetround.c: Cleanup.
5305 * sysdeps/arm/feholdexcpt.c: Cleanup.
5306 * sysdeps/arm/fesetenv.c: Cleanup.
5307 * sysdeps/arm/fesetround.c: Cleanup.
5308 * sysdeps/arm/feupdateenv.c: Cleanup.
5309 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5310 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5311 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5312 * sysdeps/arm/ftestexcept.c: Cleanup.
5313 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5314 * sysdeps/arm/setfpucw.c: Cleanup.
5316 2014-05-09 Will Newton <will.newton@linaro.org>
5318 * sysdeps/arm/armv7/strcmp.S: New file.
5319 * NEWS: Mention addition of ARMv7 optimized strcmp.
5321 2014-05-08 Roland McGrath <roland@hack.frob.com>
5323 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5324 look for %.ac rather than %.in.
5326 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5327 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5328 * sysdeps/mach/hurd/configure: Regenerated.
5329 * sysdeps/unix/sysv/linux/configure: Regenerated.
5331 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5333 2014-05-07 Steve Ellcey <sellcey@mips.com>
5336 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5340 2014-05-07 Andreas Schwab <schwab@suse.de>
5342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5343 when skipping over non-matching result from nscd.
5345 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5348 * nptl/sockperf.c (client): Check socket return value.
5351 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5352 nscd security class.
5354 2014-05-06 Roland McGrath <roland@hack.frob.com>
5356 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5357 * sysdeps/arm/unwind.h: ... here.
5359 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5362 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5365 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5367 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5368 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5369 multiarch strncpy for PPC64.
5370 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5371 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5373 multiarch optimizations.
5374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5375 (__libc_ifunc_impl_list): Likewise.
5376 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5377 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5378 multiarch stpncpy for PPC64.
5379 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5380 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5382 2014-05-06 Andreas Schwab <schwab@suse.de>
5385 * gmon/mcount.c (_MCOUNT_DECL): Use
5386 atomic_compare_and_exchange_bool_acq instead of
5387 catomic_compare_and_exchange_bool_acq.
5389 2014-05-05 Roland McGrath <roland@hack.frob.com>
5391 * elf/Makefile (others, install-bin): Remove pldd.
5392 (pldd-modules): Variable removed.
5393 ($(objpfx)pldd): Target removed.
5394 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5395 (others, install-bin): Append pldd here.
5396 ($(objpfx)pldd): New target.
5398 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5399 to 0, so the first #if test emitted later doesn't see it undefined.
5400 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5401 * sysdeps/gnu/errlist.c: Regenerated.
5403 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5405 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5406 [libc_hidden_builtin_def]: Define to empty value.
5407 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5408 [libc_hidden_builtin_def]: Likewise.
5409 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5410 [libc_hidden_builtin_def]: Likewise.
5411 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5412 [libc_hidden_builtin_def]: Likewise.
5413 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5414 __redirect_memcpy and define ifunc as default hidden symbol.
5415 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5416 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5418 2014-05-04 Adam Conrad <adconrad@0c3.net>
5420 * locale/iso-4217.def: Reintroduce XDR currency.
5422 2014-05-04 Allan McRae <allan@archlinux.org>
5424 * po/eo.po: Update Esperanto translation from translation project.
5426 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5428 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5429 and FEATURE_INDEX_MAX to 1.
5430 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5432 2014-05-01 Steve Ellcey <sellcey@mips.com>
5434 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5435 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5436 * iconvdata/big5.c (ONE_DIRECTION): Define.
5437 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5438 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5439 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5440 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5441 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5442 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5443 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5444 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5445 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5446 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5447 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5448 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5449 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5450 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5451 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5452 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5453 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5454 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5455 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5456 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5457 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5458 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5459 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5460 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5461 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5462 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5463 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5464 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5465 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5466 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5467 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5468 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5469 * iconvdata/johab.c (ONE_DIRECTION): Define.
5470 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5471 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5472 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5473 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5474 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5475 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5476 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5477 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5478 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5479 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5481 2014-05-01 Roland McGrath <roland@hack.frob.com>
5483 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5484 (_IO_JUMPS_OFFSET): Define to 0.
5486 * nptl/sysdeps/pthread/bits/libc-lock.h
5487 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5488 (__libc_lock_define_initialized_recursive): Always define using
5489 initializer. Modern compilers treat uninitialized (implicit zero) and
5490 explicit zero initializers the same (i.e. put the datum in bss).
5492 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5494 * nscd/nscd-client.h: Include <string.h>.
5496 2014-05-01 David S. Miller <davem@davemloft.net>
5499 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5500 multiple zero bytes exist at the end of a string.
5501 Reported by Aurelien Jarno <aurelien@aurel32.net>
5503 * string/test-strcmp.c (check): Add explicit test for situations where
5504 there are multiple zero bytes after the first.
5506 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5509 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5510 when compiling wprintf.
5511 * stdio-common/tstdiomisc.c (t3): New function.
5514 2014-05-01 Steve Ellcey <sellcey@mips.com>
5516 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5517 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5518 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5519 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5521 2014-05-01 Steve Ellcey <sellcey@mips.com>
5523 * stdlib/longlong.h: Updated from GCC.
5525 2014-05-01 Will Newton <will.newton@linaro.org>
5526 Bernard Ogden <bernie.ogden@linaro.org>
5528 * NEWS: Update fixed bug list.
5531 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5533 2014-04-30 David S. Miller <davem@davemloft.net>
5535 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5536 (libc_feholdexcept_setround_sparc_ctx): New function.
5537 (libc_fesetenv_sparc_ctx): Likewise.
5538 (libc_feupdateenv_sparc_ctx): Likewise.
5539 (libc_feholdsetround_sparc_ctx): Likewise.
5540 (libc_feholdexcept_setround_ctx): Define.
5541 (libc_feholdexcept_setroundf_ctx): Likewise.
5542 (libc_feholdexcept_setroundl_ctx): Likewise.
5543 (libc_fesetenv_ctx): Likewise.
5544 (libc_fesetenvf_ctx): Likewise.
5545 (libc_fesetenvl_ctx): Likewise.
5546 (libc_feupdateenv_ctx): Likewise.
5547 (libc_feupdateenvf_ctx): Likewise.
5548 (libc_feupdateenvl_ctx): Likewise.
5549 (libc_feresetround_ctx): Likewise.
5550 (libc_feresetroundf_ctx): Likewise.
5551 (libc_feresetroundl_ctx): Likewise.
5552 (libc_feholdsetround_ctx): Likewise.
5553 (libc_feholdsetroundf_ctx): Likewise.
5554 (libc_feholdsetroundl_ctx): Likewise.
5556 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5557 with __USE_GNU instead of XOPEN cpp guards.
5559 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5563 with XOPEN cpp guards.
5565 2014-04-30 Julian Brown <julian@codesourcery.com>
5568 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5571 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5574 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5576 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5577 * sysdeps/unix/sysv/linux/configure: Regenerated.
5578 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5579 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5580 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5581 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5582 * README: Update reference to required Linux kernel version.
5583 * manual/install.texi (Linux): Update reference to required Linux
5584 kernel headers version.
5585 * INSTALL: Regenerated.
5587 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5589 [POSIX] (limits.h): Likewise.
5590 [POSIX] (math.h): Likewise.
5591 [POSIX] (sys/wait.h): Likewise.
5592 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5594 [POSIX] (stddef.h): Do not allow header inclusion.
5596 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5600 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5602 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5603 Return immediately after lll_futex_wake.
5605 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5608 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5610 (datahead_init_pos): Call datahead_init_common early.
5611 (datahead_init_neg): Likewise.
5613 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5614 datahead_init_neg): New functions.
5615 * nscd/aicache.c (addhstaiX): Use them.
5616 * nscd/grpcache.c (cache_addgr): Likewise.
5617 * nscd/hstcache.c (cache_addhst): Likewise.
5618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5619 * nscd/netgroupcache.c (do_notfound): Likewise.
5620 (addgetnetgrentX): Likewise.
5621 (addinnetgrX): Likewise.
5622 * nscd/pwdcache.c (cache_addpw): Likewise.
5623 * nscd/servicescache.c (cache_addserv): Likewise.
5625 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5626 Atsushi Onoe <atsushi@onoe.org>
5631 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5632 one response is valid.
5633 * resolv/res_send.c (send_dg): Check for validity of other
5634 response if the current response is a referral.
5636 2014-04-29 Steve Ellcey <sellcey@mips.com>
5638 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5640 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5643 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5644 Always divide by positive zero when computing -Inf result.
5645 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5646 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5648 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5650 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5651 FPSCR if value do not change.
5652 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5653 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5654 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5655 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5656 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5657 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5660 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5662 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5663 * sysdeps/unix/sysv/linux/hppa: Move directory from
5664 ports/systeps/unix/sysv/linux/hppa.
5665 * README: Update listing for hppa-*-linux-gnu.
5667 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5670 * manual/stdio.texi (Hook functions): Fix types of stream hook
5673 * socket/sys/socket.h: Fix typo in comment.
5675 2014-04-28 Wilco <wdijkstr@arm.com>
5677 * sysdeps/arm/fenv_private.h: New file.
5678 * sysdeps/arm/math_private.h: New file.
5679 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5681 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5683 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5685 (La_x86_64_retval): Likewise.
5687 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5689 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5690 fpsr if value didn't change.
5691 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5692 to fpcr if value didn't change.
5693 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5694 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5695 fpsr or fpcr if value didn't change.
5696 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5697 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5698 fpcr if value didn't change.
5699 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5700 to fpsr if value didn't change.
5702 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5704 * nptl/tst-sem3.c: Use test-skeleton.c
5705 (main): Rename to do_test. Use return instead of
5707 * nptl/tst-sem4.c: Use test-skeleton.c
5708 (main): Rename to do_test.
5710 2014-04-22 David S. Miller <davem@davemloft.net>
5712 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5713 (struct sigaction): New struct member __glibc_reserved0, change
5714 type of sa_flags to int.
5716 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5718 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5719 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5721 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5723 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5724 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5726 2014-04-22 Will Newton <will.newton@linaro.org>
5727 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5729 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5730 (__longjmp): Add longjmp and longjmp_target SystemTap
5732 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5733 (__sigsetjmp): Add setjmp SystemTap probe.
5735 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5737 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5740 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5742 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5744 * sysdeps/powerpc/fpu/fenv_private.h
5745 (libc_feholdexcept_setroundl_ctx): Define to
5746 libc_feholdexcept_setround_ppc_ctx.
5747 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5748 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5749 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5750 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5752 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5754 * sysdeps/aarch64/math-tests.h: New file.
5756 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5758 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5761 Check and set bit_AVX2_Usable.
5762 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5764 (bit_AVX2): Likewise.
5765 (index_AVX2_Usable): Likewise.
5766 (CPUID_AVX2): Likewise.
5767 (HAS_AVX2): Likewise.
5769 2014-04-17 Will Newton <will.newton@linaro.org>
5771 * manual/setjmp.texi (System V contexts): Add note that
5772 calling setcontext on a context created by a call to a
5773 signal handler is undefined. Update text to note that
5774 setcontext from a signal handler is possible but not
5778 * stdlib/tst-setcontext.c: Include signal.h.
5779 (main): Check that the signal stack before and
5780 after swapcontext is the same.
5782 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5783 Re-implement to restore registers in user code and avoid
5784 rt_sigreturn system call.
5786 2014-04-17 Wilco <wdijkstr@arm.com>
5788 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5789 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5790 * math/test-fenv.c: Skip exception trap tests on targets which only
5791 support non-stop mode.
5793 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5794 Wilco Dijkstra <wilco.dijkstra@arm.com>
5796 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5797 (libc_feholdsetround_aarch64_ctx)
5798 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5799 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5800 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5801 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5802 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5803 (libc_feresetround_noexl_ctx): Define.
5805 2014-04-16 Richard Henderson <rth@redhat.com>
5807 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5809 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5812 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5813 const from the non-libc, non-ldso copy.
5815 * sysdeps/alpha/libm-test-ulps: Regenerate.
5817 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5818 Wilco Dijkstra <wilco.dijkstra@arm.com>
5820 * sysdeps/aarch64/fpu/math_private.h: New file.
5822 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5824 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5826 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5828 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5829 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5831 Intel MPX bound registers before _dl_profile_fixup.
5832 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5833 registers after _dl_profile_fixup. Save and restore bound
5834 registers bnd0/bnd1 when calling _dl_call_pltexit.
5835 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5836 (LR_BND_OFFSET): Likewise.
5837 (LRV_BND0_OFFSET): Likewise.
5838 (LRV_BND1_OFFSET): Likewise.
5840 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5842 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5844 * sysdeps/mach/hurd/i386/tls.h: ... here.
5845 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5846 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5849 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5851 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5853 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5855 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5857 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5860 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5861 * sysdeps/s390/configure: Regenerate.
5864 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5865 Set round-to-nearest internally to reduce error accumulation.
5867 2014-04-16 Alan Modra <amodra@gmail.com>
5871 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5872 * math/libm-test.inc (frexp_test_data): Add tests.
5873 * NEWS: Update fixed bug list.
5875 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5877 * benchtests/Makefile: Depend on libraries in build directory.
5878 (bench-math): Separate out math tests.
5879 (bench-pthread): Separate out pthread tests.
5880 (bench): Include math and pthread tests.
5882 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5885 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5886 _dl_debug_initialize.
5888 * configure.ac: Remove SELinux header check.
5889 * configure: Regenerate.
5890 * nscd/selinux.c (perms): Array of const char* to permission names.
5891 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5892 default policy. Call string_to_security_class and string_to_av_perm to
5893 translate strings. Enforce default policy and call avs_has_perm with
5894 results of translated strings.
5896 2014-04-13 David S. Miller <davem@davemloft.net>
5898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5900 2014-04-12 Allan McRae <allan@archlinux.org>
5903 * manual/string.texi (Collation Functions): Fix qsort argument
5905 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5907 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5909 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5910 Make the test a no-op if there are no exceptions defined.
5912 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5914 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5915 enable-hardcoded-path-in-tests
5917 2014-04-11 Will Newton <will.newton@linaro.org>
5919 * benchtests/Makefile (extra-objs): Add json-lib.o.
5920 (bench-func): Tidy up JSON output.
5921 * benchtests/bench-skeleton.c: Include json-lib.h.
5922 (main): Use JSON library functions to do output of
5924 * benchtests/bench-timing-type.c (main): Output the
5925 timing type simply, leaving formatting to the user.
5926 * benchtests/json-lib.c: New file.
5927 * benchtests/json-lib.h: Likewise.
5929 2014-04-11 Torvald Riegel <triegel@redhat.com>
5932 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5933 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5934 memory barriers. Add comments.
5935 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5936 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5937 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5938 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5939 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5940 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5942 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5944 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5945 * sysdeps/s390/s390-64/configure.ac: ... this ...
5946 * sysdeps/s390/configure.ac: ... to here.
5947 * sysdeps/s390/s390-32/configure: Delete file.
5948 * sysdeps/s390/s390-64/configure: Delete file.
5949 * sysdeps/s390/configure: Regenerate.
5951 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5953 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5955 2014-04-11 Will Newton <will.newton@linaro.org>
5957 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5958 to zero if it is not defined elsewhere. (mtrim): Test
5959 the value of MALLOC_DEBUG with #if rather than #ifdef.
5961 2014-04-10 Torvald Riegel <triegel@redhat.com>
5963 * benchtests/pthread_once-inputs: New file.
5964 * benchtests/pthread_once-source.c: New file.
5965 * benchtests/README: Update documentation.
5967 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5968 H.J. Lu <hongjiu.lu@intel.com>
5970 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5971 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5972 * sysdeps/x86_64/configure: Regenerated.
5973 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5975 (REGISTER_SAVE_RAX): Likewise.
5976 (REGISTER_SAVE_RCX): Likewise.
5977 (REGISTER_SAVE_RDX): Likewise.
5978 (REGISTER_SAVE_RSI): Likewise.
5979 (REGISTER_SAVE_RDI): Likewise.
5980 (REGISTER_SAVE_R8): Likewise.
5981 (REGISTER_SAVE_R9): Likewise.
5982 (REGISTER_SAVE_BND0): Likewise.
5983 (REGISTER_SAVE_BND1): Likewise.
5984 (REGISTER_SAVE_BND2): Likewise.
5985 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5986 bound registers when calling _dl_fixup.
5988 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5990 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5991 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5993 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5994 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5995 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5996 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5997 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5998 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5999 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6001 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6004 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6005 pathconf(_PC_NAME_MAX).
6007 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6009 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6011 (__PTHREAD_SPINS): Move definition to ...
6012 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6013 (__PTHREAD_SPINS): ... here.
6014 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6015 (__PTHREAD_SPIN): Likewise.
6016 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6017 (__PTHREAD_SPIN): Likewise.
6018 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6019 (__PTHREAD_SPIN): Likewise.
6020 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6021 (__PTHREAD_SPIN): Likewise.
6022 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6023 (__PTHREAD_SPIN): Likewise.
6024 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6025 (__PTHREAD_SPIN): Likewise.
6026 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6027 (__PTHREAD_SPIN): Likewise.
6028 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6029 (__PTHREAD_SPIN): Likewise.
6030 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6031 (__PTHREAD_SPIN): Likewise.
6032 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6033 (__PTHREAD_SPIN): Likewise.
6034 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6035 (__PTHREAD_SPIN): Likewise.
6036 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6037 (__PTHREAD_SPIN): Likewise.
6039 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6040 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6041 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6042 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6044 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6045 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6046 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6047 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6049 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6050 strlen symbol for non multi-arch builds.
6051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6052 missing hidden_def and weak_alias.
6054 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6056 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6058 2014-04-07 Will Newton <will.newton@linaro.org>
6060 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6061 and contents. [!_LIBC] Remove #ifndef and contents.
6062 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6063 * string/memccpy.c (__memccpy): Use ANSI prototype.
6064 * string/memfrob.c (memfrob): Likewise.
6065 * string/strcoll.c (STRCOLL): Likewise.
6066 * string/strlen.c (strlen): Likewise.
6067 * string/strtok.c (STRTOK): Likewise.
6068 * string/strcat.c: Remove unused #include of memcopy.h.
6069 (strcat): Use ANSI prototype.
6070 * string/strchr.c: Remove unused #include of memcopy.h.
6071 (strchr): Use ANSI prototype.
6072 * string/strcmp.c: Remove unused #include of memcopy.h.
6073 (strcmp): Use ANSI prototype.
6074 * string/strcpy.c: Remove unused #include of memcopy.h.
6075 (strcpy): Use ANSI prototype.
6077 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6079 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6080 * config.make.in (config-extra-cppflags): Set it from
6081 libc_extra_cppflags.
6082 * configure.ac (libc_extra_cflags): Make it accumulate over
6083 configure fragments.
6084 (libc_extra_cppflags): New flag.
6085 * configure. Regenerate.
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6087 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6088 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6092 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6093 result for FE_DOWNWARD rounding mode.
6094 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6098 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6100 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6101 in function argument name.
6103 2014-04-03 David Svoboda <svoboda@cert.org>
6106 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6109 2014-04-03 Roland McGrath <roland@hack.frob.com>
6111 * elf/dl-unmap-segments.h: New file.
6112 * sysdeps/generic/ldsodefs.h
6113 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6114 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6115 * elf/dl-fptr.c: Likewise.
6116 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6117 * sysdeps/aarch64/tlsdesc.c: Likewise.
6118 * sysdeps/arm/tlsdesc.c: Likewise.
6119 * sysdeps/i386/tlsdesc.c: Likewise.
6120 * sysdeps/tile/dl-runtime.c: Likewise.
6121 * sysdeps/x86_64/tlsdesc.c: Likewise.
6122 * elf/dl-load.h: New file.
6123 * elf/dl-load.c: Include it.
6124 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6125 Macros moved to dl-load.h.
6126 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6127 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6128 Use _dl_unmap_segments in place of __munmap.
6129 Break out segment-mapping loop into ...
6130 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6132 2014-04-03 Will Newton <will.newton@linaro.org>
6134 * elf/dl-lookup.c (do_lookup_x): Remove comment
6135 referring to nested function and move variable
6136 declarations down to before first use.
6138 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6142 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6144 * math/s_catanf.c (__catanf): Likewise.
6145 * math/s_catanh.c (__catanh): Likewise.
6146 * math/s_catanhf.c (__catanhf): Likewise.
6147 * math/s_catanhl.c (__catanhl): Likewise.
6148 * math/s_catanl.c (__catanl): Likewise.
6149 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6150 by positive zero when computing -Inf result.
6151 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6152 (catanh_test): Likewise.
6153 * sysdeps/i386/fpu/libm-test-ulps: Update.
6154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6157 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6158 instead of using underflowing value in computing result.
6159 * math/s_clog10.c (__clog10): Likewise.
6160 * math/s_clog10f.c (__clog10f): Likewise.
6161 * math/s_clog10l.c (__clog10l): Likewise.
6162 * math/s_clogf.c (__clogf): Likewise.
6163 * math/s_clogl.c (__clogl): Likewise.
6164 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6165 (clog10_test): Likewise.
6166 * sysdeps/i386/fpu/libm-test-ulps: Update.
6167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6169 2014-04-02 Alan Modra <amodra@gmail.com>
6172 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6173 output when value is near a power of two. Use int64_t for lx and
6174 remove casts. Use decimal rather than hex exponent constants.
6175 Don't use long double multiplication when double will suffice.
6176 * math/libm-test.inc (nextafter_test_data): Add tests.
6177 * NEWS: Add 16739 and 16786 to bug list.
6179 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6181 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6183 2014-04-01 Will Newton <will.newton@linaro.org>
6185 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6186 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6188 2014-04-01 Florian Weimer <fweimer@redhat.com>
6191 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6192 * nptl/tst-setuid2.c: New file.
6193 * nptl/Makefile (xtests): Add tst-setuid2.
6195 2014-04-01 Alan Modra <amodra@gmail.com>
6198 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6200 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6204 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6205 set errno as appropriate.
6206 * math/w_scalbf.c (__scalbf): Likewise.
6207 * math/w_scalbl.c (__scalbl): Likewise.
6208 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6209 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6210 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6214 * math/w_atan2.c: Include <errno.h>.
6215 (__atan2): Set errno for result underflowing to zero.
6216 * math/w_atan2f.c: Include <errno.h>.
6217 (__atan2f): Set errno for result underflowing to zero.
6218 * math/w_atan2l.c: Include <errno.h>.
6219 (__atan2l): Set errno for result underflowing to zero.
6220 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6222 * math/auto-libm-test-out: Regenerated.
6224 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6226 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6227 Encode instruction correctly in little endian.
6228 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6230 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6232 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6234 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6237 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6240 * sysdeps/unix/sysv/linux/kernel-features.h
6241 [__sparc__ && !__arch64__ && !__sparc_v9__]
6242 (__ASSUME_SET_ROBUST_LIST): Do not define.
6243 [__sparc__ && !__arch64__ && !__sparc_v9__]
6244 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6245 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6247 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6248 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6249 (__ASSUME_REQUEUE_PI): Likewise.
6250 (__ASSUME_SET_ROBUST_LIST): Likewise.
6251 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6252 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6254 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6255 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6257 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6259 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6261 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6262 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6264 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6265 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6269 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6270 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6271 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6273 2014-03-31 Will Newton <will.newton@linaro.org>
6275 * benchtests/Makefile (bench): Add ffs and ffsll to list
6277 * benchtests/ffs-inputs: New file.
6278 * benchtests/ffsll-inputs: Likewise.
6280 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6283 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6284 too large before casting to int.
6285 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6286 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6287 * math/libm-test.inc (scalb_test_data): Add more tests.
6289 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6291 * benchtests/Makefile (DETAILED_OPT): New make option.
6292 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6294 * benchtests/bench-skeleton.c: Include stdbool.h.
6295 (main): Store and print timings per input.
6296 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6297 member to each argument value.
6298 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6299 (_print_arg_data): Initialize per-input timing to 0.
6301 * benchtests/Makefile (timing-type): New binary.
6302 (bench-clean): Also remove bench-timing-type.
6303 (bench): New target for timing-type.
6304 (bench-func): Print output in JSON format.
6305 * benchtests/bench-skeleton.c (main): Print output in JSON
6307 * benchtests/bench-timing-type.c: New file.
6308 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6309 (TIMING_PRINT_STATS): Remove.
6310 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6313 * benchtests/bench-modf.c: Remove.
6314 * benchtests/modf-inputs: New inputs file.
6316 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6319 * math/s_clog10.c (M_PI_LOG10E): New macro.
6320 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6321 imaginary parts are 0.
6322 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6323 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6324 imaginary parts are 0.
6325 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6326 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6327 imaginary parts are 0.
6328 * math/libm-test.inc (clog10_test_data): Update expected results
6329 for when real and imaginary parts are 0.
6331 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6333 * elf/dl-load.c: Finish conversion of __builtin_expect into
6336 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6339 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6340 1+x for argument with exponent below -67.
6341 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6343 * math/auto-libm-test-in: Add more tests of exp.
6344 * math/auto-libm-test-out: Regenerated.
6346 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6349 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6350 (nscd_getnetgrent): Use it.
6353 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6356 2014-03-27 Andi Kleen <ak@linux.intel.com>
6358 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6359 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6360 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6361 (lll_robust_unlock): Remove out of line section. Use cfi
6363 (LLL_STUB_UNWIND_INFO*): Remove.
6364 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6365 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6366 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6367 (lll_robust_unlock): Remove out of line section. Use cfi
6369 (LLL_STUB_UNWIND_INFO*): Remove.
6371 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6374 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6377 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6379 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6381 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6384 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6386 * math/test-fenv-preserve.c: New file.
6387 * math/Makefile (tests): Add test-fenv-preserve.
6389 2014-03-26 Will Newton <will.newton@linaro.org>
6391 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6393 2014-03-25 Roland McGrath <roland@hack.frob.com>
6395 * scripts/versionlist.awk: Partition the version sets and emit all
6396 GLIBC_* (sorted) before all others (sorted).
6398 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6400 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6401 GLIBC_2.2.5 version.
6403 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6405 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6408 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6413 2014-03-25 Andreas Schwab <schwab@suse.de>
6415 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6416 label to be used after in6ailist is initialized.
6418 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6420 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6421 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6423 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6427 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6429 (fp_formats): Update initializers.
6430 (init_fp_formats): Initialize new field.
6431 (output_for_one_input_case): Allow underflow for results up to
6433 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6434 * math/auto-libm-test-in: Don't mark some underflows from asin and
6436 * math/auto-libm-test-out: Regenerated.
6437 * sysdeps/i386/fpu/libm-test-ulps: Update.
6438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6440 2014-03-25 Andreas Schwab <schwab@suse.de>
6442 * libio/Makefile (tst-ftell-partial-wide-ENV)
6443 (tst-ftell-active-handler-ENV): Define.
6445 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6447 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6449 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6451 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6453 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6455 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6456 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6457 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6459 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6462 * elf/dl-load.c (open_verify): Add mode parameter.
6463 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6464 (open_path): Change from boolean 'secure' to complete flag 'mode'
6465 (_dl_map_object): Adjust.
6466 * elf/Makefile (tests): Add tst-dlopen-aout.
6467 * elf/tst-dlopen-aout.c: New test.
6469 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6472 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6473 (struct stat): Rename member pad0 to __glibc_reserved0.
6476 * sysdeps/s390/s390-32/bits/wordsize.h
6477 (__WORDSIZE32_SIZE_ULONG): New define.
6478 * sysdeps/s390/s390-64/bits/wordsize.h
6479 (__WORDSIZE32_SIZE_ULONG): Likewise.
6480 * sysdeps/generic/stdint.h (SIZE_MAX):
6481 Define as UL if __WORDSIZE32_SIZE_ULONG.
6484 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6485 (__glibc_reserved0): New variable.
6486 (sa_flags): Change type to int.
6488 * posix/Makefile (before-compile): Use += before-compile instead
6491 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6492 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6494 2014-03-20 Andreas Schwab <schwab@suse.de>
6497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6498 non-matching result from nscd.
6500 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6502 * scripts/bench.py: Moved to ...
6503 * benchtests/scripts/bench.py: ... here.
6504 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6506 2014-03-24 Andreas Schwab <schwab@suse.de>
6509 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6510 alloca_account and account alloca use for struct in6ailist.
6512 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6515 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6516 rounding mode to recompute results that overflow to infinity or
6518 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6520 * math/auto-libm-test-out: Regenerated.
6521 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6522 (ccosh_test): Likewise.
6523 (csin_test_data): Use plus_oflow.
6524 (csin_test): Use ALL_RM_TEST.
6525 (csinh_test_data): Use plus_oflow.
6526 (csinh_test): Use ALL_RM_TEST.
6527 * sysdeps/i386/fpu/libm-test-ulps: Update.
6528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6530 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6532 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6533 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6534 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6537 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6539 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6540 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6541 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6542 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6544 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6545 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6547 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6548 * sysdeps/i386/fpu/libm-test-ulps: Update.
6549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6551 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6553 * scripts/bench.pl: Remove file.
6554 * scripts/bench.py: New benchmark script.
6555 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6556 * benchtests/README: Mention python dependency.
6557 * scripts/pylintrc: New file.
6558 * scripts/pylint: New file.
6560 * bits/mathdef.h: Use #ifdef instead of #if.
6561 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6562 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6563 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6564 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6565 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6566 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6568 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6569 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6571 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6573 and strpbrk-ppc64 objects.
6574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6575 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6576 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6577 multiarch strpbrk for POWER7.
6578 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6579 multiarch strpbrk for PPC64.
6580 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6582 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6585 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6587 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6588 (atan_test): Likewise.
6589 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6590 (atanh_test): Use ALL_RM_TEST.
6591 (atan2_test_data): Likewise.
6592 (cabs_test): Likewise.
6593 (cacosh_test): Likewise.
6594 (carg_test): Likewise.
6595 (casin_test): Likewise.
6596 (casinh_test): Likewise.
6597 (cbrt_test): Likewise.
6598 (csqrt_test): Likewise.
6599 (erf_test): Likewise.
6600 (erfc_test): Likewise.
6601 (pow10_test): Likewise.
6602 (exp2_test): Likewise.
6603 (hypot_test): Likewise.
6604 (j0_test): Likewise.
6605 (j1_test): Likewise.
6606 (lgamma_test): Likewise.
6607 (gamma_test): Likewise.
6608 (sincos_test): Likewise.
6609 (tanh_test): Likewise.
6610 (y0_test): Likewise.
6611 (y1_test): Likewise.
6612 * sysdeps/i386/fpu/libm-test-ulps: Update.
6613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6615 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6619 and strcspn-ppc64 objects.
6620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6621 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6622 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6623 multiarch strcspn for POWER7.
6624 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6625 multiarch strcspn for PPC64.
6626 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6628 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6631 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6633 * math/gen-libm-test.pl (generate_testfile): Expect only function
6634 name as argument to AUTO_TESTS_* and pass results for all rounding
6635 modes to parse_args.
6636 (parse_auto_input): Separate inputs of automatic tests from
6637 outputs before storing in %auto_tests.
6638 * math/libm-test.inc (acos_test_data): Update call to
6640 (acos_test): Use ALL_RM_TEST.
6641 (acos_tonearest_test_data): Remove.
6642 (acos_test_tonearest): Likewise.
6643 (acos_towardzero_test_data): Likewise.
6644 (acos_test_towardzero): Likewise.
6645 (acos_downward_test_data): Likewise.
6646 (acos_test_downward): Likewise.
6647 (acos_upward_test_data): Likewise.
6648 (acos_test_upward): Likewise.
6649 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6650 (asin_test_data): Likewise.
6651 (asin_test): Use ALL_RM_TEST.
6652 (asin_tonearest_test_data): Remove.
6653 (asin_test_tonearest): Likewise.
6654 (asin_towardzero_test_data): Likewise.
6655 (asin_test_towardzero): Likewise.
6656 (asin_downward_test_data): Likewise.
6657 (asin_test_downward): Likewise.
6658 (asin_upward_test_data): Likewise.
6659 (asin_test_upward): Likewise.
6660 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6661 (atan_test_data): Likewise.
6662 (atanh_test_data): Likewise.
6663 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6664 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6665 (carg_test_data): Likewise.
6666 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6667 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6668 (ccosh_test_data): Likewise.
6669 (cexp_test_data): Likewise.
6670 (clog_test_data): Likewise.
6671 (clog10_test_data): Likewise.
6672 (cos_test_data): Update call to AUTO_TESTS_f_f.
6673 (cos_test): Use ALL_RM_TEST.
6674 (cos_tonearest_test_data): Remove.
6675 (cos_test_tonearest): Likewise.
6676 (cos_towardzero_test_data): Likewise.
6677 (cos_test_towardzero): Likewise.
6678 (cos_downward_test_data): Likewise.
6679 (cos_test_downward): Likewise.
6680 (cos_upward_test_data): Likewise.
6681 (cos_test_upward): Likewise.
6682 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6683 (cosh_test): Use ALL_RM_TEST.
6684 (cosh_tonearest_test_data): Remove.
6685 (cosh_test_tonearest): Likewise.
6686 (cosh_towardzero_test_data): Likewise.
6687 (cosh_test_towardzero): Likewise.
6688 (cosh_downward_test_data): Likewise.
6689 (cosh_test_downward): Likewise.
6690 (cosh_upward_test_data): Likewise.
6691 (cosh_test_upward): Likewise.
6692 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6693 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6694 (ctan_test_data): Likewise.
6695 (ctan_test): Use ALL_RM_TEST.
6696 (ctan_tonearest_test_data): Remove.
6697 (ctan_test_tonearest): Likewise.
6698 (ctan_towardzero_test_data): Likewise.
6699 (ctan_test_towardzero): Likewise.
6700 (ctan_downward_test_data): Likewise.
6701 (ctan_test_downward): Likewise.
6702 (ctan_upward_test_data): Likewise.
6703 (ctan_test_upward): Likewise.
6704 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6705 (ctanh_test): Use ALL_RM_TEST.
6706 (ctanh_tonearest_test_data): Remove.
6707 (ctanh_test_tonearest): Likewise.
6708 (ctanh_towardzero_test_data): Likewise.
6709 (ctanh_test_towardzero): Likewise.
6710 (ctanh_downward_test_data): Likewise.
6711 (ctanh_test_downward): Likewise.
6712 (ctanh_upward_test_data): Likewise.
6713 (ctanh_test_upward): Likewise.
6714 (erf_test_data): Update call to AUTO_TESTS_f_f.
6715 (erfc_test_data): Likewise.
6716 (exp_test_data): Likewise.
6717 (exp_test): Use ALL_RM_TEST.
6718 (exp_tonearest_test_data): Remove.
6719 (exp_test_tonearest): Likewise.
6720 (exp_towardzero_test_data): Likewise.
6721 (exp_test_towardzero): Likewise.
6722 (exp_downward_test_data): Likewise.
6723 (exp_test_downward): Likewise.
6724 (exp_upward_test_data): Likewise.
6725 (exp_test_upward): Likewise.
6726 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6727 (exp10_test): Use ALL_RM_TEST.
6728 (exp10_tonearest_test_data): Remove.
6729 (exp10_test_tonearest): Likewise.
6730 (exp10_towardzero_test_data): Likewise.
6731 (exp10_test_towardzero): Likewise.
6732 (exp10_downward_test_data): Likewise.
6733 (exp10_test_downward): Likewise.
6734 (exp10_upward_test_data): Likewise.
6735 (exp10_test_upward): Likewise.
6736 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6737 (expm1_test_data): Likewise.
6738 (expm1_test): Use ALL_RM_TEST.
6739 (expm1_tonearest_test_data): Remove.
6740 (expm1_test_tonearest): Likewise.
6741 (expm1_towardzero_test_data): Likewise.
6742 (expm1_test_towardzero): Likewise.
6743 (expm1_downward_test_data): Likewise.
6744 (expm1_test_downward): Likewise.
6745 (expm1_upward_test_data): Likewise.
6746 (expm1_test_upward): Likewise.
6747 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6748 (fma_test): Use ALL_RM_TEST.
6749 (fma_towardzero_test_data): Remove.
6750 (fma_test_towardzero): Likewise.
6751 (fma_downward_test_data): Likewise.
6752 (fma_test_downward): Likewise.
6753 (fma_upward_test_data): Likewise.
6754 (fma_test_upward): Likewise.
6755 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6756 (j0_test_data): Update call to AUTO_TESTS_f_f.
6757 (j1_test_data): Likewise.
6758 (jn_test_data): Update call to AUTO_TESTS_if_f.
6759 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6760 (log_test_data): Update call to AUTO_TESTS_f_f.
6761 (log10_test_data): Likewise.
6762 (log1p_test_data): Likewise.
6763 (log2_test_data): Likewise.
6764 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6765 (pow_tonearest_test_data): Likewise.
6766 (sin_test_data): Update call to AUTO_TESTS_f_f.
6767 (sin_test): Use ALL_RM_TEST.
6768 (sin_tonearest_test_data): Remove.
6769 (sin_test_tonearest): Likewise.
6770 (sin_towardzero_test_data): Likewise.
6771 (sin_test_towardzero): Likewise.
6772 (sin_downward_test_data): Likewise.
6773 (sin_test_downward): Likewise.
6774 (sin_upward_test_data): Likewise.
6775 (sin_test_upward): Likewise.
6776 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6777 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6778 (sinh_test): Use ALL_RM_TEST.
6779 (sinh_tonearest_test_data): Remove.
6780 (sinh_test_tonearest): Likewise.
6781 (sinh_towardzero_test_data): Likewise.
6782 (sinh_test_towardzero): Likewise.
6783 (sinh_downward_test_data): Likewise.
6784 (sinh_test_downward): Likewise.
6785 (sinh_upward_test_data): Likewise.
6786 (sinh_test_upward): Likewise.
6787 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6788 (sqrt_test): Use ALL_RM_TEST.
6789 (sqrt_tonearest_test_data): Remove.
6790 (sqrt_test_tonearest): Likewise.
6791 (sqrt_towardzero_test_data): Likewise.
6792 (sqrt_test_towardzero): Likewise.
6793 (sqrt_downward_test_data): Likewise.
6794 (sqrt_test_downward): Likewise.
6795 (sqrt_upward_test_data): Likewise.
6796 (sqrt_test_upward): Likewise.
6797 (tan_test_data): Update call to AUTO_TESTS_f_f.
6798 (tan_test): Use ALL_RM_TEST.
6799 (tan_tonearest_test_data): Remove.
6800 (tan_test_tonearest): Likewise.
6801 (tan_towardzero_test_data): Likewise.
6802 (tan_test_towardzero): Likewise.
6803 (tan_downward_test_data): Likewise.
6804 (tan_test_downward): Likewise.
6805 (tan_upward_test_data): Likewise.
6806 (tan_test_upward): Likewise.
6807 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6808 (tgamma_test_data): Likewise.
6809 (y0_test_data): Likewise.
6810 (y1_test_data): Likewise.
6811 (yn_test_data): Update call to AUTO_TESTS_if_f.
6812 (main): Do not call removed functions.
6814 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6816 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6817 (ldexp_test_data): Remove.
6818 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6820 (scalb_test): Use ALL_RM_TEST.
6822 2014-03-19 Andreas Schwab <schwab@suse.de>
6824 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6826 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6829 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6830 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6831 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6832 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6833 (__ASSUME_PREADV): Undefine.
6834 (__ASSUME_PWRITEV): Likewise.
6836 2014-03-18 Roland McGrath <roland@hack.frob.com>
6838 * bits/mman-linux.h: Add comment about non-Linux use.
6839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6840 bits/mman-linux.h resting place.
6842 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6843 * bits/mman-linux.h: ... here.
6845 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847 * conform/conformtest.pl: Add standard definition when calling C
6848 preprocessor on data files.
6849 (checknamespace): Remove unused variable.
6851 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6853 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6854 minus_oflow, plus_uflow and minus_uflow in expected results.
6855 * math/libm-test.inc (scalbn_test_data): Add more tests of
6856 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6858 (scalbn_test): Use ALL_RM_TEST.
6859 (scalbln_test_data): Add more tests of negative arguments. Use
6860 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6861 (scalbln_test): Use ALL_RM_TEST.
6863 2014-03-18 Roland McGrath <roland@hack.frob.com>
6865 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6867 2014-03-18 Will Newton <will.newton@linaro.org>
6869 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6872 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6874 * Makerules [!subdir] (check-abi): Exit with error status if a
6877 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6879 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6880 for rint. Include results for all rounding modes.
6881 (nearbyint_test): Use ALL_RM_TEST.
6882 (rint_test_data): Include all tests used for nearbyint.
6884 2014-03-17 Will Newton <will.newton@linaro.org>
6886 * nptl/sysdeps/pthread/pthread.h: Revert previous
6889 * sysdeps/generic/ldsodefs.h: Revert previous
6892 * libio/genops.c: Revert previous change.
6893 * libio/libioP.h: Likewise.
6894 * stdio-common/vfprintf.c: Likewise.
6896 * sysdeps/generic/math_private.h: Revert previous
6899 * sysdeps/generic/math_private.h: Check whether
6900 HAVE_RM_CTX is defined with #ifdef rather
6903 * argp/argp-fmtstream.h: Check whether
6904 __STRICT_ANSI__ is defined with #ifdef rather
6906 * argp/argp.h: Likewise.
6908 * libio/genops.c: Check whether
6909 _IO_JUMPS_OFFSET is defined with #ifdef rather
6911 * libio/libioP.h: Likewise.
6912 * stdio-common/vfprintf.c: Likewise.
6914 * sysdeps/generic/ldsodefs.h: Check whether
6915 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6918 * nptl/sysdeps/pthread/pthread.h: Check
6919 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6922 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6924 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6926 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6930 * libio/fileops.c (_IO_file_open): Seek to end of file but
6931 don't cache the offset.
6932 (get_file_offset): Remove function.
6933 (do_ftell): Use cached offset when available.
6934 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6935 don't cache the offset.
6936 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6938 (do_one_test): Call it.
6939 (do_ftell_test): Fix up expected old offset for a+ mode.
6940 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6943 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6944 up test status with function return status.
6945 (do_write_test): Likewise.
6946 (do_append_test): Likewise.
6948 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6949 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6952 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6954 * math/gen-libm-test.pl (parse_args): Handle results specified for
6955 each rounding mode separately.
6956 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6957 tests and results from lrint_tonearest_test_data,
6958 lrint_towardzero_test_data, lrint_downward_test_data and
6959 lrint_upward_test_data.
6960 (lrint_test): Use ALL_RM_TEST.
6961 (lrint_tonearest_test_data): Remove.
6962 (lrint_test_tonearest): Likewise.
6963 (lrint_towardzero_test_data): Likewise.
6964 (lrint_test_towardzero): Likewise.
6965 (lrint_downward_test_data): Likewise.
6966 (lrint_test_downward): Likewise.
6967 (lrint_upward_test_data): Likewise.
6968 (lrint_test_upward): Likewise.
6969 (llrint_test_data): Merge in per-rounding-mode tests and results
6970 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6971 llrint_downward_test_data and llrint_upward_test_data.
6972 (llrint_test): Use ALL_RM_TEST.
6973 (llrint_tonearest_test_data): Remove.
6974 (llrint_test_tonearest): Likewise.
6975 (llrint_towardzero_test_data): Likewise.
6976 (llrint_test_towardzero): Likewise.
6977 (llrint_downward_test_data): Likewise.
6978 (llrint_test_downward): Likewise.
6979 (llrint_upward_test_data): Likewise.
6980 (llrint_test_upward): Likewise.
6981 (rint_test_data): Merge in per-rounding-mode tests and results
6982 from rint_tonearest_test_data, rint_towardzero_test_data,
6983 rint_downward_test_data and rint_upward_test_data. Add
6984 per-rounding-mode results for tests not in those arrays.
6985 (rint_test): Use ALL_RM_TEST.
6986 (rint_tonearest_test_data): Remove.
6987 (rint_test_tonearest): Likewise.
6988 (rint_towardzero_test_data): Likewise.
6989 (rint_test_towardzero): Likewise.
6990 (rint_downward_test_data): Likewise.
6991 (rint_test_downward): Likewise.
6992 (rint_upward_test_data): Likewise.
6993 (rint_test_upward): Likewise.
6994 (main): Don't call removed functions.
6996 2014-03-14 Roland McGrath <roland@hack.frob.com>
6998 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6999 "Compiled on ..." crapola. It is anti-useful.
7001 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7003 * scripts/evaluate-test.sh: Handle fourth argument to determine
7004 whether test run should stop on failure.
7005 * Makeconfig (stop-on-test-failure): New variable.
7006 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7007 $(stop-on-test-failure).
7008 * Makefile (tests): Give a summary of results from testing and
7009 exit with failure status if they include an ERROR or FAIL.
7011 * manual/install.texi (Configuring and compiling): Mention
7012 stop-on-test-failure=y.
7013 * INSTALL: Regenerated.
7015 2014-03-14 Roland McGrath <roland@hack.frob.com>
7017 * scripts/versionlist.awk: New file.
7018 * Makerules [$(build-shared) = yes]
7019 (postclean-generated): Add Versions.def, not Versions.def.v and
7021 ($(common-objpfx)Versions.def.v.i): Target removed.
7022 ($(common-objpfx)Versions.def): New target.
7023 ($(common-objpfx)Versions.all): Depend on that rather that
7024 $(common-objpfx)Versions.def.v.
7025 * Versions.def: File removed.
7027 * Makeconfig (+gccwarn): Add -Wundef.
7028 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7029 a dl-sysdep.h breaking its contract.
7030 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7031 * include/stackinfo.h: New file.
7032 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7033 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7034 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7035 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7036 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7037 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7038 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7039 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7040 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7041 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7042 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7043 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7044 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7045 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7046 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7048 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7051 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7053 * math/libm-test.inc (round_test_data): Add more tests.
7056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7058 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7061 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7063 * math/libm-test.inc (ceil_test_data): Add more tests.
7065 * math/libm-test.inc (trunc_test_data): Add more tests related to
7068 2014-03-14 Roland McGrath <roland@hack.frob.com>
7070 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7071 with #if rather than #ifdef.
7072 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7074 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7076 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7077 first. Disable AVX-512 GCC support if assembler doesn't support
7079 * sysdeps/x86_64/configure: Regenerated.
7081 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7083 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7084 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7085 (__old_pthread_attr_setstack): Likewise.
7086 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7087 [!_STACK_GROWS_DOWN]: Likewise.
7089 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7091 * config.make.in (have-bash2): Delete.
7092 * configure.ac (libc_cv_have_bash2): Delete.
7093 * configure: Regenerate.
7094 * elf/Makefile (common-ldd-rewrite): Rename to ...
7095 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7096 (sh-ldd-rewrite): Delete.
7097 (bash-ldd-rewrite): Delete.
7098 (have-bash2): Delete checks.
7099 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7102 * config.make.in (have-ksh): Delete.
7104 * configure.ac (libc_cv_have_ksh): Delete.
7105 * configure: Regenerate.
7107 * elf/Makefile: Delete $(have-ksh) check.
7108 ($(objpfx)sotruss): Change KSH to BASH.
7109 * elf/sotruss.ksh: Rename to ...
7110 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7111 function style to match POSIX. Drop ksh vim mode setting.
7113 * manual/time.texi (Specifying the Time Zone with TZ): Change
7114 Tuesday to Thursday.
7116 * debug/tst-longjmp_chk2.c: Update header comment.
7117 (stackoverflow_handler): Add comment. Call assert on pass value.
7119 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7121 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7122 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7123 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7124 (La_x86_64_vector): Add zmm.
7125 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7126 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7127 ($(objpfx)tst-audit10): New target.
7128 ($(objpfx)tst-audit10.out): Likewise.
7129 (tst-audit10-ENV): New.
7130 (AVX512-CFLAGS): Likewise.
7131 (CFLAGS-tst-audit10.c): Likewise.
7132 (CFLAGS-tst-auditmod10a.c): Likewise.
7133 (CFLAGS-tst-auditmod10b.c): Likewise.
7134 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7135 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7136 * sysdeps/x86_64/configure: Regenerated.
7137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7138 AVX-512 zmm register support.
7139 (_dl_x86_64_save_sse): Likewise.
7140 (_dl_x86_64_restore_sse): Likewise.
7141 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7142 size vector registers.
7143 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7144 (ZMM_SIZE): Likewise.
7145 * sysdeps/x86_64/tst-audit10.c: New file.
7146 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7147 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7149 2014-03-13 Roland McGrath <roland@hack.frob.com>
7151 * configure.ac (HAVE_EHDR_START): New check.
7152 * configure: Regenerated.
7153 * config.h.in (HAVE_EHDR_START): New #undef.
7154 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7155 assuming the lowest-addressed segment maps the start of the file.
7157 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7159 * INSTALL: Regenerated.
7161 2014-03-13 Will Newton <will.newton@linaro.org>
7163 * manual/setjmp.texi (System V contexts): Improve
7164 clarity and grammar of documentation.
7166 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7169 * elf/Makefile (tests): Add tst-pie2.
7170 (tests-pie): Add tst-pie2.
7171 * elf/tst-pie2.c: New file.
7172 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7174 * elf/rtld.c (map_doit): Load executable as lt_executable.
7175 (dl_main): Likewise.
7177 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7180 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7181 (__ASSUME_PSELECT): Undefine.
7183 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7187 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7190 selector for static builds.
7192 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7195 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7198 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7200 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7201 IFUNC selector for static builds.
7203 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7205 * sysdeps/mips/math_private.h [__mips_hard_float]
7206 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7207 libc_feresetround_mips_ctx.
7208 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7209 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7210 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7213 * math/s_nextafter.c (__nextafter): Do not return value from
7214 overflowing computation.
7215 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7216 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7217 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7221 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7222 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7224 2014-03-11 Roland McGrath <roland@hack.frob.com>
7226 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7227 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7228 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7229 the new mov targetting sp.
7231 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7234 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7235 Define it for static builds as well.
7236 (NO_BZERO_IMPL): Likewise.
7238 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7240 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7241 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7242 multiarch strspn for PPC64.
7243 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7244 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7246 (__libc_ifunc_impl_list): Likewise.
7247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7248 multiarch optimizations
7249 * string/strspn.c (strspn): Using macro to redefine symbol name.
7251 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7252 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7254 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7255 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7256 multiarch strncat for PPC64.
7257 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7258 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7260 (__libc_ifunc_impl_list): Likewise.
7261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7262 multiarch optimizations
7264 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7267 * nscd/nscd.service: Make service type forking.
7269 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7271 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7272 sign in non default rounding modes.
7273 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7275 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7277 * math/libm-test.inc (ALL_RM_TEST): New macro.
7278 (ceil_test): Use ALL_RM_TEST.
7279 (cimag_test): Likewise.
7280 (conj_test): Likewise.
7281 (copysign_test): Likewise.
7282 (cproj_test): Likewise.
7283 (creal_test): Likewise.
7284 (fabs_test): Likewise.
7285 (floor_test): Likewise.
7286 (fmax_test): Likewise.
7287 (fmin_test): Likewise.
7288 (fmod_test): Likewise.
7289 (fpclassify_test): Likewise.
7290 (frexp_test): Likewise.
7291 (ilogb_test): Likewise.
7292 (isfinite_test): Likewise.
7293 (finite_test): Likewise.
7294 (isgreater_test): Likewise.
7295 (isgreaterequal_test): Likewise.
7296 (isinf_test): Likewise.
7297 (isless_test): Likewise.
7298 (islessequal_test): Likewise.
7299 (islessgreater_test): Likewise.
7300 (isnan_test): Likewise.
7301 (isnormal_test): Likewise.
7302 (issignaling_test): Likewise.
7303 (isunordered_test): Likewise.
7304 (logb_test): Likewise.
7305 (logb_downward_test_data): Remove.
7306 (logb_test_downward): Likewise.
7307 (lround_test): Use ALL_RM_TEST.
7308 (llround_test): Likewise.
7309 (modf_test): Likewise.
7310 (nexttoward_test): Likewise.
7311 (remainder_test): Likewise.
7312 (drem_test): Likewise.
7313 (remainder_tonearest_test_data): Likewise.
7314 (remainder_test_tonearest): Likewise.
7315 (drem_test_tonearest): Likewise.
7316 (remainder_towardzero_test_data): Likewise.
7317 (remainder_test_towardzero): Likewise.
7318 (drem_test_towardzero): Likewise.
7319 (remainder_downward_test_data): Likewise.
7320 (remainder_test_downward): Likewise.
7321 (drem_test_downward): Likewise.
7322 (remainder_upward_test_data): Likewise.
7323 (remainder_test_upward): Likewise.
7324 (drem_test_upward): Likewise.
7325 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7326 (round_test): Use ALL_RM_TEST.
7327 (signbit_test): Likewise.
7328 (trunc_test): Likewise.
7329 (significand_test): Likewise.
7330 (main): Don't call removed functions.
7332 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7335 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7337 (ILL_ILLOPN): Likewise.
7338 (ILL_ILLADR): Likewise.
7339 (ILL_ILLTRP): Likewise.
7340 (ILL_PRVOPC): Likewise.
7341 (ILL_PRVREG): Likewise.
7342 (ILL_COPROC): Likewise.
7343 (ILL_BADSTK): Likewise.
7344 (FPE_INTDIV): Likewise.
7345 (FPE_INTOVF): Likewise.
7346 (FPE_FLTDIV): Likewise.
7347 (FPE_FLTOVF): Likewise.
7348 (FPE_FLTUND): Likewise.
7349 (FPE_FLTRES): Likewise.
7350 (FPE_FLTINV): Likewise.
7351 (FPE_FLTSUB): Likewise.
7352 (SEGV_MAPERR): Likewise.
7353 (SEGV_ACCERR): Likewise.
7354 (BUS_ADRALN): Likewise.
7355 (BUS_ADRERR): Likewise.
7356 (BUS_OBJERR): Likewise.
7357 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7358 (TRAP_TRACE): Likewise.
7359 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7361 (CLD_KILLED): Likewise.
7362 (CLD_DUMPED): Likewise.
7363 (CLD_TRAPPED): Likewise.
7364 (CLD_STOPPED): Likewise.
7365 (CLD_CONTINUED): Likewise.
7366 (POLL_IN): Likewise.
7367 (POLL_OUT): Likewise.
7368 (POLL_MSG): Likewise.
7369 (POLL_ERR): Likewise.
7370 (POLL_PRI): Likewise.
7371 (POLL_HUP): Likewise.
7372 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7374 (ILL_ILLOPN): Likewise.
7375 (ILL_ILLADR): Likewise.
7376 (ILL_ILLTRP): Likewise.
7377 (ILL_PRVOPC): Likewise.
7378 (ILL_PRVREG): Likewise.
7379 (ILL_COPROC): Likewise.
7380 (ILL_BADSTK): Likewise.
7381 (FPE_INTDIV): Likewise.
7382 (FPE_INTOVF): Likewise.
7383 (FPE_FLTDIV): Likewise.
7384 (FPE_FLTOVF): Likewise.
7385 (FPE_FLTUND): Likewise.
7386 (FPE_FLTRES): Likewise.
7387 (FPE_FLTINV): Likewise.
7388 (FPE_FLTSUB): Likewise.
7389 (SEGV_MAPERR): Likewise.
7390 (SEGV_ACCERR): Likewise.
7391 (BUS_ADRALN): Likewise.
7392 (BUS_ADRERR): Likewise.
7393 (BUS_OBJERR): Likewise.
7394 (BUS_MCEERR_AR): Likewise.
7395 (BUS_MCEERR_AO): Likewise.
7396 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7397 (TRAP_TRACE): Likewise.
7398 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7400 (CLD_KILLED): Likewise.
7401 (CLD_DUMPED): Likewise.
7402 (CLD_TRAPPED): Likewise.
7403 (CLD_STOPPED): Likewise.
7404 (CLD_CONTINUED): Likewise.
7405 (POLL_IN): Likewise.
7406 (POLL_OUT): Likewise.
7407 (POLL_MSG): Likewise.
7408 (POLL_ERR): Likewise.
7409 (POLL_PRI): Likewise.
7410 (POLL_HUP): Likewise.
7411 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7412 (ILL_ILLOPN): Likewise.
7413 (ILL_ILLADR): Likewise.
7414 (ILL_ILLTRP): Likewise.
7415 (ILL_PRVOPC): Likewise.
7416 (ILL_PRVREG): Likewise.
7417 (ILL_COPROC): Likewise.
7418 (ILL_BADSTK): Likewise.
7419 (FPE_INTDIV): Likewise.
7420 (FPE_INTOVF): Likewise.
7421 (FPE_FLTDIV): Likewise.
7422 (FPE_FLTOVF): Likewise.
7423 (FPE_FLTUND): Likewise.
7424 (FPE_FLTRES): Likewise.
7425 (FPE_FLTINV): Likewise.
7426 (FPE_FLTSUB): Likewise.
7427 (SEGV_MAPERR): Likewise.
7428 (SEGV_ACCERR): Likewise.
7429 (BUS_ADRALN): Likewise.
7430 (BUS_ADRERR): Likewise.
7431 (BUS_OBJERR): Likewise.
7432 (BUS_MCEERR_AR): Likewise.
7433 (BUS_MCEERR_AO): Likewise.
7434 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7435 (TRAP_TRACE): Likewise.
7436 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7438 (CLD_KILLED): Likewise.
7439 (CLD_DUMPED): Likewise.
7440 (CLD_TRAPPED): Likewise.
7441 (CLD_STOPPED): Likewise.
7442 (CLD_CONTINUED): Likewise.
7443 (POLL_IN): Likewise.
7444 (POLL_OUT): Likewise.
7445 (POLL_MSG): Likewise.
7446 (POLL_ERR): Likewise.
7447 (POLL_PRI): Likewise.
7448 (POLL_HUP): Likewise.
7449 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7451 (ILL_ILLOPN): Likewise.
7452 (ILL_ILLADR): Likewise.
7453 (ILL_ILLTRP): Likewise.
7454 (ILL_PRVOPC): Likewise.
7455 (ILL_PRVREG): Likewise.
7456 (ILL_COPROC): Likewise.
7457 (ILL_BADSTK): Likewise.
7458 (ILL_BADIADDR): Likewise.
7459 (ILL_BREAK): Likewise.
7460 (FPE_INTDIV): Likewise.
7461 (FPE_INTOVF): Likewise.
7462 (FPE_FLTDIV): Likewise.
7463 (FPE_FLTOVF): Likewise.
7464 (FPE_FLTUND): Likewise.
7465 (FPE_FLTRES): Likewise.
7466 (FPE_FLTINV): Likewise.
7467 (FPE_FLTSUB): Likewise.
7468 (FPE_DECOVF): Likewise.
7469 (FPE_DECDIV): Likewise.
7470 (FPE_DECERR): Likewise.
7471 (FPE_INVASC): Likewise.
7472 (FPE_INVDEC): Likewise.
7473 (SEGV_MAPERR): Likewise.
7474 (SEGV_ACCERR): Likewise.
7475 (SEGV_PSTKOVF): Likewise.
7476 (BUS_ADRALN): Likewise.
7477 (BUS_ADRERR): Likewise.
7478 (BUS_OBJERR): Likewise.
7479 (BUS_MCEERR_AR): Likewise.
7480 (BUS_MCEERR_AO): Likewise.
7481 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7482 (TRAP_TRACE): Likewise.
7483 (TRAP_BRANCH): Likewise.
7484 (TRAP_HWBKPT): Likewise.
7485 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7487 (CLD_KILLED): Likewise.
7488 (CLD_DUMPED): Likewise.
7489 (CLD_TRAPPED): Likewise.
7490 (CLD_STOPPED): Likewise.
7491 (CLD_CONTINUED): Likewise.
7492 (POLL_IN): Likewise.
7493 (POLL_OUT): Likewise.
7494 (POLL_MSG): Likewise.
7495 (POLL_ERR): Likewise.
7496 (POLL_PRI): Likewise.
7497 (POLL_HUP): Likewise.
7498 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7499 (ILL_ILLOPN): Likewise.
7500 (ILL_ILLADR): Likewise.
7501 (ILL_ILLTRP): Likewise.
7502 (ILL_PRVOPC): Likewise.
7503 (ILL_PRVREG): Likewise.
7504 (ILL_COPROC): Likewise.
7505 (ILL_BADSTK): Likewise.
7506 (FPE_INTDIV): Likewise.
7507 (FPE_INTOVF): Likewise.
7508 (FPE_FLTDIV): Likewise.
7509 (FPE_FLTOVF): Likewise.
7510 (FPE_FLTUND): Likewise.
7511 (FPE_FLTRES): Likewise.
7512 (FPE_FLTINV): Likewise.
7513 (FPE_FLTSUB): Likewise.
7514 (SEGV_MAPERR): Likewise.
7515 (SEGV_ACCERR): Likewise.
7516 (BUS_ADRALN): Likewise.
7517 (BUS_ADRERR): Likewise.
7518 (BUS_OBJERR): Likewise.
7519 (BUS_MCEERR_AR): Likewise.
7520 (BUS_MCEERR_AO): Likewise.
7521 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7522 (TRAP_TRACE): Likewise.
7523 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7525 (CLD_KILLED): Likewise.
7526 (CLD_DUMPED): Likewise.
7527 (CLD_TRAPPED): Likewise.
7528 (CLD_STOPPED): Likewise.
7529 (CLD_CONTINUED): Likewise.
7530 (POLL_IN): Likewise.
7531 (POLL_OUT): Likewise.
7532 (POLL_MSG): Likewise.
7533 (POLL_ERR): Likewise.
7534 (POLL_PRI): Likewise.
7535 (POLL_HUP): Likewise.
7536 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7537 (ILL_ILLOPN): Likewise.
7538 (ILL_ILLADR): Likewise.
7539 (ILL_ILLTRP): Likewise.
7540 (ILL_PRVOPC): Likewise.
7541 (ILL_PRVREG): Likewise.
7542 (ILL_COPROC): Likewise.
7543 (ILL_BADSTK): Likewise.
7544 (FPE_INTDIV): Likewise.
7545 (FPE_INTOVF): Likewise.
7546 (FPE_FLTDIV): Likewise.
7547 (FPE_FLTOVF): Likewise.
7548 (FPE_FLTUND): Likewise.
7549 (FPE_FLTRES): Likewise.
7550 (FPE_FLTINV): Likewise.
7551 (FPE_FLTSUB): Likewise.
7552 (SEGV_MAPERR): Likewise.
7553 (SEGV_ACCERR): Likewise.
7554 (BUS_ADRALN): Likewise.
7555 (BUS_ADRERR): Likewise.
7556 (BUS_OBJERR): Likewise.
7557 (BUS_MCEERR_AR): Likewise.
7558 (BUS_MCEERR_AO): Likewise.
7559 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7560 (TRAP_TRACE): Likewise.
7561 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7563 (CLD_KILLED): Likewise.
7564 (CLD_DUMPED): Likewise.
7565 (CLD_TRAPPED): Likewise.
7566 (CLD_STOPPED): Likewise.
7567 (CLD_CONTINUED): Likewise.
7568 (POLL_IN): Likewise.
7569 (POLL_OUT): Likewise.
7570 (POLL_MSG): Likewise.
7571 (POLL_ERR): Likewise.
7572 (POLL_PRI): Likewise.
7573 (POLL_HUP): Likewise.
7574 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7575 (ILL_ILLOPN): Likewise.
7576 (ILL_ILLADR): Likewise.
7577 (ILL_ILLTRP): Likewise.
7578 (ILL_PRVOPC): Likewise.
7579 (ILL_PRVREG): Likewise.
7580 (ILL_COPROC): Likewise.
7581 (ILL_BADSTK): Likewise.
7582 (FPE_INTDIV): Likewise.
7583 (FPE_INTOVF): Likewise.
7584 (FPE_FLTDIV): Likewise.
7585 (FPE_FLTOVF): Likewise.
7586 (FPE_FLTUND): Likewise.
7587 (FPE_FLTRES): Likewise.
7588 (FPE_FLTINV): Likewise.
7589 (FPE_FLTSUB): Likewise.
7590 (SEGV_MAPERR): Likewise.
7591 (SEGV_ACCERR): Likewise.
7592 (BUS_ADRALN): Likewise.
7593 (BUS_ADRERR): Likewise.
7594 (BUS_OBJERR): Likewise.
7595 (BUS_MCEERR_AR): Likewise.
7596 (BUS_MCEERR_AO): Likewise.
7597 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7598 (TRAP_TRACE): Likewise.
7599 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7601 (CLD_KILLED): Likewise.
7602 (CLD_DUMPED): Likewise.
7603 (CLD_TRAPPED): Likewise.
7604 (CLD_STOPPED): Likewise.
7605 (CLD_CONTINUED): Likewise.
7606 (POLL_IN): Likewise.
7607 (POLL_OUT): Likewise.
7608 (POLL_MSG): Likewise.
7609 (POLL_ERR): Likewise.
7610 (POLL_PRI): Likewise.
7611 (POLL_HUP): Likewise.
7612 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7613 (ILL_ILLOPN): Likewise.
7614 (ILL_ILLADR): Likewise.
7615 (ILL_ILLTRP): Likewise.
7616 (ILL_PRVOPC): Likewise.
7617 (ILL_PRVREG): Likewise.
7618 (ILL_COPROC): Likewise.
7619 (ILL_BADSTK): Likewise.
7620 (ILL_DBLFLT): Likewise.
7621 (ILL_HARDWALL): Likewise.
7622 (FPE_INTDIV): Likewise.
7623 (FPE_INTOVF): Likewise.
7624 (FPE_FLTDIV): Likewise.
7625 (FPE_FLTOVF): Likewise.
7626 (FPE_FLTUND): Likewise.
7627 (FPE_FLTRES): Likewise.
7628 (FPE_FLTINV): Likewise.
7629 (FPE_FLTSUB): Likewise.
7630 (SEGV_MAPERR): Likewise.
7631 (SEGV_ACCERR): Likewise.
7632 (BUS_ADRALN): Likewise.
7633 (BUS_ADRERR): Likewise.
7634 (BUS_OBJERR): Likewise.
7635 (BUS_MCEERR_AR): Likewise.
7636 (BUS_MCEERR_AO): Likewise.
7637 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7638 (TRAP_TRACE): Likewise.
7639 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7641 (CLD_KILLED): Likewise.
7642 (CLD_DUMPED): Likewise.
7643 (CLD_TRAPPED): Likewise.
7644 (CLD_STOPPED): Likewise.
7645 (CLD_CONTINUED): Likewise.
7646 (POLL_IN): Likewise.
7647 (POLL_OUT): Likewise.
7648 (POLL_MSG): Likewise.
7649 (POLL_ERR): Likewise.
7650 (POLL_PRI): Likewise.
7651 (POLL_HUP): Likewise.
7652 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7653 (ILL_ILLOPN): Likewise.
7654 (ILL_ILLADR): Likewise.
7655 (ILL_ILLTRP): Likewise.
7656 (ILL_PRVOPC): Likewise.
7657 (ILL_PRVREG): Likewise.
7658 (ILL_COPROC): Likewise.
7659 (ILL_BADSTK): Likewise.
7660 (FPE_INTDIV): Likewise.
7661 (FPE_INTOVF): Likewise.
7662 (FPE_FLTDIV): Likewise.
7663 (FPE_FLTOVF): Likewise.
7664 (FPE_FLTUND): Likewise.
7665 (FPE_FLTRES): Likewise.
7666 (FPE_FLTINV): Likewise.
7667 (FPE_FLTSUB): Likewise.
7668 (SEGV_MAPERR): Likewise.
7669 (SEGV_ACCERR): Likewise.
7670 (BUS_ADRALN): Likewise.
7671 (BUS_ADRERR): Likewise.
7672 (BUS_OBJERR): Likewise.
7673 (BUS_MCEERR_AR): Likewise.
7674 (BUS_MCEERR_AO): Likewise.
7675 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7676 (TRAP_TRACE): Likewise.
7677 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7679 (CLD_KILLED): Likewise.
7680 (CLD_DUMPED): Likewise.
7681 (CLD_TRAPPED): Likewise.
7682 (CLD_STOPPED): Likewise.
7683 (CLD_CONTINUED): Likewise.
7684 (POLL_IN): Likewise.
7685 (POLL_OUT): Likewise.
7686 (POLL_MSG): Likewise.
7687 (POLL_ERR): Likewise.
7688 (POLL_PRI): Likewise.
7689 (POLL_HUP): Likewise.
7690 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7691 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7694 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7695 before #include of <time.h>.
7696 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7697 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7698 (test-xfail-UNIX98/sched.h/conform): Likewise.
7700 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7702 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7703 error absence of trapping exception support.
7704 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7706 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7708 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7709 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7710 * timezone/Makefile (testdata): Move definition above include of
7712 (test-zones): New variable.
7713 (tests-special): Add zone files.
7714 (build-testdata): Use $(evaluate-test).
7716 * elf/Makefile (tests-special): Rename tests to end with .out.
7717 ($(objpfx)noload-mem): Likewise.
7718 ($(objpfx)tst-leaks1-mem): Likewise.
7719 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7720 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7721 $(objpfx)test-iconvconfig.out.
7722 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7723 set -e inside subshell and redirect output to file.
7724 * iconvdata/Makefile (generated): Rename tests to end with .out.
7726 (tests-special): Rename tests to end with .out.
7727 ($(objpfx)mtrace-tst-loading): Likewise.
7728 * intl/Makefile (generated): Likewise.
7729 (tests-special): Likewise.
7730 ($(objpfx)mtrace-tst-gettext): Likewise.
7731 * misc/Makefile (generated): Likewise.
7732 (tests-special): Likewise.
7733 ($(objpfx)tst-error1-mem): Likewise.
7734 * nptl/Makefile (tests-special): Likewise.
7735 ($(objpfx)tst-stack3-mem): Likewise.
7736 (generated): Likewise.
7737 * posix/Makefile (generated): Likewise.
7738 (tests-special): Likewise.
7739 (xtests-special): Likewise.
7740 ($(objpfx)tst-fnmatch-mem): Likewise.
7741 ($(objpfx)bug-regex2-mem): Likewise.
7742 ($(objpfx)bug-regex14-mem): Likewise.
7743 ($(objpfx)bug-regex21-mem): Likewise.
7744 ($(objpfx)bug-regex31-mem): Likewise.
7745 ($(objpfx)tst-vfork3-mem): Likewise.
7746 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7747 ($(objpfx)tst-pcre-mem): Likewise.
7748 ($(objpfx)tst-boost-mem): Likewise.
7749 ($(objpfx)bug-ga2-mem): Likewise.
7750 ($(objpfx)bug-glob2-mem): Likewise.
7751 * resolv/Makefile (generate): Likewise.
7752 (tests-special): Likewise.
7753 (xtests-special): Likewise.
7754 (generated): Likewise.
7755 ($(objpfx)mtrace-tst-leaks): Likewise.
7756 ($(objpfx)mtrace-tst-leaks2): Likewise.
7758 * scripts/merge-test-results.sh: New file.
7759 * Makefile (tests-special-notdir): New variable.
7760 (tests): Run merge-test-results.sh.
7762 * Rules (tests-special-notdir): New variable.
7763 (xtests-special-notdir): Likewise.
7764 (tests): Run merge-test-results.sh
7767 * Makeconfig (test-xfail-name): New variable.
7768 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7769 compute variable name for expected failures.
7770 * conform/Makefile (conformtest-headers-data): New variable.
7771 (conformtest-standards): Likewise.
7772 (conformtest-headers-ISO): Likewise.
7773 (conformtest-headers-ISO99): Likewise.
7774 (conformtest-headers-ISO11): Likewise.
7775 (conformtest-headers-POSIX): Likewise.
7776 (conformtest-headers-XPG3): Likewise.
7777 (conformtest-headers-XPG4): Likewise.
7778 (conformtest-headers-UNIX98): Likewise.
7779 (conformtest-headers-XOPEN2K): Likewise.
7780 (conformtest-headers-POSIX2008): Likewise.
7781 (conformtest-headers-XOPEN2K8): Likewise.
7782 (conformtest-header-list-base): Likewise.
7783 (conformtest-header-list-tests): Likewise.
7784 (conformtest-header-base): Likewise.
7785 (conformtest-header-tests): Likewise.
7786 (tests-special): Add $(conformtest-header-list-tests). If
7787 [$(fast-check) && !$(cross-compiling)], add
7788 $(conformtest-header-tests) instead of
7789 $(objpfx)run-conformtest.out.
7790 (generated): Add $(conformtest-header-list-base). If
7791 [$(fast-check) && !$(cross-compiling)], add
7792 $(conformtest-header-base). Remove previous setting.
7793 ($(conformtest-header-list-tests)): New target.
7794 (test-xfail-run-conformtest): Remove variable.
7795 ($(objpfx)run-conformtest.out): Remove target.
7796 (test-xfail-ISO11/complex.h/conform): New variable.
7797 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7798 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7799 (test-xfail-XPG3/varargs.h/conform): Likewise.
7800 (test-xfail-XPG4/varargs.h/conform): Likewise.
7801 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7802 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7803 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7804 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7805 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7806 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7807 (test-xfail-XPG3/ftw.h/conform): Likewise.
7808 (test-xfail-XPG3/grp.h/conform): Likewise.
7809 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7810 (test-xfail-XPG3/limits.h/conform): Likewise.
7811 (test-xfail-XPG3/pwd.h/conform): Likewise.
7812 (test-xfail-XPG3/search.h/conform): Likewise.
7813 (test-xfail-XPG3/signal.h/conform): Likewise.
7814 (test-xfail-XPG3/stdio.h/conform): Likewise.
7815 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7816 (test-xfail-XPG3/string.h/conform): Likewise.
7817 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7818 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7819 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7820 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7821 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7822 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7823 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7824 (test-xfail-XPG3/termios.h/conform): Likewise.
7825 (test-xfail-XPG3/time.h/conform): Likewise.
7826 (test-xfail-XPG3/unistd.h/conform): Likewise.
7827 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7828 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7829 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7830 (test-xfail-XPG4/netdb.h/conform): Likewise.
7831 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7832 (test-xfail-XPG4/signal.h/conform): Likewise.
7833 (test-xfail-XPG4/stdio.h/conform): Likewise.
7834 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7835 (test-xfail-XPG4/stropts.h/conform): Likewise.
7836 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7837 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7838 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7839 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7840 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7841 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7842 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7843 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7844 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7845 (test-xfail-XPG4/termios.h/conform): Likewise.
7846 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7847 (test-xfail-XPG4/unistd.h/conform): Likewise.
7848 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7849 (test-xfail-POSIX/sched.h/conform): Likewise.
7850 (test-xfail-POSIX/signal.h/conform): Likewise.
7851 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7852 (test-xfail-POSIX/tar.h/conform): Likewise.
7853 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7854 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7855 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7856 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7857 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7858 (test-xfail-UNIX98/sched.h/conform): Likewise.
7859 (test-xfail-UNIX98/signal.h/conform): Likewise.
7860 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7861 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7862 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7863 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7864 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7865 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7866 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7867 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7868 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7869 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7870 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7871 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7872 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7873 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7874 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7875 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7876 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7877 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7878 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7879 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7880 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7881 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7882 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7883 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7884 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7885 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7886 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7887 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7888 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7889 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7890 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7891 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7892 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7893 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7894 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7895 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7896 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7897 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7898 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7899 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7900 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7901 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7902 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7903 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7904 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7905 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7906 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7907 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7908 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7909 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7910 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7911 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7912 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7913 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7914 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7915 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7916 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7917 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7918 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7919 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7920 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7921 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7922 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7923 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7924 (conformtest-cc-flags): Likewise.
7925 ($(conformtest-header-tests): New target.
7926 * conform/check-header-lists.sh: New file.
7927 * conform/run-conformtest.sh: Remove.
7929 * conform/conformtest.pl: Allow ' and \ in values given for
7931 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7933 [POSIX] (sys/types.h): Likewise.
7934 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7936 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7938 * conform/data/signal.h-data (SIGIO): Remove expectation.
7939 [XPG3] (SIGBUS): Do not expect.
7940 [POSIX || XPG3] (SIGPOLL): Likewise.
7941 [POSIX || XPG3] (SIGPROF): Likewise.
7942 [POSIX || XPG3] (SIGSYS): Likewise.
7943 [XPG3] (SIGTRAP): Likewise.
7944 [POSIX || XPG3] (SIGURG): Likewise.
7945 [POSIX || XPG3] (SIGVTALRM): Likewise.
7946 [POSIX || XPG3] (SIGXCPU): Likewise.
7947 [POSIX || XPG3] (SIGXFSZ): Likewise.
7948 [POSIX] (SA_SIGINFO): Expect.
7949 [XPG3] (siginfo_t): Do not expect type or contents.
7950 [POSIX] (si_pid): Do not expect element.
7951 [POSIX] (si_uid): Likewise.
7952 [POSIX] (si_addr): Likewise.
7953 [POSIX] (si_status): Likewise.
7954 [POSIX] (si_band): Likewise.
7955 [XPG4] (si_value): Likewise.
7956 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7957 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7958 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7959 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7960 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7961 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7962 [POSIX || XPG3] (ILL_COPROC): Likewise.
7963 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7964 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7965 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7966 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7967 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7968 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7969 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7970 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7971 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7972 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7973 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7974 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7975 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7976 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7977 [POSIX || XPG3] (CLD_EXITED): Likewise.
7978 [POSIX || XPG3] (CLD_KILLED): Likewise.
7979 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7980 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7981 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7982 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7983 [POSIX || XPG3] (POLL_IN): Likewise.
7984 [POSIX || XPG3] (POLL_OUT): Likewise.
7985 [POSIX || XPG3] (POLL_MSG): Likewise.
7986 [POSIX || XPG3] (POLL_ERR): Likewise.
7987 [POSIX || XPG3] (POLL_PRI): Likewise.
7988 [POSIX || XPG3] (POLL_HUP): Likewise.
7989 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7990 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7991 (SIG*): Do not allow.
7992 [XPG3] (si_*): Likewise.
7993 [XPG3] (SI_*): Likewise.
7994 [XPG3 || XPG4] (sigev_*): Likewise.
7995 [XPG3 || XPG4] (SIGEV_*): Likewise.
7996 [XPG3 || XPG4] (sival_*): Likewise.
7997 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7998 [POSIX || XPG3] (BUS_*): Likewise.
7999 [POSIX || XPG3] (CLD_*): Likewise.
8000 [POSIX || XPG3] (FPE_*): Likewise.
8001 [POSIX || XPG3] (ILL_*): Likewise.
8002 [POSIX || XPG3] (POLL_*): Likewise.
8003 [POSIX || XPG3] (SEGV_*): Likewise.
8004 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8005 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8006 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8007 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8008 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8009 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8010 Specify type and value.
8011 (TVERSLEN): Likewise.
8012 (REGTYPE): Likewise.
8013 (AREGTYPE): Likewise.
8014 (LNKTYPE): Likewise.
8015 (SYMTYPE): Likewise.
8016 (CHRTYPE): Likewise.
8017 (BLKTYPE): Likewise.
8018 (DIRTYPE): Likewise.
8019 (FIFOTYPE): Likewise.
8020 (CONTTYPE): Likewise.
8025 (TUWRITE): Likewise.
8028 (TGWRITE): Likewise.
8031 (TOWRITE): Likewise.
8033 [POSIX] (TSVTX): Expect constant.
8035 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8037 * Makefile (tests): Change dependencies to ....
8038 (tests-special): ... additions to this variable.
8039 (tests): Depend on $(tests-special).
8040 * Makerules (check-abi-list): New variable.
8041 (check-abi): Depend on $(check-abi-list).
8042 [$(subdir) = elf] (tests-special): Add
8043 $(objpfx)check-abi-libc.out.
8044 [$(build-shared) = yes && subdir] (tests-special): Add
8046 [$(build-shared) = yes && subdir] (tests): Do not depend on
8048 * Rules (tests): Depend on $(tests-special).
8049 (xtests): Depend on $(xtests-special).
8050 * catgets/Makefile (tests): Change dependencies to ....
8051 (tests-special): ... additions to this variable.
8052 * conform/Makefile (tests): Change dependencies to ....
8053 (tests-special): ... additions to this variable.
8054 * elf/Makefile (tests): Change dependencies to ....
8055 (tests-special): ... additions to this variable.
8056 * grp/Makefile (tests): Change dependencies to ....
8057 (tests-special): ... additions to this variable.
8058 * iconv/Makefile (xtests): Change dependencies to ....
8059 (xtests-special): ... additions to this variable.
8060 * iconvdata/Makefile (tests): Change dependencies to ....
8061 (tests-special): ... additions to this variable.
8062 * intl/Makefile (tests): Change dependencies to ....
8063 (tests-special): ... additions to this variable. Also add
8064 $(objpfx)tst-gettext.out.
8065 * io/Makefile (tests): Change dependencies to ....
8066 (tests-special): ... additions to this variable.
8067 * libio/Makefile (tests): Change dependencies to ....
8068 (tests-special): ... additions to this variable.
8069 * malloc/Makefile (tests): Change dependencies to ....
8070 (tests-special): ... additions to this variable.
8071 * misc/Makefile (tests): Change dependencies to ....
8072 (tests-special): ... additions to this variable.
8073 * nptl/Makefile (tests): Change dependencies to ....
8074 (tests-special): ... additions to this variable.
8075 * nptl_db/Makefile (tests): Change dependencies to ....
8076 (tests-special): ... additions to this variable.
8077 * posix/Makefile (tests): Change dependencies to ....
8078 (tests-special): ... additions to this variable.
8079 (xtests): Change dependencies to ....
8080 (xtests-special): ... additions to this variable.
8081 * resolv/Makefile (tests): Change dependencies to ....
8082 (tests-special): ... additions to this variable.
8083 (xtests): Change dependencies to ....
8084 (xtests-special): ... additions to this variable.
8085 * stdio-common/Makefile (tests): Change dependencies to ....
8086 (tests-special): ... additions to this variable.
8087 (do-tst-unbputc): Remove target.
8088 (do-tst-printf): Likewise.
8089 * stdlib/Makefile (tests): Change dependencies to ....
8090 (tests-special): ... additions to this variable.
8091 * string/Makefile (tests): Change dependencies to ....
8092 (tests-special): ... additions to this variable.
8093 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8094 (tests-special): ... additions to this variable.
8096 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8098 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8100 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8101 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8103 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8104 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8105 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8106 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8107 * conform/data/libgen.h-data [XPG3]: Likewise.
8108 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8109 * conform/data/ndbm.h-data [XPG3]: Likewise.
8110 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8111 * conform/data/netdb.h-data [XPG3]: Likewise.
8112 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8113 * conform/data/poll.h-data [XPG3]: Likewise.
8114 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8115 * conform/data/strings.h-data [XPG3]: Likewise.
8116 * conform/data/stropts.h-data [XPG3]: Likewise.
8117 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8118 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8119 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8121 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8122 * conform/data/sys/time.h-data [XPG3]: Likewise.
8123 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8124 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8125 * conform/data/sys/un.h-data [XPG3]: Likewise.
8126 * conform/data/syslog.h-data [XPG3]: Likewise.
8127 * conform/data/ucontext.h-data [XPG3]: Likewise.
8128 * conform/data/utmpx.h-data [XPG3]: Likewise.
8129 * conform/data/varargs.h-data [UNIX98]: Enable file.
8131 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8133 * math/libm-test.inc (struct test_f_f_data): Move expected results
8134 into structure for each rounding mode.
8135 (struct test_ff_f_data): Likewise.
8136 (struct test_ff_f_data_nexttoward): Likewise.
8137 (struct test_fi_f_data): Likewise.
8138 (struct test_fl_f_data): Likewise.
8139 (struct test_if_f_data): Likewise.
8140 (struct test_fff_f_data): Likewise.
8141 (struct test_c_f_data): Likewise.
8142 (struct test_f_f1_data): Likewise.
8143 (struct test_fF_f1_data): Likewise.
8144 (struct test_ffI_f1_data): Likewise.
8145 (struct test_c_c_data): Likewise.
8146 (struct test_cc_c_data): Likewise.
8147 (struct test_f_i_data): Likewise.
8148 (struct test_ff_i_data): Likewise.
8149 (struct test_f_l_data): Likewise.
8150 (struct test_f_L_data): Likewise.
8151 (struct test_fFF_11_data): Likewise.
8153 (RM_FE_DOWNWARD): Likewise.
8154 (RM_FE_TONEAREST): Likewise.
8155 (RM_FE_TOWARDZERO): Likewise.
8156 (RM_FE_UPWARD): Likewise.
8157 (RUN_TEST_LOOP_f_f): Update references to expected results.
8158 (RUN_TEST_LOOP_2_f): Likewise.
8159 (RUN_TEST_LOOP_fff_f): Likewise.
8160 (RUN_TEST_LOOP_c_f): Likewise.
8161 (RUN_TEST_LOOP_f_f1): Likewise.
8162 (RUN_TEST_LOOP_fF_f1): Likewise.
8163 (RUN_TEST_LOOP_fI_f1): Likewise.
8164 (RUN_TEST_LOOP_ffI_f1): Likewise.
8165 (RUN_TEST_LOOP_c_c): Likewise.
8166 (RUN_TEST_LOOP_cc_c): Likewise.
8167 (RUN_TEST_LOOP_f_i): Likewise.
8168 (RUN_TEST_LOOP_f_i_tg): Likewise.
8169 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8170 (RUN_TEST_LOOP_f_b): Likewise.
8171 (RUN_TEST_LOOP_f_b_tg): Likewise.
8172 (RUN_TEST_LOOP_f_l): Likewise.
8173 (RUN_TEST_LOOP_f_L): Likewise.
8174 (RUN_TEST_LOOP_fFF_11): Likewise.
8175 * math/gen-libm-test.pl (parse_args): Output four copies of
8176 expected results for each test.
8178 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8179 (__ASSUME_UTIMES): Remove.
8180 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8181 (__ASSUME_UTIMES): Likewise.
8183 * math/gen-auto-libm-tests.c: Update comment on output format.
8184 (output_for_one_input_case): Generate before-rounding and
8185 after-rounding information as conditions on output flags not
8186 floating-point format.
8187 * math/auto-libm-test-out: Regenerated.
8188 * math/gen-libm-test.pl (cond_value): New function.
8189 (or_cond_value): Use cond_value.
8190 (generate_testfile): Handle conditional exceptions.
8192 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8194 * math/libm-test.inc (max_valid_error): New variable.
8195 (init_max_error): Take new argument specifying whether function
8196 results are exactly determined. Set max_valid_error and bound
8197 other variables for errors based on this argument.
8198 (set_max_error): Do not record results above max_valid_error.
8199 (check_float_internal): Only accept errors of up to 0.5ulps if
8200 also at most max_valid_error.
8201 (START): Take new argument EXACT and pass it to init_max_error.
8202 (acos_test): Update call to START.
8203 (acos_test_tonearest): Likewise.
8204 (acos_test_towardzero): Likewise.
8205 (acos_test_downward): Likewise.
8206 (acos_test_upward): Likewise.
8207 (acosh_test): Likewise.
8208 (asin_test): Likewise.
8209 (asin_test_tonearest): Likewise.
8210 (asin_test_towardzero): Likewise.
8211 (asin_test_downward): Likewise.
8212 (asin_test_upward): Likewise.
8213 (asinh_test): Likewise.
8214 (atan_test): Likewise.
8215 (atanh_test): Likewise.
8216 (atan2_test): Likewise.
8217 (cabs_test): Likewise.
8218 (cacos_test): Likewise.
8219 (cacosh_test): Likewise.
8220 (carg_test): Likewise.
8221 (casin_test): Likewise.
8222 (casinh_test): Likewise.
8223 (catan_test): Likewise.
8224 (catanh_test): Likewise.
8225 (cbrt_test): Likewise.
8226 (ccos_test): Likewise.
8227 (ccosh_test): Likewise.
8228 (ceil_test): Likewise.
8229 (cexp_test): Likewise.
8230 (cimag_test): Likewise.
8231 (clog_test): Likewise.
8232 (clog10_test): Likewise.
8233 (conj_test): Likewise.
8234 (copysign_test): Likewise.
8235 (cos_test): Likewise.
8236 (cos_test_tonearest): Likewise.
8237 (cos_test_towardzero): Likewise.
8238 (cos_test_downward): Likewise.
8239 (cos_test_upward): Likewise.
8240 (cosh_test): Likewise.
8241 (cosh_test_tonearest): Likewise.
8242 (cosh_test_towardzero): Likewise.
8243 (cosh_test_downward): Likewise.
8244 (cosh_test_upward): Likewise.
8245 (cpow_test): Likewise.
8246 (cproj_test): Likewise.
8247 (creal_test): Likewise.
8248 (csin_test): Likewise.
8249 (csinh_test): Likewise.
8250 (csqrt_test): Likewise.
8251 (ctan_test): Likewise.
8252 (ctan_test_tonearest): Likewise.
8253 (ctan_test_towardzero): Likewise.
8254 (ctan_test_downward): Likewise.
8255 (ctan_test_upward): Likewise.
8256 (ctanh_test): Likewise.
8257 (ctanh_test_tonearest): Likewise.
8258 (ctanh_test_towardzero): Likewise.
8259 (ctanh_test_downward): Likewise.
8260 (ctanh_test_upward): Likewise.
8261 (erf_test): Likewise.
8262 (erfc_test): Likewise.
8263 (exp_test): Likewise.
8264 (exp_test_tonearest): Likewise.
8265 (exp_test_towardzero): Likewise.
8266 (exp_test_downward): Likewise.
8267 (exp_test_upward): Likewise.
8268 (exp10_test): Likewise.
8269 (exp10_test_tonearest): Likewise.
8270 (exp10_test_towardzero): Likewise.
8271 (exp10_test_downward): Likewise.
8272 (exp10_test_upward): Likewise.
8273 (pow10_test): Likewise.
8274 (exp2_test): Likewise.
8275 (expm1_test): Likewise.
8276 (expm1_test_tonearest): Likewise.
8277 (expm1_test_towardzero): Likewise.
8278 (expm1_test_downward): Likewise.
8279 (expm1_test_upward): Likewise.
8280 (fabs_test): Likewise.
8281 (fdim_test): Likewise.
8282 (floor_test): Likewise.
8283 (fma_test): Likewise.
8284 (fma_test_towardzero): Likewise.
8285 (fma_test_downward): Likewise.
8286 (fma_test_upward): Likewise.
8287 (fmax_test): Likewise.
8288 (fmin_test): Likewise.
8289 (fmod_test): Likewise.
8290 (fpclassify_test): Likewise.
8291 (frexp_test): Likewise.
8292 (hypot_test): Likewise.
8293 (ilogb_test): Likewise.
8294 (isfinite_test): Likewise.
8295 (finite_test): Likewise.
8296 (isgreater_test): Likewise.
8297 (isgreaterequal_test): Likewise.
8298 (isinf_test): Likewise.
8299 (isless_test): Likewise.
8300 (islessequal_test): Likewise.
8301 (islessgreater_test): Likewise.
8302 (isnan_test): Likewise.
8303 (isnormal_test): Likewise.
8304 (issignaling_test): Likewise.
8305 (isunordered_test): Likewise.
8306 (j0_test): Likewise.
8307 (j1_test): Likewise.
8308 (jn_test): Likewise.
8309 (ldexp_test): Likewise.
8310 (lgamma_test): Likewise.
8311 (gamma_test): Likewise.
8312 (lrint_test): Likewise.
8313 (lrint_test_tonearest): Likewise.
8314 (lrint_test_towardzero): Likewise.
8315 (lrint_test_downward): Likewise.
8316 (lrint_test_upward): Likewise.
8317 (llrint_test): Likewise.
8318 (llrint_test_tonearest): Likewise.
8319 (llrint_test_towardzero): Likewise.
8320 (llrint_test_downward): Likewise.
8321 (llrint_test_upward): Likewise.
8322 (log_test): Likewise.
8323 (log10_test): Likewise.
8324 (log1p_test): Likewise.
8325 (log2_test): Likewise.
8326 (logb_test): Likewise.
8327 (logb_test_downward): Likewise.
8328 (lround_test): Likewise.
8329 (llround_test): Likewise.
8330 (modf_test): Likewise.
8331 (nearbyint_test): Likewise.
8332 (nextafter_test): Likewise.
8333 (nexttoward_test): Likewise.
8334 (pow_test): Likewise.
8335 (pow_test_tonearest): Likewise.
8336 (pow_test_towardzero): Likewise.
8337 (pow_test_downward): Likewise.
8338 (pow_test_upward): Likewise.
8339 (remainder_test): Likewise.
8340 (drem_test): Likewise.
8341 (remainder_test_tonearest): Likewise.
8342 (drem_test_tonearest): Likewise.
8343 (remainder_test_towardzero): Likewise.
8344 (drem_test_towardzero): Likewise.
8345 (remainder_test_downward): Likewise.
8346 (drem_test_downward): Likewise.
8347 (remainder_test_upward): Likewise.
8348 (drem_test_upward): Likewise.
8349 (remquo_test): Likewise.
8350 (rint_test): Likewise.
8351 (rint_test_tonearest): Likewise.
8352 (rint_test_towardzero): Likewise.
8353 (rint_test_downward): Likewise.
8354 (rint_test_upward): Likewise.
8355 (round_test): Likewise.
8356 (scalb_test): Likewise.
8357 (scalbn_test): Likewise.
8358 (scalbln_test): Likewise.
8359 (signbit_test): Likewise.
8360 (sin_test): Likewise.
8361 (sin_test_tonearest): Likewise.
8362 (sin_test_towardzero): Likewise.
8363 (sin_test_downward): Likewise.
8364 (sin_test_upward): Likewise.
8365 (sincos_test): Likewise.
8366 (sinh_test): Likewise.
8367 (sinh_test_tonearest): Likewise.
8368 (sinh_test_towardzero): Likewise.
8369 (sinh_test_downward): Likewise.
8370 (sinh_test_upward): Likewise.
8371 (sqrt_test): Likewise.
8372 (sqrt_test_tonearest): Likewise.
8373 (sqrt_test_towardzero): Likewise.
8374 (sqrt_test_downward): Likewise.
8375 (sqrt_test_upward): Likewise.
8376 (tan_test): Likewise.
8377 (tan_test_tonearest): Likewise.
8378 (tan_test_towardzero): Likewise.
8379 (tan_test_downward): Likewise.
8380 (tan_test_upward): Likewise.
8381 (tanh_test): Likewise.
8382 (tgamma_test): Likewise.
8383 (trunc_test): Likewise.
8384 (y0_test): Likewise.
8385 (y1_test): Likewise.
8386 (yn_test): Likewise.
8387 (significand_test): Likewise.
8389 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8390 individual tests in comment.
8391 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8392 (prev_max_error): New variable.
8393 (prev_real_max_error): Likewise.
8394 (prev_imag_max_error): Likewise.
8395 (compare_ulp_data): Don't refer to test names in comment.
8396 (find_test_ulps): Remove function.
8397 (find_function_ulps): Likewise.
8398 (find_complex_function_ulps): Likewise.
8399 (init_max_error): Take function name as argument. Look up ulps
8401 (print_ulps): Remove function.
8402 (print_max_error): Use prev_max_error instead of calling
8404 (print_complex_max_error): Use prev_real_max_error and
8405 prev_imag_max_error instead of calling find_complex_function_ulps.
8406 (check_float_internal): Take max_ulp parameter instead of calling
8407 find_test_ulps. Don't call print_ulps.
8408 (check_float): Update call to check_float_internal.
8409 (check_complex): Update calls to check_float_internal.
8410 (START): Pass argument to init_max_error.
8411 * math/gen-libm-test.pl (%results): Don't include "kind"
8413 (parse_ulps): Don't handle ulps of individual tests.
8414 (print_ulps_file): Likewise.
8415 (output_ulps): Likewise.
8416 * math/README.libm-test: Update.
8417 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8419 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8420 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8421 * sysdeps/arm/libm-test-ulps: Likewise.
8422 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8423 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8424 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8425 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8426 * sysdeps/microblaze/libm-test-ulps: Likewise.
8427 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8428 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8429 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8430 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8431 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8432 * sysdeps/sh/libm-test-ulps: Likewise.
8433 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8434 * sysdeps/tile/libm-test-ulps: Likewise.
8435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8437 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8439 * math/libm-test.inc (print_complex_max_error): Check separately
8440 whether real and imaginary errors are within allowed range and
8441 pass 0 to print_complex_function_ulps instead of value within
8444 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8446 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8448 (get_handles_fopen): Likewise.
8449 (do_write_test): Likewise.
8451 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8453 * libio/fileops.c (do_ftell): Use cached offset when
8455 * libio/iofwide.c (do_ftell_wide): Likewise.
8456 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8458 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8461 * libio/libioP.h (get_file_offset): New function.
8462 * libio/fileops.c (get_file_offset): Likewise.
8463 (do_ftell): Likewise.
8464 (_IO_new_file_seekoff): Split out ftell logic.
8465 * libio/wfileops.c (do_ftell_wide): Likewise.
8466 (_IO_wfile_seekoff): Split out ftell logic.
8467 * libio/tst-ftell-active-handler.c: New test case.
8468 * libio/Makefile (tests): Add it.
8470 2014-03-03 Roland McGrath <roland@hack.frob.com>
8472 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8473 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8475 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8478 * nscd/connections.c (nscd_init): Call do_exit.
8479 (start_threads): Call do_exit and notify_parent.
8480 (begin_drop_privileges): Call do_exit.
8481 (finish_drop_privileges): Likewise.
8482 * nscd/selinux.c (preserve_capabilities): Likewise.
8483 (install_real_capabilities): Likewise.
8484 (nscd_selinux_enabled): Likewise.
8485 (avc_create_thread): Likewise.
8486 (avc_alloc_lock): Likewise.
8487 (nscd_avc_init): Likewise.
8488 * nscd/nscd.c (parent_fd): New static variable.
8489 (main): Create a pipe between parent and child processes.
8490 Skip closing parent_fd.
8491 (monitor_child): New function.
8492 (do_exit): Likewise.
8493 (notify_parent): Likewise.
8494 * nscd/nscd.h (notify_parent): Likewise.
8495 (do_exit): Likewise.
8497 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8499 * malloc/malloc.c (__libc_calloc): Revert last change.
8501 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8505 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8507 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8511 (__libc_ifunc_impl_list): Likewise.
8512 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8513 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8514 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8515 * string/strrchr.c: Define STRRCHR.
8517 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8519 * benchtest/bench-strtok.c (simple_strtok): Delete.
8520 (strtok_string): Use as benchmark.
8521 * string/strtok (STRTOK): New macro.
8523 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8525 * manual/threads.texi: Add header and standard comments to all
8528 * elf/dl-lookup.c (check_match): New function.
8529 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8530 (do_lookup_x): Remove nested function check_match. Use non-nested
8531 function check_match.
8533 2014-02-28 Roland McGrath <roland@hack.frob.com>
8535 * csu/Makefile (generated, before-compile): Use += rather than =.
8536 * catgets/Makefile (generated, generated-dirs): Likewise.
8537 * debug/Makefile (generated): Likewise.
8538 * dlfcn/Makefile (generated): Likewise.
8539 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8540 * iconvdata/Makefile (before-compile, generated): Likewise.
8541 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8542 * libio/Makefile (generated): Likewise.
8543 * malloc/Makefile (generated): Likewise.
8544 * manual/Makefile (generated, generated-dirs): Likewise.
8545 * misc/Makefile (generated): Likewise.
8546 * posix/Makefile (generated): Likewise.
8547 * resolv/Makefile (generated): Likewise.
8548 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8549 * timezone/Makefile (generated, generated-dirs): Likewise.
8551 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8553 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8556 power8 implementation.
8557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8558 file: POWER8 llround ifunc implementation.
8559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8560 (__lllround): Add POWER8 implementation.
8561 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8562 POWER8 llround implementation.
8564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8565 power8 implementation.
8566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8567 file: POWER8 llrint ifunc implementation.
8568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8569 Add POWER8 implementation.
8570 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8571 POWER8 llrint implementation.
8573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8574 power8 implementation.
8575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8576 file: POWER8 finite ifunc implementation.
8577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8578 Add POWER8 implementation.
8579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8581 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8582 POWER8 finite implementation.
8583 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8586 power8 implementation.
8587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8588 file: POWER8 isinf ifunc implementation.
8589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8590 POWER8 implementation.
8591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8593 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8594 isinf implementation.
8595 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8597 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8598 (INIT_ARCH): Add hwcap2 initialization.
8599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8600 power8 implementation.
8601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8602 file: POWER8 isnan ifunc implementation.
8603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8604 POWER8 implementation.
8605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8607 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8608 isnan implementation.
8609 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8611 2014-02-27 Joey Ye <joey.ye@arm.com>
8613 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8614 (_FP_NANFRAC_Q): Set to zero.
8616 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8619 * math/auto-libm-test-in: New test inputs.
8620 * math/auto-libm-test-out: Regenerate.
8621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8624 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8626 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8628 * scripts/evaluate-test.sh: Take new argument indicating whether
8629 failure is expected.
8630 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8631 indicating whether failure is expected.
8632 * conform/Makefile (test-xfail-run-conformtest): New variable.
8633 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8635 * posix/Makefile (test-xfail-annexc): New variable.
8636 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8638 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8640 * argp/Makefile: Include Makeconfig immediately after defining
8642 * assert/Makefile: Likewise.
8643 * benchtests/Makefile: Likewise.
8644 * catgets/Makefile: Likewise.
8645 * conform/Makefile: Likewise.
8646 * crypt/Makefile: Likewise.
8647 * csu/Makefile: Likewise.
8648 (all): Remove target.
8649 * ctype/Makefile: Include Makeconfig immediately after defining
8651 * debug/Makefile: Likewise.
8652 * dirent/Makefile: Likewise.
8653 * dlfcn/Makefile: Likewise.
8654 * gmon/Makefile: Likewise.
8655 * gnulib/Makefile: Likewise.
8656 * grp/Makefile: Likewise.
8657 * gshadow/Makefile: Likewise.
8658 * hesiod/Makefile: Likewise.
8659 * hurd/Makefile: Likewise.
8660 (all): Remove target.
8661 * iconvdata/Makefile: Include Makeconfig immediately after
8663 * inet/Makefile: Likewise.
8664 * intl/Makefile: Likewise.
8665 * io/Makefile: Likewise.
8666 * libio/Makefile: Likewise.
8667 (all): Remove target.
8668 * locale/Makefile: Include Makeconfig immediately after defining
8670 * login/Makefile: Likewise.
8671 * mach/Makefile: Likewise.
8672 (all): Remove target.
8673 * malloc/Makefile: Include Makeconfig immediately after defining
8675 (all): Remove target.
8676 * manual/Makefile: Include Makeconfig immediately after defining
8678 * math/Makefile: Likewise.
8679 * misc/Makefile: Likewise.
8680 * nis/Makefile: Likewise.
8681 * nss/Makefile: Likewise.
8682 * po/Makefile: Likewise.
8683 (all): Remove target.
8684 * posix/Makefile: Include Makeconfig immediately after defining
8686 * pwd/Makefile: Likewise.
8687 * resolv/Makefile: Likewise.
8688 * resource/Makefile: Likewise.
8689 * rt/Makefile: Likewise.
8690 * setjmp/Makefile: Likewise.
8691 * shadow/Makefile: Likewise.
8692 * signal/Makefile: Likewise.
8693 * socket/Makefile: Likewise.
8694 * soft-fp/Makefile: Likewise.
8695 * stdio-common/Makefile: Likewise.
8696 * stdlib/Makefile: Likewise.
8697 * streams/Makefile: Likewise.
8698 * string/Makefile: Likewise.
8699 * sunrpc/Makefile: Likewise.
8700 (all): Remove target.
8701 * sysvipc/Makefile: Include Makeconfig immediately after defining
8703 * termios/Makefile: Likewise.
8704 * time/Makefile: Likewise.
8705 * timezone/Makefile: Likewise.
8706 (all): Remove target.
8707 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8709 * wctype/Makefile: Likewise.
8711 2014-02-26 Steve Ellcey <sellcey@mips.com>
8713 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8714 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8715 (libc_feholdexcept_setround_mips): Ditto.
8716 (libc_feholdsetround): New.
8717 (libc_feholdsetroundf): New.
8718 (libc_feholdsetroundl): New.
8719 (libc_feupdateenv_test_mips): New.
8720 (libc_feupdateenv_test): New.
8721 (libc_feupdateenv_testf): New.
8722 (libc_feupdateenv_testl): New.
8723 (libc_feresetround): New.
8724 (libc_feresetroundf): New.
8725 (libc_feresetroundl): New.
8726 (libc_fetestexcept_mips): New.
8727 (libc_fetestexcept): New.
8728 (libc_fetestexceptf): New.
8729 (libc_fetestexceptl): New.
8731 (libc_feholdexcept_setround_mips_ctx): New.
8732 (libc_feholdexcept_setround_ctx): New.
8733 (libc_feholdexcept_setroundf_ctx): New.
8734 (libc_feholdexcept_setroundl_ctx): New.
8735 (libc_fesetenv_mips_ctx): New.
8736 (libc_fesetenv_ctx): New.
8737 (libc_fesetenv_ctxf): New.
8738 (libc_fesetenv_ctxl): New.
8739 (libc_feupdateenv_mips_ctx): New.
8740 (libc_feupdateenv_ctx): New.
8741 (libc_feupdateenvf_ctx): New.
8742 (libc_feupdateenvl_ctx): New.
8743 (libc_feholdsetround_mips_ctx): New.
8744 (libc_feholdsetround_ctx): New.
8745 (libc_feholdsetroundf_ctx): New.
8746 (libc_feholdsetroundl_ctx): New.
8747 (libc_feresetround_mips_ctx): New.
8748 (libc_feresetround_ctx): New.
8749 (libc_feresetroundf_ctx): New.
8750 (libc_feresetroundl_ctx): New.
8752 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8754 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8756 * manual/ipc.texi: New file.
8757 * manual/Makefile (chapters): Add ipc.
8758 * manual/job.texi: Add "Inter-Process Communication" to next.
8759 * manual/process.texi: Add "Inter-Process Communication" to prev.
8761 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8765 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8767 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8769 * manual/arith.texi: Fix spaces after sentences.
8770 * manual/charset.texi: Likewise.
8771 * manual/errno.texi: Likewise.
8772 * manual/install.texi: Likewise.
8773 * manual/llio.texi: Likewise.
8774 * manual/locale.texi: Likewise.
8775 * manual/maint.texi: Likewise.
8776 * manual/math.texi: Likewise.
8777 * manual/memory.texi: Likewise.
8778 * manual/message.texi: Likewise.
8779 * manual/probes.texi: Likewise.
8780 * manual/resource.texi: Likewise.
8781 * manual/signal.texi: Likewise.
8782 * manual/socket.texi: Likewise.
8783 * manual/stdio.texi: Likewise.
8784 * manual/string.texi: Likewise.
8785 * manual/time.texi: Likewise.
8786 * manual/users.texi: Likewise.
8788 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8791 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8792 _DEFAULT_SOURCE is defined.
8794 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8795 Carlos O'Donell <carlos@redhat.com>
8798 * elf/dl-tls.c (_dl_count_modids): New function.
8799 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8800 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8801 audit library and increment generation counter.
8802 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8803 * elf/tst-audit9.c: New file.
8804 * elf/tst-auditmod9a.c: New file.
8805 * elf/tst-auditmod9b.c: New file.
8806 * elf/Makefile: Add rules to build and run tst-audit9.
8808 2014-02-25 Florian Weimer <fweimer@redhat.com>
8811 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8813 2014-02-25 Will Newton <will.newton@linaro.org>
8815 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8816 (__longjmp): Restore sp and lr before restoring callee
8817 saved registers. Add longjmp and longjmp_target
8818 SystemTap probe point.
8819 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8820 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8821 Define to zero to match jmpbuf layout.
8822 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8823 (__sigsetjmp): Save sp and lr before saving callee
8824 saved registers. Add setjmp SystemTap probe point.
8826 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8828 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8830 2014-02-24 Andreas Schwab <schwab@suse.de>
8833 * elf/pldd.c (wait_for_ptrace_stop): New function.
8834 (main): Call it after attaching.
8836 2014-02-22 Roland McGrath <roland@hack.frob.com>
8838 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8839 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8840 Versions files is now verboten.
8841 * hurd/Versions (libc: GLIBC_2.0):
8842 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8843 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8844 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8845 * mach/Versions: Likewise.
8847 * csu/Versions: Remove unused %include.
8848 * resolv/Versions: Likewise.
8850 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8852 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8853 ($(objpfx)check-local-headers.out): Likewise.
8854 ($(objpfx)begin-end-check.out): Likewise.
8855 * Makerules (check-abi-%.out): Likewise.
8856 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8857 ($(objpfx)test2.cat): Likewise.
8858 ($(objpfx)de/libc.cat): Likewise.
8859 ($(objpfx)test-gencat.out): Likewise.
8860 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8861 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8862 ($(objpfx)noload-mem): Likewise.
8863 ($(objpfx)tst-pathopt.out): Likewise.
8864 ($(objpfx)tst-rtld-load-self.out): Likewise.
8865 ($(objpfx)tst-array1-cmp.out): Likewise.
8866 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8867 ($(objpfx)tst-array2-cmp.out): Likewise.
8868 ($(objpfx)tst-array3-cmp.out): Likewise.
8869 ($(objpfx)tst-array4-cmp.out): Likewise.
8870 ($(objpfx)tst-array5-cmp.out): Likewise.
8871 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8872 ($(objpfx)check-textrel.out): Likewise.
8873 ($(objpfx)check-execstack.out): Likewise.
8874 ($(objpfx)check-localplt.out): Likewise.
8875 ($(objpfx)order2-cmp.out): Likewise.
8876 ($(objpfx)tst-leaks1-mem): Likewise.
8877 ($(objpfx)tst-leaks1-static-mem): Likewise.
8878 ($(objpfx)tst-initorder-cmp.out): Likewise.
8879 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8880 ($(objpfx)tst-unused-dep.out): Likewise.
8881 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8882 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8883 * iconv/Makefile (test-iconvconfig): Likewise.
8884 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8885 ($(objpfx)iconv-test.out): Likewise.
8886 ($(objpfx)tst-tables.out): Likewise.
8887 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8888 ($(objpfx)tst-gettext.out): Likewise.
8889 ($(objpfx)tst-translit.out): Likewise.
8890 ($(objpfx)tst-gettext2.out): Likewise.
8891 ($(objpfx)tst-gettext4.out): Likewise.
8892 ($(objpfx)tst-gettext6.out): Likewise.
8893 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8894 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8895 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8896 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8897 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8898 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8899 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8900 ($(objpfx)wordexp-tst.out): Likewise.
8901 ($(objpfx)annexc.out): Likewise.
8902 ($(objpfx)tst-fnmatch-mem): Likewise.
8903 ($(objpfx)bug-regex2-mem): Likewise.
8904 ($(objpfx)bug-regex14-mem): Likewise.
8905 ($(objpfx)bug-regex21-mem): Likewise.
8906 ($(objpfx)bug-regex31-mem): Likewise.
8907 ($(objpfx)tst-vfork3-mem): Likewise.
8908 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8909 ($(objpfx)tst-pcre-mem): Likewise.
8910 ($(objpfx)tst-boost-mem): Likewise.
8911 ($(objpfx)tst-getconf.out): Likewise.
8912 ($(objpfx)bug-ga2-mem): Likewise.
8913 ($(objpfx)bug-glob2-mem): Likewise.
8914 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8915 ($(objpfx)mtrace-tst-leaks2): Likewise.
8916 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8917 ($(objpfx)tst-printf.out): Likewise.
8918 ($(objpfx)tst-setvbuf1.out): Likewise.
8919 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8920 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8921 ($(objpfx)tst-fmtmsg.out): Likewise.
8922 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8923 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8925 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8926 * bits/sigaction.h [__USE_MISC]: Likewise.
8927 * bits/waitstatus.h: Update #endif comments.
8928 * ctype/ctype.h: Likewise.
8929 * dirent/dirent.h: Likewise.
8930 [__USE_MISC]: Remove redundant conditionals.
8931 * grp/grp.h: Update #endif comments.
8932 [__USE_GNU]: Remove redundant conditionals.
8933 [__USE_MISC]: Likewise.
8934 * inet/netinet/in.h [__USE_GNU]: Likewise.
8935 * io/sys/stat.h [__USE_MISC]: Likewise.
8936 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8937 * libio/bits/stdio.h: Update #endif comments.
8938 [__USE_MISC]: Remove redundant conditionals.
8939 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8940 * libio/stdio.h: Update #endif comments.
8941 [__USE_MISC]: Remove redundant conditionals.
8942 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8943 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8944 * math/math.h: Update #else and #endif comments.
8945 [__USE_MISC]: Remove redundant conditionals.
8946 * misc/sys/uio.h: Update #endif comments.
8947 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8948 * posix/glob.h [__USE_MISC]: Likewise.
8949 * posix/sys/types.h: Update #endif comments.
8950 [__USE_MISC]: Remove redundant conditionals.
8951 * posix/sys/wait.h: Update #endif comments.
8952 [__USE_MISC]: Remove redundant conditionals.
8953 * posix/unistd.h: Update #endif comments.
8954 [__USE_MISC]: Remove redundant conditionals.
8955 * pwd/pwd.h [__USE_GNU]: Likewise.
8956 [__USE_MISC]: Likewise.
8957 * resolv/netdb.h [__USE_GNU]: Likewise.
8958 * signal/signal.h: Update #endif comments.
8959 [__USE_MISC]: Remove redundant conditionals.
8960 * stdlib/stdlib.h: Update #else and #endif comments.
8961 [__USE_MISC]: Remove redundant conditionals.
8962 [__USE_GNU]: Likewise.
8963 * string/bits/string2.h [__USE_MISC]: Likewise.
8964 * string/string.h: Update #endif comments.
8965 [__USE_MISC]: Remove redundant conditionals.
8966 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8968 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8969 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8970 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8972 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8974 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8976 [__USE_MISC]: Remove redundant conditionals.
8977 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8978 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8979 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8980 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8981 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8983 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8984 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8986 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8987 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8989 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8991 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8992 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8994 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8996 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8997 * sysdeps/x86/bits/string.h: Update #endif comments.
8998 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9000 * time/sys/time.h: Update #endif comments.
9001 * time/time.h: Likewise.
9002 [__USE_MISC]: Remove redundant conditionals.
9004 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9007 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9009 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9011 * Versions.def (librt): Add GLIBC_2.17.
9013 2014-02-21 Adam Conrad <adconrad@0c3.net>
9015 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9016 synonym for _SYS_AUXV_H to allow direct inclusion.
9017 * sysdeps/sparc/bits/hwcap.h: Likewise.
9018 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9019 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9020 * sysdeps/sparc/sysdep.h: Likewise.
9022 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9024 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9026 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9028 * benchtests/bench-strrchr.c: Print length instead of position.
9030 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9033 * sysdeps/unix/sysv/linux/kernel-features.h
9034 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9035 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9036 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9037 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9039 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9040 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9041 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9042 (__ASSUME_SENDMMSG): Define instead of using previous
9043 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9044 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9045 (__ASSUME_SENDMMSG_SYSCALL): Define.
9046 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9047 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9049 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9050 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9052 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9053 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9055 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9056 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9057 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9058 [__ASSUME_SENDMMSG]: Change conditionals to
9059 [__ASSUME_SENDMMSG_SOCKETCALL].
9060 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9061 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9063 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9064 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9066 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9067 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9068 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9069 [!__ASSUME_SENDMMSG]: Change conditional to
9070 [!__ASSUME_SENDMMSG_SOCKETCALL].
9071 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9072 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9076 * sysdeps/unix/sysv/linux/kernel-features.h
9077 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9078 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9079 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9080 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9081 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9082 [__i386__ || __sparc__]
9083 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9084 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9085 (__ASSUME_RECVMMSG): Define instead of using previous
9086 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9087 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9088 (__ASSUME_RECVMMSG_SYSCALL): Define.
9089 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9090 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9092 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9093 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9095 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9096 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9098 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9099 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9100 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9101 [__ASSUME_RECVMMSG]: Change condition to
9102 [__ASSUME_RECVMMSG_SOCKETCALL].
9103 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9104 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9106 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9107 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9108 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9110 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9111 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9112 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9113 [!__ASSUME_RECVMMSG]: Change condition to
9114 [!__ASSUME_RECVMMSG_SOCKETCALL].
9115 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9116 (__ASSUME_RECVMMSG_SYSCALL): Define.
9119 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9120 __powerpc__ || __s390__ || __sh__ || __sparc__]
9121 (__ASSUME_SOCKETCALL): Define.
9122 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9123 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9124 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9125 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9126 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9127 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9128 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9129 (__ASSUME_ACCEPT4): Define instead of using previous
9130 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9131 __powerpc__ || __sparc__ || __s390__)] condition.
9132 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9133 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9134 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9135 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9136 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9137 [!__ASSUME_ACCEPT4]: Change condition to
9138 [!__ASSUME_ACCEPT4_SOCKETCALL].
9139 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9140 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9141 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9142 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9143 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9144 __ASSUME_ACCEPT4_SYSCALL.
9145 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9146 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9147 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9148 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9149 __ASSUME_ACCEPT4_SYSCALL.
9150 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9151 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9152 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9153 [__ASSUME_ACCEPT4]: Change condition to
9154 [__ASSUME_ACCEPT4_SOCKETCALL].
9155 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9156 (__ASSUME_SOCKETCALL): Define.
9157 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9158 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9159 (__ASSUME_SOCKETCALL): Define.
9160 (__ASSUME_ACCEPT4): Remove.
9161 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9163 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9164 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9166 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9167 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9169 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9171 (HWCAP_ARM_LPAE): Likewise.
9172 (HWCAP_ARM_EVTSTRM): Likewise.
9173 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9174 Add vpfd32, lpae and evtstrm.
9175 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9178 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9180 * math/auto-libm-test-in: Add tests of clog10.
9181 * math/auto-libm-test-out: Regenerated.
9182 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9183 * sysdeps/i386/fpu/libm-test-ulps: Update.
9184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9186 2014-02-18 Andreas Schwab <schwab@suse.de>
9189 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9190 Store non-zero if the second buffer was newly allocated.
9191 (send_dg): Likewise.
9192 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9193 to send_vc and send_dg.
9194 (res_nsend): Pass NULL for ansp2_malloced.
9195 * resolv/res_query.c (__libc_res_nquery): Add parameter
9196 answerp2_malloced and pass it down to __libc_res_nsend.
9197 (res_nquery): Pass additional NULL to __libc_res_nquery.
9198 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9199 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9200 second answer buffer if answerp2_malloced was set.
9201 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9202 (__libc_res_nquerydomain): Add parameter
9203 answerp2_malloced and pass it down to __libc_res_nquery.
9204 (res_nquerydomain): Pass additional NULL to
9205 __libc_res_nquerydomain.
9206 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9207 additional NULL to __libc_res_nsend and __libc_res_nquery.
9208 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9209 additional NULL to __libc_res_nsearch.
9210 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9211 parameter of __libc_res_nsearch to check for separately allocated
9213 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9215 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9216 additional NULL to __libc_res_nquery.
9217 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9219 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9220 * include/resolv.h: Update prototypes of __libc_res_nquery,
9221 __libc_res_nsearch, __libc_res_nsend.
9223 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9225 * math/auto-libm-test-in: Add tests of fma.
9226 * math/auto-libm-test-out: Regenerated.
9227 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9228 (fma_towardzero_test_data): Likewise.
9229 (fma_downward_test_data): Likewise.
9230 (fma_upward_test_data): Likewise.
9231 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9233 (rounding_modes): Add values for new field.
9234 (func_calc_method): Add value mpfr_fff_f.
9235 (func_calc_desc): Add mpfr_fff_f union field.
9236 (test_function): Add field exact_args.
9237 (FUNC): Add macro argument EXACT_ARGS.
9238 (FUNC_mpfr_f_f): Update call to FUNC.
9239 (FUNC_mpfr_f_f): Likewise.
9240 (FUNC_mpfr_ff_f): Likewise.
9241 (FUNC_mpfr_if_f): Likewise.
9242 (FUNC_mpc_c_f): Likewise.
9243 (FUNC_mpc_c_c): Likewise.
9244 (test_functions): Add fma. Update calls to FUNC.
9245 (handle_input_arg): Add argument exact_args.
9246 (add_test): Update call to handle_input_arg.
9247 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9248 (output_for_one_input_case): Update call to calc_generic_results.
9249 Recalculate exact zero results in each rounding mode.
9251 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9252 non-negative before setting low bit.
9253 * math/auto-libm-test-in: Mark one asin test possibly having
9255 * math/auto-libm-test-out: Regenerated.
9256 * sysdeps/i386/fpu/libm-test-ulps: Update.
9257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9259 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9261 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9262 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9263 ports/sysdeps/unix/sysv/linux/microblaze.
9264 * README: Add missing listing for microblaze*-*-linux-gnu.
9266 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9268 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9269 * sysdeps/unix/sysv/linux/ia64: Move directory from
9270 ports/sysdeps/unix/sysv/linux/ia64.
9271 * README: Update listing for ia64-*-linux-gnu.
9273 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9274 Joseph Myers <joseph@codesourcery.com>
9276 * Makeconfig (test-name): New variable.
9277 (evaluate-test): Likewise.
9278 * Makerules (do-test-clean): Remove .test-result files.
9279 (common-mostlyclean): Likewise.
9280 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9281 * scripts/evaluate-test.sh: New file.
9283 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9285 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9286 separate $(objpfx)tst-fopenloc-cmp.out and
9287 $(objpfx)tst-fopenloc-mem.out targets.
9288 (tests): Update dependencies.
9289 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9290 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9291 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9292 (tst-rxspencer-no-utf8-ARGS): New variable.
9293 (tst-rxspencer-no-utf8-ENV): Likewise.
9294 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9295 instead of $(objpfx)tst-rxspencer-mem.
9296 ($(objpfx)tst-rxspencer-mem): Change target to
9297 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9298 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9299 * posix/tst-rxspencer-no-utf8.c: New file.
9301 * elf/Makefile ($(objpfx)order.out): Remove rule.
9302 [$(run-built-tests) = yes] (tests): Depend on
9303 $(objpfx)order-cmp.out.
9304 ($(objpfx)order-cmp.out): New rule.
9305 [$(run-built-tests) = yes] (tests): Depend on
9306 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9307 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9308 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9309 $(objpfx)tst-array5-static-cmp.out.
9310 ($(objpfx)tst-array1.out): Remove rule.
9311 ($(objpfx)tst-array1-cmp.out): New rule.
9312 ($(objpfx)tst-array1-static.out): Remove rule.
9313 ($(objpfx)tst-array1-static-cmp.out): New rule.
9314 ($(objpfx)tst-array2.out): Remove rule.
9315 ($(objpfx)tst-array2-cmp.out): New rule.
9316 ($(objpfx)tst-array3.out): Remove rule.
9317 ($(objpfx)tst-array3-cmp.out): New rule.
9318 ($(objpfx)tst-array4.out): Remove rule.
9319 ($(objpfx)tst-array4-cmp.out): New rule.
9320 ($(objpfx)tst-array5.out): Remove rule.
9321 ($(objpfx)tst-array5-cmp.out): New rule.
9322 ($(objpfx)tst-array5-static.out): Remove rule.
9323 ($(objpfx)tst-array5-static-cmp.out): New rule.
9324 [$(run-built-tests) = yes] (tests): Depend on
9325 $(objpfx)order2-cmp.out.
9326 ($(objpfx)order2.out): Remove rule.
9327 ($(objpfx)order2-cmp.out): New rule.
9328 ($(objpfx)tst-initorder.out): Remove rule.
9329 [$(run-built-tests) = yes] (tests): Depend on
9330 $(objpfx)tst-initorder-cmp.out.
9331 ($(objpfx)tst-initorder-cmp.out): New rule.
9332 ($(objpfx)tst-initorder2.out): Remove rule.
9333 [$(run-built-tests) = yes] (tests): Depend on
9334 $(objpfx)tst-initorder2-cmp.out.
9335 ($(objpfx)tst-initorder2-cmp.out): New rule.
9336 [$(run-built-tests) = yes] (tests): Depend on
9337 $(objpfx)tst-unused-dep-cmp.out.
9338 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9339 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9340 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9341 on $(objpfx)tst-setvbuf1-cmp.out.
9342 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9343 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9344 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9345 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9346 ($(objpfx)tst-svc.out): Remove rule.
9347 ($(objpfx)tst-svc-cmp.out): New rule.
9349 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9351 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9352 * ctype/ctype.h [__USE_MISC]: Likewise.
9353 * dirent/dirent.h [__USE_MISC]: Likewise.
9354 * grp/grp.h [__USE_MISC]: Likewise.
9355 * io/fcntl.h [__USE_MISC]: Likewise.
9356 * io/sys/stat.h [__USE_MISC]: Likewise.
9357 * libio/stdio.h [__USE_MISC]: Likewise.
9358 * posix/unistd.h [__USE_MISC]: Likewise.
9359 * pwd/pwd.h [__USE_MISC]: Likewise.
9360 * stdlib.h [__USE_MISC]: Likewise.
9361 * string/bits/string2.h [__USE_MISC]: Likewise.
9362 * string/string.h [__USE_MISC]: Likewise.
9363 * time/time.h [__USE_MISC]: Likewise.
9365 2014-02-13 Andreas Schwab <schwab@suse.de>
9368 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9369 second answer buffer if it was separately allocated.
9371 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9373 * sysdeps/mips/math-tests.h: Include <features.h>.
9374 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9375 (ROUNDING_TESTS_long_double): Do not define.
9376 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9377 (EXCEPTION_TESTS_long_double): Likewise.
9378 * sysdeps/mips/mips64/libm-test-ulps: Update.
9380 * include/features.h (__USE_BSD): Remove macro definitions.
9381 (__USE_SVID): Likewise.
9382 (_BSD_SOURCE): Likewise.
9383 (_SVID_SOURCE): Likewise.
9384 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9385 from definition of _DEFAULT_SOURCE.
9386 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9388 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9389 * bits/mman.h [__USE_BSD]: Likewise.
9390 * bits/termios.h [__USE_BSD]: Likewise.
9391 * bits/waitstatus.h [__USE_BSD]: Likewise.
9392 * ctype/ctype.h [__USE_SVID]: Likewise.
9393 * dirent/dirent.h [__USE_BSD]: Likewise.
9394 * grp/grp.h [__USE_SVID]: Likewise.
9395 [__USE_BSD]: Likewise.
9396 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9397 * io/fcntl.h [__USE_BSD]: Likewise.
9398 * io/ftw.h [__USE_BSD]: Likewise.
9399 * io/sys/stat.h [__USE_BSD]: Likewise.
9400 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9401 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9402 * libio/stdio.h [__USE_SVID]: Likewise.
9403 [__USE_BSD]: Likewise.
9404 * math/math.h [__USE_SVID]: Likewise.
9405 [__USE_BSD]: Likewise.
9406 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9407 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9408 * misc/search.h [__USE_SVID]: Likewise.
9409 * misc/sys/mman.h [__USE_BSD]: Likewise.
9410 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9411 * misc/sys/uio.h [__USE_BSD]: Likewise.
9412 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9413 * posix/glob.h [__USE_BSD]: Likewise.
9414 * posix/regex.h [__USE_BSD]: Likewise.
9415 * posix/sys/types.h [__USE_BSD]: Likewise.
9416 [__USE_SVID]: Likewise.
9417 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9418 * posix/sys/wait.h [__USE_BSD]: Likewise.
9419 [__USE_SVID]: Likewise.
9420 * posix/unistd.h [__USE_BSD]: Likewise.
9421 [__USE_SVID]: Likewise.
9422 * pwd/pwd.h [__USE_SVID]: Likewise.
9423 * resolv/netdb.h [__USE_BSD]: Likewise.
9424 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9425 * signal/signal.h [__USE_BSD]: Likewise.
9426 [__USE_SVID]: Likewise.
9427 * socket/sys/socket.h [__USE_BSD]: Likewise.
9428 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9429 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9430 [__USE_SVID]: Likewise.
9431 * string/bits/string2.h [__USE_BSD]: Likewise.
9432 [__USE_SVID]: Likewise.
9433 * string/bits/string3.h [__USE_BSD]: Likewise.
9434 * string/endian.h [__USE_BSD]: Likewise.
9435 * string/string.h [__USE_SVID]: Likewise.
9436 [__USE_BSD]: Likewise.
9437 * string/strings.h [__USE_BSD]: Likewise.
9438 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9439 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9440 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9441 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9442 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9443 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9445 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9447 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9448 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9450 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9451 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9453 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9455 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9456 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9457 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9459 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9461 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9462 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9463 * termios/termios.h [__USE_BSD]: Likewise.
9464 * time/sys/time.h [__USE_BSD]: Likewise.
9465 * time/time.h [__USE_BSD]: Likewise.
9466 [__USE_SVID]: Likewise.
9468 * Makefile (subdir_targets): Remove subdir_lint.out.
9470 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9471 (do-tst-printf): Likewise.
9472 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9473 $(objpfx)tst-printf.out.
9475 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9477 * Makerules (check-abi-%): Change target to
9478 $(objpfx)check-abi-%.out.
9479 (check-abi target): Update dependencies.
9480 (check-abi-pattern variable): Redirect output of diff to $@.
9481 (check-abi variable): Likewise.
9482 * elf/Makefile (check-abi): Update dependencies.
9484 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9486 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9487 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9489 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9490 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9491 value has largest subnormal exponent.
9492 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9493 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9494 * sysdeps/aarch64/soft-fp/sfp-machine.h
9495 (_FP_TININESS_AFTER_ROUNDING): New macro.
9496 * sysdeps/alpha/soft-fp/sfp-machine.h
9497 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9498 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9500 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9501 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9502 * sysdeps/mips/soft-fp/sfp-machine.h
9503 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9504 * sysdeps/powerpc/soft-fp/sfp-machine.h
9505 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9506 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9508 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9509 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9510 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9511 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9512 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9515 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9518 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9521 2014-02-12 Richard Henderson <rth@redhat.com>
9523 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9524 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9525 * sysdeps/unix/sysv/linux/alpha: Move directory from
9526 ports/sysdeps/unix/sysv/linux/alpha.
9527 * README: Update listing for alpha-*-linux-gnu.
9529 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9531 * include/features.h: Update comment documenting feature test
9533 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9535 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9536 (_SVID_SOURCE): Likewise.
9537 (_DEFAULT_SOURCE): Update description of default features.
9538 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9540 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9541 (S_ISVTX): Likewise.
9542 * manual/math.texi (Mathematical Constants): Likewise.
9543 * manual/signal.texi (Interrupted Primitives): Likewise.
9544 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9545 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9546 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9547 Don't refer to _SVID_SOURCE in warning text.
9549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9551 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9553 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9554 * sysdeps/mips/dl-lookup.c: Remove.
9555 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9557 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9560 * math/auto-libm-test-in: Add testcase for expl.
9561 * math/auto-libm-test-out: Regenerate.
9562 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9563 calculation of unsafe.
9564 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9566 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9568 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9569 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9570 ports/sysdeps/unix/sysv/linux/aarch64.
9571 * README: Update listing for aarch64*-*-linux-gnu.
9573 2014-02-11 Will Newton <will.newton@linaro.org>
9575 * manual/probes.texi (Mathematical Function Probes): Use
9576 "triggered" instead of "hit".
9578 * manual/probes.texi (Internal Probes): Add documentation
9579 of setjmp, longjmp and longjmp_target probes.
9581 * include/stap-probe.h: Add comment about probe argument
9584 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9585 definition. (tr_where, tr_freehook, tr_mallochook,
9586 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9588 2014-02-11 David S. Miller <davem@davemloft.net>
9590 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9591 processing int_tests.
9593 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9595 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9596 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9597 * sysdeps/unix/sysv/linux/mips: Move directory from
9598 ports/sysdeps/unix/sysv/linux/mips.
9599 * README: Update listing for mips-*-linux-gnu and
9602 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9604 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9605 * sysdeps/unix/sysv/linux/m68k: Move directory from
9606 ports/sysdeps/unix/sysv/linux/m68k.
9607 * README: Update listing for m68k-*-linux-gnu.
9609 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9611 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9612 * sysdeps/unix/sysv/linux/generic: Move directory from
9613 ports/sysdeps/unix/sysv/linux/generic.
9614 * sysdeps/unix/sysv/linux/tile: Move directory from
9615 ports/sysdeps/unix/sysv/linux/tile.
9616 * README: Update listing for tile*-*-linux-gnu.
9618 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9620 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9622 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9623 * catgets/open_catalog.c (__open_catalog): Likewise.
9624 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9625 * debug/confstr_chk.c: Likewise.
9626 * debug/fread_chk.c (__fread_chk): Likewise.
9627 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9628 * debug/getgroups_chk.c: Likewise.
9629 * debug/mbsnrtowcs_chk.c: Likewise.
9630 * debug/mbsrtowcs_chk.c: Likewise.
9631 * debug/mbstowcs_chk.c: Likewise.
9632 * debug/memcpy_chk.c: Likewise.
9633 * debug/memmove_chk.c: Likewise.
9634 * debug/mempcpy_chk.c: Likewise.
9635 * debug/memset_chk.c: Likewise.
9636 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9637 * debug/strcat_chk.c (__strcat_chk): Likewise.
9638 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9639 * debug/strncat_chk.c (__strncat_chk): Likewise.
9640 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9641 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9642 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9643 * debug/wcpncpy_chk.c: Likewise.
9644 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9645 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9646 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9647 * debug/wcsncpy_chk.c: Likewise.
9648 * debug/wcsnrtombs_chk.c: Likewise.
9649 * debug/wcsrtombs_chk.c: Likewise.
9650 * debug/wcstombs_chk.c: Likewise.
9651 * debug/wmemcpy_chk.c: Likewise.
9652 * debug/wmemmove_chk.c: Likewise.
9653 * debug/wmempcpy_chk.c: Likewise.
9654 * debug/wmemset_chk.c: Likewise.
9655 * dirent/scandirat.c (SCANDIRAT): Likewise.
9656 * dlfcn/dladdr1.c (dladdr1): Likewise.
9657 * dlfcn/dladdr.c (dladdr): Likewise.
9658 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9659 * dlfcn/dlerror.c (__dlerror): Likewise.
9660 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9661 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9662 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9663 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9664 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9665 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9666 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9667 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9669 * elf/dl-conflict.c: Likewise.
9670 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9671 * elf/dl-dst.h: Likewise.
9672 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9673 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9674 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9675 * elf/dl-init.c (call_init, _dl_init): Likewise.
9676 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9677 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9678 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9680 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9682 * elf/dl-minimal.c (__libc_memalign): Likewise.
9683 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9684 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9685 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9686 * elf/dl-sym.c (do_sym): Likewise.
9687 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9688 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9689 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9690 * elf/dl-writev.h (_dl_writev): Likewise.
9691 * elf/ldconfig.c (search_dir): Likewise.
9692 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9693 (dl_main): Likewise.
9694 * elf/setup-vdso.h (setup_vdso): Likewise.
9695 * grp/compat-initgroups.c (compat_call): Likewise.
9696 * grp/fgetgrent.c (fgetgrent): Likewise.
9697 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9698 * grp/putgrent.c (putgrent): Likewise.
9699 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9701 * hurd/hurdinit.c: Likewise.
9702 * iconvdata/8bit-gap.c (struct): Likewise.
9703 * iconvdata/ansi_x3.110.c : Likewise.
9704 * iconvdata/big5.c : Likewise.
9705 * iconvdata/big5hkscs.c : Likewise.
9706 * iconvdata/cp1255.c: Likewise.
9707 * iconvdata/cp1258.c : Likewise.
9708 * iconvdata/cp932.c : Likewise.
9709 * iconvdata/euc-cn.c: Likewise.
9710 * iconvdata/euc-jisx0213.c : Likewise.
9711 * iconvdata/euc-jp.c: Likewise.
9712 * iconvdata/euc-jp-ms.c : Likewise.
9713 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9714 * iconvdata/gb18030.c : Likewise.
9715 * iconvdata/gbbig5.c (const): Likewise.
9716 * iconvdata/gbgbk.c: Likewise.
9717 * iconvdata/gbk.c : Likewise.
9718 * iconvdata/ibm1364.c : Likewise.
9719 * iconvdata/ibm930.c : Likewise.
9720 * iconvdata/ibm932.c: Likewise.
9721 * iconvdata/ibm933.c : Likewise.
9722 * iconvdata/ibm935.c : Likewise.
9723 * iconvdata/ibm937.c : Likewise.
9724 * iconvdata/ibm939.c : Likewise.
9725 * iconvdata/ibm943.c: Likewise.
9726 * iconvdata/iso_11548-1.c: Likewise.
9727 * iconvdata/iso-2022-cn.c : Likewise.
9728 * iconvdata/iso-2022-cn-ext.c : Likewise.
9729 * iconvdata/iso-2022-jp-3.c: Likewise.
9730 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9731 * iconvdata/iso-2022-kr.c : Likewise.
9732 * iconvdata/iso646.c (gconv_end): Likewise.
9733 * iconvdata/iso_6937-2.c : Likewise.
9734 * iconvdata/iso_6937.c : Likewise.
9735 * iconvdata/iso8859-1.c: Likewise.
9736 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9737 * iconvdata/shift_jisx0213.c : Likewise.
9738 * iconvdata/sjis.c : Likewise.
9739 * iconvdata/t.61.c : Likewise.
9740 * iconvdata/tcvn5712-1.c : Likewise.
9741 * iconvdata/tscii.c: Likewise.
9742 * iconvdata/uhc.c : Likewise.
9743 * iconvdata/unicode.c (gconv_end): Likewise.
9744 * iconvdata/utf-16.c (gconv_end): Likewise.
9745 * iconvdata/utf-32.c (gconv_end): Likewise.
9746 * iconvdata/utf-7.c (base64): Likewise.
9747 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9748 * iconv/gconv_close.c (__gconv_close): Likewise.
9749 * iconv/gconv_open.c (__gconv_open): Likewise.
9750 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9751 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9752 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9753 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9754 (ucs4le_internal_loop_single): Likewise.
9755 * iconv/iconv.c (iconv): Likewise.
9756 * iconv/iconv_close.c: Likewise.
9757 * iconv/loop.c (SINGLE): Likewise.
9758 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9759 * include/atomic.h: Likewise.
9760 * inet/inet6_option.c (option_alloc): Likewise.
9761 * intl/bindtextdom.c (set_binding_values): Likewise.
9762 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9763 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9764 * intl/localealias.c (read_alias_file): Likewise.
9765 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9766 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9767 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9768 * libio/fmemopen.c (fmemopen): Likewise.
9769 * libio/iofgets.c (_IO_fgets): Likewise.
9770 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9771 * libio/iofgetws.c (fgetws): Likewise.
9772 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9773 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9774 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9775 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9776 * locale/findlocale.c (_nl_find_locale): Likewise.
9777 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9778 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9780 * locale/setlocale.c (setlocale): Likewise.
9781 * login/programs/pt_chown.c (main): Likewise.
9782 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9783 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9784 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9785 (mmap, mmap64, mremap, munmap): Likewise.
9786 * math/e_exp2l.c: Likewise.
9787 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9788 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9789 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9790 * math/s_catan.c (__catan): Likewise.
9791 * math/s_catanf.c (__catanf): Likewise.
9792 * math/s_catanh.c (__catanh): Likewise.
9793 * math/s_catanhf.c (__catanhf): Likewise.
9794 * math/s_catanhl.c (__catanhl): Likewise.
9795 * math/s_catanl.c (__catanl): Likewise.
9796 * math/s_ccosh.c (__ccosh): Likewise.
9797 * math/s_ccoshf.c (__ccoshf): Likewise.
9798 * math/s_ccoshl.c (__ccoshl): Likewise.
9799 * math/s_cexp.c (__cexp): Likewise.
9800 * math/s_cexpf.c (__cexpf): Likewise.
9801 * math/s_cexpl.c (__cexpl): Likewise.
9802 * math/s_clog10.c (__clog10): Likewise.
9803 * math/s_clog10f.c (__clog10f): Likewise.
9804 * math/s_clog10l.c (__clog10l): Likewise.
9805 * math/s_clog.c (__clog): Likewise.
9806 * math/s_clogf.c (__clogf): Likewise.
9807 * math/s_clogl.c (__clogl): Likewise.
9808 * math/s_csin.c (__csin): Likewise.
9809 * math/s_csinf.c (__csinf): Likewise.
9810 * math/s_csinh.c (__csinh): Likewise.
9811 * math/s_csinhf.c (__csinhf): Likewise.
9812 * math/s_csinhl.c (__csinhl): Likewise.
9813 * math/s_csinl.c (__csinl): Likewise.
9814 * math/s_csqrt.c (__csqrt): Likewise.
9815 * math/s_csqrtf.c (__csqrtf): Likewise.
9816 * math/s_csqrtl.c (__csqrtl): Likewise.
9817 * math/s_ctan.c (__ctan): Likewise.
9818 * math/s_ctanf.c (__ctanf): Likewise.
9819 * math/s_ctanh.c (__ctanh): Likewise.
9820 * math/s_ctanhf.c (__ctanhf): Likewise.
9821 * math/s_ctanhl.c (__ctanhl): Likewise.
9822 * math/s_ctanl.c (__ctanl): Likewise.
9823 * math/w_pow.c: Likewise.
9824 * math/w_powf.c: Likewise.
9825 * math/w_powl.c: Likewise.
9826 * math/w_scalb.c (sysv_scalb): Likewise.
9827 * math/w_scalbf.c (sysv_scalbf): Likewise.
9828 * math/w_scalbl.c (sysv_scalbl): Likewise.
9829 * misc/error.c (error_tail): Likewise.
9830 * misc/pselect.c (__pselect): Likewise.
9831 * nis/nis_callback.c (__nis_create_callback): Likewise.
9832 * nis/nis_call.c (__nisfind_server): Likewise.
9833 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9834 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9835 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9836 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9837 * nis/nis_lookup.c (nis_lookup): Likewise.
9838 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9839 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9840 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9841 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9842 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9843 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9844 * nis/nss_compat/compat-initgroups.c (add_group)
9845 (internal_getgrent_r): Likewise.
9846 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9847 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9848 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9849 (internal_getspnam_r): Likewise.
9850 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9851 (_nss_nis_getaliasbyname_r): Likewise.
9852 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9853 (_nss_nis_getntohost_r): Likewise.
9854 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9855 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9856 (_nss_nis_getgrgid_r): Likewise.
9857 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9858 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9859 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9860 (_nss_nis_gethostbyname4_r): Likewise.
9861 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9862 (initgroups_netid): Likewise.
9863 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9864 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9865 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9866 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9867 (_nss_nis_getprotobynumber_r): Likewise.
9868 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9869 (_nss_nis_getsecretkey): Likewise.
9870 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9871 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9872 (_nss_nis_getpwuid_r): Likewise.
9873 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9874 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9875 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9876 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9877 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9878 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9879 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9881 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9882 (_nss_nisplus_getntohost_r): Likewise.
9883 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9884 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9885 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9886 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9888 * nis/nss_nisplus/nisplus-initgroups.c
9889 (_nss_nisplus_initgroups_dyn): Likewise.
9890 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9891 (_nss_nisplus_getnetbyaddr_r): Likewise.
9892 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9893 (_nss_nisplus_getprotobynumber_r): Likewise.
9894 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9895 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9896 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9898 * nis/nss_nisplus/nisplus-service.c
9899 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9900 (_nss_nisplus_getservbyport_r): Likewise.
9901 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9902 (_nss_nisplus_getspnam_r): Likewise.
9903 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9905 * nscd/aicache.c (addhstaiX): Likewise.
9906 * nscd/cache.c (cache_search, prune_cache): Likewise.
9907 * nscd/connections.c (register_traced_file, send_ro_fd)
9908 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9909 (main_loop_epoll): Likewise.
9910 * nscd/grpcache.c (addgrbyX): Likewise.
9911 * nscd/hstcache.c (addhstbyX): Likewise.
9912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9913 * nscd/mem.c (gc, mempool_alloc): Likewise.
9914 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9915 (addinnetgrX): Likewise.
9916 * nscd/nscd-client.h (__nscd_acquire_maplock)
9917 (__nscd_drop_map_ref): Likewise.
9918 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9919 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9920 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9922 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9923 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9924 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9925 (__nscd_get_map_ref): Likewise.
9926 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9927 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9929 * nscd/pwdcache.c (addpwbyX): Likewise.
9930 * nscd/selinux.c (preserve_capabilities): Likewise.
9931 * nscd/servicescache.c (addservbyX): Likewise.
9932 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9933 * posix/fnmatch.c (fnmatch): Likewise.
9934 * posix/getopt.c (_getopt_internal_r): Likewise.
9935 * posix/glob.c (glob, glob_in_dir): Likewise.
9936 * posix/wordexp.c (exec_comm_child): Likewise.
9937 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9938 (getanswer_r, gaih_getanswer_slice): Likewise.
9939 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9940 * resolv/res_init.c: Likewise.
9941 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9942 * resolv/res_query.c (__libc_res_nquery): Likewise.
9943 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9945 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9946 * stdio-common/perror.c (perror): Likewise.
9947 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9948 * stdio-common/tmpnam.c (tmpnam): Likewise.
9949 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9950 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9951 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9953 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9954 * stdlib/putenv.c (putenv): Likewise.
9955 * stdlib/setenv.c (__add_to_environ): Likewise.
9956 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9957 * stdlib/strtol_l.c (INTERNAL): Likewise.
9958 * string/memmem.c (memmem): Likewise.
9959 * string/strerror.c (strerror): Likewise.
9960 * string/strnlen.c (__strnlen): Likewise.
9961 * string/test-memmem.c (simple_memmem): Likewise.
9962 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9963 * sunrpc/pm_getport.c (__get_socket): Likewise.
9964 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9965 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9966 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9967 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9969 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9970 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9971 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9972 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9973 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9974 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9976 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9978 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9979 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9980 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9981 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9982 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9984 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9985 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9986 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9987 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9988 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9989 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9991 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9993 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9995 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9996 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9997 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9998 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9999 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10000 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10001 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10002 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10003 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10004 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10005 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10007 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10008 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10012 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10014 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10016 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10018 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10019 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10020 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10022 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10023 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10024 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10025 * sysdeps/posix/sleep.c: Likewise.
10026 * sysdeps/posix/tempname.c: Likewise.
10027 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10028 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10030 * sysdeps/powerpc/powerpc32/dl-machine.h
10031 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10032 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10033 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10034 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10035 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10037 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10038 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10039 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10040 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10041 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10042 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10043 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10044 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10045 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10046 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10047 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10048 (elf_machine_lazy_rel): Likewise.
10049 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10051 (elf_machine_lazy_rel): Likewise.
10052 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10053 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10054 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10055 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10056 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10057 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10058 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10059 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10061 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10062 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10063 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10064 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10065 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10066 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10067 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10068 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10069 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10070 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10071 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10073 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10074 (__posix_fallocate64_l64): Likewise.
10075 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10076 (posix_fallocate): Likewise.
10077 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10079 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10080 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10081 (getifaddrs_internal): Likewise.
10082 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10083 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10084 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10085 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10086 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10087 (__posix_fallocate64_l64): Likewise.
10088 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10090 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10091 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10092 (__get_clockfreq): Likewise.
10093 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10094 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10095 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10098 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10099 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10100 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10102 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10103 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10104 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10105 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10106 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10107 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10108 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10110 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10111 (posix_fallocate): Likewise.
10112 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10113 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10114 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10115 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10116 (elf_machine_rela, elf_machine_rela_relative)
10117 (elf_machine_lazy_rel): Likewise.
10118 * time/asctime.c (asctime_internal): Likewise.
10119 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10120 * time/tzset.c (__tzset_parse_tz): Likewise.
10121 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10122 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10123 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10124 * wcsmbs/wcsmbsload.h: Likewise.
10127 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10129 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10130 (arena_get2): Remove THREAD_STATS conditionals.
10131 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10132 (__malloc_stats, int): Likewise.
10134 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10136 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10137 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10139 * manual/setjmp.texi: Fix typos/grammar errors.
10141 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10142 Only return early when n is <= 0. Delete unused return statement.
10144 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10145 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10146 * debug/tst-longjmp_chk3.c: New file.
10148 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10149 (test_main): Replace code with set_fortify_handler call.
10150 * debug/test-strcpy_chk.c: Likewise.
10151 * debug/tst-chk1.c: Likewise.
10152 * debug/tst-longjmp_chk.c: Likewise.
10153 * test-skeleton.c: Include fcntl.h & paths.h
10154 (set_fortify_handler): Define.
10156 * debug/tst-longjmp_chk.c: Add header comment and include
10157 ../test-skeleton.c.
10158 (do_test): Mark static.
10159 (TEST_FUNCTION): Define.
10161 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10162 (IP_PMTUDISC_INTERFACE): Likewise.
10163 (IP_MULTICAST_IF): Likewise.
10164 (IP_MULTICAST_TTL): Likewise.
10165 (IP_MULTICAST_LOOP): Likewise.
10166 (IP_ADD_MEMBERSHIP): Likewise.
10167 (IP_DROP_MEMBERSHIP): Likewise.
10168 (IP_UNBLOCK_SOURCE): Likewise.
10169 (IP_BLOCK_SOURCE): Likewise.
10170 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10171 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10172 (IP_MSFILTER): Likewise.
10173 (MCAST_JOIN_GROUP): Likewise.
10174 (MCAST_BLOCK_SOURCE): Likewise.
10175 (MCAST_UNBLOCK_SOURCE): Likewise.
10176 (MCAST_LEAVE_GROUP): Likewise.
10177 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10178 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10179 (MCAST_MSFILTER): Likewise.
10180 (IP_MULTICAST_ALL): Likewise.
10181 (IP_UNICAST_IF): Likewise.
10183 * timezone/Makefile: Delete $(have-ksh) check.
10184 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10185 * timezone/tzselect.ksh: Add +x mode bits.
10187 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10188 (ANON_INODE_FS_MAGIC): Likewise.
10189 (BDEVFS_MAGIC): Likewise.
10190 (BINFMTFS_MAGIC): Likewise.
10191 (BTRFS_TEST_MAGIC): Likewise.
10192 (CRAMFS_MAGIC_WEND): Likewise.
10193 (DEBUGFS_MAGIC): Likewise.
10194 (ECRYPTFS_SUPER_MAGIC): Likewise.
10195 (EXT3_SUPER_MAGIC): Likewise.
10196 (EXT4_SUPER_MAGIC): Likewise.
10197 (FUTEXFS_SUPER_MAGIC): Likewise.
10198 (HOSTFS_SUPER_MAGIC): Likewise.
10199 (HUGETLBFS_MAGIC): Likewise.
10200 (MINIX3_SUPER_MAGIC): Likewise.
10201 (MTD_INODE_FS_MAGIC): Likewise.
10202 (NILFS_SUPER_MAGIC): Likewise.
10203 (OPENPROM_SUPER_MAGIC): Likewise.
10204 (PIPEFS_MAGIC): Likewise.
10205 (PSTOREFS_MAGIC): Likewise.
10206 (QNX6_SUPER_MAGIC): Likewise.
10207 (RAMFS_MAGIC): Likewise.
10208 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10209 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10210 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10211 (SECURITYFS_MAGIC): Likewise.
10212 (SELINUX_MAGIC): Likewise.
10213 (SMACK_MAGIC): Likewise.
10214 (SOCKFS_MAGIC): Likewise.
10215 (SQUASHFS_MAGIC): Likewise.
10216 (STACK_END_MAGIC): Likewise.
10217 (TMPFS_MAGIC): Likewise.
10218 (USBDEVICE_SUPER_MAGIC): Likewise.
10219 (V9FS_MAGIC): Likewise.
10220 (XENFS_SUPER_MAGIC): Likewise.
10221 (CRAMFS_MAGIC): Fix typo in comment.
10222 (EXT2_SUPER_MAGIC): Update comment.
10223 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10225 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10227 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10228 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10229 * sysdeps/unix/sysv/linux/arm: Move directory from
10230 ports/sysdeps/unix/sysv/linux/arm.
10231 * README: Update listing for arm-*-linux-gnueabi.
10233 * README: Remove mention of am33.
10235 2014-02-07 Roland McGrath <roland@hack.frob.com>
10237 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10238 than the comma operator, to avoid "rhs of comma has no effect"
10240 (__sigfillset, __sigandset, __sigorset): Likewise.
10241 * include/signal.h (__sigemptyset): Likewise.
10242 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10244 2014-02-07 Allan McRae <allan@archlinux.org>
10246 * version.h (RELEASE): Set to "development".
10247 (VERSION): Set to "2.19.90"
10248 * NEWS: Add 2.20 section.
10250 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10253 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10255 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10257 * manual/contrib.texi: Update entry for Carlos O'Donell,
10258 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10260 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10262 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10264 * sysdeps/unix/sysv/linux/kernel-features.h
10265 [__LINUX_KERNEL_VERSION >= 0x020621]
10266 (__ASSUME_PROC_PID_TASK_COMM): Define.
10268 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10271 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10272 conversion when destination buffer does not have enough space.
10273 * libio/tst-ftell-partial-wide.c: New test case.
10274 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10276 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10277 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10278 Leonard and Allan McRae.
10280 2014-02-04 David S. Miller <davem@davemloft.net>
10282 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10285 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10314 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10316 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10317 * shlib-versions: Likewise.
10319 2014-02-04 Roland McGrath <roland@hack.frob.com>
10320 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10322 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10323 (abilist-pattern): New variable, set to %-le.abilist.
10325 * Makerules (abilist-pattern): New variable.
10326 (vpath): Use $(abilist-pattern) in place of %.abilist.
10327 (check-abi-% pattern rule): Likewise.
10328 (check-abi, update-abi): Likewise.
10330 2014-02-04 Eric Wong <normalperson@yhbt.net>
10332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10334 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10336 * manual/startup.texi: Add next, previous, and top entries for
10337 the `Program Arguments' and `Environment Variables' nodes.
10339 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10341 * manual/macros.texi: Add comments before MTASC-safety macros.
10343 * manual/users.texi: Document MTASC-safety properties.
10345 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10346 (pthread_getspecific, pthread_setspecific): Format with
10347 @deftypefun, and add @safety note.
10348 * manual/signal.texi: Move comments that analyze the above
10349 functions to their home place.
10351 2014-02-03 Allan McRae <allan@archlinux.org>
10353 * po/sl.po: Update Slovenian translation from translation project.
10355 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10357 * manual/time.texi (timegm): Add missing blank after @c.
10358 Reported by Joseph Myers <joseph@codesourcery.com>.
10360 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10362 * manual/check-safety.sh: New.
10363 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10365 * manual/terminal.texi: Document MTASC-safety properties.
10367 * manual/filesys.texi: Document MTASC-safety properties.
10369 * manual/errno.texi: Document MTASC-safety properties.
10371 * manual/intro.texi: Document safety identifiers and
10374 * manual/string.texi (wcstok): Fix prototype.
10375 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10377 * manual/time.texi: Document MTASC-safety properties.
10379 * manual/string.texi: Document MTASC-safety properties.
10381 * manual/threads.texi: Document MTASC-safety properties.
10383 * manual/stdio.texi: Document MTASC-safety properties.
10385 * manual/syslog.texi: Document MTASC-safety properties.
10387 * manual/sysinfo.texi: Document MTASC-safety properties.
10389 * manual/startup.texi: Document MTASC-safety properties.
10391 * manual/socket.texi: Document MTASC-safety properties.
10393 * manual/signal.texi: Document MTASC-safety properties.
10395 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10397 * manual/setjmp.texi: Document MTASC-safety properties.
10399 * manual/search.texi: Document MTASC-safety properties.
10401 * manual/resource.texi: Document MTASC-safety properties.
10403 * manual/process.texi: Document MTASC-safety properties.
10405 * manual/platform.texi: Document MTASC-safety properties.
10407 * manual/pipe.texi: Document MTASC-safety properties.
10409 * manual/pattern.texi: Document MTASC-safety properties.
10411 * manual/message.texi: Document MTASC-safety properties.
10414 * manual/memory.texi: Document MTASC-safety properties.
10416 * manual/math.texi: Document MTASC-safety properties.
10418 * manual/locale.texi: Document MTASC-safety properties.
10420 * manual/llio.texi: Document MTASC-safety properties.
10422 * manual/libdl.texi: New.
10424 * manual/lang.texi: Document MTASC-safety properties.
10426 * manual/job.texi: Document MTASC-safety properties.
10428 * manual/getopt.texi: Document MTASC-safety properties.
10430 * manual/ctype.texi: Document MTASC-safety properties.
10432 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10435 * csu/libc-tls.c (static_map): Remove variable.
10436 (__libc_setup_tls): Use main executable's link map for TLS data.
10437 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10438 casing for LM_ID_BASE and GL(dl_nns).
10439 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10440 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10441 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10442 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10443 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10445 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10448 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10450 * manual/debug.texi: Document MTASC-safety properties.
10452 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10455 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10456 of __x86_64__ when disabling x87 inline functions.
10458 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10460 * manual/charset.texi: Document MTASC-safety properties.
10462 * manual/crypt.texi: Document MTASC-safety properties.
10464 * manual/conf.texi: Document MTASC-safety properties.
10466 * manual/arith.texi: Document MTASC-safety properties.
10468 * manual/argp.texi: Document MTASC-safety properties.
10470 * manual/macros.texi: Introduce macros to document multi
10471 thread, asynchronous signal and asynchronous cancellation
10473 * manual/intro.texi: Introduce the properties themselves.
10475 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10477 * sysdeps/sh/sh4/Makefile: New file.
10479 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10481 * math/gen-libm-test.pl ($srcdir): New variable.
10482 ($auto_input): Use it.
10484 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10487 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10488 access beyond array bounds when parsing netgroups file.
10490 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10491 the old buffer before realloc.
10493 2014-01-27 Allan McRae <allan@archlinux.org>
10495 * po/fr.po: Update French translation from translation project.
10497 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10499 * sysdeps/sh/libm-test-ulps: Regenerate.
10501 2014-01-24 David S. Miller <davem@davemloft.net>
10503 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10505 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10507 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10508 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10510 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10513 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10514 string pointers after reallocation.
10516 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10518 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10519 __SH4A__ instead of __SH_FPU_ANY__.
10521 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10523 * sysdeps/sh/fpu_control.h: New file.
10524 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10525 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10526 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10527 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10528 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10529 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10530 * sysdeps/sh/sys/ucontext.h: Remove.
10531 * sysdeps/sh/sys: Remove directory.
10533 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10535 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10536 s390/sys/ucontext.h.
10537 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10538 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10540 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10543 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10545 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10548 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10549 Adjust the vDSO correctly for internal calls.
10550 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10552 2014-01-20 Allan McRae <allan@archlinux.org>
10554 * po/ca.po: Update Catalan translation from translation project.
10556 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10558 * sysdeps/s390/sotruss-lib.c: New file.
10560 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10564 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10565 local calls issues by not having a PLT stub required for IFUNC calls.
10566 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10568 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10570 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10571 * math/test-fpucw-static.c: Likewise.
10573 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10576 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10578 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10580 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10581 implementation for powerpc.
10583 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10586 * sysdeps/posix/system.c (__libc_system): Do not enable
10587 asynchronous cancellation.
10589 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10592 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10593 handling only for numbers special also in the IEEE case.
10595 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10597 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10599 2014-01-11 Allan McRae <allan@archlinux.org>
10601 * po/bg.po: Update Bulgarian translation from translation project.
10603 * po/de.po: Update German translation from translation project.
10605 2014-01-10 Roland McGrath <roland@hack.frob.com>
10607 * sysdeps/generic/gcc-compat.h: New file.
10609 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10611 * benchtests/asin-inputs: Correct slow inputs.
10612 * benchtests/acos-inputs: Likewise.
10614 2014-01-10 Allan McRae <allan@archlinux.org>
10616 * po:sv.po: Update Swedish translation from translation project.
10618 * po/vi.po: Update Vietnamese translation from translation project.
10620 * po/eo.po: Update Esperanto translation from translation project.
10622 * po/cs.po: Update Czech translation from translation project.
10624 * po/nl.po: Update Dutch translation from translation project.
10626 * po/pl.po: Update Polish translation from translation project.
10628 * po/ru.po: Update Russian translation from translation project.
10630 * po/uk.po: Update Ukrainian translation from translation project.
10632 2014-01-08 Brooks Moses <bmoses@google.com>
10634 * elf/dl-load.c: Fix comment typo.
10636 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10638 * po/header.pot: Rename to...
10639 * po/pot.header: ... this.
10640 * po/Makefile: Use pot.header.
10642 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10643 Maxim Kuvyrkov <maxim@kugelworks.com>
10646 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10647 SRC and DEST against LEN.
10649 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10652 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10654 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10656 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10660 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10663 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10664 for large positive arguments.
10666 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10668 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10670 * math/auto-libm-test-in: Mark various tests with
10671 xfail-rounding:ldbl-128ibm.
10672 * math/auto-libm-test-out: Regenerated.
10675 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10676 Increase overflow threshold.
10678 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10681 * stdio-common/vfprintf.c: Check for integer overflow.
10683 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10685 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10686 the first argument and return value of __tls_get_addr_internal.
10688 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10690 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10691 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10693 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10695 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10696 * sysdeps/s390/rtld-global-offsets.sym: New file.
10697 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10699 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10700 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10701 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10703 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10704 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10710 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10711 halfs of GPRs for high_gprs contexts.
10712 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10713 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10715 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10717 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10719 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10720 for high GPRs (uc_high_gprs) and for future extensions
10722 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10723 for future extensions (__reserved).
10724 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10726 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10727 SC_HIGHGPRS offset definition.
10728 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10729 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10731 * Versions.def: Add GLIBC_2.19 for libpthread.
10732 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10733 siglongjmp for libpthread with GLIBC_2.19 symver.
10734 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10735 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10736 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10737 * sysdeps/s390/__longjmp.c: New file.
10738 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10739 * sysdeps/s390/longjmp.c: New file.
10740 * sysdeps/s390/setjmp.S: New file.
10741 * sysdeps/s390/sigjmp.S: New file.
10742 * sysdeps/s390/v1-longjmp.c: New file.
10743 * sysdeps/s390/v1-setjmp.h: New file.
10744 * sysdeps/s390/v1-sigjmp.c: New file.
10745 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10746 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10747 GLIBC_2.19 version.
10748 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10749 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10750 versioned symbols for ____longjmp_chk.
10751 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10761 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10762 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10763 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10764 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10765 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10766 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10767 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10768 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10769 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10770 * sysdeps/s390/rtld-__longjmp.c: New file.
10771 * sysdeps/s390/rtld-setjmp.S: New file.
10773 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10776 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10777 Return -__logl (x) for small positive arguments without evaluating
10780 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10782 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10784 (__ptrace_peeksiginfo_args): ... this.
10785 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10787 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10789 2014-01-06 Allan McRae <allan@archlinux.org>
10791 * inet/netinet/in.h: Fix typo in comment.
10793 2014-01-05 Andreas Jaeger <aj@suse.de>
10795 * sysdeps/i386/fpu/libm-test-ulps: Update.
10797 2014-01-05 Allan McRae <allan@archlinux.org>
10799 * po/libc.pot: Regenerated.
10801 * malloc/memusagestat.c: Fix gettext call formatting.
10803 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10805 * nscd/nscd.c: Improve usage() output.
10807 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10809 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10810 * sysdeps/unix/sysv/linux/configure: Regenerated.
10811 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10812 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10814 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10817 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10818 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10820 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10822 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10823 extra tokens at end of #undef directive.
10824 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10825 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10826 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10828 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10830 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10832 * math/auto-libm-test-in: Mark various tests with
10833 xfail-rounding:ldbl-128ibm.
10834 * math/auto-libm-test-out: Regenerated.
10836 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10839 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10840 numbers with subnormal high part when calculating exponent.
10843 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10847 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10849 (__ieee754_acoshl): Use __log1pl not __log1p.
10851 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10853 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10854 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10855 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10856 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10857 (reused_arena, arena_get2): Convert to GNU style.
10858 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10859 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10860 (memalign_check, __malloc_set_state): Likewise.
10861 * malloc/mallocbug.c (main): Likewise.
10862 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10863 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10864 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10865 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10866 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10867 (__posix_memalign, malloc_info): Likewise.
10868 * malloc/malloc.h: Likewise.
10869 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10870 (mallochook, memalignhook, reallochook, mabort): Likewise.
10871 * malloc/mcheck.h: Likewise.
10872 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10873 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10874 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10875 * malloc/morecore.c (__default_morecore): Likewise.
10876 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10877 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10878 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10879 (print_and_abort): Likewise.
10880 * malloc/obstack.h: Likewise.
10881 * malloc/set-freeres.c (__libc_freeres): Likewise.
10882 * malloc/tst-mallocstate.c (main): Likewise.
10883 * malloc/tst-mtrace.c (main): Likewise.
10884 * malloc/tst-realloc.c (do_test): Likewise.
10886 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10889 * nscd/netgroupcache.c (do_notfound): New function.
10890 (addgetnetgrentX): Use it.
10893 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10894 NSS_STATUS_NOTFOUND.
10896 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10898 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10901 2014-01-01 Allan McRae <allan@archlinux.org>
10903 * scripts/update-copyrights: Update configure input file suffix.
10905 * NEWS: Update copyright year.
10906 * catgets/gencat.c: Likewise.
10907 * csu/version.c: Likewise.
10908 * debug/catchsegv.sh: Likewise.
10909 * debug/pcprofiledump.c: Likewise.
10910 * debug/xtrace.sh: Likewise.
10911 * elf/ldconfig.c: Likewise.
10912 * elf/ldd.bash.in: Likewise.
10913 * elf/pldd.c: Likewise.
10914 * elf/sotruss.ksh: Likewise.
10915 * elf/sprof.c: Likewise.
10916 * iconv/iconv_prog.c: Likewise.
10917 * iconv/iconvconfig.c: Likewise.
10918 * locale/programs/locale.c: Likewise.
10919 * locale/programs/localedef.c: Likewise.
10920 * login/programs/pt_chown.c: Likewise.
10921 * malloc/memusage.sh: Likewise.
10922 * malloc/memusagestat.c: Likewise.
10923 * malloc/mtrace.pl: Likewise.
10924 * manual/libc.texinfo: Likewise.
10925 * nscd/nscd.c: Likewise.
10926 * nss/getent.c: Likewise.
10927 * nss/makedb.c: Likewise.
10928 * posix/getconf.c: Likewise.
10929 * scripts/test-installation.pl: Likewise.
10931 * All files with FSF copyright notices: Update copyright dates
10932 using scripts/update-copyrights.
10933 * intl/plural.c: Regenerated.
10934 * locale/programs/charmap-kw.h: Likewise.
10935 * locale/programs/locfile-kw.h: Likewise.
10937 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10939 * sysdeps/unix/sysv/linux/configure: Regenerated.
10940 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10941 the linux/fanotify.h header.
10942 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10943 HAVE_LINUX_FANOTIFY_H is defined.
10945 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10947 * benchtests/cos-inputs: New inputs.
10948 * benchtests/sin-inputs: Likewise.
10950 * benchtests/atan-inputs: New inputs. Fix name of multiple
10951 precision fallback inputs.
10953 * benchtests/atanh-inputs: New inputs.
10954 * benchtests/tanh-inputs: Likewise.
10956 * benchtests/acosh-inputs: New inputs.
10957 * benchtests/asinh-inputs: Likewise.
10959 * benchtests/cosh-inputs: New inputs.
10960 * benchtests/sinh-inputs: Likewise.
10962 * benchtests/acos-inputs: Add more inputs.
10963 * benchtests/asin-inputs: Likewise.
10965 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10968 * manual/arith.texi: Fix spelling.
10969 * manual/charset.texi: Likewise.
10970 * manual/errno.texi: Likewise.
10971 * manual/filesys.texi: Likewise.
10972 * manual/lang.texi: Likewise.
10973 * manual/llio.texi: Likewise.
10974 * manual/locale.texi: Likewise.
10975 * manual/message.texi: Likewise.
10976 * manual/resource.texi: Likewise.
10977 * manual/search.texi: Likewise.
10978 * manual/setjmp.texi: Likewise.
10979 * manual/stdio.texi: Likewise.
10980 * manual/string.texi: Likewise.
10981 * manual/sysinfo.texi: Likewise.
10982 * manual/time.texi: Likewise.
10984 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10986 * po/sl.po: New file.
10988 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10990 * .gitignore: Add core/.gdbinit/.gdb_history.
10992 2013-12-27 Allan McRae <allan@archlinux.org>
10995 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10996 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10998 2013-12-24 Brooks Moses <bmoses@google.com>
11000 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11001 all compilers that claim C++98 compliance, not just GCC.
11002 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11005 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11007 * NEWS: Restore accidentally deleted bug-fix entries.
11009 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11010 Ondřej Bílka <neleai@seznam.cz>
11013 * malloc/malloc.c (_int_free): Perform sanity check only if we
11016 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11019 * manual/stdio.texi (String Input Conversions): Clarify that character
11020 classes are not supported.
11022 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11026 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11029 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11030 Calculate results for small negative arguments directly rather
11031 than using reflection formula with special underflow handling.
11033 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11034 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11035 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11036 (fchflags): Likewise.
11037 (revoke): Likewise.
11038 (setlogin): Likewise.
11039 (sigaltstack): Likewise.
11041 (sigblock): Remove.
11042 (sigsetmask): Likewise.
11044 (waitpid): Likewise.
11045 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11046 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11048 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11049 * sysdeps/unix/bsd/Makefile: ... here.
11050 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11051 * sysdeps/unix/bsd/Versions: ... here.
11052 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11053 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11054 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11055 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11056 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11057 * sysdeps/unix/bsd/sigblock.c: ... here.
11058 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11059 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11060 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11061 * sysdeps/unix/bsd/sigvec.c: ... here.
11062 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11063 * sysdeps/unix/bsd/tcdrain.c: ... here.
11064 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11065 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11066 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11067 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11068 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11069 * sysdeps/unix/bsd/wait.c: ... here.
11070 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11071 * sysdeps/unix/bsd/wait3.c: ... here.
11072 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11073 * sysdeps/unix/bsd/waitpid.c: ... here.
11075 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11078 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11079 round-to-nearest for [!USE_AS_EXPM1L].
11080 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11081 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11082 more tests of exp and exp10. Expect some exp10 tests to miss
11083 exceptions or fail in directed rounding modes.
11084 * math/auto-libm-test-out: Regenerated.
11085 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11086 (exp10_test_tonearest): New function.
11087 (exp10_towardzero_test_data): New array.
11088 (exp10_test_towardzero): New function.
11089 (exp10_downward_test_data): New array.
11090 (exp10_test_downward): New function.
11091 (exp10_upward_test_data): New array.
11092 (exp10_test_upward): New function.
11093 (main): Call the new functions.
11094 * sysdeps/i386/fpu/libm-test-ulps: Update.
11095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11097 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11099 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11100 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11101 * math/auto-libm-test-out: Regenerated.
11102 * math/libm-test.inc (acosh_test_data): Add more tests.
11103 (atanh_test_data): Likewise.
11104 (ceil_test_data): Likewise.
11105 (copysign_test_data): Likewise.
11106 * sysdeps/i386/fpu/libm-test-ulps: Update.
11107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11109 * timezone/checktab.awk: Update from tzcode 2013i.
11110 * timezone/private.h: Likewise.
11111 * timezone/scheck.c: Likewise.
11112 * timezone/tzfile.h: Likewise.
11113 * timezone/tzselect.ksh: Likewise.
11114 * timezone/zdump.c: Likewise.
11115 * timezone/zic.c: Likewise.
11117 * math/auto-libm-test-in: Add tests of cpow.
11118 * math/auto-libm-test-out: Regenerated.
11119 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11120 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11122 (func_calc_desc): Add mpc_cc_c union field.
11123 (test_functions): Add cpow.
11124 (special_fill_2pi): New function.
11125 (special_real_inputs): Add 2pi.
11126 (calc_generic_results): Handle mpc_cc_c.
11127 * sysdeps/i386/fpu/libm-test-ulps: Update.
11128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11130 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11131 csqrt, ctan and ctanh.
11132 * math/auto-libm-test-out: Regenerated.
11133 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11134 (TEST_COND_x86): Likewise.
11135 (ccos_test_data): Use AUTO_TESTS_c_c.
11136 (ccosh_test_data): Likewise.
11137 (cexp_test_data): Likewise.
11138 (clog_test_data): Likewise.
11139 (csqrt_test_data): Likewise.
11140 (ctan_test_data): Likewise.
11141 (ctan_tonearest_test_data): Likewise.
11142 (ctan_towardzero_test_data): Likewise.
11143 (ctan_downward_test_data): Likewise.
11144 (ctan_upward_test_data): Likewise.
11145 (ctanh_test_data): Likewise.
11146 (ctanh_tonearest_test_data): Likewise.
11147 (ctanh_towardzero_test_data): Likewise.
11148 (ctanh_downward_test_data): Likewise.
11149 (ctanh_upward_test_data): Likewise.
11150 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11152 (func_calc_desc): Add mpc_c_c union field.
11153 (FUNC_mpc_c_c): New macro.
11154 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11155 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11157 (special_fill_min_subnorm_p120): New function.
11158 (special_real_inputs): Add min_subnorm_p120.
11159 (calc_generic_results): Handle mpc_c_c.
11160 * sysdeps/i386/fpu/libm-test-ulps: Update.
11161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11163 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11165 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11166 (do_sin_slow): New functions.
11167 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11168 (cslow2, csloww1, csloww2): Use the new functions.
11170 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11171 Use M to change sign of result instead of X. Assume X is
11173 (csloww1): Likewise.
11177 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11178 arguments A and DA.
11182 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11184 (sloww1): Don't adjust sign of DX.
11185 (csloww1): Likewise.
11186 (sloww2): Use X directly and don't adjust sign of DX.
11187 (csloww2): Likewise.
11189 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11191 * math/auto-libm-test-in: Add tests of cabs and carg.
11192 * math/auto-libm-test-out: Regenerated.
11193 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11194 (carg_test_data): Likewise.
11195 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11197 (func_calc_desc): Add mpc_c_f union field.
11198 (test_functions): Add cabs and carg.
11199 (calc_generic_results): Handle mpc_c_f.
11201 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11202 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11203 as a macro and a compat symbol.
11204 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11205 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11206 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11207 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11208 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11209 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11211 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11213 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11215 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11217 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11219 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11221 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11222 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11225 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11229 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11231 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11232 trailing whitespace removed.
11233 * scripts/config.guess: Update to version 2013-11-29.
11234 * scripts/config.sub: Update to version 2013-10-01.
11236 * math/auto-libm-test-in: Add tests of sincos.
11237 * math/auto-libm-test-out: Regenerated.
11238 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11239 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11241 (func_calc_desc): Add mpfr_f_11 union field.
11242 (test_functions): Add sincos.
11243 (calc_generic_results): Handle mpfr_f_11.
11244 * sysdeps/i386/fpu/libm-test-ulps: Update.
11245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11247 2013-12-19 Andreas Schwab <schwab@suse.de>
11249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11252 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11253 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11255 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11257 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11258 * sysdeps/i386/fpu/libm-test-ulps: Update.
11259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11262 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11263 round-to-nearest mode when using frndint.
11264 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11265 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11266 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11268 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11270 * math/auto-libm-test-out: Regenerated.
11271 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11272 (TEST_COND_x86): Likewise.
11273 (expm1_tonearest_test_data): New array.
11274 (expm1_test_tonearest): New function.
11275 (expm1_towardzero_test_data): New array.
11276 (expm1_test_towardzero): New function.
11277 (expm1_downward_test_data): New array.
11278 (expm1_test_downward): New function.
11279 (expm1_upward_test_data): New array.
11280 (expm1_test_upward): New function.
11281 (main): Run the new test functions.
11282 * sysdeps/i386/fpu/libm-test-ulps: Update.
11283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11285 * include/features.h: Update comment documenting feature test
11286 macros. Mention _DEFAULT_SOURCE in comment.
11287 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11288 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11289 _BSD_SOURCE and _SVID_SOURCE.
11290 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11291 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11292 !_SVID_SOURCE]: Likewise.
11293 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11294 (__USE_POSIX_IMPLICITLY): Define.
11295 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11296 (_POSIX_SOURCE): Undefine and redefine.
11297 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11298 (_POSIX_C_SOURCE): Likewise.
11299 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11300 (Feature Test Macros): Update documentation of default features.
11302 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11304 * benchtests/Makefile: Add bench-strtok.
11305 * benchtests/bench-strtok.c: New file: strtok benchtest.
11307 2013-12-19 Allan McRae <allan@archlinux.org>
11309 * manual/install.texi: Suppress menu for plain text output.
11310 * INSTALL: Regenerated.
11312 2013-12-18 Brooks Moses <bmoses@google.com>
11315 * misc/getauxval.c: Include errno.h.
11316 (__getauxval): Set errno to ENOENT if the requested type is not
11318 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11319 don't declare with __attribute_const__.
11320 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11321 * manual/startup.texi: Document that getauxval sets errno.
11323 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11325 * math/auto-libm-test-in: Add tests of jn and yn.
11326 * math/auto-libm-test-out: Regenerated.
11327 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11328 (yn_test_data): Likewise.
11329 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11331 (func_calc_desc): Add mpfr_if_f union field.
11332 (FUNC_mpfr_if_f): New macro.
11333 (test_functions): Add jn and yn.
11334 (calc_generic_results): Assert type of second input for
11335 mpfr_ff_f. Handle mpfr_if_f.
11336 (output_for_one_input_case): Disable all checking for arguments
11337 fitting floating-point types in case of an integer argument.
11338 * sysdeps/i386/fpu/libm-test-ulps: Update.
11339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11342 Don't expect fegetround reference in libm.so.
11344 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11346 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11347 $(config-cflags-nofma).
11349 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11351 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11352 * math/auto-libm-test-out: Regenerated.
11355 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11356 to determine exponent and adjust argument to have exponent of -1.
11357 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11359 * math/auto-libm-test-out: Regenerated.
11360 * sysdeps/i386/fpu/libm-test-ulps: Update.
11361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11365 * manual/probes.texi: Remove cases when per-thread arenas are
11368 2013-12-18 Andreas Schwab <schwab@suse.de>
11370 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11371 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11372 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11373 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11374 * sysdeps/i386/i686/multiarch/Makefile: Update.
11375 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11377 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11379 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11380 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11382 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11385 Support TZ transition times < 00:00:00.
11386 This is needed for version-3 tz-format files; it supports time
11387 stamps past 2037 for America/Godthab (the only entry in the tz
11388 database for which this change is relevant).
11389 * manual/time.texi (TZ Variable): Document transition times
11390 from -167:59:59 through -00:00:01.
11391 * time/tzset.c (tz_rule): Time of day is now signed.
11392 (__tzset_parse_tz): Parse negative time of day.
11394 Document TZ transition times >= 25:00:00.
11395 * manual/time.texi (TZ Variable): Document transition times from
11396 25:00:00 through 167:59:59. These are already supported, and this
11397 support will help with version-3 tz-format files.
11399 * manual/time.texi (TZ Variable): Modernize North America example
11400 to reflect current (i.e., 2007-and-later) daylight saving rules.
11402 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11404 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11406 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11407 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11409 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11410 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11411 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11412 * sysdeps/unix/bsd/clock.c: Likewise.
11413 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11414 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11415 * sysdeps/unix/bsd/init-posix.c: Likewise.
11416 * sysdeps/unix/bsd/poll.c: Likewise.
11417 * sysdeps/unix/bsd/ptsname.c: Likewise.
11418 * sysdeps/unix/bsd/seekdir.c: Likewise.
11419 * sysdeps/unix/bsd/setegid.c: Likewise.
11420 * sysdeps/unix/bsd/seteuid.c: Likewise.
11421 * sysdeps/unix/bsd/setgid.c: Likewise.
11422 * sysdeps/unix/bsd/setrgid.c: Likewise.
11423 * sysdeps/unix/bsd/setruid.c: Likewise.
11424 * sysdeps/unix/bsd/setsid.c: Likewise.
11425 * sysdeps/unix/bsd/setuid.c: Likewise.
11426 * sysdeps/unix/bsd/sigaction.c: Likewise.
11427 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11428 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11429 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11430 * sysdeps/unix/bsd/telldir.c: Likewise.
11431 * sysdeps/unix/bsd/times.c: Likewise.
11432 * sysdeps/unix/bsd/usleep.c: Likewise.
11434 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11435 ($(objpfx)libbsd-compat.a): Remove rule.
11437 * include/features.h (__FAVOR_BSD): Do not define.
11438 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11439 features conflicting with POSIX.
11440 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11441 (_BSD_SOURCE): Remove description of not being a subset of other
11442 feature test macros.
11443 * manual/job.texi (getpgrp): Do not document BSD version.
11444 (getpgid): Do not document by reference to BSD getpgrp.
11445 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11446 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11447 * signal/signal.h [__FAVOR_BSD]: Likewise.
11448 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11449 instead of making contents conditional on [__FAVOR_BSD].
11450 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11452 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11456 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11459 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11460 values below 2**-450, not 2**-500.
11461 * math/auto-libm-test-in: Don't allow spurious underflow from
11463 * math/auto-libm-test-out: Regenerated.
11467 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11468 values of ha and hb and sort them after adjusting subnormal
11470 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11472 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11473 values of ea and eb and sort them after adjusting subnormal
11475 * math/auto-libm-test-in: Do not expect some hypot tests of
11476 subnormals to fail. Add more hypot tests.
11477 * math/auto-libm-test-out: Regenerated.
11479 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11482 * sysdeps/sh/s_fma.c: New file.
11483 * sysdeps/sh/s_fmaf.c: New file.
11484 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11486 * sysdeps/sh/Implies: Add sh/soft-fp.
11488 2013-12-16 Roland McGrath <roland@hack.frob.com>
11490 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11491 level of indirection to members `objname', `errstring', `malloced'.
11492 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11493 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11494 it as the __longjmp argument (just pass 1 instead).
11495 (_dl_catch_error): Initialize C with argument pointers and address of
11496 volatile local ERRCODE rather than copying values out of C at return.
11498 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11500 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11501 * math/auto-libm-test-out: Regenerated.
11502 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11503 (hypot_test_data): Likewise.
11504 (pow_test_data): Likewise.
11505 (pow_tonearest_test_data): Likewise.
11506 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11508 (func_calc_desc): Add mpfr_ff_f union field.
11509 (FUNC_mpfr_ff_f): New macro.
11510 (test_functions): Add atan2, hypot and pow.
11511 (special_fill_min): New function.
11512 (special_fill_minus_min): Likewise.
11513 (special_fill_min_subnorm): Likewise.
11514 (special_fill_minus_min_subnorm): Likewise.
11515 (special_real_inputs): Add min, -min, min_subnorm and
11517 (calc_generic_results): Handle mpfr_ff_f.
11518 * sysdeps/i386/fpu/libm-test-ulps: Update.
11519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11521 2013-12-16 Will Newton <will.newton@linaro.org>
11523 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11524 (Aligned Memory Blocks): Add documentation for aligned_alloc
11525 and suggest it as an alternative to posix_memalign.
11526 (Hooks for Malloc): Document __memalign_hook is also called
11527 for aligned_alloc. (Summary of Malloc): Add summary for
11528 aligned alloc. Document __memalign_hook is also called
11531 2013-12-16 Will Newton <will.newton@linaro.org>
11533 * manual/memory.texi (Malloc Examples): Clarify default
11534 alignment documentation. Suggest posix_memalign rather
11535 than memalign or valloc.
11536 (Aligned Memory Blocks): Remove suggestion to use memalign
11537 or valloc. Remove obsolete comment about BSD.
11538 Document memalign errno values and mark the function obsolete.
11539 Document posix_memalign returned error codes. Mark valloc
11540 as obsolete. (Hooks for Malloc): __memalign_hook is also
11541 called for posix_memalign and valloc.
11542 (Summary of Malloc): Add posix_memalign to function summary.
11543 __memalign_hook is also called for posix_memalign and valloc.
11545 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11547 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11551 (sloww): Use mynumber union. Expand ternary operator into
11552 if-else statements.
11553 (cslow): use mynumber union.
11555 2013-12-16 Allan McRae <allan@archlinux.org>
11557 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11558 * configure: Regenerated.
11560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11563 * configure.ac: Added --enable-maintainer-mode. Check for
11564 autoconf when enabled.
11565 * configure: Regenerated.
11567 * nscd/nscd.service: New file.
11568 * nscd/nscd.tmpfiles: New file.
11570 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11573 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11574 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11575 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11576 (strstr): Add __strstr_sse2_unaligned ifunc.
11577 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11578 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11579 (strcasestr): Remove __strcasestr_sse42 ifunc.
11580 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11584 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11586 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11587 * sysdeps/sh/bits/fenv.h: ... here.
11588 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11590 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11592 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11594 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11595 hypotf multiarch implementations.
11596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11597 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11599 multiarch hypot for PPC64.
11600 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11601 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11602 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11603 multiarch hypotf for PPC64.
11605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11606 modff multiarch implementations.
11607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11610 multiarch modf for PPC64.
11611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11614 multiarch modff for PPC64.
11616 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11617 and logl multiarch implementations.
11618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11621 multiarch logb for PPC64.
11622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11625 multiarch logb for PPC64.
11626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11629 multiarch logb for PPC64.
11631 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11632 isinff multiarch implementation.
11633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11637 multiarch isinf for PPC64.
11638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11641 multiarch isinff for PPC64.
11643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11644 finitef multiarch implementation.
11645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11649 multiarch finite for PPC64.
11650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11653 multiarch finitef for PPC64.
11655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11656 lrint multiarch implementation.
11657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11661 multiarch llrint for PPC64.
11662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11663 multiarch lrint for PPC64.
11665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11666 copysignf multiarch implementation.
11667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11672 multiarch copysign for PPC64.
11673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11674 multiarch copysignf for PPC64.
11676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11677 multiarch implementation.
11678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11686 multiarch llround for PPC64.
11687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11688 multiarch trunc for PPC64.
11689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11690 multiarch truncf for PPC64.
11692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11693 multiarch implementation.
11694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11702 multiarch llround for PPC64.
11703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11704 multiarch round for PPC64.
11705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11706 multiarch roundf for PPC64.
11708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11709 multiarch implementation.
11710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11718 multiarch llround for PPC64.
11719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11720 multiarch floor for PPC64.
11721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11722 multiarch floorf for PPC64.
11724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11725 multiarch implementation.
11726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11734 multiarch llround for PPC64.
11735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11736 multiarch ceil for PPC64.
11737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11738 multiarch ceilf for PPC64.
11740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11741 multiarch implementation.
11742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11749 multiarch llround for PPC64.
11750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11751 multiarch lround for PPC64.
11753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11754 multiarch implementation.
11755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11762 multiarch isnan for PPC64.
11763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11764 multiarch isnanf for PPC64.
11766 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11767 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11768 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11769 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11770 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11773 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11774 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11775 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11776 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11779 multiarch implementations.
11780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11781 (__libc_ifunc_impl_list): Likewise.
11782 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11783 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11784 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11785 multiarch stpcpy for PPC64.
11787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11788 multiarch implementations.
11789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11790 (__libc_ifunc_impl_list): Likewise.
11791 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11792 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11793 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11794 multiarch strcpy for PPC64.
11796 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11797 redefine function name.
11798 (_wordcopy_fwd_dest_aligned): Likewise.
11799 (_wordcopy_bwd_aligned): Likewise.
11800 (_wordcopy_bwd_dest_aligned): Likewise.
11801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11802 multiarch implementations.
11803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11804 (__libc_ifunc_impl_list): Likewise.
11805 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11806 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11807 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11808 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11809 multiarch wcscpy for PPC64.
11811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11812 multiarch implementations.
11813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11814 (__libc_ifunc_impl_list): Likewise.
11815 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11816 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11817 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11818 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11819 multiarch wcscpy for PPC64.
11821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11822 multiarch implementations.
11823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11824 (__libc_ifunc_impl_list): Likewise.
11825 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11826 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11827 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11828 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11829 multiarch wcsrchr for PPC64.
11831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11832 multiarch implementations.
11833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11834 (__libc_ifunc_impl_list): Likewise.
11835 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11836 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11837 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11838 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11839 multiarch wcschr for PPC64.
11841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11842 multiarch implementations.
11843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11844 (__libc_ifunc_impl_list): Likewise.
11845 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11846 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11847 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11848 multiarch strchrnul for PPC64.
11850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11853 (__libc_ifunc_impl_list): Likewise.
11854 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11855 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11856 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11857 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11863 (__libc_ifunc_impl_list): Likewise.
11864 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11865 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11866 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11867 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11871 multiarch implementations.
11872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11873 (__libc_ifunc_impl_list): Likewise.
11874 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11875 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11876 strncasecmp for PPC64.
11877 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11878 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11879 multiarch strncasecmp_l for PPC64.
11881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11882 multiarch implementations.
11883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11884 (__libc_ifunc_impl_list): Likewise.
11885 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11886 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11887 multiarch strcasecmp for PPC64.
11888 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11890 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11891 multiarch strcasecmp_l for PPC64.
11893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11896 (__libc_ifunc_impl_list): Likewise.
11897 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11898 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11899 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11905 (__libc_ifunc_impl_list): Likewise.
11906 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11907 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11908 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11914 (__libc_ifunc_impl_list): Likewise.
11915 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11916 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11917 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11918 rawmemrchr for PPC64.
11920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11923 (__libc_ifunc_impl_list): Likewise.
11924 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11925 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11926 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11932 (__libc_ifunc_impl_list): Likewise.
11933 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11934 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11935 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11941 (__libc_ifunc_impl_list): Likewise.
11942 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11943 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11944 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11947 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11948 avoid cretion of __bzero symbol.
11949 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11951 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11953 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11956 multiarch implementations.
11957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11958 (__libc_ifunc_impl_list): Likewise.
11959 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11960 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11961 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11962 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11964 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11965 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11966 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11967 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11968 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11970 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11972 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11976 (__libc_ifunc_impl_list): Likewise.
11977 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11978 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11979 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11980 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11984 multiarch for POWER/PPC64.
11985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11986 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11987 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11988 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11989 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11990 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11991 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11992 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11993 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11996 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11997 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11998 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11999 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12000 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12001 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12002 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12003 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12004 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12005 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12006 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12007 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12008 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12009 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12010 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12019 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12021 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12023 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12025 * benchtests/Makefile (bench): Add exp2 and log2.
12026 (LDLIBS-bench-exp2): Add -lm.
12027 (LDLIBS-bench-log2): Likewise.
12028 * benchtests/exp2-inputs: New inputs file.
12029 * benchtests/log2-inputs: New inputs file.
12030 * benchtests/log-inputs: Add new inputs.
12031 * benchtests/tan-inputs: Likewise.
12033 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12035 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12037 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12038 (csloww2): ... from here.
12040 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12041 instead of structures.
12042 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12043 (POLYNOMIAL): Likewise.
12044 (TAYLOR_SLOW): Likewise.
12050 (sloww1); Likewise.
12051 (sloww2): Likewise.
12052 (bsloww1): Likewise.
12053 (bsloww2): Likewise.
12054 (cslow2): Likewise.
12055 (csloww): Likewise.
12056 (csloww1): Likewise.
12057 (csloww2): Likewise.
12059 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12061 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12062 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12063 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12064 * malloc/hooks.c (realloc_check): Likewise.
12066 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12067 * malloc/arena.c: Remove PER_THREAD conditional.
12068 [!PER_THREAD]: Remove code.
12069 (ptmalloc_unlock_all2): Likewise.
12070 (ptmalloc_init): Likewise.
12071 (_int_new_arena): Likewise.
12072 (arena_get2): Likewise.
12073 * malloc/hooks.c (__malloc_get_state): Likewise.
12074 (__malloc_set_state): Likewise.
12075 * malloc/malloc.c: Likewise.
12076 (struct malloc_state): Likewise.
12077 (struct malloc_par): Likewise.
12078 (__libc_realloc): Likewise.
12079 (__libc_mallopt): Likewise.
12081 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12083 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12085 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12087 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12088 macro to a function. Check for zero perturb_byte.
12089 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12091 * malloc/malloc.c: (force_reg): Remove.
12092 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12093 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12094 force_reg by atomic_forced_read.
12095 * malloc/arena.c (ptmalloc_init): Likewise.
12096 * malloc/hooks.c (top_check): Likewise.
12098 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12102 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12106 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12108 * math/auto-libm-test-in: Add tests of lgamma.
12109 * math/auto-libm-test-out: Regenerated.
12110 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12111 (M_LOG_2_SQRT_PIl): Likewise.
12112 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12113 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12115 (func_calc_desc): Add mpfr_f_f1 union field.
12116 (ARGS1): New macro.
12124 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12125 (test_functions): Add lgamma.
12126 (calc_generic_results): Handle mpfr_f_f1.
12127 * sysdeps/i386/fpu/libm-test-ulps: Update.
12128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12130 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12132 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12133 __mpn_add_n for PowerPC64/POWER7.
12134 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12135 __mpn_sub_n for PowerPC64/POWER7.
12137 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12138 __mpn_addmul_1 for PowerPC64.
12139 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12140 __mpn_submul_1 for PowerPC64.
12141 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12143 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12146 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12149 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12151 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12153 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12155 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12156 add multiarch folders.
12157 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12158 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12159 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12160 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12161 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12162 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12163 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12164 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12165 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12166 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12167 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12176 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12182 multiarch __ieee754_hypot for PowerPC32.
12183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12188 multiarch __ieee754_hypotf for PowerPC32.
12190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12191 long_double_symbol only if __logbl is defined.
12192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12193 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12195 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12197 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12198 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12199 path for implementation.
12200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12201 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12203 logb, and logbl multiarch implementations for PowerPC32.
12204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12209 multiarch logb for PowerPC32.
12210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12215 multiarch logbf for PowerPC32.
12216 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12220 multiarch logbl implementation for PowerPC32.
12222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12223 and modff multiarch implementations.
12224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12229 multiarch modf for PowerPC32.
12230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12235 multiarch modff for PowerPC32.
12237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12238 and lrintf multiarch implementations.
12239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12244 multiarch lrint for PowerPC32.
12245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12246 file: multiarch lrintf for PowerPC32.
12248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12249 and lroundf multiarch implementations.
12250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12257 multiarch lround for PowerPC32.
12258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12259 file: multiarch lroundf for PowerPC32.
12261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12262 copysign and copysignf multiarch implementations.
12263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12268 file: multiarch copysign for PowerPC32.
12269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12270 file: multiarch copysignf for PowerPC32.
12272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12273 and truncf multiarch implementations.
12274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12279 multiarch trunc for PowerPC32.
12280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12285 multiarch truncf for PowerPC32.
12287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12288 and roundf multiarch implementations.
12289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12294 multiarch round for PowerPC32.
12295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12300 multiarch roundf for PowerPC32.
12302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12303 and floorf multiarch implementations.
12304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12309 multiarch floor for PowerPC32.
12310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12315 multiarch floorf for PowerPC32.
12317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12318 and ceilf multiarch implementations.
12319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12324 multiarch ceil for PowerPC32.
12325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12330 multiarch ceilf for PowerPC32.
12332 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12334 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12335 FINITEF is defined.
12336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12337 and finitef multiarch implementations.
12338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12343 multiarch finite for PowerPC32.
12344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12347 file: multiarch finitef for PowerPC32.
12349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12350 and isinff multiarch implementations.
12351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12356 multiarch isinf for PowerPC32.
12357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12360 multiarch isinff for PowerPC32.
12362 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12363 alias when __isnan is defined.
12364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12365 and isnanf multiarch implementations.
12366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12375 multiarch isnan for PowerPC32.
12376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12381 multiarch isnanf for PowerPC32.
12383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12384 and sqrtf multiarch implementations.
12385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12390 multiarch sqrt for PowerPC32.
12391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12396 multiarch sqrtf for PowerPC32.
12398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12399 and llroundf multiarch implementations.
12400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12407 file: multiarch llround for PowerPC32.
12408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12409 file: multiarch llroundf for PowerPC32.
12411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12412 multiarch PowerPC32 fpu implementations.
12413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12418 multiarch llrint for PowerPC32.
12419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12428 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12430 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12432 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12434 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12435 multiarch wordcopy for PPC32.
12436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12439 (__libc_ifunc_impl_list): Likewise.
12440 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12441 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12442 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12443 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12444 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12445 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12447 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12448 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12454 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12455 multiarch wcscpy for PPC32.
12456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12459 (__libc_ifunc_impl_list): Likewise.
12460 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12461 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12462 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12463 sysdeps/powerpc/power6/wcscpy.c.
12465 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12466 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12470 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12472 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12473 multiarch wcsrchr for PPC32.
12474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12477 (__libc_ifunc_impl_list): Likewise.
12478 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12479 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12480 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12481 sysdeps/powerpc/power6/wcsrchr.c.
12483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12488 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12489 multiarch wcschr for PPc32.
12490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12493 (__libc_ifunc_impl_list): Likewise.
12494 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12495 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12496 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12497 sysdeps/powerpc/power6/wcschr.c.
12499 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12500 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12502 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12503 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12504 file: multiarch strchr for PPC32.
12505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12508 (__libc_ifunc_impl_list): Likewise.
12510 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12512 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12514 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12516 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12517 multiarch strchrnul for PPC32.
12518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12521 (__libc_ifunc_impl_list): Likewise.
12523 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12526 multiarch strncasecmp for PPC32.
12527 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12529 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12530 multiarch strncasecmp_l for PPC32.
12531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12532 strncasecmp multiarch objects.
12533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12534 (__libc_ifunc_impl_list): Likewise.
12536 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12538 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12539 multiarch strncasecmp for PPC32.
12540 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12542 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12543 multiarch strcasecmp_l for PPC32.
12544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12546 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12547 (__libc_ifunc_impl_list): Likewise.
12549 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12551 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12553 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12554 multiarch strncmp for PPC32.
12555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12558 (__libc_ifunc_impl_list): Likewise.
12560 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12561 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12563 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12564 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12567 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12568 (__libc_ifunc_impl_list): Likewise.
12570 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12572 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12574 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12575 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12577 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12578 (__libc_ifunc_impl_list): Likewise.
12580 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12582 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12584 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12585 multiarch rawmemchr for PPC32.
12586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12589 (__libc_ifunc_impl_list): Likewise.
12591 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12593 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12595 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12596 file: memrchr multiarch for PPC32.
12597 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12599 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12600 (__libc_ifunc_impl_list): Likewise.
12602 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12603 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12605 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12606 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12607 multiarch memchr for PPC32.
12608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12610 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12611 (__libc_ifunc_impl_list): Likewise.
12613 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12614 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12616 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12618 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12619 file: multiarch mempcpy for PPC32.
12620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12623 (__libc_ifunc_impl_list): Likewise.
12625 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12626 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12627 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12628 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12629 multiarch bzero for PPC32.
12630 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12632 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12634 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12635 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12636 file: multiarch memset for PPC32.
12637 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12639 memset multiarch objects.
12640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12641 (__libc_ifunc_impl_list): Likewise.
12643 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12645 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12646 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12648 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12652 (__libc_ifunc_impl_list): Likewise.
12654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12655 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12658 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12660 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12662 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12663 multiarch memcpy for PPC32.
12664 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12666 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12667 (__libc_ifunc_impl_list): Likewise.
12669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12670 support multiarch for POWER/PPC32.
12671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12673 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12675 Implies file to make multiarch folder appers before the fpu and
12676 default folder for power4 configuration.
12678 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12680 * scripts/bench.pl: Append volatile keyword to type.
12682 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12684 * sysdeps/sh/sotruss-lib.c: New file.
12685 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12687 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12691 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12694 * math/w_tgamma.c: Include <errno.h>.
12695 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12696 * math/w_tgammaf.c: Include <errno.h>.
12697 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12698 * math/w_tgammal.c: Include <errno.h>.
12699 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12700 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12701 underflow. Add more tgamma tests.
12702 * math/auto-libm-test-out: Regenerated.
12703 * sysdeps/i386/fpu/libm-test-ulps: Update.
12704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12706 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12707 sin, sinh, tan, tanh, tgamma, y0 and y1.
12708 * math/auto-libm-test-out: Regenerated.
12709 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12710 (TEST_COND_x86): Likewise.
12711 (M_E2l): Remove macro.
12713 (M_2_SQRT_PIl): Likewise.
12714 (M_SQRT_PIl): Likewise.
12715 (M_1_DIV_El): Likewise.
12716 (log_test_data): Use AUTO_TESTS_f_f.
12717 (log10_test_data): Likewise.
12718 (log1p_test_data): Likewise.
12719 (log2_test_data): Likewise.
12720 (sin_test_data): Likewise.
12721 (sin_tonearest_test_data): Likewise.
12722 (sin_towardzero_test_data): Likewise.
12723 (sin_downward_test_data): Likewise.
12724 (sin_upward_test_data): Likewise.
12725 (sinh_test_data): Likewise.
12726 (sinh_tonearest_test_data): Likewise.
12727 (sinh_towardzero_test_data): Likewise.
12728 (sinh_downward_test_data): Likewise.
12729 (sinh_upward_test_data): Likewise.
12730 (tan_test_data): Likewise.
12731 (tan_tonearest_test_data): Likewise.
12732 (tan_towardzero_test_data): Likewise.
12733 (tan_downward_test_data): Likewise.
12734 (tan_upward_test_data): Likewise.
12735 (tanh_test_data): Likewise.
12736 (tgamma_test_data): Likewise.
12737 (y0_test_data): Likewise.
12738 (y1_test_data): Likewise.
12739 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12740 (special_real_inputs): Add pi/4.
12741 * sysdeps/i386/fpu/libm-test-ulps: Update.
12742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12744 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12746 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12747 "longjmp_target" static probes.
12748 (__longjmp): Rename to __longjmp_symbol.
12749 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12750 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12751 on which longjmp to generate.
12752 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12753 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12755 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12756 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12757 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12758 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12759 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12760 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12762 __longjmp_symbol based on which __longjmp to generate.
12763 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12765 (setjmp): Rename to setjmp_symbol.
12766 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12767 (_setjmp): Rename to _setjmp_symbol.
12768 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12769 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12770 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12771 which setjmp to generate.
12772 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12773 "longjmp_target" static probes.
12775 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12777 * benchtests/README: Add note about output arguments.
12778 * benchtests/bench-sincos.c: Remove file.
12779 * benchtests/sincos-inputs: New file.
12780 * scripts/bench.pl: Identify output arguments and define
12781 static variables for them.
12783 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12786 * Makefile (INSTALL): Add install-plain.texi as the primary
12788 * manual/install-plain.texi: New file.
12789 * manual/install.texi: Include node directive only for
12790 non-plaintext output.
12792 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12794 * stdlib/longlong.h: Update from GCC.
12798 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12799 * math/w_j0f.c (y0f): Likewise.
12800 * math/w_j0l.c (__y0l): Likewise.
12801 * math/w_j1.c (y1): Likewise.
12802 * math/w_j1f.c (y1f): Likewise.
12803 * math/w_j1l.c (__y1l): Likewise
12804 * math/w_jn.c (yn): Likewise.
12805 * math/w_jnf.c (ynf): Likewise.
12806 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12807 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12808 value for Bessel function domain errors outside _SVID_ mode.
12809 Adjust sign of return value for yn (negative integer, 0).
12810 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12811 by zero in return for negative x and set sign appropriately for
12813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12815 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12816 expectations in error cases.
12817 (y1_test_data): Likewise.
12818 (yn_test_data): Likewise.
12819 * sysdeps/i386/fpu/libm-test-ulps: Update.
12820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12822 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12824 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12825 "64" to "64-v1". Add "64-v2".
12826 (abi-64-options): Rename to ...
12827 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12828 (abi-64-condition): Rename to ...
12829 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12830 (abi-64-ld-soname): Rename to ...
12831 (abi-64-v1-ld-soname): ... this.
12832 (abi-64-v2-options): Define.
12833 (abi-64-v2-condition): Likewise.
12834 (abi-64-v2-ld-soname): Likewise.
12835 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12836 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12841 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12842 Alan Modra <amodra@gmail.com>
12844 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12845 New versions for use with the ELFv2 ABI.
12846 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12847 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12849 (struct La_ppc64v2_retval): Likewise.
12850 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12851 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12852 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12853 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12854 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12855 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12856 Do not save or restore CR.
12857 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12858 (_dl_profile_resolve): Do no save or restore CR. Support extended
12859 return values for ELFv2 ABI. Fix location of FPR return registers.
12860 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12861 updated values for _CALL_ELF == 2.
12862 (La_regs, La_retval, int_retval): Likewise.
12864 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12866 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12867 (FRAME_MIN_SIZE_PARM): Likewise.
12868 (FRAME_BACKCHAIN): Likewise.
12869 (FRAME_CR_SAVE): Likewise.
12870 (FRAME_LR_SAVE): Likewise.
12871 (FRAME_TOC_SAVE): Likewise.
12872 (FRAME_PARM_SAVE): Likewise.
12873 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12874 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12875 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12876 (call_mcount_parm_offset): New macro.
12877 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12878 (PROF): Use symbolic stack frame offsets.
12879 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12880 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12881 Redefine in terms of FRAME_MIN_SIZE.
12882 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12883 (_dl_profile_resolve): Likewise. Update comment.
12884 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12885 symbols stack frame offsets.
12886 (__sigsetjmp): Likewise.
12887 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12888 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12889 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12890 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12893 (FRAME_BACKCHAIN): Remove.
12894 (FRAME_CR_SAVE): Likewise.
12895 (FRAME_LR_SAVE): Likewise.
12896 (FRAME_COMPILER_DW): Likewise.
12897 (FRAME_LINKER_DW): Likewise.
12898 (FRAME_TOC_SAVE): Likewise.
12899 (FRAME_PARM_SAVE): Likewise.
12900 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12901 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12902 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12904 (CHECK_SP): Use symbolic stack frame offsets.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12906 zone" instead of caller's parameter save area for temp storage.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12908 Likewise. Also, use symbolic stack frame offsets.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12910 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12911 our own stack frame instead of the caller's.
12912 (__socket): Use symbolic stack frame offsets.
12914 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12915 Alan Modra <amodra@gmail.com>
12917 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12919 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12920 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12921 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12923 (elf_machine_fixup_plt): Call it.
12924 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12926 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12928 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12929 r2 before calling target.
12931 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12932 Alan Modra <amodra@gmail.com>
12934 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12935 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12936 versions of macros to support ELFv2 ABI.
12937 (LOCALENTRY): New macro.
12938 (ENTRY, EALIGN): Use it.
12939 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12940 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12941 fall through into ENTRY entry point.
12942 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12943 Only define if _CALL_ELF != 2.
12945 (elf_machine_matches_host): Verify ABI version matches.
12946 (RTLD_START): Use LOCALENTRY.
12947 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12948 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12949 (PLT_ENTRY_WORDS): New macro.
12950 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12951 (elf_machine_runtime_setup): Support ELFv2 ABI.
12952 (elf_machine_fixup_plt): Likewise.
12953 (elf_machine_plt_conflict): Likewise.
12954 (resolve_ifunc): Likewise.
12955 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12956 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12959 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12961 (makecontext): Support ELFv2 ABI.
12962 * elf/elf.h (EF_PPC64_ABI): Define.
12964 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12966 * sysdeps/powerpc/powerpc64/sysdep.h
12967 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12968 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12969 (ENTRY) [ASSEMBLER]: ... but instead here ...
12970 (EALIGN) [ASSEMBLER]: ... and here.
12971 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12972 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12973 (ENTRY_2) [!ASSEMBLER]: Use it.
12974 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12975 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12976 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12977 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12978 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12980 Use PPC64_LOAD_FUNCPTR.
12982 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12984 2013-12-04 Alan Modra <amodra@gmail.com>
12986 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12987 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12988 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12989 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12991 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12992 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12993 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12994 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12995 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12996 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12998 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13001 (__makecontext): Fix incorrect CFI when backtracing out of
13002 context created via makecontext.
13003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13004 (__setcontext): Fix incorrect CFI during switch to new context.
13005 (__novec_setcontext): Likewise.
13007 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13010 * time/strptime_l.c (__strptime_internal): Allow modifiers
13012 * time/tst-strptime.c (day_tests): Add testcase.
13014 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13016 * scripts/bench.pl: Skip over blank lines.
13018 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13021 * manual/time.texi (Calendar Time): Clarify what timezone functions
13024 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13028 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13030 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13032 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13033 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13034 * debug/memset_chk.c (__memset_chk): Likewise.
13035 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13036 * debug/strncpy_chk.c: Likewise.
13038 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13042 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13043 (__ieee754_exp): For possibly underflowing results, check size of
13044 result and force underflow exception if required.
13045 * math/auto-libm-test-in: Add more tests of exp.
13046 * math/auto-libm-test-out: Regenerated.
13047 * sysdeps/i386/fpu/libm-test-ulps: Update.
13048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13051 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13052 * math/w_exp2f.c (__exp2f): Likewise.
13053 * math/w_exp2l.c (__exp2l): Likewise.
13054 * math/auto-libm-test-in: Do not allow missing errno on exp2
13056 * math/auto-libm-test-out: Regenerated.
13058 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13061 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13062 handle filename validation.
13063 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13066 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13069 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13070 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13071 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13073 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13074 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13075 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13076 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13077 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13078 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13079 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13080 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13081 Add more erfc tests.
13082 * math/auto-libm-test-out: Regenerated.
13083 * sysdeps/i386/fpu/libm-test-ulps: Update.
13084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13086 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13087 exp2, expm1, j0 and j1.
13088 * math/auto-libm-test-out: Regenerated.
13089 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13090 (erfc_test_data): Likewise.
13091 (exp_test_data): Likewise.
13092 (exp_tonearest_test_data): Likewise.
13093 (exp_towardzero_test_data): Likewise.
13094 (exp_downward_test_data): Likewise.
13095 (exp_upward_test_data): Likewise.
13096 (exp10_test_data): Likewise.
13097 (exp2_test_data): Likewise.
13098 (expm1_test_data): Likewise.
13099 (j0_test_data): Likewise.
13100 (j1_test_data): Likewise.
13101 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13102 (input_flag_type): Add flag_xfail_rounding.
13103 (input_flags): Add xfail-rounding.
13104 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13105 (output_for_one_input_case): Handle flag_xfail_rounding.
13106 * sysdeps/i386/fpu/libm-test-ulps: Update.
13107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13109 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13112 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13115 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13118 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13119 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13120 (STAP_PROBE0): New macro.
13121 (STAP_PROBE1): Likewise.
13122 (STAP_PROBE2): Likewise.
13123 (STAP_PROBE3): Likewise.
13124 (STAP_PROBE4): Likewise.
13126 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13128 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13130 2013-12-02 Steve Ellcey <sellcey@mips.com>
13132 * benchtests/Makefile (bench): Add sqrt.
13133 (LDLIBS-bench-sqrt): New.
13134 * benchtests/sqrt-input: New.
13136 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13138 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13139 (GAIH_EAI): Likewise.
13140 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13141 (gaih_inet): Likewise.
13142 (getaddrinfo): Don't use GAIH_EAI.
13144 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13145 (struct gaih): Remove definition.
13147 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13149 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13150 Use HERRNOP directly.
13152 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13156 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13158 * math/gen-auto-libm-tests.c (test_functions): Add more
13159 single-argument functions.
13160 (special_fill_pi_2): New function.
13161 (special_fill_minus_pi_2): Likewise.
13162 (special_fill_pi_6): Likewise.
13163 (special_fill_minus_pi_6): Likewise.
13164 (special_fill_pi_3): Likewise.
13165 (special_fill_2pi_3): Likewise.
13166 (special_fill_e): Likewise.
13167 (special_fill_1_e): Likewise.
13168 (special_fill_e_minus_1): Likewise.
13169 (special_real_inputs): Add more special inputs.
13170 (output_for_one_input_case): Do not require ERANGE on underflow to
13171 zero if round-to-nearest result does not underflow to zero, unless
13172 exact results required.
13173 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13174 atan, atanh, cbrt, cos and cosh.
13175 * math/auto-libm-test-out: Regenerated.
13176 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13177 (acos_tonearest_test_data): Likewise.
13178 (acos_towardzero_test_data): Likewise.
13179 (acos_downward_test_data): Likewise.
13180 (acos_upward_test_data): Likewise.
13181 (acosh_test_data): Likewise.
13182 (asin_test_data): Likewise.
13183 (asin_tonearest_test_data): Likewise.
13184 (asin_towardzero_test_data): Likewise.
13185 (asin_upward_test_data): Likewise.
13186 (asinh_test_data): Likewise.
13187 (atan_test_data): Likewise.
13188 (atanh_test_data): Likewise.
13189 (cbrt_test_data): Likewise.
13190 (cos_test_data): Likewise.
13191 (cos_tonearest_test_data): Likewise.
13192 (cos_towardzero_test_data): Likewise.
13193 (cos_downward_test_data): Likewise.
13194 (cos_upward_test_data): Likewise.
13195 (cosh_test_data): Likewise.
13196 (cosh_tonearest_test_data): Likewise.
13197 (cosh_towardzero_test_data): Likewise.
13198 (cosh_downward_test_data): Likewise.
13199 (cosh_upward_test_data): Likewise.
13200 * sysdeps/i386/fpu/libm-test-ulps: Update.
13201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13203 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13206 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13207 * math/w_exp10f.c (__exp10f): Likewise.
13208 * math/w_exp10l.c (__exp10l): Likewise.
13209 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13210 errno settings in existing tests.
13213 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13214 precision control set to double precision.
13215 * sysdeps/i386/fpu/w_sqrt.c: New file.
13216 * math/auto-libm-test-in: Add more tests.
13217 * math/auto-libm-test-out: Update.
13219 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13220 (sqrt_test_tonearest): New function.
13221 (sqrt_towardzero_test_data): New variable.
13222 (sqrt_test_towardzero): New function.
13223 (sqrt_downward_test_data): New variable.
13224 (sqrt_test_downward): New function.
13225 (sqrt_upward_test_data): New variable.
13226 (sqrt_test_upward): New function.
13227 (main): Call the new functions.
13229 * math/gen-auto-libm-tests.c: New file.
13230 * math/auto-libm-test-in: Likewise.
13231 * math/auto-libm-test-out: New generated file.
13232 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13234 (%beautify): Add generated representations of zero.
13235 (top level): Set $auto_input and call parse_auto_input.
13236 (beautify): Remove trailing "f" from hex float constants.
13237 (parse_args): Handle XFAIL_TEST.
13238 (convert_condition): New function.
13239 (or_value): Likewise.
13240 (or_cond_value): Likewise.
13241 (generate_testfile): Handle AUTO_TESTS_* lines.
13242 (parse_auto_input): New function.
13243 * math/libm-test.inc (XFAIL_TEST): New macro.
13244 (ERRNO_UNCHANGED): Update value.
13245 (ERRNO_EDOM): Likewise.
13246 (ERRNO_ERANGE): Likewise.
13247 (IGNORE_RESULT): Likewise.
13248 (TEST_COND_flt_32): New macro.
13249 (TEST_COND_dbl_64): Likewise.
13250 (TEST_COND_ldbl_96_intel): Likewise.
13251 (TEST_COND_ldbl_96_m68k): Likewise.
13252 (TEST_COND_ldbl_128): Likewise.
13253 (TEST_COND_ldbl_128ibm): Likewise.
13254 (TEST_COND_long32): Likewise.
13255 (TEST_COND_long64): Likewise.
13256 (TEST_COND_before_rounding): Likewise.
13257 (TEST_COND_after_rounding): Likewise.
13258 (enable_test): Handle XFAIL_TEST flag.
13259 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13260 with finite results.
13261 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13262 auto-libm-test-out.
13264 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13265 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13268 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13269 __tls_get_addr_internal instead of __tls_get_offset in order to
13270 avoid GOT pointer dependency. Make rtld export
13271 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13272 __tls_get_addr since we are a __tls_get_offset platform.
13273 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13274 GOT pointer being set up before.
13275 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13277 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13279 * manual/math.texi (Errors in Math Functions): Document accuracy
13283 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13284 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13287 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13289 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13300 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13301 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13302 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13303 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13304 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13306 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13308 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13310 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13311 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13312 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13313 atomic-feupdateenv and flt-rounds.
13314 * sysdeps/powerpc/nofpu/Versions (libc): Add
13315 __atomic_feholdexcept, __atomic_feclearexcept,
13316 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13317 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13318 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13319 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13320 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13325 * manual/arith.texi (FP Exceptions): Document that exceptions may
13326 not be raised when matherr is used.
13327 (Math Error Reporting): Document overflow in directed rounding
13328 modes. Document that errno may not be set when finite values are
13329 returned on overflow. Document intent to set errno on underflow
13330 only for underflow to zero.
13333 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13334 round-to-nearest then adjust result for other rounding modes.
13335 * include/fenv.h (fegetround): Use libm_hidden_proto.
13336 * math/fegetround.c (fegetround): Use libm_hidden_def.
13337 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13338 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13339 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13340 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13342 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13343 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13344 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13345 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13347 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13350 * nss/Versions (libnss_files): Add
13351 _nss_files_gethostbyname3_r.
13352 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13354 (HOST_DB_LOOKUP): Remove macro.
13355 (_nss_files_gethostbyname_r): Implement function without the
13356 HOST_DB_LOOKUP macro.
13357 (_nss_files_gethostbyname2_r): Likewise.
13359 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13361 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13363 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13365 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13366 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13369 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13371 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13372 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13373 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13374 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13375 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13376 __fe_nomask_env_priv and attribute_hidden.
13377 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13378 (libc_feupdateenv_test_ppc): Likewise.
13379 (libc_feresetround_ppc): Likewise.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13381 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13382 compat_symbol macro.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13384 (__fe_nomask_env): Likewise.
13385 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13387 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13389 * string/Makefile: Remove ifunc tests.
13390 * string/test-string.h: Define TEST_IFUNC.
13391 * string/test-bcopy-ifunc.c: Remove.
13392 * string/test-bzero-ifunc.c: Likewise.
13393 * string/test-memccpy-ifunc.c: Likewise.
13394 * string/test-memchr-ifunc.c: Likewise.
13395 * string/test-memcmp-ifunc.c: Likewise.
13396 * string/test-memcpy-ifunc.c: Likewise.
13397 * string/test-memmem-ifunc.c: Likewise.
13398 * string/test-memmove-ifunc.c: Likewise.
13399 * string/test-mempcpy-ifunc.c: Likewise.
13400 * string/test-memrchr-ifunc.c: Likewise.
13401 * string/test-memset-ifunc.c: Likewise.
13402 * string/test-rawmemchr-ifunc.c: Likewise.
13403 * string/test-stpcpy-ifunc.c: Likewise.
13404 * string/test-stpncpy-ifunc.c: Likewise.
13405 * string/test-strcasecmp-ifunc.c: Likewise.
13406 * string/test-strcasestr-ifunc.c: Likewise.
13407 * string/test-strcat-ifunc.c: Likewise.
13408 * string/test-strchr-ifunc.c: Likewise.
13409 * string/test-strchrnul-ifunc.c: Likewise.
13410 * string/test-strcmp-ifunc.c: Likewise.
13411 * string/test-strcpy-ifunc.c: Likewise.
13412 * string/test-strcspn-ifunc.c: Likewise.
13413 * string/test-strlen-ifunc.c: Likewise.
13414 * string/test-strncasecmp-ifunc.c: Likewise.
13415 * string/test-strncat-ifunc.c: Likewise.
13416 * string/test-strncmp-ifunc.c: Likewise.
13417 * string/test-strncpy-ifunc.c: Likewise.
13418 * string/test-strnlen-ifunc.c: Likewise.
13419 * string/test-strpbrk-ifunc.c: Likewise.
13420 * string/test-strrchr-ifunc.c: Likewise.
13421 * string/test-strspn-ifunc.c: Likewise.
13422 * string/test-strstr-ifunc.c: Likewise.
13424 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13426 * benchtests/Makefile: Remove ifunc tests.
13427 * benchtests/bench-string.h: Define TEST_IFUNC.
13428 * benchtests/bench-bcopy-ifunc.c: Remove.
13429 * benchtests/bench-bzero-ifunc.c: Likewise.
13430 * benchtests/bench-memccpy-ifunc.c: Likewise.
13431 * benchtests/bench-memchr-ifunc.c: Likewise.
13432 * benchtests/bench-memcmp-ifunc.c: Likewise.
13433 * benchtests/bench-memcpy-ifunc.c: Likewise.
13434 * benchtests/bench-memmem-ifunc.c: Likewise.
13435 * benchtests/bench-memmove-ifunc.c: Likewise.
13436 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13437 * benchtests/bench-memrchr-ifunc.c: Likewise.
13438 * benchtests/bench-memset-ifunc.c: Likewise.
13439 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13440 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13441 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13442 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13443 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13444 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13445 * benchtests/bench-strcat-ifunc.c: Likewise.
13446 * benchtests/bench-strchr-ifunc.c: Likewise.
13447 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13448 * benchtests/bench-strcmp-ifunc.c: Likewise.
13449 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13450 * benchtests/bench-strcpy-ifunc.c: Likewise.
13451 * benchtests/bench-strcspn-ifunc.c: Likewise.
13452 * benchtests/bench-strlen-ifunc.c: Likewise.
13453 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13454 * benchtests/bench-strncat-ifunc.c: Likewise.
13455 * benchtests/bench-strncmp-ifunc.c: Likewise.
13456 * benchtests/bench-strncpy-ifunc.c: Likewise.
13457 * benchtests/bench-strnlen-ifunc.c: Likewise.
13458 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13459 * benchtests/bench-strrchr-ifunc.c: Likewise.
13460 * benchtests/bench-strsep-ifunc.c: Likewise.
13461 * benchtests/bench-strspn-ifunc.c: Likewise.
13462 * benchtests/bench-strstr-ifunc.c: Likewise.
13464 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13466 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13468 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13470 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13471 * rt/aio.h: Likewise.
13472 * sysdeps/gnu/bits/utmp.h: Likewise.
13473 * sysdeps/gnu/bits/utmpx.h: Likewise.
13474 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13475 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13476 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13477 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13478 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13479 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13480 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13481 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13482 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13483 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13484 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13485 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13486 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13488 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13489 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13490 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13491 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13492 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13493 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13494 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13495 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13496 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13497 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13498 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13500 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13501 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13502 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13503 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13504 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13505 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13506 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13507 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13508 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13509 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13510 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13511 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13512 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13513 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13514 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13515 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13517 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13520 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13521 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13523 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13525 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13526 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13529 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13531 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13532 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13533 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13534 (__fesetround): Remove define.
13535 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13536 rounding and exceptions handling.
13537 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13538 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13539 (__fe_nomask_env): Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13541 __fegetround instead of fegetround.
13542 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13545 2013-11-21 Roland McGrath <roland@hack.frob.com>
13547 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13550 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13552 2013-11-21 Meador Inge <meadori@codesourcery.com>
13555 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13556 (encrypt_r): Likewise.
13557 * malloc/obstack.h (obstack_free): Likewise.
13558 * posix/unistd.h (encrypt): Likewise.
13560 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13562 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13563 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13564 DL_CALL_DT_FINI() that call the functions directly.
13565 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13566 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13567 * elf/dl-fini.c: Likewise.
13569 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13571 * malloc/hooks.c (memalign_check): Add alignment rounding.
13572 * malloc/malloc.c (_mid_memalign): New function.
13573 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13574 Implement by calling _mid_memalign.
13575 * manual/probes.texi (Memory Allocation Probes): Remove
13576 memory_valloc_retry and memory_pvalloc_retry.
13578 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13580 * locale/programs/locarchive.c (open_archive): Add const
13581 qualifier to ARCHIVEFNAME and copy default fname to
13585 * libio/tst-widetext.input: Rename Oriya to Odia.
13586 * locale/iso-639.def: Likewise.
13588 * manual/probes.texi (Mathematical Function Probes): Add
13589 documentation for sin, cos, asin and acos probes.
13590 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13591 (__sin32): Add slowasin probe.
13592 (__cos32): Add slowacos probe.
13593 (__mpsin): Add slowsin probe.
13594 (__mpcos): Add slowcos probe.
13596 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13599 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13600 thread-local __sim_exceptions_thread and global
13601 __sim_exceptions_global.
13602 (__sim_disabled_exceptions): Change to thread-local
13603 __sim_disabled_exceptions_thread and global
13604 __sim_disabled_exceptions_global.
13605 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13606 and global __sim_round_mode_global.
13607 (__simulate_exceptions): Use thread-local floating-point state and
13608 set global state from it as needed.
13609 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13610 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13611 __sim_round_mode_thread.
13612 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13613 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13614 and global __sim_exceptions_global.
13615 (__sim_disabled_exceptions): Change to thread-local
13616 __sim_disabled_exceptions_thread and global
13617 __sim_disabled_exceptions_global.
13618 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13619 and global __sim_round_mode_global.
13620 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13621 (SIM_SET_GLOBAL): Likewise.
13622 * sysdeps/powerpc/soft-fp/sfp-machine.h
13623 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13624 __sim_round_mode_thread.
13625 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13626 __sim_disabled_exceptions_thread.
13627 (__sim_exceptions): Change to __sim_exceptions_thread.
13628 (__sim_disabled_exceptions): Change to
13629 __sim_disabled_exceptions_thread.
13630 (__sim_round_mode): Change to __sim_round_mode_thread.
13631 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13632 thread-local floating-point state and set global state from it as
13634 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13635 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13636 (__sim_disabled_exceptions): Remove extern declaration.
13637 (feenableexcept): Use thread-local floating-point state and set
13638 global state from it as needed.
13639 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13640 extern declaration.
13641 (__sim_disabled_exceptions): Likewise.
13642 (__sim_round_mode): Likewise.
13643 (__fegetenv): Use thread-local floating-point state.
13644 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13645 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13646 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13647 floating-point state and set global state from it as needed.
13648 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13649 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13650 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13652 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13653 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13655 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13656 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13657 Use __sim_round_mode_thread.
13658 * math/test-fenv-tls.c: New file.
13659 * math/Makefile (tests): Add test-fenv-tls.
13660 ($(objpfx)test-fenv-tls): Depend on
13661 $(common-objpfx)nptl/libpthread.so.
13663 2013-11-19 Andreas Schwab <schwab@suse.de>
13665 * locale/programs/locale.c (show_info): Decode wordarray elements.
13666 * locale/categories.def (LC_MONETARY): Add element for
13667 _NL_MONETARY_CRNCYSTR.
13668 * locale/C-monetary.c (conversion_rate): New variable.
13669 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13672 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13674 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13675 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13677 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13679 * elf/Makefile (tst-auxv): New test.
13680 * elf/tst-auxv.c: New
13681 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13683 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13685 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13686 (hidden_proto): Caller changed.
13687 (hidden_tls_proto): New macro.
13688 (libc_hidden_tls_proto): Likewise.
13689 (rtld_hidden_tls_proto): Likewise.
13690 (libm_hidden_tls_proto): Likewise.
13691 (libresolv_hidden_tls_proto): Likewise.
13692 (librt_hidden_tls_proto): Likewise.
13693 (libdl_hidden_tls_proto): Likewise.
13694 (libnss_files_hidden_tls_proto): Likewise.
13695 (libnsl_hidden_tls_proto): Likewise.
13696 (libnss_nisplus_hidden_tls_proto): Likewise.
13697 (libutil_hidden_tls_proto): Likewise.
13699 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13702 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13703 (decompose_rpath): Defer expansion to fillin_rpath.
13704 (_dl_init_paths): Pass linkmap to fillin_rpath.
13706 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13708 * benchtests/Makefile: Add strsep.
13709 * benchtests/bench-strsep.c: New file: strsep benchtest.
13710 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13712 2013-11-18 Andreas Schwab <schwab@suse.de>
13714 * locale/programs/locale.c (show_info) [case byte]: Check for
13715 '\377' instead of '\177'.
13716 * locale/C-monetary.c (not_available): Always use "\377".
13717 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13718 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13719 detect unavailable sign_posn locale elements.
13720 * locale/localeconv.c (__localeconv): For grouping and
13721 mon_grouping handle "\177" and "\377" like no grouping.
13722 (INT_ELEM): New macro. Use it to set all numeric members.
13723 * locale/programs/ld-monetary.c (monetary_read)
13724 <tok_mon_grouping>: Normalize single -1 to the empty string.
13725 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13728 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13731 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13732 when we match (nil).
13733 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13735 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13737 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13738 (NO_TEST_INLINE): Update value.
13739 (ERRNO_UNCHANGED): Likewise.
13740 (ERRNO_EDOM): Likewise.
13741 (ERRNO_ERANGE): Likewise.
13742 (IGNORE_RESULT): Likewise.
13743 (check_float_internal): Check signs of NaN results if
13744 TEST_NAN_SIGN used.
13745 (check_complex): Pass TEST_NAN_SIGN flag through to second
13746 check_float_internal call.
13747 (copysign_test_data): Add tests with quiet NaNs as second
13748 argument. Use TEST_NAN_SIGN.
13749 (fabs_test_data): Add test of negative quiet NaN argument. Use
13751 (signbit_test_data): Add tests of quiet NaN argument.
13752 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13754 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13756 (parse_args): Handle function results specified as IGNORE.
13757 * math/libm-test.inc (IGNORE_RESULT): New macro.
13758 (check_float_internal): Do not check numerical result if flag
13760 (check_complex): Pass through IGNORE_RESULT to second
13761 check_float_internal call.
13762 (check_int): Do not check numerical result if flag IGNORE_RESULT
13764 (check_long): Likewise.
13765 (check_bool): Likewise.
13766 (check_longlong): Likewise.
13767 (lrint_test_data): Add tests of infinite and NaN arguments.
13768 (lrint_tonearest_test_data): Likewise.
13769 (lrint_towardzero_test_data): Likewise.
13770 (lrint_downward_test_data): Likewise.
13771 (lrint_upward_test_data): Likewise.
13772 (llrint_test_data): Likewise.
13773 (llrint_tonearest_test_data): Likewise.
13774 (llrint_towardzero_test_data): Likewise.
13775 (llrint_downward_test_data): Likewise.
13776 (llrint_upward_test_data): Likewise.
13777 (lround_test_data): Likewise.
13778 (llround_test_data): Likewise.
13780 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13781 (ERRNO_UNCHANGED): Update value.
13782 (ERRNO_EDOM): Likewise.
13783 (ERRNO_ERANGE): Likewise.
13784 (NO_TEST_INLINE_FLOAT): New macro.
13785 (NO_TEST_INLINE_DOUBLE): Likewise.
13786 (enable_test): New function.
13787 (RUN_TEST_f_f): Check enable_test before running test.
13788 (RUN_TEST_2_f): Likewise.
13789 (RUN_TEST_fff_f): Likewise.
13790 (RUN_TEST_c_f): Likewise.
13791 (RUN_TEST_f_f1): Likewise.
13792 (RUN_TEST_fF_f1): Likewise.
13793 (RUN_TEST_fI_f1): Likewise.
13794 (RUN_TEST_ffI_f1): Likewise.
13795 (RUN_TEST_c_c): Likewise.
13796 (RUN_TEST_cc_c): Likewise.
13797 (RUN_TEST_f_i): Likewise.
13798 (RUN_TEST_f_i_tg): Likewise.
13799 (RUN_TEST_ff_i_tg): Likewise.
13800 (RUN_TEST_f_b): Likewise.
13801 (RUN_TEST_f_b_tg): Likewise.
13802 (RUN_TEST_f_l): Likewise.
13803 (RUN_TEST_f_L): Likewise.
13804 (RUN_TEST_fFF_11): Likewise.
13805 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13807 (cosh_test_data): Likewise.
13808 (exp_test_data): Likewise.
13809 (expm1_test_data): Likewise.
13810 (hypot_test_data): Likewise.
13811 (pow_test_data): Likewise.
13812 (sinh_test_data): Likewise.
13813 (tanh_test_data): Likewise.
13814 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13817 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13818 tests with quiet NaN input and output.
13819 (acosh_test_data): Likewise.
13820 (asin_test_data): Likewise.
13821 (asinh_test_data): Likewise.
13822 (atan_test_data): Likewise.
13823 (atanh_test_data): Likewise.
13824 (atan2_test_data): Likewise.
13825 (cbrt_test_data): Likewise.
13826 (cos_test_data): Likewise.
13827 (cosh_test_data): Likewise.
13828 (erf_test_data): Likewise.
13829 (erfc_test_data): Likewise.
13830 (exp_test_data): Likewise.
13831 (exp10_test_data): Likewise.
13832 (exp2_test_data): Likewise.
13833 (expm1_test_data): Likewise.
13834 (hypot_test_data): Likewise.
13835 (j0_test_data): Likewise.
13836 (j1_test_data): Likewise.
13837 (jn_test_data): Likewise.
13838 (lgamma_test_data): Likewise.
13839 (log_test_data): Likewise.
13840 (log10_test_data): Likewise.
13841 (log1p_test_data): Likewise.
13842 (log2_test_data): Likewise.
13843 (pow_test_data): Likewise.
13844 (scalb_test_data): Likewise.
13845 (sin_test_data): Likewise.
13846 (sincos_test_data): Likewise.
13847 (sinh_test_data): Likewise.
13848 (tan_test_data): Likewise.
13849 (tanh_test_data): Likewise.
13850 (tgamma_test_data): Likewise.
13851 (y0_test_data): Likewise.
13852 (y1_test_data): Likewise.
13853 (yn_test_data): Likewise.
13856 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13857 argument being NaN and avoid computations with second argument in
13859 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13860 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13861 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13863 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13865 * locale/iso-639.def: Add Chitwani Tharu (the).
13867 2013-11-14 Andreas Schwab <schwab@suse.de>
13869 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13870 word instead of empty string.
13872 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13875 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13877 (__fe_nomask_env): Likewise.
13879 2013-11-13 Steve Ellcey <sellcey@mips.com>
13881 * benchtests/bench-timing.h: Include time.h.
13883 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13886 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13888 * sysdeps/unix/sysv/linux/configure: Regenerated.
13890 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13893 * stdlib/strtod_l.c (round_and_return): Do not consider
13894 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13895 exponent one less than half the least subnormal exponent.
13896 * stdlib/test-strtod-round-data: Add more tests.
13897 * stdlib/tst-strtod-round.c (tests): Regenerated.
13899 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13902 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13903 (__fe_mask_env): Likewise.
13904 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13905 libm_hidden_proto and add function prototype.
13906 (__fe_mask_env): Add function prototype.
13907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13908 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13910 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13912 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13914 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13916 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13917 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13919 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13921 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13922 of htab_find_slot().
13924 2013-11-11 David S. Miller <davem@davemloft.net>
13927 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13928 symbol in the non-vis3 case in static builds.
13929 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13930 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13931 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13932 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13934 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13937 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13940 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13942 * benchtests/Makefile: Add bench-strtod.
13943 * benchtests/bench-strtod.c: New file: strtod benchtest
13945 2013-11-11 Andreas Schwab <schwab@suse.de>
13948 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13949 terminating NUL in key length.
13951 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13953 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13954 Add artificial ODP entry for vDSO symbol for PPC64.
13955 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13956 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13958 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13961 * nss/getent.c (services_keys): Recognize services starting with digit.
13963 2013-11-06 David S. Miller <davem@davemloft.net>
13966 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13967 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13969 2013-11-06 Will Newton <will.newton@linaro.org>
13971 * manual/memory.texi (Malloc Examples): Remove register
13972 keyword from examples.
13974 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13976 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13978 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13981 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13982 depending on [__GCC_IEC_559 > 0].
13983 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13984 depending on [__GCC_IEC_559_COMPLEX > 0].
13986 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13988 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13991 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13993 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13995 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13998 * malloc/malloc (malloc_info): Do not handle first bin as
14001 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14003 * locale/iso-639.def: Add Central Nahuatl (nhn).
14005 2013-11-01 Bruno Haible <bruno@clisp.org>
14008 * manual/math.texi (BSD Random): Specify range upper bound as
14011 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14013 * locale/iso-639.def: Add Meadow Mari (mhr).
14015 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14017 [BZ #14752], [BZ #15763]
14018 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14020 * rt/tst_shm.c: Add test for escaping directory.
14022 2013-10-31 Andreas Schwab <schwab@suse.de>
14025 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14026 followed by 'x' as part of digit sequence.
14027 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14029 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14032 * configure.ac: allow GNU Make 4.0 and greater.
14033 * configure: Regenerated.
14035 2013-10-30 Will Newton <will.newton@linaro.org>
14038 * malloc/hooks.c (memalign_check): Limit alignment to the
14039 maximum representable power of two.
14040 * malloc/malloc.c (__libc_memalign): Likewise.
14041 * malloc/tst-memalign.c (do_test): Add test for very
14042 large alignment values.
14043 * malloc/tst-posix_memalign.c (do_test): Likewise.
14045 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14048 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14049 (munmap_chunk): Likewise.
14050 (mremap_chunk): Likewise.
14052 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14055 * stdlib/div.c (div): Remove obsolete code.
14056 * stdlib/ldiv.c (ldiv): Likewise.
14057 * stdlib/lldiv.c (lldiv): Likewise.
14059 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14062 * nss/nss_files/files-XXX.c (get_contents_ret): New
14064 (get_contents): New function.
14065 (internal_getent): Use it. Expand size of LINEBUFLEN.
14067 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14069 * configure.in: Moved to ...
14070 * configure.ac: ... here. Change reference to configure.in
14072 * sysdeps/arm/preconfigure.ac: ... here.
14073 configure.in to configure.ac.
14074 * sysdeps/gnu/configure.in: Moved to ...
14075 * sysdeps/gnu/configure.ac: ... here.
14076 * sysdeps/i386/configure.in: Moved to ...
14077 * sysdeps/i386/configure.ac: ... here.
14078 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14079 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14080 * sysdeps/mach/configure.in: Moved to ...
14081 * sysdeps/mach/configure.ac: ... here.
14082 * sysdeps/mach/hurd/configure.in: Moved to ...
14083 * sysdeps/mach/hurd/configure.ac: ... here.
14084 * sysdeps/powerpc/configure.in: Moved to ...
14085 * sysdeps/powerpc/configure.ac: ... here.
14086 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14087 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14088 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14089 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14090 * sysdeps/s390/s390-32/configure.in: Moved to ...
14091 * sysdeps/s390/s390-32/configure.ac: ... here.
14092 * sysdeps/s390/s390-64/configure.in: Moved to ...
14093 * sysdeps/s390/s390-64/configure.ac: ... here.
14094 * sysdeps/sh/configure.in: Moved to ...
14095 * sysdeps/sh/configure.ac: ... here.
14096 * sysdeps/sparc/configure.in: Moved to ...
14097 * sysdeps/sparc/configure.ac: ... here.
14098 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14099 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14100 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14101 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14102 * sysdeps/x86_64/configure.in: Moved to ...
14103 * sysdeps/x86_64/configure.ac: ... here.
14104 * sysdeps/x86_64/preconfigure.in: Moved to ...
14105 * sysdeps/x86_64/preconfigure.ac: ... here.
14106 * aclocal.m4: Change reference to configure.in to configure.ac.
14107 * config.h.in: Likewise.
14108 * manual/install.texi: Likewise.
14109 * manual/maint.texi: Likewise.
14110 * Makefile: Likewise.
14111 * malloc/Makefile: Likewise.
14112 * nscd/Makefile: Likewise.
14113 * Makeconfig: Change reference to configure.in and
14114 preconfigure.in to configure.ac and preconfigure.ac
14116 * INSTALL: Regenerated.
14117 * configure: Likewise.
14118 * sysdeps/gnu/configure: Likewise.
14119 * sysdeps/i386/configure: Likewise.
14120 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14121 * sysdeps/mach/configure: Likewise.
14122 * sysdeps/mach/hurd/configure: Likewise.
14123 * sysdeps/powerpc/configure: Likewise.
14124 * sysdeps/powerpc/powerpc32/configure: Likewise.
14125 * sysdeps/powerpc/powerpc64/configure: Likewise.
14126 * sysdeps/s390/s390-32/configure: Likewise.
14127 * sysdeps/s390/s390-64/configure: Likewise.
14128 * sysdeps/sh/configure: Likewise.
14129 * sysdeps/sparc/configure: Likewise.
14130 * sysdeps/unix/sysv/linux/configure: Likewise.
14131 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14132 * sysdeps/x86_64/configure: Likewise.
14133 * sysdeps/x86_64/preconfigure: Likewise.
14135 2013-10-29 Andreas Schwab <schwab@suse.de>
14137 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14139 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14141 * benchtests/pow-inputs: Add new inputs.
14143 * benchtests/exp-inputs: Add new inputs.
14145 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14146 conditional check for return value.
14147 (__cos32): Likewise.
14149 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14151 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14152 to provide a boost for large inputs with word alignment.
14153 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14154 implementation based on optimized PPC64 strcpy.
14155 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14156 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14157 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14158 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14160 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14163 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14165 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14168 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14169 * time/tst-strptime.c (day_tests): Add testcase.
14171 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14174 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14176 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14179 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14180 MAP_FAILED on error.
14182 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14185 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14186 heap for large requests.
14188 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14191 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14192 result if the result has no associated interface.
14193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14194 interface for all 127.X.Y.Z addresses.
14196 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14198 * locale/iso-639.def: Add Ligurian (lij)
14200 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14203 * sunrpc/rpc_main.c: Document rpcgen -5.
14205 2013-10-19 Michael Stahl <mstahl@redhat.com>
14207 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14209 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14212 * posix/glob.c: Match only directories when trailing slash is present.
14213 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14214 (main): Add testcase.
14216 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14219 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14221 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14223 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14224 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14225 AUTH_DES and cindex for FIPS 140-2.
14226 (DES Encryption): Add cindex FIPS 46-3.
14228 * locale/locarchive.h (struct locarhandle): Add fname.
14229 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14230 if an optional argument was specified to --list-archive,
14232 * locale/programs/locarchive.c (show_archive_content): Take new
14233 argument fname and pass it via ah.fname to open_archive.
14234 * locale/programs/localedef.h: Update decl.
14235 (open_archive): If AH->fname is non-null, open that file
14236 rather than the default file name, and don't ignore ENOENT.
14237 (create_archive): Set AH.fname to NULL.
14238 (delete_locales_from_archive): Likewise.
14239 (add_locales_to_archive): Likewise.
14240 * locale/programs/locfile.c (write_all_categories): Likewise.
14242 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14243 Aldy Hernandez <aldyh@redhat.com>
14245 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14246 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14247 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14248 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14249 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14250 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14251 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14252 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14253 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14254 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14255 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14256 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14257 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14258 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14259 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14261 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14263 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14265 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14267 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14268 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14270 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14271 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14272 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14273 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14275 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14276 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14277 * sysdeps/powerpc/preconfigure: Likewise.
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14280 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14281 Replace contents of file by #include of <fenv_libc.h>.
14282 * sysdeps/powerpc/soft-fp/sfp-machine.h
14283 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14285 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14286 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14287 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14288 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14289 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14290 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14292 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14293 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14294 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14295 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14296 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14298 Allow copysignl PLT reference to be missing.
14300 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14301 Joseph Myers <joseph@codesourcery.com
14304 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14306 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14308 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14310 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14311 * elf/tst-tls1.c: Likewise.
14312 * elf/tst-tls10.h: Likewise.
14313 * elf/tst-tls14.c: Likewise.
14314 * elf/tst-tls2.c: Likewise.
14315 * elf/tst-tls3.c: Likewise.
14316 * elf/tst-tls4.c: Likewise.
14317 * elf/tst-tls5.c: Likewise.
14318 * elf/tst-tls6.c: Likewise.
14319 * elf/tst-tls7.c: Likewise.
14320 * elf/tst-tls8.c: Likewise.
14321 * elf/tst-tls9.c: Likewise.
14322 * elf/tst-tlsmod1.c: Likewise.
14323 * elf/tst-tlsmod13.c: Likewise.
14324 * elf/tst-tlsmod13a.c: Likewise.
14325 * elf/tst-tlsmod14a.c: Likewise.
14326 * elf/tst-tlsmod16a.c: Likewise.
14327 * elf/tst-tlsmod16b.c: Likewise.
14328 * elf/tst-tlsmod2.c: Likewise.
14329 * elf/tst-tlsmod3.c: Likewise.
14330 * elf/tst-tlsmod4.c: Likewise.
14331 * elf/tst-tlsmod5.c: Likewise.
14332 * elf/tst-tlsmod6.c: Likewise.
14334 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14337 * malloc/malloc.c: remove checks for statistics.
14339 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14342 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14343 * inet/tst-network.c: Add testcase.
14345 2013-10-17 Andreas Schwab <schwab@suse.de>
14348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14349 to determine canonical name.
14351 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14353 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14354 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14356 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14359 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14360 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14361 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14362 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14363 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14364 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14365 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14366 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14367 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14368 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14369 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14370 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14371 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14372 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14373 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14374 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14376 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14377 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14378 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14379 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14380 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14381 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14382 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14383 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14385 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14386 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14387 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14388 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14390 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14391 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14393 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14394 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14395 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14397 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14398 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14399 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14401 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14403 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14404 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14405 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14406 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14407 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14408 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14409 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14410 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14412 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14415 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14416 make result into a quiet NaN.
14418 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14420 * soft-fp/adddf3.c: Fix horizontal whitespace.
14421 * soft-fp/addsf3.c: Likewise.
14422 * soft-fp/addtf3.c: Likewise.
14423 * soft-fp/divdf3.c: Likewise.
14424 * soft-fp/divsf3.c: Likewise.
14425 * soft-fp/divtf3.c: Likewise.
14426 * soft-fp/double.h: Likewise.
14427 * soft-fp/eqdf2.c: Likewise.
14428 * soft-fp/eqsf2.c: Likewise.
14429 * soft-fp/eqtf2.c: Likewise.
14430 * soft-fp/extenddftf2.c: Likewise.
14431 * soft-fp/extended.h: Likewise.
14432 * soft-fp/extendsfdf2.c: Likewise.
14433 * soft-fp/extendsftf2.c: Likewise.
14434 * soft-fp/extendxftf2.c: Likewise.
14435 * soft-fp/fixdfdi.c: Likewise.
14436 * soft-fp/fixdfsi.c: Likewise.
14437 * soft-fp/fixdfti.c: Likewise.
14438 * soft-fp/fixsfdi.c: Likewise.
14439 * soft-fp/fixsfsi.c: Likewise.
14440 * soft-fp/fixsfti.c: Likewise.
14441 * soft-fp/fixtfdi.c: Likewise.
14442 * soft-fp/fixtfsi.c: Likewise.
14443 * soft-fp/fixtfti.c: Likewise.
14444 * soft-fp/fixunsdfdi.c: Likewise.
14445 * soft-fp/fixunsdfsi.c: Likewise.
14446 * soft-fp/fixunsdfti.c: Likewise.
14447 * soft-fp/fixunssfdi.c: Likewise.
14448 * soft-fp/fixunssfsi.c: Likewise.
14449 * soft-fp/fixunssfti.c: Likewise.
14450 * soft-fp/fixunstfdi.c: Likewise.
14451 * soft-fp/fixunstfsi.c: Likewise.
14452 * soft-fp/fixunstfti.c: Likewise.
14453 * soft-fp/floatdidf.c: Likewise.
14454 * soft-fp/floatdisf.c: Likewise.
14455 * soft-fp/floatditf.c: Likewise.
14456 * soft-fp/floatsidf.c: Likewise.
14457 * soft-fp/floatsisf.c: Likewise.
14458 * soft-fp/floatsitf.c: Likewise.
14459 * soft-fp/floattidf.c: Likewise.
14460 * soft-fp/floattisf.c: Likewise.
14461 * soft-fp/floattitf.c: Likewise.
14462 * soft-fp/floatundidf.c: Likewise.
14463 * soft-fp/floatundisf.c: Likewise.
14464 * soft-fp/floatunditf.c: Likewise.
14465 * soft-fp/floatunsidf.c: Likewise.
14466 * soft-fp/floatunsisf.c: Likewise.
14467 * soft-fp/floatunsitf.c: Likewise.
14468 * soft-fp/floatuntidf.c: Likewise.
14469 * soft-fp/floatuntisf.c: Likewise.
14470 * soft-fp/floatuntitf.c: Likewise.
14471 * soft-fp/fmadf4.c: Likewise.
14472 * soft-fp/fmasf4.c: Likewise.
14473 * soft-fp/fmatf4.c: Likewise.
14474 * soft-fp/gedf2.c: Likewise.
14475 * soft-fp/gesf2.c: Likewise.
14476 * soft-fp/getf2.c: Likewise.
14477 * soft-fp/ledf2.c: Likewise.
14478 * soft-fp/lesf2.c: Likewise.
14479 * soft-fp/letf2.c: Likewise.
14480 * soft-fp/muldf3.c: Likewise.
14481 * soft-fp/mulsf3.c: Likewise.
14482 * soft-fp/multf3.c: Likewise.
14483 * soft-fp/negdf2.c: Likewise.
14484 * soft-fp/negsf2.c: Likewise.
14485 * soft-fp/negtf2.c: Likewise.
14486 * soft-fp/op-1.h: Likewise.
14487 * soft-fp/op-2.h: Likewise.
14488 * soft-fp/op-4.h: Likewise.
14489 * soft-fp/op-8.h: Likewise.
14490 * soft-fp/op-common.h: Likewise.
14491 * soft-fp/quad.h: Likewise.
14492 * soft-fp/single.h: Likewise.
14493 * soft-fp/soft-fp.h: Likewise.
14494 * soft-fp/sqrtdf2.c: Likewise.
14495 * soft-fp/sqrtsf2.c: Likewise.
14496 * soft-fp/sqrttf2.c: Likewise.
14497 * soft-fp/subdf3.c: Likewise.
14498 * soft-fp/subsf3.c: Likewise.
14499 * soft-fp/subtf3.c: Likewise.
14500 * soft-fp/truncdfsf2.c: Likewise.
14501 * soft-fp/trunctfdf2.c: Likewise.
14502 * soft-fp/trunctfsf2.c: Likewise.
14503 * soft-fp/trunctfxf2.c: Likewise.
14504 * soft-fp/unorddf2.c: Likewise.
14505 * soft-fp/unordsf2.c: Likewise.
14506 * soft-fp/unordtf2.c: Likewise.
14508 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14510 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14511 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14513 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14515 * elf/dl-libc.c: Clear initfini list after freeing.
14517 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14519 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14520 * soft-fp/addsf3.c: Likewise.
14521 * soft-fp/addtf3.c: Likewise.
14522 * soft-fp/divdf3.c: Likewise.
14523 * soft-fp/divsf3.c: Likewise.
14524 * soft-fp/divtf3.c: Likewise.
14525 * soft-fp/double.h: Likewise.
14526 * soft-fp/eqdf2.c: Likewise.
14527 * soft-fp/eqsf2.c: Likewise.
14528 * soft-fp/eqtf2.c: Likewise.
14529 * soft-fp/extenddftf2.c: Likewise.
14530 * soft-fp/extended.h: Likewise.
14531 * soft-fp/extendsfdf2.c: Likewise.
14532 * soft-fp/extendsftf2.c: Likewise.
14533 * soft-fp/extendxftf2.c: Likewise.
14534 * soft-fp/fixdfdi.c: Likewise.
14535 * soft-fp/fixdfsi.c: Likewise.
14536 * soft-fp/fixdfti.c: Likewise.
14537 * soft-fp/fixsfdi.c: Likewise.
14538 * soft-fp/fixsfsi.c: Likewise.
14539 * soft-fp/fixsfti.c: Likewise.
14540 * soft-fp/fixtfdi.c: Likewise.
14541 * soft-fp/fixtfsi.c: Likewise.
14542 * soft-fp/fixtfti.c: Likewise.
14543 * soft-fp/fixunsdfdi.c: Likewise.
14544 * soft-fp/fixunsdfsi.c: Likewise.
14545 * soft-fp/fixunsdfti.c: Likewise.
14546 * soft-fp/fixunssfdi.c: Likewise.
14547 * soft-fp/fixunssfsi.c: Likewise.
14548 * soft-fp/fixunssfti.c: Likewise.
14549 * soft-fp/fixunstfdi.c: Likewise.
14550 * soft-fp/fixunstfsi.c: Likewise.
14551 * soft-fp/fixunstfti.c: Likewise.
14552 * soft-fp/floatdidf.c: Likewise.
14553 * soft-fp/floatdisf.c: Likewise.
14554 * soft-fp/floatditf.c: Likewise.
14555 * soft-fp/floatsidf.c: Likewise.
14556 * soft-fp/floatsisf.c: Likewise.
14557 * soft-fp/floatsitf.c: Likewise.
14558 * soft-fp/floattidf.c: Likewise.
14559 * soft-fp/floattisf.c: Likewise.
14560 * soft-fp/floattitf.c: Likewise.
14561 * soft-fp/floatundidf.c: Likewise.
14562 * soft-fp/floatundisf.c: Likewise.
14563 * soft-fp/floatunsidf.c: Likewise.
14564 * soft-fp/floatunsisf.c: Likewise.
14565 * soft-fp/floatuntidf.c: Likewise.
14566 * soft-fp/floatuntisf.c: Likewise.
14567 * soft-fp/floatuntitf.c: Likewise.
14568 * soft-fp/fmadf4.c: Likewise.
14569 * soft-fp/fmasf4.c: Likewise.
14570 * soft-fp/fmatf4.c: Likewise.
14571 * soft-fp/gedf2.c: Likewise.
14572 * soft-fp/gesf2.c: Likewise.
14573 * soft-fp/getf2.c: Likewise.
14574 * soft-fp/ledf2.c: Likewise.
14575 * soft-fp/lesf2.c: Likewise.
14576 * soft-fp/letf2.c: Likewise.
14577 * soft-fp/muldf3.c: Likewise.
14578 * soft-fp/mulsf3.c: Likewise.
14579 * soft-fp/multf3.c: Likewise.
14580 * soft-fp/negdf2.c: Likewise.
14581 * soft-fp/negsf2.c: Likewise.
14582 * soft-fp/negtf2.c: Likewise.
14583 * soft-fp/op-1.h: Likewise.
14584 * soft-fp/op-2.h: Likewise.
14585 * soft-fp/op-4.h: Likewise.
14586 * soft-fp/op-8.h: Likewise.
14587 * soft-fp/op-common.h: Likewise.
14588 * soft-fp/quad.h: Likewise.
14589 * soft-fp/single.h: Likewise.
14590 * soft-fp/soft-fp.h: Likewise.
14591 * soft-fp/sqrtdf2.c: Likewise.
14592 * soft-fp/sqrtsf2.c: Likewise.
14593 * soft-fp/sqrttf2.c: Likewise.
14594 * soft-fp/subdf3.c: Likewise.
14595 * soft-fp/subsf3.c: Likewise.
14596 * soft-fp/subtf3.c: Likewise.
14597 * soft-fp/truncdfsf2.c: Likewise.
14598 * soft-fp/trunctfdf2.c: Likewise.
14599 * soft-fp/trunctfsf2.c: Likewise.
14600 * soft-fp/trunctfxf2.c: Likewise.
14601 * soft-fp/unorddf2.c: Likewise.
14602 * soft-fp/unordsf2.c: Likewise.
14603 * soft-fp/unordtf2.c: Likewise.
14605 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14608 * misc/error.c (error_tail): Fix possible buffer overflow.
14610 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14613 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14616 2013-10-14 P. J. McDermott <pj@pehjota.net>
14619 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14620 testing pipefail option.
14622 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14624 * soft-fp/double.h: Indent preprocessor directives inside #if.
14625 * soft-fp/extended.h: Likewise.
14626 * soft-fp/op-2.h: Likewise.
14627 * soft-fp/op-4.h: Likewise.
14628 * soft-fp/op-common.h: Likewise.
14629 * soft-fp/quad.h: Likewise.
14630 * soft-fp/single.h: Likewise.
14631 * soft-fp/soft-fp.h: Likewise.
14633 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14635 * iconv/iconv_prog.c: Fix typos.
14636 * stdio-common/psiginfo-data.h: Likewise.
14638 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14641 * locale/setlocale.c: Fix typo.
14643 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14646 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14647 signaling NaN arguments.
14648 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14649 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14652 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14653 unordered operands.
14654 * soft-fp/gesf2.c (__gesf2): Likewise.
14655 * soft-fp/getf2.c (__getf2): Likewise.
14656 * soft-fp/ledf2.c (__ledf2): Likewise.
14657 * soft-fp/lesf2.c (__lesf2): Likewise.
14658 * soft-fp/letf2.c (__letf2): Likewise.
14660 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14661 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14662 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14663 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14664 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14665 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14666 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14667 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14668 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14669 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14670 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14671 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14672 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14673 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14674 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14675 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14676 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14677 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14678 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14679 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14680 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14681 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14682 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14683 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14684 * soft-fp/floattidf.c (__floattidf): Likewise.
14685 * soft-fp/floattisf.c (__floattisf): Likewise.
14686 * soft-fp/floattitf.c (__floattitf): Likewise.
14687 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14688 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14689 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14690 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14691 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14692 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14693 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14694 * soft-fp/gesf2.c (__gesf2): Likewise.
14695 * soft-fp/getf2.c (__getf2): Likewise.
14696 * soft-fp/ledf2.c (__ledf2): Likewise.
14697 * soft-fp/lesf2.c (__lesf2): Likewise.
14698 * soft-fp/letf2.c (__letf2): Likewise.
14700 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14701 Undefine and redefine.
14702 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14703 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14704 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14705 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14706 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14707 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14708 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14709 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14710 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14711 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14712 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14713 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14714 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14715 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14716 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14719 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14720 without decrementing exponent if mantissa >= that for the
14721 denominator, not >.
14722 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14723 denominator, not >. Decrement exponent in < case instead of
14724 incrementing in >= case.
14725 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14726 without decrementing exponent if mantissa >= that for the
14727 denominator, not >.
14729 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14730 computing saturated result for unsigned overflow.
14732 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14733 Jeff Law <law@redhat.com>
14735 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14736 (atan2Mp): Add systemtap probe marker.
14737 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14738 (__ieee754_log): Add systemtap probe marker.
14739 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14740 (atanMp): Add systemtap probe marker.
14741 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14742 (tanMp): Add systemtap probe marker.
14743 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14744 (__slowexp): Add systemtap probe marker.
14745 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14746 (__slowpow): Add systemtap probe marker.
14747 * manual/probes.texi: Document probes.
14749 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14752 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14754 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14756 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14757 written to buffer but not flushed.
14758 * libio/iofwrite_u.c: Likewise.
14759 * libio/iopadn.c: Return bytes returned even if EOF was
14761 * libio/iowpadn.c: Likewise.
14762 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14763 if _IO_padn does not write the whole buffer.
14764 [!COMPILE_WPRINTF] (PAD): Likewise.
14766 2013-10-10 David S. Miller <davem@davemloft.net>
14768 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14771 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14773 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14774 instead of FSF address.
14775 * soft-fp/fixdfti.c: Likewise.
14776 * soft-fp/fixsfti.c: Likewise.
14777 * soft-fp/fixtfti.c: Likewise.
14778 * soft-fp/fixunsdfti.c: Likewise.
14779 * soft-fp/fixunssfti.c: Likewise.
14780 * soft-fp/fixunstfti.c: Likewise.
14781 * soft-fp/floattidf.c: Likewise.
14782 * soft-fp/floattisf.c: Likewise.
14783 * soft-fp/floattitf.c: Likewise.
14784 * soft-fp/floatuntidf.c: Likewise.
14785 * soft-fp/floatuntisf.c: Likewise.
14786 * soft-fp/floatuntitf.c: Likewise.
14787 * soft-fp/trunctfxf2.c: Likewise.
14789 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14790 * soft-fp/fixdfti.c: Likewise.
14791 * soft-fp/fixsfti.c: Likewise.
14792 * soft-fp/fixtfti.c: Likewise.
14793 * soft-fp/fixunsdfti.c: Likewise.
14794 * soft-fp/fixunssfti.c: Likewise.
14795 * soft-fp/fixunstfti.c: Likewise.
14796 * soft-fp/floattidf.c: Likewise.
14797 * soft-fp/floattisf.c: Likewise.
14798 * soft-fp/floattitf.c: Likewise.
14799 * soft-fp/floatuntidf.c: Likewise.
14800 * soft-fp/floatuntisf.c: Likewise.
14801 * soft-fp/floatuntitf.c: Likewise.
14802 * soft-fp/trunctfxf2.c: Likewise.
14804 2013-10-10 David S. Miller <davem@davemloft.net>
14806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14808 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14810 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14811 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14812 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14813 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14814 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14815 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14816 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14819 for NaNs before doing comparisons on argument.
14820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14823 2013-10-10 Will Newton <will.newton@linaro.org>
14825 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14826 passed to _int_memalign does not overflow.
14828 2013-10-10 Torvald Riegel <triegel@redhat.com>
14830 * scripts/bench.pl: Add include-sources directive.
14831 * benchtests/README: Update documentation.
14833 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14835 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14836 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14837 instead of FP_INIT_ROUNDMODE.
14838 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14839 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14842 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14843 copy class of input value.
14844 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14845 not handle exceptions.
14846 * soft-fp/negsf2.c (__negsf2): Likewise.
14847 * soft-fp/negtf2.c (__negtf2): Likewise.
14848 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14850 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14852 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14853 semicolon. From Linux kernel.
14855 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14857 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14859 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14862 * manual/socket.texi: Added statement about buffer
14863 for gethostbyname2_r.
14865 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14867 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14868 Use .p2align directive instead, throughout.
14869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14870 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14871 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14872 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14874 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14875 * sysdeps/x86_64/strchr.S: Likewise.
14876 * sysdeps/x86_64/strrchr.S: Likewise.
14878 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14880 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14882 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14884 * sysdeps/generic/math_private.h (__mpsin1): Remove
14886 (__mpcos1): Likewise.
14887 (__mpsin): New argument __range_reduce.
14888 (__mpcos): Likewise.
14889 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14890 (slow): Use __mpsin and __mpcos.
14894 (sloww1): Likewise.
14895 (sloww2): Likewise.
14896 (bsloww): Likewise.
14897 (bsloww1): Likewise.
14898 (bsloww2): Likewise.
14899 (cslow2): Likewise.
14900 (csloww): Likewise.
14901 (csloww1): Likewise.
14902 (csloww2): Likewise.
14903 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14904 range_reduce. Merge in __mpsin1.
14905 (__mpcos): Likewise.
14906 (__mpsin1): Remove.
14907 (__mpcos1): Likewise.
14909 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14911 * locale/loadlocale.c (_nl_intern_locale_data): Use
14913 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14914 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14915 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14916 obstack data is appropriately aligned.
14917 (obstack_int32_grow_fast): Likewise.
14918 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14919 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14920 (add_locale_uint32_array): Likewise.
14922 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14924 * benchtests/Makefile: Remove ARGLIST and RET variables.
14925 ($(objpfx)bench-%.c): Pass only function name to the script.
14926 * benchtests/README: Update documentation.
14927 * benchtests/acos-inputs: Add new directives.
14928 * benchtests/acosh-inputs: Likewise.
14929 * benchtests/asin-inputs: Likewise.
14930 * benchtests/asinh-inputs: Likewise.
14931 * benchtests/atan-inputs: Likewise.
14932 * benchtests/atanh-inputs: Likewise.
14933 * benchtests/cos-inputs: Likewise.
14934 * benchtests/cosh-inputs: Likewise.
14935 * benchtests/exp-inputs: Likewise.
14936 * benchtests/log-inputs: Likewise.
14937 * benchtests/pow-inputs: Likewise.
14938 * benchtests/rint-inputs: Likewise.
14939 * benchtests/sin-inputs: Likewise.
14940 * benchtests/sinh-inputs: Likewise.
14941 * benchtests/tan-inputs: Likewise.
14942 * benchtests/tanh-inputs: Likewise.
14943 * scripts/bench.pl: Add support for new directives.
14945 2013-10-07 Alan Modra <amodra@gmail.com>
14947 * README: Fix careless merge.
14949 2013-10-05 Alan Modra <amodra@gmail.com>
14951 * NEWS: Mention powerpc64le support and bugs fixed.
14952 * README: Both big-endian and little-endian powerpc64 supported.
14954 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14956 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14957 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14958 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14959 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14961 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14963 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14966 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14968 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14969 Move -mhard-float appending from
14970 ports/sysdeps/powerpc/powerpc32/Makefile.
14971 [$(with-fp) = yes] (ASFLAGS): Likewise.
14972 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14973 * sysdeps/powerpc/nofpu: Move directory from
14974 ports/sysdeps/powerpc/nofpu.
14975 * sysdeps/powerpc/soft-fp: Move directory from
14976 ports/sysdeps/powerpc/soft-fp.
14977 * sysdeps/powerpc/powerpc32/405: Move directory from
14978 ports/sysdeps/powerpc/powerpc32/405.
14979 * sysdeps/powerpc/powerpc32/440: Move directory from
14980 ports/sysdeps/powerpc/powerpc32/440.
14981 * sysdeps/powerpc/powerpc32/464: Move directory from
14982 ports/sysdeps/powerpc/powerpc32/464.
14983 * sysdeps/powerpc/powerpc32/476: Move directory from
14984 ports/sysdeps/powerpc/powerpc32/476.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14986 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14988 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14990 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14992 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14994 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14995 * README: Update for powerpc-*-linux-gnu software floating point
14998 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14999 case to powerpc/powerpc32*.
15000 * sysdeps/unix/sysv/linux/configure: Regenerated.
15002 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15003 (_FPU_MASK_OM): Define as 0x04.
15004 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15012 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15015 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15018 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15019 and setcontext_e500.
15021 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15023 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15025 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15027 * manual/threads.texi (Default Thread Attributes): Fix typo.
15029 2013-10-04 Will Newton <will.newton@linaro.org>
15031 * malloc/Makefile: Add tst-memalign.
15032 * malloc/tst-memalign.c: New file.
15034 * malloc/tst-posix_memalign.c: Add comments.
15035 (do_test): Add comments and call free on all potentially
15036 allocated pointers. Add space after cast.
15038 * malloc/tst-pvalloc.c: Add comments.
15039 (do_test): Add comments and call free on all potentially
15040 allocated pointers. Remove duplicate check for NULL pointer.
15041 Add space after cast.
15043 * malloc/tst-valloc.c: Add comments.
15044 (do_test): Add comments and call free on all potentially
15045 allocated pointers. Remove duplicate check for NULL pointer.
15046 Add space after cast.
15048 2013-10-04 Alan Modra <amodra@gmail.com>
15050 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15051 Use stdint types in rather than __attribute__((mode())).
15052 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15054 2013-10-04 Alan Modra <amodra@gmail.com>
15056 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15057 Correct handling of unaligned relocs for little-endian.
15058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15060 2013-10-04 Alan Modra <amodra@gmail.com>
15062 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15063 * configure: Regenerate.
15064 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15065 * shlib-versions: Likewise.
15067 2013-10-04 Alan Modra <amodra@gmail.com>
15069 * string/tester.c (test_memrchr): Increment reported test cycle.
15071 2013-10-04 Alan Modra <amodra@gmail.com>
15073 * string/test-memcpy.c (do_one_test): When reporting errors, print
15074 string address and don't overrun end of string.
15076 2013-10-04 Alan Modra <amodra@gmail.com>
15078 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15079 insrdi. Make better use of reg selection to speed exit slightly.
15080 Schedule entry path a little better. Remove useless "are we done"
15081 checks on entry to main loop. Handle wrapping around zero address.
15082 Correct main loop count. Handle single left-over word from main
15083 loop inline rather than by using loop_small. Remove extra word
15084 case in loop_small caused by wrong loop count. Add little-endian
15086 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15089 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15090 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15091 support. Avoid rlwimi.
15092 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15094 2013-10-04 Alan Modra <amodra@gmail.com>
15096 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15097 insrdi. Formatting.
15098 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15099 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15100 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15101 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15102 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15103 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15105 2013-10-04 Alan Modra <amodra@gmail.com>
15107 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15108 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15109 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15110 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15111 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15112 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15113 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15114 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15115 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15116 use of regs. Use power7 mtocrf. Tidy function tails.
15118 2013-10-04 Alan Modra <amodra@gmail.com>
15120 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15121 Formatting. Consistently use rXXX register defines or rN defines.
15122 Use early exit labels that avoid restoring unused non-volatile regs.
15123 Make cr field use more consistent with rWORDn compares. Rename
15124 regs used as shift registers for unaligned loop, using rN defines
15125 for short lifetime/multiple use regs.
15126 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15127 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15128 addi 1,1,64 to pop stack frame. Simplify return value code.
15129 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15131 2013-10-04 Alan Modra <amodra@gmail.com>
15133 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15134 support. Correct typos, formatting. Optimize tail. Use insrdi
15135 rather than rlwimi.
15136 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15137 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15138 little-endian support. Correct typos.
15139 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15140 rather than rlwimi.
15141 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15142 in loop and entry code to keep "and." results.
15143 (strchr): Add little-endian support. Comment. Move cntlzd
15145 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15147 2013-10-04 Alan Modra <amodra@gmail.com>
15149 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15150 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15151 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15152 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15154 2013-10-04 Alan Modra <amodra@gmail.com>
15156 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15157 (rTMP): Define as r11.
15158 (strcmp): Add little-endian support. Optimise tail.
15159 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15160 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15161 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15162 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15165 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15167 2013-10-04 Alan Modra <amodra@gmail.com>
15169 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15170 little-endian support. Remove unnecessary "are we done" tests.
15171 Handle "s" wrapping around zero and extremely large "size".
15172 Correct main loop count. Handle single left-over word from main
15173 loop inline rather than by using small_loop. Correct comments.
15174 Delete "zero" tail, use "end_max" instead.
15175 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15177 2013-10-04 Alan Modra <amodra@gmail.com>
15179 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15180 support. Don't branch over align.
15181 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15182 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15183 support. Rearrange tmp reg use to suit. Comment.
15184 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15186 2013-10-04 Alan Modra <amodra@gmail.com>
15188 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15190 2013-10-04 Alan Modra <amodra@gmail.com>
15192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15193 conditional form of branch and link when obtaining pc.
15194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15196 2013-10-04 Alan Modra <amodra@gmail.com>
15198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15203 2013-10-04 Alan Modra <amodra@gmail.com>
15205 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15206 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15207 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15208 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15209 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15210 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15211 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15212 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15213 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15214 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15216 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15217 Alistair Popple <alistair@ozlabs.au.ibm.com>
15218 Alan Modra <amodra@gmail.com>
15221 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15222 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15223 _dl_hwcap access for little-endian.
15224 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15225 destroy vmx regs when saving unaligned.
15226 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15227 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15228 destroy vmx regs when saving unaligned.
15230 2013-10-04 Alan Modra <amodra@gmail.com>
15232 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15233 Don't use a union to pack hi/low value.
15235 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15237 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15239 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15240 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15241 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15242 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15243 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15245 2013-10-04 Alan Modra <amodra@gmail.com>
15247 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15248 constants to usual value for .cst8 section, and remove redundant
15250 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15251 constant for 0x1p52. Load little-endian words of double from
15252 correct stack offsets.
15254 2013-10-04 Alan Modra <amodra@gmail.com>
15256 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15257 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15258 words of double from correct stack offsets.
15259 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15260 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15261 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15262 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15263 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15264 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15266 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15267 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15268 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15269 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15271 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15272 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15273 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15274 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15275 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15277 2013-10-04 Alan Modra <amodra@gmail.com>
15279 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15280 64-bit int/double union.
15281 (_FPU_SETCW): Likewise.
15282 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15283 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15285 2013-10-04 Alan Modra <amodra@gmail.com>
15287 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15288 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15290 2013-10-04 Alan Modra <amodra@gmail.com>
15292 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15293 use vector int constants.
15294 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15296 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15298 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15299 array with long long.
15300 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15301 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15302 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15303 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15304 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15305 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15306 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15307 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15308 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15309 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15310 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15311 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15312 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15314 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15316 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15317 (__signbit): Likewise. Correct for little-endian.
15318 (__signbitl): Call __signbit.
15319 (lrint): Correct for little-endian.
15320 (lrintf): Call lrint.
15322 2013-10-04 Alan Modra <amodra@gmail.com>
15324 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15325 union 32-bit int array member with 64-bit int array.
15326 (t515, tm256): Double rather than long double.
15327 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15329 2013-10-04 Alan Modra <amodra@gmail.com>
15331 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15333 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15334 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15335 version of math_ldbl.h.
15337 2013-10-04 Alan Modra <amodra@gmail.com>
15339 [BZ #15734], [BZ #15735]
15340 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15341 all uses of ieee875 long double macros and unions. Simplify test
15342 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15343 ldbl_extract_mantissa value for ix,iy exponents. Properly
15344 normalize after ldbl_extract_mantissa, and don't add hidden bit
15345 already handled. Don't treat low word of ieee854 mantissa like
15346 low word of IBM long double and mask off bit when testing for
15348 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15349 all uses of ieee875 long double macros and unions. Simplify tests
15350 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15351 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15352 two1022, instead use their values. Recognise that tests for large
15353 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15354 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15355 Rewrite all uses of ieee875 long double macros and unions. Simplify
15356 test for 0.0L and nan. Correct negation.
15357 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15358 ieee875 long double macros and unions. Correct output for large
15359 magnitude x. Correct absolute value calculation.
15360 (__erfcl): Likewise.
15361 * math/libm-test.inc: Add tests for errors discovered in IBM long
15362 double versions of fmodl, remainderl, erfl and erfcl.
15364 2013-10-04 Alan Modra <amodra@gmail.com>
15366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15367 all uses of ieee854 long double macros and unions. Simplify tests
15368 for long doubles that are fully specified by the high double.
15369 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15371 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15372 Remove dead code too.
15373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15374 (__ieee754_ynl): Likewise.
15375 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15376 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15378 Remove dead code too.
15379 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15380 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15381 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15384 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15386 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15387 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15389 Comment on variable precision.
15390 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15391 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15393 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15394 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15395 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15397 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15399 2013-10-04 Alan Modra <amodra@gmail.com>
15401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15402 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15403 all uses of ieee854 long double macros and unions.
15404 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15405 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15406 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15407 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15408 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15409 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15411 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15412 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15413 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15414 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15415 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15416 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15417 Simplify sign and nan test too.
15418 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15419 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15420 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15421 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15423 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15424 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15426 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15427 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15428 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15429 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15430 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15433 2013-10-04 Alan Modra <amodra@gmail.com>
15435 * stdio-common/printf_size.c (__printf_size): Don't use
15436 union ieee854_long_double in fpnum union.
15437 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15438 signbit macro to retrieve sign from long double.
15439 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15440 retrieve sign from long double.
15441 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15442 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15443 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15444 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15445 * math/test-misc.c (main): Don't use union ieee854_long_double.
15447 2013-10-04 Alan Modra <amodra@gmail.com>
15450 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15451 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15452 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15453 calculation. Remove unnecessary test for denormal exponent.
15454 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15455 Correct handling of denormals. Avoid undefined shift behaviour.
15456 Correct normalisation of low mantissa when low double is denormal.
15457 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15458 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15459 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15460 Correct normalisation of low mantissa. Test for overflow of high
15461 mantissa and normalise.
15462 (ldbl_nearbyint): Use more readable constant for two52.
15463 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15464 (__mpn_construct_long_double): Fix test for overflow of high
15465 mantissa and correct normalisation. Avoid undefined shift.
15467 2013-10-04 Alan Modra <amodra@gmail.com>
15469 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15470 (union ibm_extended_long_double): Define as an array of ieee754_double.
15471 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15472 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15473 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15474 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15483 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15485 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15486 page size instead of calling getpagesize.
15488 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15489 (LOCFILE_ALIGN_MASK): Likewise.
15490 (LOCFILE_ALIGN_UP): Likewise.
15491 (LOCFILE_ALIGNED_P): Likewise.
15492 * locale/programs/ld-collate.c (collate_output): Use the new
15493 macros instead of __alignof__ (int32_t).
15494 * locale/weight.h (findidx): Likewise.
15496 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15499 * manual/string.texi: Fix strncat and wcsncat.
15501 2013-10-03 Brooks Moses <bmoses@google.com>
15504 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15505 * Makerules: ...here, and adjust associated comments.
15507 2013-10-02 Will Newton <will.newton@linaro.org>
15509 * malloc/Makefile: Add tst-pvalloc.
15510 * malloc/tst-pvalloc.c: New file.
15512 2013-10-02 Will Newton <will.newton@linaro.org>
15514 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15515 improve test coverage.
15517 2013-10-02 Will Newton <will.newton@linaro.org>
15519 * malloc/Makefile: Add tst-posix_memalign.
15520 * malloc/tst-posix_memalign.c: New file.
15522 2013-10-01 Eric Blake <eblake@redhat.com>
15524 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15525 Use __THROWNL rather than __THROW on static functions.
15527 2013-09-30 Petr Machata <pmachata@redhat.com>
15529 * elf/elf.h (R_AARCH64_ABS16): New macro.
15530 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15531 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15532 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15533 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15534 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15535 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15536 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15537 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15538 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15539 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15540 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15541 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15542 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15543 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15544 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15545 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15546 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15547 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15548 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15549 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15550 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15551 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15552 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15553 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15554 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15555 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15556 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15557 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15558 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15559 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15560 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15561 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15562 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15563 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15564 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15565 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15566 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15567 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15568 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15569 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15570 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15571 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15572 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15573 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15574 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15575 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15576 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15577 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15578 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15579 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15580 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15581 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15582 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15583 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15584 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15585 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15586 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15587 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15588 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15589 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15590 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15591 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15592 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15593 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15594 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15595 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15596 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15597 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15598 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15599 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15600 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15601 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15602 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15603 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15604 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15605 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15606 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15607 (R_AARCH64_TLSDESC_LDR): Likewise.
15608 (R_AARCH64_TLSDESC_ADD): Likewise.
15609 (R_AARCH64_TLSDESC_CALL): Likewise.
15611 2013-09-30 Andreas Schwab <schwab@suse.de>
15614 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15615 the nss database lookup.
15616 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15619 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15621 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15623 2013-09-28 P. J. McDermott <pj@pehjota.net>
15625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15626 ${Bash-specific parameter/pattern/string} parameter expansion.
15627 * sysdeps/unix/make-syscalls.sh: Likewise.
15629 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15631 * sysdeps/sh/stackguard-macros.h: New file.
15633 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15637 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15638 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15639 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15640 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15642 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15644 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15645 Fix thread ID register.
15647 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15649 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15650 [POSIX || UNIX98]: Require rather than permitting all symbols from
15652 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15653 element of struct sched_param.
15654 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15655 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15656 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15657 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15660 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15662 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15663 argument calculation.
15665 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15667 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15669 [POSIX] (pthread_attr_t): Do not require type.
15670 [POSIX] (pthread_cond_t): Likewise.
15671 [POSIX] (pthread_condattr_t): Likewise.
15672 [POSIX] (pthread_key_t): Likewise.
15673 [POSIX] (pthread_mutex_t): Likewise.
15674 [POSIX] (pthread_mutexattr_t): Likewise.
15675 [POSIX] (pthread_once_t): Likewise.
15676 [POSIX] (pthread_t): Likewise.
15677 [POSIX-based standards] (pthread_atfork): Expect function.
15679 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15680 Richard Sandiford <richard@codesourcery.com>
15682 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15683 (swap_endianness_p): New extern variable.
15684 (set_big_endian): New inline function.
15685 (maybe_swap_uint32): Likewise.
15686 (maybe_swap_uint32_array): Likewise.
15687 (maybe_swap_uint32_obstack): Likewise.
15688 * locale/programs/locfile.c: Include <stdbool.h>.
15689 (swap_endianness_p): New variable.
15690 (add_locale_uint32): Call maybe_swap_uint32.
15691 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15692 (write_locale_data): Call maybe_swap_uint32_array.
15693 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15695 (obstack_int32_grow_fast): Likewise.
15696 (output_weightwc): Call maybe_swap_uint32_obstack.
15697 (collate_output): Likewise.
15698 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15699 (OPT_LITTLE_ENDIAN): Likewise.
15700 (options): Add --little-endian and --big-endian options.
15701 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15702 * locale/programs/locarchive.c: Include "locfile.h".
15706 (create_archive): Use the new macros to access fields of
15707 structures directly mapped from or written to locale archives.
15708 (oldlocrecentcmp): Likewise.
15709 (enlarge_archive): Likewise.
15710 (insert_name): Likewise.
15711 (add_alias): Likewise.
15712 (add_locale): Likewise.
15713 (delete_locales_from_archive): Likewise.
15714 (show_archive_content): Likewise.
15715 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15718 2013-09-24 Roland McGrath <roland@hack.frob.com>
15720 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15721 http://www.gnu.org/doc/freemanuals.texi.
15722 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15724 2013-09-24 Will Newton <will.newton@linaro.org>
15726 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15729 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15731 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15734 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15736 * manual/threads.texi (POSIX Threads): Fix a typo.
15738 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15741 * string/tst-strcoll-overflow.c: New test case.
15742 * string/Makefile (xtests): Add tst-strcoll-overflow.
15743 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15744 cache if string sizes may cause integer overflow.
15747 * string/strcoll_l.c (coll_seq): New members rule, idx,
15748 save_idx and back_us.
15749 (get_next_seq_nocache): New function.
15750 (do_compare_nocache): New function.
15751 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15754 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15757 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15758 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15759 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15762 * elf/Makefile (tests): Add tst-ptrguard1.
15763 (tests-static): Add tst-ptrguard1-static.
15764 (tst-ptrguard1-ARGS): Define.
15765 (tst-ptrguard1-static-ARGS): Define.
15766 * elf/tst-ptrguard1.c: New file.
15767 * elf/tst-ptrguard1-static.c: New file.
15768 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15769 * sysdeps/i386/stackguard-macros.h: Likewise.
15770 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15771 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15772 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15773 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15774 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15775 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15777 2013-09-23 Hector Marco <hecmargi@upv.es>
15778 Ismael Ripoll <iripoll@disca.upv.es>
15779 Carlos O'Donell <carlos@redhat.com>
15782 * sysdeps/generic/stackguard-macros.h: Define
15783 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15784 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15785 Define __pointer_chk_guard_local.
15786 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15787 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15789 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15792 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15794 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15796 * include/string.h (__ffs): Declare as hidden.
15797 * string/ffs.c (__ffs): Define as hidden.
15798 * sysdeps/i386/ffs.c (__ffs): Likewise.
15799 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15800 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15801 * sysdeps/s390/ffs.c (__ffs): Likewise.
15802 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15804 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15806 * NEWS: Mention malloc probes.
15808 * malloc/arena.c (new_heap): New memory_heap_new probe.
15809 (grow_heap): New memory_heap_more probe.
15810 (shrink_heap): New memory_heap_less probe.
15811 (heap_trim): New memory_heap_free probe.
15812 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15813 (systrim): New memory_sbrk_less probe.
15814 * manual/probes.texi: Document them.
15816 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15817 * manual/probes.texi: Document it.
15819 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15820 (__libc_realloc): Add memory_realloc_retry probe.
15821 (__libc_memalign): Add memory_memalign_retry probe.
15822 (__libc_valloc): Add memory_valloc_retry probe.
15823 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15824 (__libc_calloc): Add memory_calloc_retry probe.
15825 * manual/probes.texi: Document them.
15827 * malloc/arena.c (get_free_list): Add probe
15828 memory_arena_reuse_free_list.
15829 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15830 and memory_arena_reuse.
15831 (arena_get2) [!PER_THREAD]: Likewise.
15832 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15833 memory_arena_reuse_realloc.
15834 * manual/probes.texi: Document them.
15836 * malloc/malloc.c (__libc_free): Add
15837 memory_mallopt_free_dyn_thresholds probe.
15838 (__libc_mallopt): Add multiple memory_mallopt probes.
15839 * manual/probes.texi: Document them.
15841 * malloc/malloc.c: Include stap-probe.h.
15842 (__libc_mallopt): Add memory_mallopt probe.
15843 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15844 * manual/probes.texi: New.
15845 * manual/Makefile (chapters): Add probes.
15846 * manual/threads.texi: Set next node.
15848 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15850 [BZ #15963, #13985]
15851 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15852 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15853 Add `Chinese' to `nan' entry name.
15855 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15857 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15858 (POLYNOMIAL): Likewise.
15859 (TAYLOR_SINCOS): Likewise.
15860 (TAYLOR_SLOW): Likewise.
15861 (__sin): Use TAYLOR_SINCOS.
15863 (slow): Use TAYLOR_SLOW.
15865 (bsloww): Likewise.
15866 (csloww): Likewise.
15868 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15870 * stdlib/strtod_l.c: Fix buffer overrun.
15872 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15874 * benchtests/Makefile (bench): Add sincos.
15875 * benchtests/bench-sincos.c: New file.
15877 * math/libm-test.inc (cos_test_data): New test inputs.
15878 (sin_test_data): Likewise.
15880 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15886 (sloww1): Likewise.
15887 (sloww2): Likewise.
15888 (bsloww1): Likewise.
15889 (bsloww2): Likewise.
15890 (cslow2): Likewise.
15891 (csloww1): Likewise.
15892 (csloww2): Likewise.
15894 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15899 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15903 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15905 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15906 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15907 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15908 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15909 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15910 * elf/cache.c (print_entry): Handle the new cache flags.
15912 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15913 Aldy Hernandez <aldyh@redhat.com>
15915 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15916 Change condition to [_SOFT_FLOAT].
15917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15929 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15932 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15935 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15937 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15938 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15939 (__longjmp): Use LOAD_GP to load saved GPRs.
15940 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15941 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15942 (__sigsetjmp): Use SAVE_GP to save GPRs.
15944 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15945 Do not append -msoft-float.
15946 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15948 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15950 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15952 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15955 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15956 (_FPU_GETCW): Use initial "__" on variable and field names but not
15957 on macro parameter name.
15958 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15959 parentheses around reference to macro parameter.
15961 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15963 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15965 (ctype_startup): Use uint32_t in cast and sizeof for
15968 2013-09-11 Jia Liu <proljc@gmail.com>
15970 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15972 [__FreeBSD__]: Likewise.
15974 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15976 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15977 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15978 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15979 (strchr): Remove __strchr_sse42 ifunc selection.
15980 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15981 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15983 2013-09-11 Will Newton <will.newton@linaro.org>
15985 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15986 parameter to RES. Remove hardcoded 1000 value.
15987 * benchtests/bench-skeleton.c (main): Pass RES parameter
15988 to TIMING_INIT and multiply result by 1000.
15990 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15994 2013-09-11 Andreas Schwab <schwab@suse.de>
15996 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15998 (O_TMPFILE) [__USE_GNU]: Define.
15999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16002 2013-09-11 Will Newton <will.newton@linaro.org>
16005 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16008 2013-09-11 Will Newton <will.newton@linaro.org>
16011 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16014 2013-09-11 Will Newton <will.newton@linaro.org>
16017 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16020 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16022 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16023 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16024 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16025 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16026 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16028 2013-09-10 Allan McRae <allan@archlinux.org>
16031 * manual/arith.texi (Parsing of Floats): Clarify
16035 * manual/install.texi (Running make install): Mention
16037 * INSTALL: Regenerated.
16039 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16041 * csu/init-first.c (_init): Remove the !SHARED condition around
16042 FPU control word initialization.
16043 * elf/dl-support.c (_dl_fpu_control): New variable.
16044 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16045 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16046 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16047 * math/test-fpucw-static.c: New file.
16048 * math/test-fpucw-ieee.c: New file.
16049 * math/test-fpucw-ieee-static.c: New file.
16050 * math/Makefile (tests): Add `test-fpucw-ieee' and
16052 (tests-static): New variable.
16053 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16055 [($(build-shared),yes)]
16056 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16058 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16061 2013-09-09 Allan McRae <allan@archlinux.org>
16064 * manual/string.texi (Collation Functions): Fix typo in
16066 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16069 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16072 * libio/memstream.c (open_memstream): Fix memory leak.
16073 * libio/wmemstream.c (open_wmemstream): Likewise.
16076 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16078 2013-09-09 Will Newton <will.newton@linaro.org>
16080 * malloc/Makefile: Add tst-realloc to tests.
16081 * malloc/tst-realloc.c: New file.
16083 2013-09-09 Allan McRae <allan@archlinux.org>
16086 * COPYING: Update from GNU website to fix FSF address.
16087 * COPYING.LIB: Likewise.
16089 2013-09-06 David S. Miller <davem@davemloft.net>
16091 * po/zh_TW.po: Update Chinese (traditional) translation from
16092 translation project.
16094 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16095 Joseph Myers <joseph@codesourcery.com>
16097 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16099 (obstack_chunk_alloc): New macro.
16100 (obstack_chunk_free): Likewise.
16101 (record_offset): New function.
16102 (init_locale_data): Likewise.
16103 (align_locale_data): Likewise.
16104 (add_locale_empty): Likewise.
16105 (add_locale_raw_data): Likewise.
16106 (add_locale_raw_obstack): Likewise.
16107 (add_locale_string): Likewise.
16108 (add_locale_wstring): Likewise.
16109 (add_locale_uint32): Likewise.
16110 (add_locale_uint32_array): Likewise.
16111 (add_locale_char): Likewise.
16112 (start_locale_structure): Likewise.
16113 (end_locale_structure): Likewise.
16114 (start_locale_prelude): Likewise.
16115 (end_locale_prelude): Likewise.
16116 (write_locale_data): Take locale_file structure rather than an
16118 * locale/programs/locfile.h: Include "obstack.h".
16119 (struct locale_file): Change to store locale file contents instead
16121 (init_locale_data): New prototype.
16122 (align_locale_data): Likewise.
16123 (add_locale_empty): Likewise.
16124 (add_locale_raw_data): Likewise.
16125 (add_locale_raw_obstack): Likewise.
16126 (add_locale_string): Likewise.
16127 (add_locale_wstring): Likewise.
16128 (add_locale_uint32): Likewise.
16129 (add_locale_uint32_array): Likewise.
16130 (add_locale_char): Likewise.
16131 (start_locale_structure): Likewise.
16132 (end_locale_structure): Likewise.
16133 (start_locale_prelude): Likewise.
16134 (end_locale_prelude): Likewise.
16135 (write_locale_data): Update prototype.
16136 * locale/programs/3level.h (struct TABLE): Remove result field.
16137 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16138 Use new locale_file interface.
16139 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16140 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16141 * locale/programs/ld-address.c (address_output): Use new
16142 locale_file interface.
16143 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16145 (collate_finish): Don't call collseq_table_finalize.
16146 (collate_output): Use new locale_file interface.
16147 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16149 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16150 (TABLE): Move defines earlier in file.
16151 (ELEMENT): Likewise.
16152 (DEFAULT): Likewise.
16153 (wctrans_table_add): Move macro and inline function earlier in
16155 (struct wctype_table): Move type earlier in file.
16156 (add_locale_wctype_table): New static prototype.
16157 (struct locale_ctype_t): Use logical types instead of struct iovec
16158 pointers for members.
16159 (ctype_output): Use new locale_file interface.
16160 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16161 new locale_file interface.
16162 (allocate_arrays): Update for use of new locale_file interface.
16163 * locale/programs/ld-identification.c (identification_output): Use
16164 new locale_file interface.
16165 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16166 * locale/programs/ld-messages.c (messages_output): Likewise.
16167 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16168 * locale/programs/ld-name.c (name_output): Likewise.
16169 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16170 * locale/programs/ld-paper.c (paper_output): Likewise.
16171 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16172 * locale/programs/ld-time.c (time_output): Likewise.
16174 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16176 * benchtests/Makefile: Add memrchr benchmark.
16177 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16178 benchmark as memrchr.
16179 * benchtests/bench-memrchr-ifunc.c: New file.
16180 * benchtests/bench-memrchr.c: New file.
16182 2013-09-06 Will Newton <will.newton@linaro.org>
16184 * benchtests/Makefile (string-bench): Add memcpy.
16186 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16187 Cong Wang <amwang@redhat.com>
16190 * sysdeps/unix/sysv/linux/bits/in.h
16191 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16192 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16193 before __USE_KERNEL_IPV6_DEFS uses.
16194 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16196 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16197 sockaddr_in6, or ipv6_mreq.
16199 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16201 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16202 memory access for final bytes in some large inputs.
16203 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16205 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16207 * string/test-memrchr.c: New file.
16208 * string/test-memrchr-ifunc.c: New file.
16209 * string/Makefile: Add new memrchr testcase.
16211 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16213 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16214 fanotify_init returns EPERM.
16216 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16218 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16220 (top level): Treat second token from macro or constant entries for
16221 allowed headers as allowed.
16222 * include/complex.h: Condition internal declarations on
16224 * include/fenv.h: Condition include of <stdbool.h> and internal
16225 declarations on [!_ISOMAC].
16227 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16230 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16232 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16234 * configure.in (--enable-versioning): Remove configure option.
16235 (libc_cv_asm_symver_directive): Remove configure test.
16236 (libc_cv_ld_version_script_option): Likewise.
16237 (VERSIONING): Remove variable and AC_SUBST.
16238 (DO_VERSIONING): Remove AC_DEFINE.
16239 * configure: Regenerated.
16240 * config.h.in (DO_VERSIONING): Remove macro.
16241 * Makerules [$(versioning) = yes]: Change conditionals to
16242 [$(build-shared) = yes].
16243 * config.make.in (versioning): Remove variable.
16244 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16245 [$(build-shared) = yes].
16246 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16247 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16248 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16249 [$(build-shared) = yes].
16250 * extra-lib.mk [$(versioning) = yes]: Likewise.
16251 * hurd/Makefile [$(versioning) = yes]: Likewise.
16252 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16254 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16256 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16257 [SHARED && !NO_HIDDEN].
16258 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16260 [SHARED && DO_VERSIONING]: Likewise..
16261 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16262 [$(build-shared) = yes].
16263 * manual/install.texi (--disable-versioning): Remove
16265 * INSTALL: Regenerated.
16266 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16268 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16269 [$(build-shared) = yes].
16270 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16271 * sysdeps/i386/i686/multiarch/strstr-c.c
16272 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16273 [SHARED && !NO_HIDDEN].
16274 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16275 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16276 * sysdeps/powerpc/powerpc32/dl-machine.c
16277 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16278 * sysdeps/powerpc/powerpc32/sysdep.h
16279 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16280 to [SHARED && PIC && !NO_HIDDEN].
16281 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16282 conditional to [SHARED].
16284 2013-09-04 Will Newton <will.newton@linaro.org>
16286 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16287 * benchtests/bench-string.h: Include bench-timing.h instead
16288 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16289 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16290 call to HP_TIMING_DIFF_INIT.
16291 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16292 instead of hp-timing.h macros.
16293 * benchtests/bench-memchr.c: Likewise.
16294 * benchtests/bench-memcmp.c: Likewise.
16295 * benchtests/bench-memcpy.c: Likewise.
16296 * benchtests/bench-memmem.c: Likewise.
16297 * benchtests/bench-memmove.c: Likewise.
16298 * benchtests/bench-memset.c: Likewise.
16299 * benchtests/bench-rawmemchr.c: Likewise.
16300 * benchtests/bench-strcasecmp.c: Likewise.
16301 * benchtests/bench-strcasestr.c: Likewise.
16302 * benchtests/bench-strcat.c: Likewise.
16303 * benchtests/bench-strchr.c: Likewise.
16304 * benchtests/bench-strcmp.c: Likewise.
16305 * benchtests/bench-strcpy.c: Likewise.
16306 * benchtests/bench-strcpy_chk.c: Likewise.
16307 * benchtests/bench-strlen.c: Likewise.
16308 * benchtests/bench-strncasecmp.c: Likewise.
16309 * benchtests/bench-strncat.c: Likewise.
16310 * benchtests/bench-strncmp.c: Likewise.
16311 * benchtests/bench-strncpy.c: Likewise.
16312 * benchtests/bench-strnlen.c: Likewise.
16313 * benchtests/bench-strpbrk.c: Likewise.
16314 * benchtests/bench-strrchr.c: Likewise.
16315 * benchtests/bench-strspn.c: Likewise.
16316 * benchtests/bench-strstr.c: Likewise.
16318 2013-09-04 Will Newton <will.newton@linaro.org>
16320 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16322 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16325 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16326 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16327 * math/libm-test.inc (lgamma_test_data): Add more tests.
16328 * sysdeps/i386/fpu/libm-test-ulps: Update.
16329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16331 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16333 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16337 Add strcmp-sse2-unaligned
16338 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16340 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16342 * Versions.def (libc): Add GLIBC_2.19.
16344 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16346 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16347 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16349 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16352 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16353 intermediate calculations in recurrence.
16354 (__ieee754_ynf): Likewise.
16355 * math/libm-test.inc (jn_test_data): Do not allow spurious
16356 underflow exception. Add more tests.
16357 (yn_test_data): Add more tests.
16358 * sysdeps/i386/fpu/libm-test-ulps: Update.
16359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16361 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16365 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16367 * csu/init-first.c: Fix then/than typos.
16368 * locale/programs/ld-collate.c: Likewise.
16369 * locale/programs/linereader.h: Likewise.
16370 * manual/charset.texi: Likewise.
16371 * manual/filesys.texi: Likewise.
16372 * manual/stdio.texi: Likewise.
16373 * manual/string.texi: Likewise.
16374 * stdlib/fmtmsg.c: Likewise.
16375 * sysdeps/i386/stpncpy.S: Likewise.
16376 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16377 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16378 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16379 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16381 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16383 * elf/dl-open.c: Fix typos.
16384 * iconvdata/gbbig5.c: Likewise.
16385 * iconvdata/iso-2022-jp.c: Likewise.
16386 * iconv/gconv_int.h: Likewise.
16387 * iconv/loop.c: Likewise.
16388 * nis/rpcsvc/nis.h: Likewise.
16389 * resolv/ns_name.c: Likewise.
16390 * stdio-common/vfscanf.c: Likewise.
16391 * streams/stropts.h: Likewise.
16392 * sunrpc/rpc_thread.c: Likewise.
16393 * sysdeps/i386/strpbrk.S: Likewise.
16394 * sysdeps/ieee754/k_standard.c: Likewise.
16395 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16397 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16398 * sysdeps/mach/hurd/profil.c: Likewise.
16399 * sysdeps/s390/dl-procinfo.h: Likewise.
16400 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16401 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16402 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16403 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16404 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16406 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16408 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16411 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16413 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16414 aix specific files.
16415 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16416 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16417 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16418 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16419 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16420 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16421 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16422 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16424 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16425 Roland McGrath <roland@hack.frob.com>
16427 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16428 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16430 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16432 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16433 __executable_start symbol instead of _start.
16435 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16437 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16438 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16440 * sysdeps/gnu/ldsodefs.h: ... this new file.
16442 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16443 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16444 instead of ELFOSABI_LINUX.
16446 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16447 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16448 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16449 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16451 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16452 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16453 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16455 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16456 (ibm_extended_long_double): Add ieee_nan member.
16457 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16458 (do_test): New function.
16460 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16462 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16463 functions, renamed from truncdfsf_test, trunctfsf_test,
16465 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16467 (do_test): Run all these.
16469 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16471 * argp/argp-help.c: Fix typos.
16472 * argp/argp-parse.c: Likewise.
16473 * debug/backtracesyms.c: Likewise.
16474 * elf/elf.h: Likewise.
16475 * malloc/malloc.c: Likewise.
16476 * nis/nis_print.c: Likewise.
16477 * resolv/res_comp.c: Likewise.
16478 * stdlib/stdlib.h: Likewise.
16479 * sunrpc/clnt_tcp.c: Likewise.
16480 * sunrpc/clnt_udp.c: Likewise.
16481 * sunrpc/clnt_unix.c: Likewise.
16482 * sysdeps/unix/bsd/ptsname.c: Likewise.
16483 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16484 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16491 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16493 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16495 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16498 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16501 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16502 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16503 ($(objpfx)bug-dl-leaf): New rule.
16504 ($(objpfx)bug-dl-leaf.so): Likewise.
16505 ($(objpfx)bug-dl-leaf.out): Likewise.
16506 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16507 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16508 * dlfcn/bug-dl-leaf.c: New test.
16509 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16510 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16511 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16512 (dlclose): Likewise.
16513 (dlmopen): Likewise.
16515 2013-08-27 Roland McGrath <roland@hack.frob.com>
16517 * include/netdb.h [!_ISOMAC]:
16518 Don't include <tls.h>.
16519 (h_errno, __libc_h_errno): Move declaration and macros out of
16522 * include/resolv.h [_RESOLV_H_]:
16523 Don't include <tls.h>.
16524 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16525 * resolv/res_libc.c: Don't include <tls.h>.
16526 (_res): Use __attribute__ ((nocommon)) in place of
16527 __attribute__ ((section (".bss"))).
16529 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16530 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16532 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16534 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16535 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16537 * resolv/res_mkquery.c: Include <sys/time.h>.
16539 * inet/ifreq.c: Moved to ...
16540 * sysdeps/unix/ifreq.c: ... here.
16541 * inet/ifreq.c: New file, true stub version.
16543 * socket/sa_len.c: New file.
16544 * socket/Makefile (aux): Add it.
16545 * sysdeps/unix/sysv/linux/Makefile
16546 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16547 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16548 and #include <socket/sa_len.c>.
16549 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16550 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16552 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16553 * bits/socket.h: ... here.
16555 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16556 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16557 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16559 2013-08-27 Andreas Schwab <schwab@suse.de>
16562 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16563 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16564 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16565 * string/test-strcasecmp.c (test_main): Run tests in several
16567 * string/test-strncasecmp.c (test_main): Likewise.
16569 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16570 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16571 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16573 (__strncasecmp_ssse3) [PIC]: Likewise.
16575 2013-08-26 Roland McGrath <roland@hack.frob.com>
16577 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16579 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16580 instead of explicitly declaring xdecrypt.
16581 * nis/nss_nis/nis-publickey.c: Likewise.
16583 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16586 * nscd/aicache.c: Include res_hconf.h.
16587 (addhstaiX): Initialize res_hconf.
16589 2013-08-26 Andreas Schwab <schwab@suse.de>
16591 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16592 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16594 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16596 * nscd/aicache.c (addhstaiX): Fix indentation.
16598 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16600 * configure.ac: Quote $build_pt_chown test.
16601 * configure: Regenerated.
16603 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16606 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16607 * math/s_cexpf.c (__cexpf): Likewise.
16608 * math/s_cexpl.c (__cexpl): Likewise.
16609 * math/libm-test.inc (cexp_test_data): Correct expected return
16610 value for NaN + i0. Add another test.
16612 2013-08-22 David S. Miller <davem@davemloft.net>
16614 * po/ca.po: Update Catalan translation from translation project.
16615 * po/uk.po: Add Ukrainian translations from translation project.
16617 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16620 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16621 is infinite, not alongside NaN test.
16622 * math/s_fdimf.c (__fdimf): Likewise.
16623 * math/s_fdiml.c (__fdiml): Likewise.
16624 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16625 errno is unchanged.
16627 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16629 * argp/argp-help.c: Fix typos.
16630 * crypt/speeds.c: Likewise.
16631 * csu/check_fds.c: Likewise.
16632 * elf/dl-load.c: Likewise.
16633 * elf/dl-open.c: Likewise.
16634 * elf/reldep3.c: Likewise.
16635 * elf/reldep.c: Likewise.
16636 * elf/sprof.c: Likewise.
16637 * iconv/iconv_charmap.c: Likewise.
16638 * iconv/skeleton.c: Likewise.
16639 * iconv/strtab.c: Likewise.
16640 * io/lockf64.c: Likewise.
16641 * libio/libioP.h: Likewise.
16642 * resolv/gai_notify.c: Likewise.
16643 * resolv/ns_name.c: Likewise.
16644 * resolv/ns_samedomain.c: Likewise.
16645 * resolv/res_send.c: Likewise.
16646 * stdlib/random.c: Likewise.
16647 * sunrpc/rpc/xdr.h: Likewise.
16648 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16649 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16650 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16651 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16652 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16653 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16655 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16656 * sysdeps/mach/hurd/check_fds.c: Likewise.
16657 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16658 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16659 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16660 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16661 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16662 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16663 * sysdeps/pthread/aio_notify.c: Likewise.
16664 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16665 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16666 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16668 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16670 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16672 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16673 version if bit_Slow_SSE4_2 is set.
16674 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16675 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16677 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16680 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16681 trampoline stack frame information.
16682 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16683 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16684 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16685 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16686 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16687 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16688 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16689 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16691 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16692 interrupting a syscall and set with option SA_SIGINFO.
16694 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16697 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16698 argument is infinite.
16699 * math/s_cprojf.c (__cprojf): Likewise.
16700 * math/s_cprojl.c (__cprojl): Likewise.
16701 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16702 * math/libm-test.inc (cproj_test_data): Add more tests.
16704 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16706 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16707 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16708 size. Use __ffs to determine corresponding shift.
16710 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16711 Roland McGrath <roland@hack.frob.com>
16713 * Makefile (INSTALL): Remove trailing blank lines from output of
16716 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16718 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16719 Align 32 bit compat elf_greg to 8 bytes.
16721 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16723 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16725 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16727 * string/strcoll_l.c (coll_seq): New structure.
16728 (get_next_seq_cached): New function.
16729 (get_next_seq): New function.
16730 (do_compare): New function.
16731 (STRCOLL): Use GNU style definition. Simplify implementation
16732 by using get_next_seq, get_next_seq_cached and do_compare.
16734 2013-08-16 Florian Weimer <fweimer@redhat.com>
16738 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16740 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16742 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16743 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16744 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16746 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16747 GETDENTS_64BIT_ALIGNED.
16748 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16749 * manual/filesys.texi (Reading/Closing Directory): Document
16750 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16752 * manual/conf.texi (Limits for Files): Add portability note to
16753 NAME_MAX, PATH_MAX.
16754 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16756 2013-08-13 Andreas Schwab <schwab@suse.de>
16759 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16761 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16762 LDBL_MAX_EXP >= 16384]: Add tests for it.
16764 2013-08-12 David S. Miller <davem@davemloft.net>
16766 * version.h (RELEASE): Set to "development".
16767 (VERSION): Set to "2.18.90".
16768 * NEWS: Add 2.19 section.
16770 2013-08-03 David S. Miller <davem@davemloft.net>
16772 * po/ko.po: Update Korean translation from translation project.
16774 2013-08-01 David S. Miller <davem@davemloft.net>
16776 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16777 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16780 2013-07-30 David S. Miller <davem@davemloft.net>
16782 * po/fr.po: Update French translation from translation project.
16784 2013-07-28 David S. Miller <davem@davemloft.net>
16786 * po/cs.po: Update Czech translation from translation project.
16788 * po/sv.po: Update Swedish translation from translation project.
16790 2013-07-27 David S. Miller <davem@davemloft.net>
16792 * po/eo.po: Update Esperanto translation from translation project.
16794 * po/vi.po: Update Vietnamese translation from translation project.
16796 * po/de.po: Update German translation from translation project.
16798 2013-07-26 David S. Miller <davem@davemloft.net>
16800 * po/bg.po: Update Bulgarian translation from translation project.
16802 * po/nl.po: Update Dutch translation from translation project.
16803 * po/pl.po: Update Polish translation from translation project.
16804 * po/ru.po: Update Russian translation from translation project.
16806 2013-07-24 David S. Miller <davem@davemloft.net>
16808 * po/libc.pot: Update.
16810 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16812 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16813 variable page size.
16814 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16815 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16816 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16818 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16820 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16822 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16823 Andreas Schwab <schwab@suse.de>
16824 Roland McGrath <roland@hack.frob.com>
16825 Joseph Myers <joseph@codesourcery.com>
16826 Carlos O'Donell <carlos@redhat.com>
16829 * config.h.in: Define HAVE_PT_CHOWN.
16830 * config.make.in (build-pt-chown): New variable.
16831 * configure.in (--enable-pt_chown): New configure option.
16832 * configure: Regenerate.
16833 * login/Makefile: Include Makeconfig. Build pt_chown only if
16834 build-pt-chown is enabled.
16835 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16836 pt_chown to fix pty ownership.
16837 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16839 * manual/install.texi (Configuring and compiling): Mention
16840 --enable-pt_chown. Add @findex for grantpt.
16841 * INSTALL: Regenerate.
16843 2013-07-20 David S. Miller <davem@davemloft.net>
16845 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16846 difference between 32-bit and 64-bit.
16848 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16851 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16852 Avoid system header dependency with -ffreestanding.
16853 ($(objpfx)bits/syscall%d): Likewise.
16855 2013-07-13 David S. Miller <davem@davemloft.net>
16857 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16858 underflows from atanl/atan2l due to bug 15319.
16859 (casinh_test_data): Likewise.
16861 2013-07-07 David S. Miller <davem@davemloft.net>
16863 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16865 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16867 * sysdeps/i386/fpu/libm-test-ulps: Update.
16868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16870 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16872 * configure.in (--enable-lock-elision): Fix message text.
16873 * INSTALL: Regenerate.
16874 * configure: Regenerate.
16876 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16880 2013-07-03 Andreas Jaeger <aj@suse.de>
16882 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16884 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16885 (ptrace_peeksiginfo_args): Add.
16886 (__ptrace_peeksiginfo_flags): Add.
16887 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16888 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16891 2013-07-03 Allan McRae <allan@archlinux.org>
16893 * sysdeps/i386/fpu/libm-test-ulps: Update.
16895 2013-07-02 David S. Miller <davem@davemloft.net>
16897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16899 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16903 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16905 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16908 2013-07-02 Andi Kleen <ak@linux.intel.com>
16910 * config.h.in (ENABLE_LOCK_ELISION): Add.
16911 * configure.in (--enable-lock-elision): Add option.
16912 * manual/install.texi: Document --enable lock elision.
16913 * configure: Regenerate
16914 * INSTALL: Regenerate.
16916 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16918 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16919 SSE4.2 strcasecmp for libc.a.
16920 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16922 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16925 * soft-fp/op-common.h (_FP_FMA): New macro.
16926 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16927 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16928 (_FP_MUL_MEAT_1_imm): ... here.
16929 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16930 (_FP_MUL_MEAT_1_wide): ... here.
16931 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16932 (_FP_MUL_MEAT_1_hard): ... here.
16933 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16934 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16935 (_FP_MUL_MEAT_2_wide): ... here.
16936 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16937 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16938 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16939 (_FP_MUL_MEAT_2_gmp): ... here.
16940 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16941 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16942 (_FP_MUL_MEAT_4_wide): ... here.
16943 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16944 (_FP_MUL_MEAT_4_gmp): ... here.
16945 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16946 (_FP_WFRACBITS_DW_S): Likewise.
16947 (_FP_WFRACXBITS_DW_S): Likewise.
16948 (_FP_HIGHBIT_DW_S): Likewise.
16949 (FP_FMA_S): Likewise.
16950 (_FP_FRAC_HIGH_DW_S): Likewise.
16951 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16952 (_FP_WFRACBITS_DW_D): Likewise.
16953 (_FP_WFRACXBITS_DW_D): Likewise.
16954 (_FP_HIGHBIT_DW_D): Likewise.
16955 (FP_FMA_D): Likewise.
16956 (_FP_FRAC_HIGH_DW_D): Likewise.
16957 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16958 (_FP_WFRACBITS_DW_E): Likewise.
16959 (_FP_WFRACXBITS_DW_E): Likewise.
16960 (_FP_HIGHBIT_DW_E): Likewise.
16961 (FP_FMA_E): Likewise.
16962 (_FP_FRAC_HIGH_DW_E): Likewise.
16963 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16964 (_FP_WFRACBITS_DW_Q): Likewise.
16965 (_FP_WFRACXBITS_DW_Q): Likewise.
16966 (_FP_HIGHBIT_DW_Q): Likewise.
16967 (FP_FMA_Q): Likewise.
16968 (_FP_FRAC_HIGH_DW_Q): Likewise.
16969 * soft-fp/fmasf4.c: New file.
16970 * soft-fp/fmadf4.c: Likewise.
16971 * soft-fp/fmatf4.c: Likewise.
16973 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16976 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16980 (index_Slow_SSE4_2): Likewise.
16981 (index_Prefer_PMINUB_for_stringop): Likewise.
16982 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16983 bit_Slow_SSE4_2 is set.
16984 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16985 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16987 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16989 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16990 rtld_global._dl_hwcap2.
16991 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16993 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16994 POWER8 feature descriptions defined in _dl_hwcap2.
16995 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16996 string handling for POWER8 feature bits.
16997 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16998 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16999 _dl_powerpc_cap_flags.
17000 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17001 * sysdeps/powerpc/rtld-global-offsets.sym
17002 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17003 _dl_hwcap2 in the rtld_global_ro structure.
17005 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17007 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17008 hardware capabilities in support of AT_HWCAP2.
17009 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17010 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17012 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17013 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17014 explicitly the unknown a_type display mechanism is used.
17015 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17016 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17018 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17019 to macro prototype for AT_HWCAP2 support.
17020 * sysdeps/i386/dl-procinfo.h: Likewise.
17021 * sysdeps/s390/dl-procinfo.h: Likewise.
17022 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17023 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17024 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17025 return -1 for unknown a_type display fallback.
17026 * sysdeps/sparc/dl-procinfo.h: Likewise.
17027 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17028 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17030 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17032 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17033 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17035 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17038 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17039 mprotect making __stack_prot writable.
17041 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17042 Joseph Myers <joseph@codesourcery.com>
17044 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17045 as being properly aligned.
17047 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17049 * dlfcn/modstatic5.c: New file.
17050 * dlfcn/tststatic5.c: New file.
17051 * dlfcn/Makefile (tests): Add tststatic5.
17052 (tests-static): Likewise.
17053 (modules-names): Add modstatic5.
17054 (tststatic5-ENV): New variable.
17055 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17058 * elf/dl-support.c (_dl_main_map): New variable.
17059 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17060 (_dl_nns, _dl_load_adds): Set to 1.
17061 (_dl_initial_searchlist): Refer to _dl_main_map.
17062 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17063 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17064 call to _dl_get_origin.
17065 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17067 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17068 * dlfcn/modstatic3.c: New file.
17069 * dlfcn/tststatic3.c: New file.
17070 * dlfcn/tststatic4.c: New file.
17071 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17072 (tests-static): Likewise.
17073 (modules-names): Add modstatic3.
17074 (tststatic3-ENV, tststatic4-ENV): New variables.
17075 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17076 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17078 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17080 * configure.in (CC): Require GCC version 4.4 or later.
17081 * configure: Regenerated.
17082 * manual/install.texi (Tools for Compilation): Update GCC version
17084 * INSTALL: Regenerated.
17086 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17089 * string/test-memcmp.c (check2): New.
17090 (main): Call check2.
17092 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17094 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17097 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17099 (dl_open_worker) [!SHARED]: ... here.
17101 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17103 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17105 2013-06-25 Richard Henderson <rth@redhat.com>
17107 * locale/programs/locarchive.c: Include <libc-internal.h>
17109 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17111 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17112 trailing whitespace removed.
17114 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17117 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17118 * locale/programs/locarchive.c: Include libc-mmap.h.
17119 (prepare_address_space): Take two new outputs (the mmap base and len).
17120 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17122 (create_archive): Declare new mmap base and len values for
17123 prepare_address_space, and store the result in ah.
17124 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17125 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17126 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17127 Declare new mmap base and len values for
17128 prepare_address_space, and store the result in new_ah.
17129 (open_archive): Declare new mmap base and len values for
17130 prepare_address_space, and store the result in ah.
17131 (close_archive): If ah->mmap_base is not NULL, use that and
17132 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17133 * sysdeps/generic/libc-mmap.h: New file.
17135 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17137 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17138 (ALIGN_UP): Likewise.
17139 (PTR_ALIGN_DOWN): Likewise.
17140 (PTR_ALIGN_UP): Likewise.
17142 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17144 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17145 entry mapped to PPC_PLATFORM_POWER8.
17146 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17148 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17149 (_dl_string_platform): Add case for exporting platform position for
17151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17152 search path to sysdeps/powerpc/powerpc32/power8 directory.
17153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17154 search path to sysdeps/powerpc/powerpc64/power8 directory.
17155 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17156 power7 directories.
17157 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17158 power7 directories.
17160 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17162 * INSTALL: Regenerate.
17164 * nscd/connections.c (nscd_init): Fix comment.
17166 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17168 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17171 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17172 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17174 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17176 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17178 (DL_DST_REQ_STATIC): Remove macro.
17180 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17183 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17184 with a shift of 0 bits.
17186 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17188 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17191 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17194 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17196 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17198 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17199 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17200 accepts -fno-tree-loop-distribute-patterns.
17201 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17202 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17204 * string/memset.c (memset): Likewise.
17205 * string/test-memmove.c (simple_memmove): Disable loop transformation
17207 * string/test-memset.c (simple_memset): Likewise.
17208 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17209 * benchtests/bench-memset.c (simple_memset): Likewise.
17210 * configure: Regenerated.
17212 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17214 * math/test-misc.c (main): Ignore fesetround failure when failures
17215 of subsequent rounding tests would be ignored.
17218 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17219 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17220 * math/fegetenv.c (__fegetenv): Return 0.
17221 * math/fegetexcept.c (fegetexcept): Return 0.
17222 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17224 * math/feholdexcpt.c (feholdexcept): Return 0.
17225 * math/fesetenv.c (__fesetenv): Return 0.
17226 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17227 argument FE_TONEAREST.
17228 * math/feupdateenv.c (__feupdateenv): Return 0.
17229 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17231 2013-06-18 Roland McGrath <roland@hack.frob.com>
17233 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17234 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17235 ($(objpfx)rtld-%.os rules): Use them.
17237 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17239 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17242 2013-06-17 Roland McGrath <roland@hack.frob.com>
17244 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17245 length of target pattern, then descending length of dependency pattern.
17246 * configure.in (AWK): Require gawk 3.1.2 or newer.
17247 * manual/install.texi (Tools for Compilation): Say that we do.
17248 * configure: Regenerated.
17250 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17251 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17252 * scripts/sysd-rules.awk: ... this new script.
17253 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17254 than a glob-style pattern.
17256 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17258 * math/test-misc.c (main): Do not treat incorrectly rounded
17259 conversions as failure unless ROUNDING_TESTS passes.
17261 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17264 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17265 restore exception state around main square root computation, then
17266 check for inexactness explicitly.
17268 * math/libm-test.inc (fma_test_data): Add another test.
17270 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17272 * manual/threads.texi (Non-POSIX Extensions): New document
17273 node. Document pthread_getattr_default_np and
17274 pthread_setattr_default_np.
17276 * Versions.def (libpthread): Add GLIBC_2.18.
17277 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17286 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17297 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17300 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17302 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17303 H.J. Lu <hjl.tools@gmail.com>
17306 * sysdeps/x86_64/rtld-memset.c: Remove file.
17307 * sysdeps/x86_64/rtld-memset.S: New file.
17309 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17311 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17312 (test_in_one_mode): Take arguments for whether the rounding mode
17313 is supported for each floating-point type.
17314 (do_test): Pass new arguments to test_in_one_mode using
17317 2013-06-13 Roland McGrath <roland@hack.frob.com>
17319 * posix/tst-waitid.c (do_test): Distinguish different instances of
17320 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17321 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17322 before entering the kernel for waitpid.
17324 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17326 * NEWS: Fix note on clock function precision. Text by Roland
17329 2013-06-13 Roland McGrath <roland@hack.frob.com>
17331 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17332 it into place only when and if the sanity check passes.
17334 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17336 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17337 output for whether conversion result is exact. Take argument
17338 indicating whether type is IBM long double.
17339 (round_for_all): Change need_exact field to ibm_ld.
17340 * stdlib/tst-strtod-round.c (struct exactness): New type.
17341 (struct test): Change bool ld_ok field to struct exactness exact.
17342 (TEST): Update all definitions for change to field.
17343 (tests): Regenerate array contents.
17344 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17345 field value. Check for IBM long double here.
17346 (do_test): Update calls to test_in_one_mode.
17348 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17351 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17352 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17354 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17357 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17358 generated by the compiler on loop optimizations.
17359 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17360 general definitions.
17362 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17364 * math/bug-nextafter.c: Include <math-tests.h>.
17365 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17367 * math/bug-nexttoward.c: Include <math-tests.h>.
17368 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17370 * math/test-misc.c: Include <math-tests.h>.
17371 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17374 2013-06-12 Andreas Jaeger <aj@suse.de>
17376 * po/ia.po: Update Interlingua translation from translation
17379 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17381 * include/fenv.h: Include stdbool.h.
17382 (struct rm_ctx): New structure.
17383 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17385 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17386 (SET_RESTORE_ROUNDF): Likewise.
17387 (SET_RESTORE_ROUNDL): Likewise.
17388 (SET_RESTORE_ROUND_NOEX): Likewise.
17389 (SET_RESTORE_ROUND_NOEXF): Likewise.
17390 (SET_RESTORE_ROUND_NOEXL): Likewise.
17391 (SET_RESTORE_ROUND_53BIT): Likewise.
17392 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17393 (libc_feresetround_noexf_ctx): Likewise.
17394 (libc_feresetround_noexl_ctx): Likewise.
17395 (libc_feholdsetround_53bit_ctx): Likewise.
17396 (libc_feresetround_53bit_ctx): Likewise.
17397 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17398 (libc_feholdexcept_setround_sse_ctx): New function.
17399 (libc_fesetenv_sse_ctx): Likewise.
17400 (libc_feupdateenv_sse_ctx): Likewise.
17401 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17402 (libc_feholdexcept_setround_387_ctx): Likewise.
17403 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17404 (libc_feholdsetround_387_prec_ctx): Likewise.
17405 (libc_feholdsetround_387_ctx): Likewise.
17406 (libc_feholdsetround_387_53bit_ctx): Likewise.
17407 (libc_feholdsetround_sse_ctx): Likewise.
17408 (libc_feresetround_sse_ctx): Likewise.
17409 (libc_feresetround_387_ctx): Likewise.
17410 (libc_feupdateenv_387_ctx): Likewise.
17411 (libc_feholdexcept_setroundf_ctx): Define macro.
17412 (libc_fesetenvf_ctx): Likewise.
17413 (libc_feupdateenvf_ctx): Likewise.
17414 (libc_feholdsetroundf_ctx): Likewise.
17415 (libc_feresetroundf_ctx): Likewise.
17416 (libc_feholdexcept_setround_ctx): Likewise.
17417 (libc_fesetenv_ctx): Likewise.
17418 (libc_feupdateenv_ctx): Likewise.
17419 (libc_feholdsetround_ctx): Likewise.
17420 (libc_feresetround_ctx): Likewise.
17421 (libc_feholdexcept_setroundl_ctx): Likewise.
17422 (libc_feupdateenvl_ctx): Likewise.
17423 (libc_feholdsetroundl_ctx): Likewise.
17424 (libc_feresetroundl_ctx): Likewise.
17425 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17426 (libc_feresetround_53bit_ctx): Likewise.
17428 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17430 * locale/iso-639.def: Convert to UTF-8.
17432 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17434 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17435 (EXCEPTION_TESTS_double): Likewise.
17436 (EXCEPTION_TESTS_long_double): Likewise.
17437 (EXCEPTION_TESTS): Likewise.
17438 * math/libm-test.inc (test_exceptions): Only test exceptions if
17439 EXCEPTION_TESTS (FLOAT).
17441 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17443 * benchtests/Makefile (string-bench): Add strcpy_chk and
17445 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17446 * benchtests/bench-stpcpy_chk.c: New file.
17447 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17448 * benchtests/bench-strcpy_chk.c: New file.
17449 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17451 (do_test): Likewise.
17453 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17455 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17456 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17457 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17458 with tabs where appropriate.
17459 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17461 [PPC_PLATFORM_PPC440]: Likewise.
17462 [PPC_PLATFORM_PPC464]: Likewise.
17463 [PPC_PLATFORM_PPC476]: Likewise.
17464 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17465 ppc464, and ppc476 platform strings merging from ports/
17468 2013-06-11 Andreas Schwab <schwab@suse.de>
17471 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17472 (from_ucs4_idx): Regenerate.
17473 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17474 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17475 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17476 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17477 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17478 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17479 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17480 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17481 from FROM_LOOP and TO_LOOP specific macros.
17482 (BODY): Handle combining characters.
17483 * iconvdata/BIG5HKSCS.irreversible: Update.
17484 * iconvdata/BIG5HKSCS.precomposed: New file.
17485 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17487 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17489 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17491 * include/sys/time.h: Fix indentation and add copyright header.
17493 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17494 (do_test): Likewise.
17495 * string/test-memchr.c (do_one_test): Likewise.
17496 (do_test): Likewise.
17497 * string/test-memcmp.c (do_one_test): Likewise.
17498 (do_test): Likewise.
17499 * string/test-memcpy.c (do_one_test): Likewise.
17500 (do_test): Likewise.
17501 * string/test-memmem.c (do_one_test): Likewise.
17502 (do_test): Likewise.
17503 (do_random_tests): Likewise.
17504 * string/test-memmove.c (do_one_test): Likewise.
17505 (do_test): Likewise.
17506 * string/test-memset.c (do_one_test): Likewise.
17507 (do_test): Likewise.
17508 * string/test-rawmemchr.c (do_one_test): Likewise.
17509 (do_test): Likewise.
17510 * string/test-strcasecmp.c (do_one_test): Likewise.
17511 (do_test): Likewise.
17512 * string/test-strcasestr.c (do_one_test): Likewise.
17513 (do_test): Likewise.
17514 * string/test-strcat.c (do_one_test): Likewise.
17515 (do_test): Likewise.
17516 * string/test-strchr.c (do_one_test): Likewise.
17517 (do_test): Likewise.
17518 * string/test-strcmp.c (do_one_test): Likewise.
17519 (do_test): Likewise.
17520 * string/test-strcpy.c (do_one_test): Likewise.
17521 (do_test): Likewise.
17522 * string/test-string.h: Likewise.
17523 (test_init): Likewise.
17524 * string/test-strlen.c (do_one_test): Likewise.
17525 (do_test): Likewise.
17526 * string/test-strncasecmp.c (do_one_test): Likewise.
17527 (do_test): Likewise.
17528 * string/test-strncat.c (do_one_test): Likewise.
17529 (do_test): Likewise.
17530 * string/test-strncmp.c (do_one_test): Likewise.
17531 (do_test_limit): Likewise.
17532 (do_test): Likewise.
17533 * string/test-strncpy.c (do_one_test): Likewise.
17534 (do_test): Likewise.
17535 * string/test-strnlen.c (do_one_test): Likewise.
17536 (do_test): Likewise.
17537 * string/test-strpbrk.c (do_one_test): Likewise.
17538 (do_test): Likewise.
17539 * string/test-strrchr.c (do_one_test): Likewise.
17540 (do_test): Likewise.
17541 * string/test-strspn.c (do_one_test): Likewise.
17542 (do_test): Likewise.
17543 * string/test-strstr.c (do_one_test): Likewise.
17544 (do_test): Likewise.
17546 * benchtests/Makefile (string-bench): Add string benchmarks.
17547 * benchtests/bench-bcopy-ifunc.c: New file.
17548 * benchtests/bench-bcopy.c: New file.
17549 * benchtests/bench-bzero-ifunc.c: New file.
17550 * benchtests/bench-bzero.c: New file.
17551 * benchtests/bench-memccpy-ifunc.c: New file.
17552 * benchtests/bench-memccpy.c: New file.
17553 * benchtests/bench-memchr-ifunc.c: New file.
17554 * benchtests/bench-memchr.c: New file.
17555 * benchtests/bench-memcmp-ifunc.c: New file.
17556 * benchtests/bench-memcmp.c: New file.
17557 * benchtests/bench-memmem-ifunc.c: New file.
17558 * benchtests/bench-memmem.c: New file.
17559 * benchtests/bench-memmove-ifunc.c: New file.
17560 * benchtests/bench-memmove.c: New file.
17561 * benchtests/bench-mempcpy-ifunc.c: New file.
17562 * benchtests/bench-mempcpy.c: New file.
17563 * benchtests/bench-memset-ifunc.c: New file.
17564 * benchtests/bench-memset.c: New file.
17565 * benchtests/bench-rawmemchr-ifunc.c: New file.
17566 * benchtests/bench-rawmemchr.c: New file.
17567 * benchtests/bench-stpcpy-ifunc.c: New file.
17568 * benchtests/bench-stpcpy.c: New file.
17569 * benchtests/bench-stpncpy-ifunc.c: New file.
17570 * benchtests/bench-stpncpy.c: New file.
17571 * benchtests/bench-strcasecmp-ifunc.c: New file.
17572 * benchtests/bench-strcasecmp.c: New file.
17573 * benchtests/bench-strcasestr-ifunc.c: New file.
17574 * benchtests/bench-strcasestr.c: New file.
17575 * benchtests/bench-strcat-ifunc.c: New file.
17576 * benchtests/bench-strcat.c: New file.
17577 * benchtests/bench-strchr-ifunc.c: New file.
17578 * benchtests/bench-strchr.c: New file.
17579 * benchtests/bench-strchrnul-ifunc.c: New file.
17580 * benchtests/bench-strchrnul.c: New file.
17581 * benchtests/bench-strcmp-ifunc.c: New file.
17582 * benchtests/bench-strcmp.c: New file.
17583 * benchtests/bench-strcpy-ifunc.c: New file.
17584 * benchtests/bench-strcpy.c: New file.
17585 * benchtests/bench-strcspn-ifunc.c: New file.
17586 * benchtests/bench-strcspn.c: New file.
17587 * benchtests/bench-strlen-ifunc.c: New file.
17588 * benchtests/bench-strlen.c: New file.
17589 * benchtests/bench-strncasecmp-ifunc.c: New file.
17590 * benchtests/bench-strncasecmp.c: New file.
17591 * benchtests/bench-strncat-ifunc.c: New file.
17592 * benchtests/bench-strncat.c: New file.
17593 * benchtests/bench-strncmp-ifunc.c: New file.
17594 * benchtests/bench-strncmp.c: New file.
17595 * benchtests/bench-strncpy-ifunc.c: New file.
17596 * benchtests/bench-strncpy.c: New file.
17597 * benchtests/bench-strnlen-ifunc.c: New file.
17598 * benchtests/bench-strnlen.c: New file.
17599 * benchtests/bench-strpbrk-ifunc.c: New file.
17600 * benchtests/bench-strpbrk.c: New file.
17601 * benchtests/bench-strrchr-ifunc.c: New file.
17602 * benchtests/bench-strrchr.c: New file.
17603 * benchtests/bench-strspn-ifunc.c: New file.
17604 * benchtests/bench-strspn.c: New file.
17605 * benchtests/bench-strstr-ifunc.c: New file.
17606 * benchtests/bench-strstr.c: New file.
17608 * benchtests/Makefile: Disable parallel execution of targets.
17609 (string-bench): Add memcpy.
17610 (benchset): New variable to store a list of benchmark sets.
17611 (bench-func): Renamed from bench.
17612 (bench-set): New target.
17613 (bench): Depend on bench-func and bench-set.
17614 * benchtests/README: Add section on benchmark sets.
17615 * benchtests/bench-memcpy-ifunc.c: New file.
17616 * benchtests/bench-memcpy.c: New file.
17617 * benchtests/bench-string.h: New file.
17619 2013-06-11 Andreas Schwab <schwab@suse.de>
17622 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17623 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17624 values in the triple.
17625 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17626 terminator in the group key.
17628 2013-06-11 Andreas Jaeger <aj@suse.de>
17630 * po/zh_TW.po: Update Chinese (traditional) translation from
17631 translation project.
17633 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17635 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17636 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17637 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17638 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17639 (clock_getcpuclockid): Likewise.
17640 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17641 Add weak_alias and libc_hidden_def.
17642 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17643 * rt/clock_gettime.c (clock_gettime): Rename to
17644 __clock_gettime. Add weak_alias and libc_hidden_def.
17645 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17646 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17647 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17648 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17649 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17651 * rt/clock_settime.c (clock_settime): Rename to
17652 __clock_settime. Add weak_alias and libc_hidden_def.
17653 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17655 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17657 * mach/err_boot.sub: Remove trailing whitespace.
17658 * mach/err_ipc.sub: Likewise.
17659 * mach/err_mach.sub: Likewise.
17661 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17662 (ROUNDING_TESTS_double): Likewise.
17663 (ROUNDING_TESTS_long_double): Likewise.
17664 (ROUNDING_TESTS): Likewise.
17665 * math/libm-test.inc: Include <math-tests.h>.
17666 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17667 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17668 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17669 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17671 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17673 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17676 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17678 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17679 otherwise empty TRANS lines.
17680 * sysdeps/gnu/errlist.c: Regenerated.
17682 * catgets/gencat.c (error_print): Use (void) in function
17684 * crypt/crypt_util.c (__init_des): Likewise.
17685 * crypt/speeds.c (Stop): Likewise.
17687 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17688 * inet/ruserpass.c (token): Likewise.
17689 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17690 * intl/localealias.c (extend_alias_table): Likewise.
17691 * intl/plural-exp.c (init_germanic_plural): Likewise.
17692 * libio/fcloseall.c (__fcloseall): Likewise.
17693 * libio/genops.c (_IO_flush_all): Likewise.
17694 (_IO_flush_all_linebuffered): Likewise.
17695 (_IO_cleanup): Likewise.
17696 (_IO_iter_begin): Likewise.
17697 (_IO_iter_end): Likewise.
17698 (_IO_list_lock): Likewise.
17699 (_IO_list_unlock): Likewise.
17700 (_IO_list_resetlock): Likewise.
17701 * libio/getchar.c (getchar): Likewise.
17702 * libio/getchar_u.c (getchar_unlocked): Likewise.
17703 * libio/getwchar.c (getwchar): Likewise.
17704 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17705 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17706 * login/getpt.c (__getpt): Likewise.
17707 * login/tst-utmp.c (main): Likewise.
17708 * malloc/hooks.c (__malloc_check_init): Likewise.
17709 * malloc/malloc.c (__malloc_stats): Likewise.
17710 * malloc/mtrace.c (tr_break): Likewise.
17711 (mtrace): Likewise.
17712 (muntrace): Likewise.
17713 * misc/fstab.c (endfsent): Likewise.
17714 * misc/getclktck.c (__getclktck): Likewise.
17715 * misc/getdtsz.c (__getdtablesize): Likewise.
17716 * misc/gethostid.c (gethostid): Likewise.
17717 * misc/getpagesize.c (__getpagesize): Likewise.
17718 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17719 (__get_nprocs): Likewise.
17720 (__get_phys_pages): Likewise.
17721 (__get_avphys_pages): Likewise.
17722 * misc/getttyent.c (getttyent): Likewise.
17723 (setttyent): Likewise.
17724 (endttyent): Likewise.
17725 * misc/getusershell.c (getusershell): Likewise.
17726 (endusershell): Likewise.
17727 (setusershell): Likewise.
17728 (initshells): Likewise.
17729 * misc/hsearch.c (__hdestroy): Likewise.
17730 * misc/sync.c (sync): Likewise.
17731 * misc/syslog.c (closelog_internal): Likewise.
17732 (closelog): Likewise.
17733 * misc/ttyslot.c (ttyslot): Likewise.
17734 * misc/vhangup.c (vhangup): Likewise.
17735 * posix/fork.c (__fork): Likewise.
17736 * posix/getegid.c (__getegid): Likewise.
17737 * posix/geteuid.c (__geteuid): Likewise.
17738 * posix/getgid.c (__getgid): Likewise.
17739 * posix/getpid.c (__getpid): Likewise.
17740 * posix/getppid.c (__getppid): Likewise.
17741 * posix/getuid.c (__getuid): Likewise.
17742 * posix/pause.c (pause): Likewise.
17743 * posix/setpgrp.c (setpgrp): Likewise.
17744 * posix/setsid.c (__setsid): Likewise.
17745 * posix/test-vfork.c (noop): Likewise.
17746 * resolv/gethnamaddr.c (_endhtent): Likewise.
17747 (_gethtent): Likewise.
17748 (ht_endhostent): Likewise.
17749 (gethostent): Likewise.
17750 (dns_service): Likewise.
17751 * stdlib/drand48.c (drand48): Likewise.
17752 * stdlib/lrand48.c (lrand48): Likewise.
17753 * stdlib/mrand48.c (mrand48): Likewise.
17754 * stdlib/rand.c (rand): Likewise.
17755 * stdlib/random.c (__random): Likewise.
17756 * stdlib/setenv.c (clearenv): Likewise.
17757 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17758 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17759 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17760 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17761 (__get_nprocs): Likewise.
17762 (__get_phys_pages): Likewise.
17763 (__get_avphys_pages): Likewise.
17764 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17765 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17766 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17767 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17768 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17769 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17770 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17771 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17772 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17773 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17774 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17775 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17776 * sysdeps/posix/clock.c (clock): Likewise.
17777 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17778 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17779 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17780 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17781 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17783 (__get_nprocs_conf): Likewise.
17784 (__get_phys_pages): Likewise.
17785 (__get_avphys_pages): Likewise.
17786 * time/clock.c (clock): Likewise.
17787 * time/tzset.c (__tzname_max): Likewise.
17789 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17791 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17792 (__bswap_32): Do not use "register".
17793 * crypt/crypt.c (_ufc_doit_r): Likewise.
17794 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17795 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17796 * gmon/gmon.c (__monstartup): Likewise.
17797 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17798 * hurd/hurdmalloc.c (more_memory): Likewise.
17799 (malloc): Likewise.
17801 (realloc): Likewise.
17802 (malloc_fork_prepare): Likewise.
17803 (malloc_fork_parent): Likewise.
17804 (malloc_fork_child): Likewise.
17805 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17806 (_svcauth_des): Likewise.
17807 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17808 * inet/inet_net.c (inet_network): Likewise.
17809 * inet/inet_netof.c (inet_netof): Likewise.
17810 * inet/rcmd.c (__validuser2_sa): Likewise.
17811 * io/fts.c (fts_open): Likewise.
17812 (fts_load): Likewise.
17813 (fts_close): Likewise.
17814 (fts_read): Likewise.
17815 (fts_children): Likewise.
17816 (fts_build): Likewise.
17817 (fts_stat): Likewise.
17818 (fts_sort): Likewise.
17819 (fts_alloc): Likewise.
17820 (fts_lfree): Likewise.
17821 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17822 (_IO_file_xsgetn): Likewise.
17823 (_IO_file_xsgetn_mmap): Likewise.
17824 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17825 (_IO_cookie_write): Likewise.
17826 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17827 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17828 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17829 * malloc/obstack.c (_obstack_begin): Likewise.
17830 (_obstack_begin_1): Likewise.
17831 (_obstack_newchunk): Likewise.
17832 (_obstack_allocated_p): Likewise.
17833 (obstack_free): Likewise.
17834 (_obstack_memory_used): Likewise.
17835 * misc/getttyent.c (getttynam): Likewise.
17836 (getttyent): Likewise.
17839 * misc/getusershell.c (initshells): Likewise.
17840 * misc/syslog.c (__vsyslog_chk): Likewise.
17841 * misc/ttyslot.c (ttyslot): Likewise.
17842 * nis/nis_hash.c (__nis_hash): Likewise.
17843 * posix/fnmatch_loop.c (FCT): Likewise.
17844 * posix/getconf.c (print_all): Likewise.
17846 * posix/getopt.c (exchange): Likewise.
17847 * posix/glob.c (globfree): Likewise.
17848 (prefix_array): Likewise.
17849 (__glob_pattern_type): Likewise.
17850 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17851 (NS_GET32): Likewise.
17852 (NS_PUT16): Likewise.
17853 (NS_PUT32): Likewise.
17854 * resolv/gethnamaddr.c (getanswer): Likewise.
17855 (gethostbyname2): Likewise.
17856 (gethostbyaddr): Likewise.
17857 (_gethtent): Likewise.
17858 (_gethtbyname2): Likewise.
17859 (_gethtbyaddr): Likewise.
17860 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17861 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17862 * resolv/res_init.c (__res_vinit): Likewise.
17863 (net_mask): Likewise.
17864 * resolv/res_mkquery.c (outchar): Likewise.
17866 * stdio-common/printf_fp.c (outchar): Likewise.
17868 * stdio-common/printf_fphex.c (outchar): Likewise.
17870 * stdio-common/printf_size.c (outchar): Likewise.
17872 * stdio-common/test_rdwr.c (main): Likewise.
17873 * stdio-common/tfformat.c (matches): Likewise.
17874 * stdio-common/vfprintf.c (outchar): Likewise.
17875 (printf_unknown): Likewise.
17876 (buffered_vfprintf): Likewise.
17877 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17878 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17879 (ReadFile): Likewise.
17880 * stdlib/qsort.c (SWAP): Likewise.
17881 (_quicksort): Likewise.
17882 * stdlib/setenv.c (__add_to_environ): Likewise.
17883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17884 * stdlib/strtol_l.c (__strtol_l): Likewise.
17885 * stdlib/tst-strtod.c (main): Likewise.
17886 * stdlib/tst-strtol.c (main): Likewise.
17887 * stdlib/tst-strtoll.c (main): Likewise.
17888 * string/bits/string2.h (__strcmp_cc): Likewise.
17889 (__strcmp_cg): Likewise.
17890 (__strcspn_c1): Likewise.
17891 (__strcspn_c2): Likewise.
17892 (__strcspn_c3): Likewise.
17893 (__strspn_c1): Likewise.
17894 (__strspn_c2): Likewise.
17895 (__strspn_c3): Likewise.
17896 (__strsep_1c): Likewise.
17897 (__strsep_2c): Likewise.
17898 (__strsep_3c): Likewise.
17899 * string/memccpy.c (__memccpy): Likewise.
17900 * string/stpcpy.c (__stpcpy): Likewise.
17901 * string/strcmp.c (strcmp): Likewise.
17902 * string/strrchr.c (strrchr): Likewise.
17903 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17905 * sysdeps/mach/hurd/getcwd.c
17906 (_hurd_canonicalize_directory_name_internal): Likewise.
17907 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17908 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17909 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17910 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17911 Likewise, in both definitions.
17912 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17914 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17915 64] (__bswap_64): Likewise.
17916 * time/test_time.c (main): Likewise.
17917 * time/tzfile.c (__tzfile_read): Likewise.
17918 (__tzfile_compute): Likewise.
17919 * time/tzset.c (__tzset_parse_tz): Likewise.
17920 (tzset_internal): Likewise.
17921 (compute_change): Likewise.
17922 * wcsmbs/wcscat.c (__wcscat): Likewise.
17923 * wcsmbs/wcschr.c (wcschr): Likewise.
17924 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17925 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17926 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17927 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17928 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17929 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17930 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17931 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17932 * wcsmbs/wmemset.c (wmemset): Likewise.
17934 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17936 * scripts/config.guess: Update to version 2013-05-16.
17937 * scripts/config.sub: Update to version 2013-04-24.
17938 * scripts/install-sh: Update to version 2011-11-20.07.
17939 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17940 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17942 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17944 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17945 * elf/sln.c: Likewise.
17946 * hurd/hurd/ioctl.h: Likewise.
17947 * hurd/hurdmalloc.c: Likewise.
17948 * hurd/xattr.c: Likewise.
17949 * include/shlib-compat.h: Likewise.
17950 * inet/ruserpass.c: Likewise.
17951 * libio/iofgets_u.c: Likewise.
17952 * libio/iofgetws_u.c: Likewise.
17953 * locale/programs/ld-identification.c: Likewise.
17954 * locale/programs/ld-time.c: Likewise.
17955 * mach/msg-destroy.c: Likewise.
17956 * nss/nss_files/files-netgrp.c: Likewise.
17957 * resolv/res_data.c: Likewise.
17958 * soft-fp/op-1.h: Likewise.
17959 * soft-fp/op-2.h: Likewise.
17960 * soft-fp/op-4.h: Likewise.
17961 * soft-fp/op-common.h: Likewise.
17962 * stdio-common/printf_fphex.c: Likewise.
17963 * stdlib/strtod_l.c: Likewise.
17964 * sunrpc/rpc/clnt.h: Likewise.
17965 * sysdeps/generic/framestate.c: Likewise.
17966 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17967 * sysdeps/i386/bsd-setjmp.S: Likewise.
17968 * sysdeps/i386/__longjmp.S: Likewise.
17969 * sysdeps/i386/setjmp.S: Likewise.
17970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17972 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17975 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17988 * sysdeps/ieee754/support.c: Likewise.
17989 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17990 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17991 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17992 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17993 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17994 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17995 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17996 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17997 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17998 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17999 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18000 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18001 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18002 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18003 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18004 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18005 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18008 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18010 * posix/transbug.c: Remove executable mode.
18012 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18014 * crypt/speeds.c: Remove trailing whitespace.
18015 * dlfcn/default.c: Likewise.
18016 * elf/ifuncdep2.c: Likewise.
18017 * elf/ifuncmain1.c: Likewise.
18018 * elf/ifuncmain1vis.c: Likewise.
18019 * elf/testobj.h: Likewise.
18020 * elf/tst-stackguard1.c: Likewise.
18021 * gmon/sys/gmon.h: Likewise.
18022 * hurd/hurdmsg.c: Likewise.
18023 * hurd/new-fd.c: Likewise.
18024 * hurd/ports-get.c: Likewise.
18025 * iconvdata/ibm1008_420.c: Likewise.
18026 * inet/tst-getni1.c: Likewise.
18027 * inet/tst-getni2.c: Likewise.
18028 * libio/ioungetc.c: Likewise.
18029 * libio/wfiledoalloc.c: Likewise.
18030 * manual/libm-err-tab.pl: Likewise.
18031 * math/w_dremf.c: Likewise.
18032 * misc/ftruncate.c: Likewise.
18033 * posix/bug-glob2.c: Likewise.
18034 * posix/tst-pcre.c: Likewise.
18035 * posix/wait4.c: Likewise.
18036 * resolv/README: Likewise.
18037 * resolv/res_debug.h: Likewise.
18038 * resolv/tst-inet_ntop.c: Likewise.
18039 * setjmp/bug269-setjmp.c: Likewise.
18040 * soft-fp/extended.h: Likewise.
18041 * soft-fp/op-1.h: Likewise.
18042 * soft-fp/op-2.h: Likewise.
18043 * soft-fp/op-4.h: Likewise.
18044 * soft-fp/op-8.h: Likewise.
18045 * soft-fp/testit.c: Likewise.
18046 * stdio-common/bug16.c: Likewise.
18047 * stdlib/random.c: Likewise.
18048 * sunrpc/rpcsvc/rquota.x: Likewise.
18049 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18050 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18051 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18052 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18053 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18054 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18055 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18056 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18057 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18058 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18059 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18060 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18061 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18065 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18067 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18068 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18069 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18070 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18071 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18073 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18074 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18075 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18077 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18078 * sysdeps/ieee754/s_lib_version.c: Likewise.
18079 * sysdeps/mach/hurd/check_fds.c: Likewise.
18080 * sysdeps/mach/hurd/getsockname.c: Likewise.
18081 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18082 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18083 * sysdeps/powerpc/bits/link.h: Likewise.
18084 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18085 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18086 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18087 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18088 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18089 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18090 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18091 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18092 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18093 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18094 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18095 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18096 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18097 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18098 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18099 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18100 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18101 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18102 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18103 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18104 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18105 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18106 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18107 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18108 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18109 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18110 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18111 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18112 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18113 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18114 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18115 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18116 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18117 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18118 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18119 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18120 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18121 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18122 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18123 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18124 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18125 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18126 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18127 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18128 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18129 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18130 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18131 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18132 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18133 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18134 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18135 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18136 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18137 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18138 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18139 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18140 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18141 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18142 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18143 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18144 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18145 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18146 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18147 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18148 * sysdeps/powerpc/sysdep.h: Likewise.
18149 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18150 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18151 * sysdeps/sh/dl-trampoline.S: Likewise.
18152 * sysdeps/sh/memset.S: Likewise.
18153 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18154 * sysdeps/sh/strlen.S: Likewise.
18155 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18156 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18157 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18158 * sysdeps/sparc/sparc32/rem.S: Likewise.
18159 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18160 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18161 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18162 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18163 * sysdeps/sparc/sparc32/urem.S: Likewise.
18164 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18165 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18166 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18167 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18168 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18169 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18170 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18171 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18172 * sysdeps/unix/bsd/times.c: Likewise.
18173 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18174 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18178 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18179 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18180 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18181 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18182 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18183 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18184 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18185 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18186 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18187 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18188 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18189 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18190 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18191 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18192 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18193 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18194 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18195 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18196 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18197 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18198 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18199 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18200 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18201 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18202 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18203 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18204 * sysdeps/x86_64/strcspn.S: Likewise.
18206 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18208 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18209 generated file. Regenerate properly from gen-translit.pl.
18210 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18211 locale/C-translit.h.
18213 2013-06-05 Andreas Schwab <schwab@suse.de>
18216 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18217 week as 6 instead of -1.
18218 * time/tst-strptime.c (day_tests): Add test case.
18220 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18222 * sysdeps/generic/math_private.h
18223 (libc_feholdexcept_setround_53bit): Replace with
18224 libc_feholdsetround_53bit.
18225 (libc_feupdateenv_53bit): Replace with
18226 libc_feresetround_53bit.
18227 (SET_RESTORE_ROUND_53BIT): Adjust.
18229 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18231 * string/test-strchrnul.c: Add copyright header.
18233 * posix/tst-getaddrinfo4.c: Increase test timeout.
18235 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18238 * math/libm-test.inc (MAX_EXP): Remove
18240 (ulp): Use MIN_EXP - MANT_DIG.
18241 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18243 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18245 * po/be.po: Revert last change.
18246 * po/zh_CN.po: Likewise.
18247 * po/header.pot: Likewise.
18249 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18251 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18252 link-libc-deps to empty as target-specific variable.
18253 * Makerules (link-libc-args): New variable.
18254 (libc-for-link): Likewise.
18255 (link-libc-deps): Likewise.
18256 (lib%.so): Depend on $(link-libc-deps). Link with
18258 (build-module): Link with $(link-libc-args).
18259 (build-module-asneeded): Likewise.
18260 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18262 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18263 target-specific variable.
18264 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18265 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18266 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18268 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18270 ($(objpfx)libpcprofile.so): Likewise.
18271 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18273 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18274 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18275 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18277 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18278 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18279 * login/Makefile ($(objpfx)libutil.so): Likewise.
18280 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18281 * math/Makefile ($(objpfx)libm.so): Likewise.
18282 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18283 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18284 variable instead of depending directly on libc.
18285 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18286 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18288 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18290 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18291 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18292 ($(objpfx)libanl.so): Likewise.
18293 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18295 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18297 * sysdeps/i386/fpu/Makefile: Remove file.
18298 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18299 ($(objpfx)libm.so): Remove dependency on ld.so.
18301 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18304 * nis/yp_xdr.c (XDRMAXNAME): Define.
18305 (XDRMAXRECORD): Define.
18306 (xdr_domainname): Use XDRMAXNAME.
18307 (xdr_mapname): Likewise.
18308 (xdr_peername): Likewise.
18309 (xdr_keydat): Use XDRMAXRECORD.
18310 (xdr_valdat): Likewise.
18312 2013-05-30 Jeff Law <law@redhat.com>
18315 * manual/errno.texi (ESTALE): Update to account for more than
18316 just NFS file systems.
18317 * sysdeps/gnu/errlist.c: Regenerated.
18319 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18322 * elf/Makefile (tests): Add tst-null-argv.
18323 (modules-names): Add tst-null-argv-lib.
18324 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18325 (tst-null-argv-ENV): Set environment for tst-null-argv.
18326 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18327 (RTLD_PROGNAME): New macro.
18328 * elf/tst-null-argv.c: New test case.
18329 * elf/tst-null-argv-lib.c: Library for test case.
18330 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18331 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18332 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18333 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18334 * elf/dl-init.c (call_init): Likewise.
18335 (_dl_init): Likewise.
18336 * elf/dl-load.c (print_search_path): Likewise.
18337 (_dl_map_object): Likewise.
18338 * elf/dl-lookup.c (do_lookup_x): Likewise.
18339 (add_dependency): Likewise.
18340 (_dl_lookup_symbol_x): Likewise.
18341 (_dl_debug_bindings): Likewise.
18342 * elf/dl-open.c (_dl_show_scope): Likewise.
18343 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18344 * elf/dl-version.c (match_symbol): Likewise.
18345 (_dl_check_map_versions): Likewise.
18346 * elf/rtld.c (dl_main): Likewise.
18347 (print_unresolved): Use RTLD_PROGNAME.
18348 (print_missing_version): Likewise.
18349 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18350 (elf_machine_rela): Likewise.
18351 * sysdeps/powerpc/powerpc32/dl-machine.c
18352 (__process_machine_rela): Likewise.
18353 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18355 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18357 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18359 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18360 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18362 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18364 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18366 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18368 * po/be.po: Add descriptive title.
18369 * po/zh_CN.po: Likewise.
18370 * po/header.pot: Likewise.
18372 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18374 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18376 (enlarge_archive): Likewise.
18378 2013-05-28 Ben North <ben@redfrontdoor.org>
18380 * manual/arith.texi (frexp): It is the magnitude of the return
18381 value which lies in [0.5, 1), not the return value itself.
18383 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18387 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18389 * stdio-common/bug26.c (main): Correct fscanf template.
18391 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18392 declare _dl_skip_args.
18394 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18397 * manual/platform.texi: Add missing @end deftypefun.
18399 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18402 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18403 bit of mantissa of 2^16382.
18404 * math/libm-test.inc (hypot_test_data): Add more tests.
18406 * math/libm-test.inc: Add drem and pow10 to list of tested
18408 (pow10_test): New function.
18409 (drem_test): Likewise.
18410 (drem_test_tonearest): Likewise.
18411 (drem_test_towardzero): Likewise.
18412 (drem_test_downward): Likewise.
18413 (drem_test_upward): Likewise.
18414 (main): Call the new functions.
18416 * math/libm-test.inc (finite_test_data): Remove.
18417 (finite_test): Run tests from isfinite_test_data.
18418 (gamma_test_data): Remove.
18419 (gamma_test): Run tests from lgamma_test_data.
18420 * sysdeps/i386/fpu/libm-test-ulps: Update.
18421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18423 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18425 * manual/platform.texi: Add PowerPC PPR function set documentation.
18426 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18429 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18431 * math/libm-test.inc (MAX_EXP): Define.
18433 (ulp): New function.
18434 (check_float_internal): Use ULPDIFF.
18435 (cpow_test): Disable failing test.
18436 (check_ulp): Test ulp() implemetnation.
18437 (main): Call check_ulp before starting tests.
18439 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18441 * math/gen-libm-test.pl (generate_testfile): Do not handle
18442 START_DATA and END_DATA.
18443 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18445 (acos_tonearest_test_data): Likewise.
18446 (acos_towardzero_test_data): Likewise.
18447 (acos_downward_test_data): Likewise.
18448 (acos_upward_test_data): Likewise.
18449 (acosh_test_data): Likewise.
18450 (asin_test_data): Likewise.
18451 (asin_tonearest_test_data): Likewise.
18452 (asin_towardzero_test_data): Likewise.
18453 (asin_downward_test_data): Likewise.
18454 (asin_upward_test_data): Likewise.
18455 (asinh_test_data): Likewise.
18456 (atan_test_data): Likewise.
18457 (atanh_test_data): Likewise.
18458 (atan2_test_data): Likewise.
18459 (cabs_test_data): Likewise.
18460 (cacos_test_data): Likewise.
18461 (cacosh_test_data): Likewise.
18462 (carg_test_data): Likewise.
18463 (casin_test_data): Likewise.
18464 (casinh_test_data): Likewise.
18465 (catan_test_data): Likewise.
18466 (catanh_test_data): Likewise.
18467 (cbrt_test_data): Likewise.
18468 (ccos_test_data): Likewise.
18469 (ccosh_test_data): Likewise.
18470 (ceil_test_data): Likewise.
18471 (cexp_test_data): Likewise.
18472 (cimag_test_data): Likewise.
18473 (clog_test_data): Likewise.
18474 (clog10_test_data): Likewise.
18475 (conj_test_data): Likewise.
18476 (copysign_test_data): Likewise.
18477 (cos_test_data): Likewise.
18478 (cos_tonearest_test_data): Likewise.
18479 (cos_towardzero_test_data): Likewise.
18480 (cos_downward_test_data): Likewise.
18481 (cos_upward_test_data): Likewise.
18482 (cosh_test_data): Likewise.
18483 (cosh_tonearest_test_data): Likewise.
18484 (cosh_towardzero_test_data): Likewise.
18485 (cosh_downward_test_data): Likewise.
18486 (cosh_upward_test_data): Likewise.
18487 (cpow_test_data): Likewise.
18488 (cproj_test_data): Likewise.
18489 (creal_test_data): Likewise.
18490 (csin_test_data): Likewise.
18491 (csinh_test_data): Likewise.
18492 (csqrt_test_data): Likewise.
18493 (ctan_test_data): Likewise.
18494 (ctan_tonearest_test_data): Likewise.
18495 (ctan_towardzero_test_data): Likewise.
18496 (ctan_downward_test_data): Likewise.
18497 (ctan_upward_test_data): Likewise.
18498 (ctanh_test_data): Likewise.
18499 (ctanh_tonearest_test_data): Likewise.
18500 (ctanh_towardzero_test_data): Likewise.
18501 (ctanh_downward_test_data): Likewise.
18502 (ctanh_upward_test_data): Likewise.
18503 (erf_test_data): Likewise.
18504 (erfc_test_data): Likewise.
18505 (exp_test_data): Likewise.
18506 (exp_tonearest_test_data): Likewise.
18507 (exp_towardzero_test_data): Likewise.
18508 (exp_downward_test_data): Likewise.
18509 (exp_upward_test_data): Likewise.
18510 (exp10_test_data): Likewise.
18511 (exp2_test_data): Likewise.
18512 (expm1_test_data): Likewise.
18513 (fabs_test_data): Likewise.
18514 (fdim_test_data): Likewise.
18515 (finite_test_data): Likewise.
18516 (floor_test_data): Likewise.
18517 (fma_test_data): Likewise.
18518 (fma_towardzero_test_data): Likewise.
18519 (fma_downward_test_data): Likewise.
18520 (fma_upward_test_data): Likewise.
18521 (fmax_test_data): Likewise.
18522 (fmin_test_data): Likewise.
18523 (fmod_test_data): Likewise.
18524 (fpclassify_test_data): Likewise.
18525 (frexp_test_data): Likewise.
18526 (gamma_test_data): Likewise.
18527 (hypot_test_data): Likewise.
18528 (ilogb_test_data): Likewise.
18529 (isfinite_test_data): Likewise.
18530 (isgreater_test_data): Likewise.
18531 (isgreaterequal_test_data): Likewise.
18532 (isinf_test_data): Likewise.
18533 (isless_test_data): Likewise.
18534 (islessequal_test_data): Likewise.
18535 (islessgreater_test_data): Likewise.
18536 (isnan_test_data): Likewise.
18537 (isnormal_test_data): Likewise.
18538 (issignaling_test_data): Likewise.
18539 (isunordered_test_data): Likewise.
18540 (j0_test_data): Likewise.
18541 (j1_test_data): Likewise.
18542 (jn_test_data): Likewise.
18543 (ldexp_test_data): Likewise.
18544 (lgamma_test_data): Likewise.
18545 (lrint_test_data): Likewise.
18546 (lrint_tonearest_test_data): Likewise.
18547 (lrint_towardzero_test_data): Likewise.
18548 (lrint_downward_test_data): Likewise.
18549 (lrint_upward_test_data): Likewise.
18550 (llrint_test_data): Likewise.
18551 (llrint_tonearest_test_data): Likewise.
18552 (llrint_towardzero_test_data): Likewise.
18553 (llrint_downward_test_data): Likewise.
18554 (llrint_upward_test_data): Likewise.
18555 (log_test_data): Likewise.
18556 (log10_test_data): Likewise.
18557 (log1p_test_data): Likewise.
18558 (log2_test_data): Likewise.
18559 (logb_test_data): Likewise.
18560 (logb_downward_test_data): Likewise.
18561 (lround_test_data): Likewise.
18562 (llround_test_data): Likewise.
18563 (modf_test_data): Likewise.
18564 (nearbyint_test_data): Likewise.
18565 (nextafter_test_data): Likewise.
18566 (nexttoward_test_data): Likewise.
18567 (pow_test_data): Likewise.
18568 (pow_tonearest_test_data): Likewise.
18569 (pow_towardzero_test_data): Likewise.
18570 (pow_downward_test_data): Likewise.
18571 (pow_upward_test_data): Likewise.
18572 (remainder_test_data): Likewise.
18573 (remainder_tonearest_test_data): Likewise.
18574 (remainder_towardzero_test_data): Likewise.
18575 (remainder_downward_test_data): Likewise.
18576 (remainder_upward_test_data): Likewise.
18577 (remquo_test_data): Likewise.
18578 (rint_test_data): Likewise.
18579 (rint_tonearest_test_data): Likewise.
18580 (rint_towardzero_test_data): Likewise.
18581 (rint_downward_test_data): Likewise.
18582 (rint_upward_test_data): Likewise.
18583 (round_test_data): Likewise.
18584 (scalb_test_data): Likewise.
18585 (scalbn_test_data): Likewise.
18586 (scalbln_test_data): Likewise.
18587 (signbit_test_data): Likewise.
18588 (sin_test_data): Likewise.
18589 (sin_tonearest_test_data): Likewise.
18590 (sin_towardzero_test_data): Likewise.
18591 (sin_downward_test_data): Likewise.
18592 (sin_upward_test_data): Likewise.
18593 (sincos_test_data): Likewise.
18594 (sinh_test_data): Likewise.
18595 (sinh_tonearest_test_data): Likewise.
18596 (sinh_towardzero_test_data): Likewise.
18597 (sinh_downward_test_data): Likewise.
18598 (sinh_upward_test_data): Likewise.
18599 (sqrt_test_data): Likewise.
18600 (tan_test_data): Likewise.
18601 (tan_tonearest_test_data): Likewise.
18602 (tan_towardzero_test_data): Likewise.
18603 (tan_downward_test_data): Likewise.
18604 (tan_upward_test_data): Likewise.
18605 (tanh_test_data): Likewise.
18606 (tgamma_test_data): Likewise.
18607 (trunc_test_data): Likewise.
18608 (y0_test_data): Likewise.
18609 (y1_test_data): Likewise.
18610 (yn_test_data): Likewise.
18611 (significand_test_data): Likewise.
18613 * math/gen-libm-test.pl (@functions): Remove variable.
18614 (generate_testfile): Don't handle START and END lines.
18615 * math/libm-test.inc (START): New macro.
18617 (END_COMPLEX): Likewise.
18618 (acos_test): Use END macro without arguments.
18619 (acos_test_tonearest): Likewise.
18620 (acos_test_towardzero): Likewise.
18621 (acos_test_downward): Likewise.
18622 (acos_test_upward): Likewise.
18623 (acosh_test): Likewise.
18624 (asin_test): Likewise.
18625 (asin_test_tonearest): Likewise.
18626 (asin_test_towardzero): Likewise.
18627 (asin_test_downward): Likewise.
18628 (asin_test_upward): Likewise.
18629 (asinh_test): Likewise.
18630 (atan_test): Likewise.
18631 (atanh_test): Likewise.
18632 (atan2_test): Likewise.
18633 (cabs_test): Likewise.
18634 (cacos_test): Use END_COMPLEX macro without arguments.
18635 (cacosh_test): Likewise.
18636 (carg_test): Use END macro without arguments.
18637 (casin_test): Use END_COMPLEX macro without arguments.
18638 (casinh_test): Likewise.
18639 (catan_test): Likewise.
18640 (catanh_test): Likewise.
18641 (cbrt_test): Use END macro without arguments.
18642 (ccos_test): Use END_COMPLEX macro without arguments.
18643 (ccosh_test): Likewise.
18644 (ceil_test): Use END macro without arguments.
18645 (cexp_test): Use END_COMPLEX macro without arguments.
18646 (cimag_test): Use END macro without arguments.
18647 (clog_test): Use END_COMPLEX macro without arguments.
18648 (clog10_test): Likewise.
18649 (conj_test): Likewise.
18650 (copysign_test): Use END macro without arguments.
18651 (cos_test): Likewise.
18652 (cos_test_tonearest): Likewise.
18653 (cos_test_towardzero): Likewise.
18654 (cos_test_downward): Likewise.
18655 (cos_test_upward): Likewise.
18656 (cosh_test): Likewise.
18657 (cosh_test_tonearest): Likewise.
18658 (cosh_test_towardzero): Likewise.
18659 (cosh_test_downward): Likewise.
18660 (cosh_test_upward): Likewise.
18661 (cpow_test): Use END_COMPLEX macro without arguments.
18662 (cproj_test): Likewise.
18663 (creal_test): Use END macro without arguments.
18664 (csin_test): Use END_COMPLEX macro without arguments.
18665 (csinh_test): Likewise.
18666 (csqrt_test): Likewise.
18667 (ctan_test): Likewise.
18668 (ctan_test_tonearest): Likewise.
18669 (ctan_test_towardzero): Likewise.
18670 (ctan_test_downward): Likewise.
18671 (ctan_test_upward): Likewise.
18672 (ctanh_test): Likewise.
18673 (ctanh_test_tonearest): Likewise.
18674 (ctanh_test_towardzero): Likewise.
18675 (ctanh_test_downward): Likewise.
18676 (ctanh_test_upward): Likewise.
18677 (erf_test): Use END macro without arguments.
18678 (erfc_test): Likewise.
18679 (exp_test): Likewise.
18680 (exp_test_tonearest): Likewise.
18681 (exp_test_towardzero): Likewise.
18682 (exp_test_downward): Likewise.
18683 (exp_test_upward): Likewise.
18684 (exp10_test): Likewise.
18685 (exp2_test): Likewise.
18686 (expm1_test): Likewise.
18687 (fabs_test): Likewise.
18688 (fdim_test): Likewise.
18689 (finite_test): Likewise.
18690 (floor_test): Likewise.
18691 (fma_test): Likewise.
18692 (fma_test_towardzero): Likewise.
18693 (fma_test_downward): Likewise.
18694 (fma_test_upward): Likewise.
18695 (fmax_test): Likewise.
18696 (fmin_test): Likewise.
18697 (fmod_test): Likewise.
18698 (fpclassify_test): Likewise.
18699 (frexp_test): Likewise.
18700 (gamma_test): Likewise.
18701 (hypot_test): Likewise.
18702 (ilogb_test): Likewise.
18703 (isfinite_test): Likewise.
18704 (isgreater_test): Likewise.
18705 (isgreaterequal_test): Likewise.
18706 (isinf_test): Likewise.
18707 (isless_test): Likewise.
18708 (islessequal_test): Likewise.
18709 (islessgreater_test): Likewise.
18710 (isnan_test): Likewise.
18711 (isnormal_test): Likewise.
18712 (issignaling_test): Likewise.
18713 (isunordered_test): Likewise.
18714 (j0_test): Likewise.
18715 (j1_test): Likewise.
18716 (jn_test): Likewise.
18717 (ldexp_test): Likewise.
18718 (lgamma_test): Likewise.
18719 (lrint_test): Likewise.
18720 (lrint_test_tonearest): Likewise.
18721 (lrint_test_towardzero): Likewise.
18722 (lrint_test_downward): Likewise.
18723 (lrint_test_upward): Likewise.
18724 (llrint_test): Likewise.
18725 (llrint_test_tonearest): Likewise.
18726 (llrint_test_towardzero): Likewise.
18727 (llrint_test_downward): Likewise.
18728 (llrint_test_upward): Likewise.
18729 (log_test): Likewise.
18730 (log10_test): Likewise.
18731 (log1p_test): Likewise.
18732 (log2_test): Likewise.
18733 (logb_test): Likewise.
18734 (logb_test_downward): Likewise.
18735 (lround_test): Likewise.
18736 (llround_test): Likewise.
18737 (modf_test): Likewise.
18738 (nearbyint_test): Likewise.
18739 (nextafter_test): Likewise.
18740 (nexttoward_test): Likewise.
18741 (pow_test): Likewise.
18742 (pow_test_tonearest): Likewise.
18743 (pow_test_towardzero): Likewise.
18744 (pow_test_downward): Likewise.
18745 (pow_test_upward): Likewise.
18746 (remainder_test): Likewise.
18747 (remainder_test_tonearest): Likewise.
18748 (remainder_test_towardzero): Likewise.
18749 (remainder_test_downward): Likewise.
18750 (remainder_test_upward): Likewise.
18751 (remquo_test): Likewise.
18752 (rint_test): Likewise.
18753 (rint_test_tonearest): Likewise.
18754 (rint_test_towardzero): Likewise.
18755 (rint_test_downward): Likewise.
18756 (rint_test_upward): Likewise.
18757 (round_test): Likewise.
18758 (scalb_test): Likewise.
18759 (scalbn_test): Likewise.
18760 (scalbln_test): Likewise.
18761 (signbit_test): Likewise.
18762 (sin_test): Likewise.
18763 (sin_test_tonearest): Likewise.
18764 (sin_test_towardzero): Likewise.
18765 (sin_test_downward): Likewise.
18766 (sin_test_upward): Likewise.
18767 (sincos_test): Likewise.
18768 (sinh_test): Likewise.
18769 (sinh_test_tonearest): Likewise.
18770 (sinh_test_towardzero): Likewise.
18771 (sinh_test_downward): Likewise.
18772 (sinh_test_upward): Likewise.
18773 (sqrt_test): Likewise.
18774 (tan_test): Likewise.
18775 (tan_test_tonearest): Likewise.
18776 (tan_test_towardzero): Likewise.
18777 (tan_test_downward): Likewise.
18778 (tan_test_upward): Likewise.
18779 (tanh_test): Likewise.
18780 (tgamma_test): Likewise.
18781 (trunc_test): Likewise.
18782 (y0_test): Likewise.
18783 (y1_test): Likewise.
18784 (yn_test): Likewise.
18785 (significand_test): Likewise.
18787 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18790 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18792 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18795 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18796 __ppc_mdoio and __ppc_mdoom.
18797 * manual/platform.texi: Document new functions __ppc_yield,
18798 __ppc_mdoio and __ppc_mdoom.
18800 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18802 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18803 (main): Mention "tls" pseudo-hwcap is legacy.
18804 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18806 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18808 * math/gen-libm-test.pl (parse_args): Output only string of
18809 arguments as text for test name, not full call or descriptions of
18810 tests for extra outputs.
18811 (generate_testfile): Do not pass function name to parse_args.
18812 Generate this_func variable from START.
18813 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18815 (struct test_ff_f_data): Likewise.
18816 (test_ff_f_data_nexttoward): Likewise.
18817 (struct test_fi_f_data): Likewise.
18818 (struct test_fl_f_data): Likewise.
18819 (struct test_if_f_data): Likewise.
18820 (struct test_fff_f_data): Likewise.
18821 (struct test_c_f_data): Likewise.
18822 (struct test_f_f1_data): Likewise. Remove field extra_name.
18823 (struct test_fF_f1_data): Likewise.
18824 (struct test_ffI_f1_data): Likewise.
18825 (struct test_c_c_data): Rename test_name field to arg_str.
18826 (struct test_cc_c_data): Likewise.
18827 (struct test_f_i_data): Likewise.
18828 (struct test_ff_i_data): Likewise.
18829 (struct test_f_l_data): Likewise.
18830 (struct test_f_L_data): Likewise.
18831 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18833 (COMMON_TEST_SETUP): New macro.
18834 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18835 (COMMON_TEST_CLEANUP): Likewise.
18836 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18837 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18839 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18840 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18842 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18843 (RUN_TEST_fff_f): Take argument string. Call new setup and
18845 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18846 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18848 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18849 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18851 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18852 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18854 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18855 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18857 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18858 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18860 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18861 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18863 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18864 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18866 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18867 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18869 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18870 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18872 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18873 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18875 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18876 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18878 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18879 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18881 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18882 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18884 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18885 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18887 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18888 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18890 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18892 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18894 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18895 to _sifields.sigfault.
18896 (si_addr_lsb): Define new macro.
18897 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18898 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18899 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18901 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18904 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18906 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18908 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18909 loading the domain.
18911 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18913 * math/gen-libm-test.pl (parse_args): Do not include expected
18914 result in test name.
18915 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18916 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18917 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18918 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18919 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18922 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18924 * benchtests/Makefile: Sort function entries.
18926 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18927 tanh, asinh, acosh, atanh.
18928 * benchtests/acos-inputs: New file.
18929 * benchtests/acosh-inputs: New file.
18930 * benchtests/asin-inputs: New file.
18931 * benchtests/asinh-inputs: New file.
18932 * benchtests/atanh-inputs: New file.
18933 * benchtests/cosh-inputs: New file.
18934 * benchtests/log-inputs: New file.
18935 * benchtests/sinh-inputs: New file.
18936 * benchtests/tanh-inputs: New file.
18938 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18941 * posix/tst-getaddrinfo4.c: New test.
18942 * posix/Makefile (tests): Add it.
18944 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18947 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18948 when no services were used.
18949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18950 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18952 2013-05-21 Andreas Schwab <schwab@suse.de>
18955 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18956 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18958 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18959 redundant variable declarations and reallocation of buffer when
18960 parsing as IPv6 address. Always set NSS status when called from
18961 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18962 buffer too small. Correct computation of needed size.
18963 * nss/Makefile (tests): Add test-digits-dots.
18964 * nss/test-digits-dots.c: New test.
18966 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18968 * benchtests/Makefile: Remove instructions for adding
18970 * benchtests/README: New file to explain how to execute and
18971 enhance the benchmark tests.
18973 2013-05-21 Andreas Schwab <schwab@suse.de>
18976 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18977 * setjmp/tst-sigsetjmp.c: New test.
18979 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18981 * sysdeps/x86_64/memset.S (memset): New implementation.
18982 (__bzero): Likewise.
18983 (__memset_tail): New function.
18985 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18987 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18988 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18989 __memcpy_sse2_unaligned ifunc selection.
18990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18991 Add memcpy-sse2-unaligned.S.
18992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18993 Add: __memcpy_sse2_unaligned.
18995 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18998 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18999 math_force_eval before restoring floating-point envrionment.
19000 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19001 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19003 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19005 (__nearbyintl): Use math_force_eval before restoring
19006 floating-point environment.
19007 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19009 * math/gen-libm-test.pl (special_functions): Remove.
19010 (parse_args): Don't handle TEST_extra. Handle functions with no
19012 * math/libm-test.inc (struct test_sincos_data): Replace with
19013 struct test_fFF_11_data.
19014 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19015 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19016 (sincos_test_data): Change element type to struct
19017 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19018 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19019 RUN_TEST_LOOP_sincos.
19020 * math/README.libm-test: Don't mention special handling of
19021 individual functions.
19022 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19023 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19024 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19025 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19026 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19029 * math/gen-libm-test.pl (get_variable): Remove function.
19030 (parse_args): Don't show pointer parameters to call in test
19031 names. Use "extra output N" in test names for extra outputs
19032 rather than naming variables.
19034 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19037 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19038 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19039 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19041 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19043 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19046 * math/gen-libm-test.pl (@tests): Remove variable.
19047 ($count): Likewise.
19048 (new_test): Remove function.
19049 (show_exceptions): New function.
19050 (special_functions): Use show_exceptions instead of new_test.
19051 (parse_args): Likewise.
19052 (generate_testfile): Pass only function name in generated call to
19053 print_max_error or print_complex_max_error.
19054 (get_ulps): Do not handle complex tests specially.
19055 (output_test): Rename to ...
19056 (get_all_ulps_for_test): ... this. Return a string rather than
19057 printing to a file. Require ulps to be present.
19058 (output_ulps): Generate arrays rather than #defines.
19059 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19060 (struct ulp_data): New type.
19061 (BUILD_COMPLEX_ULP): Remove macro.
19062 (compare_ulp_data): New function.
19063 (find_ulps): Likewise.
19064 (find_test_ulps): Likewise.
19065 (find_function_ulps): Likewise.
19066 (find_complex_function_ulps): Likewise.
19067 (print_max_error): Determine allowed ulps using
19068 find_function_ulps.
19069 (print_complex_max_error): Determine allowed ulps using
19070 find_complex_function_ulps.
19071 (check_float_internal): Determine max ulps using find_test_ulps.
19072 (check_float): Do not take max_ulp parameter. Update call to
19073 check_float_internal.
19074 (check_complex): Likewise.
19075 (check_int): Do not take max_ulp parameter.
19076 (check_long): Likewise.
19077 (check_bool): Likewise.
19078 (check_longlong): Likewise.
19079 (struct test_f_f_data): Remove max_ulp field.
19080 (struct test_ff_f_data): Likewise.
19081 (struct test_ff_f_data_nexttoward): Likewise.
19082 (struct test_fi_f_data): Likewise.
19083 (struct test_fl_f_data): Likewise.
19084 (struct test_if_f_data): Likewise.
19085 (struct test_fff_f_data): Likewise.
19086 (struct test_c_f_data): Likewise.
19087 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19088 (struct test_fF_f1_data): Likewise.
19089 (struct test_ffI_f1_data): Likewise.
19090 (struct test_c_c_data): Remove max_ulp field.
19091 (struct test_cc_c_data): Likewise.
19092 (struct test_f_i_data): Likewise.
19093 (struct test_ff_i_data): Likewise.
19094 (struct test_f_l_data): Likewise.
19095 (struct test_f_L_data): Likewise.
19096 (struct test_sincos_data): Likewise.
19097 (RUN_TEST_f_f): Do not handle ulps.
19098 (RUN_TEST_LOOP_f_f): Likewise.
19099 (RUN_TEST_2_f): Likewise.
19100 (RUN_TEST_LOOP_2_f): Likewise.
19101 (RUN_TEST_fff_f): Likewise.
19102 (RUN_TEST_LOOP_fff_f): Likewise.
19103 (RUN_TEST_c_f): Likewise.
19104 (RUN_TEST_LOOP_c_f): Likewise.
19105 (RUN_TEST_f_f1): Likewise.
19106 (RUN_TEST_LOOP_f_f1): Likewise.
19107 (RUN_TEST_fF_f1): Likewise.
19108 (RUN_TEST_LOOP_fF_f1): Likewise.
19109 (RUN_TEST_fI_f1): Likewise.
19110 (RUN_TEST_LOOP_fI_f1): Likewise.
19111 (RUN_TEST_ffI_f1): Likewise.
19112 (RUN_TEST_LOOP_ffI_f1): Likewise.
19113 (RUN_TEST_c_c): Likewise.
19114 (RUN_TEST_LOOP_c_c): Likewise.
19115 (RUN_TEST_cc_c): Likewise.
19116 (RUN_TEST_LOOP_cc_c): Likewise.
19117 (RUN_TEST_f_i): Likewise.
19118 (RUN_TEST_LOOP_f_i): Likewise.
19119 (RUN_TEST_f_i_tg): Likewise.
19120 (RUN_TEST_LOOP_f_i_tg): Likewise.
19121 (RUN_TEST_ff_i_tg): Likewise.
19122 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19123 (RUN_TEST_f_b): Likewise.
19124 (RUN_TEST_LOOP_f_b): Likewise.
19125 (RUN_TEST_f_b_tg): Likewise.
19126 (RUN_TEST_LOOP_f_b_tg): Likewise.
19127 (RUN_TEST_f_l): Likewise.
19128 (RUN_TEST_LOOP_f_l): Likewise.
19129 (RUN_TEST_f_L): Likewise.
19130 (RUN_TEST_LOOP_f_L): Likewise.
19131 (RUN_TEST_sincos): Likewise.
19132 (RUN_TEST_LOOP_sincos): Likewise.
19134 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19138 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19139 main case of finite arguments, set rounding mode to FE_TONEAREST
19140 and discard exceptions.
19141 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19143 (remainder_tonearest_test_data): New variable.
19144 (remainder_test_tonearest): New function.
19145 (remainder_towardzero_test_data): New variable.
19146 (remainder_test_towardzero): New function.
19147 (remainder_downward_test_data): New variable.
19148 (remainder_test_downward): New function.
19149 (remainder_upward_test_data): New variable.
19150 (remainder_test_upward): New function.
19151 (main): Call the new test functions.
19153 * math/libm-test.inc (struct test_f_f1_data): Remove field
19155 (struct test_fF_f1_data): Likewise.
19156 (struct test_ffI_f1_data): Likewise.
19157 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19158 based on value of EXTRA_EXPECTED.
19159 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19160 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19161 EXTRA_VAR based on value of EXTRA_EXPECTED.
19162 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19163 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19164 EXTRA_VAR based on value of EXTRA_EXPECTED.
19165 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19166 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19167 EXTRA_VAR based on value of EXTRA_EXPECTED.
19168 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19169 * math/gen-libm-test.pl (parse_args): Don't output initializers
19170 for extra output values.
19172 * math/libm-test.inc (check_int): Expect result to be exactly
19173 equal to expected value and do not handle ulps.
19174 (check_long): Likewise.
19175 (check_longlong): Likewise.
19177 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19179 (cimag_test_data): Likewise.
19180 (conj_test_data): Likewise.
19181 (copysign_test_data): Likewise.
19182 (cproj_test_data): Likewise.
19183 (creal_test_data): Likewise.
19184 (fabs_test_data): Likewise.
19185 (fdim_test_data): Likewise.
19186 (finite_test_data): Likewise.
19187 (floor_test_data): Likewise.
19188 (fmax_test_data): Likewise.
19189 (fmin_test_data): Likewise.
19190 (fmod_test_data): Likewise.
19191 (fpclassify_test_data): Likewise.
19192 (frexp_test_data): Likewise.
19193 (ilogb_test_data): Likewise.
19194 (isfinite_test_data): Likewise.
19195 (isgreater_test_data): Likewise.
19196 (isgreaterequal_test_data): Likewise.
19197 (isinf_test_data): Likewise.
19198 (isless_test_data): Likewise.
19199 (islessequal_test_data): Likewise.
19200 (islessgreater_test_data): Likewise.
19201 (isnan_test_data): Likewise.
19202 (isnormal_test_data): Likewise.
19203 (issignaling_test_data): Likewise.
19204 (isunordered_test_data): Likewise.
19205 (ldexp_test_data): Likewise.
19206 (lrint_test_data): Likewise.
19207 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19208 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19209 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19210 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19211 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19212 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19214 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19215 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19216 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19217 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19219 (lrint_downward_test_data): Test for "inexact" exceptions.
19220 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19221 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19222 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19224 (lrint_upward_test_data): Test for "inexact" exceptions.
19225 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19227 (llrint_test_data): Test for "inexact" exceptions.
19228 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19229 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19230 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19231 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19232 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19233 (llrint_downward_test_data): Test for "inexact" exceptions.
19234 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19235 (llrint_upward_test_data): Test for "inexact" exceptions.
19236 (logb_test_data): Likewise.
19237 (logb_downward_test_data): Likewise.
19238 (nextafter_test_data): Likewise.
19239 (nexttoward_test_data): Likewise.
19240 (remainder_test_data): Likewise.
19241 (remquo_test_data): Likewise.
19242 (scalbn_test_data): Likewise.
19243 (scalbln_test_data): Likewise.
19244 (signbit_test_data): Likewise.
19245 (sqrt_test_data): Likewise.
19246 (significand_test_data): Likewise.
19248 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19251 * benchtests/bench-modf.c (struct args): Mark arg0 as
19253 * scripts/bench.pl: Mark members of struct args as volatile.
19255 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19258 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19259 negative infinity on POWER6 or lower.
19260 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19262 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19265 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19266 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19267 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19268 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19269 (_FP_SETQNAN): New macro.
19270 (_FP_SETQNAN_SEMIRAW): Likewise.
19271 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19272 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19273 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19274 (FP_EXTEND): Use _FP_FRAC_SNANP.
19275 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19276 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19278 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19280 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19283 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19285 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19286 with DIVIDE_BY_ZERO_EXCEPTION.
19287 (gamma_test_data): Likewise.
19288 (lgamma_test_data): Likewise.
19289 (log_test_data): Likewise.
19290 (log10_test_data): Likewise.
19291 (log2_test_data): Likewise.
19292 (tgamma_test_data): Likewise.
19294 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19295 (acos_test_tonearest): Likewise.
19296 (acos_test_towardzero): Likewise.
19297 (acos_test_downward): Likewise.
19298 (acos_test_upward): Likewise.
19299 (acosh_test): Likewise.
19300 (asin_test): Likewise.
19301 (asin_test_tonearest): Likewise.
19302 (asin_test_towardzero): Likewise.
19303 (asin_test_downward): Likewise.
19304 (asin_test_upward): Likewise.
19305 (asinh_test): Likewise.
19306 (atan_test): Likewise.
19307 (atanh_test): Likewise.
19308 (atan2_test): Likewise.
19309 (cabs_test): Likewise.
19310 (cacos_test): Likewise.
19311 (cacosh_test): Likewise.
19312 (casin_test): Likewise.
19313 (casinh_test): Likewise.
19314 (catan_test): Likewise.
19315 (catanh_test): Likewise.
19316 (cbrt_test): Likewise.
19317 (ccos_test): Likewise.
19318 (ccosh_test): Likewise.
19319 (cexp_test): Likewise.
19320 (clog_test): Likewise.
19321 (clog10_test): Likewise.
19322 (cos_test): Likewise.
19323 (cos_test_tonearest): Likewise.
19324 (cos_test_towardzero): Likewise.
19325 (cos_test_downward): Likewise.
19326 (cos_test_upward): Likewise.
19327 (cosh_test): Likewise.
19328 (cosh_test_tonearest): Likewise.
19329 (cosh_test_towardzero): Likewise.
19330 (cosh_test_downward): Likewise.
19331 (cosh_test_upward): Likewise.
19332 (cpow_test): Likewise.
19333 (csin_test): Likewise.
19334 (csinh_test): Likewise.
19335 (csqrt_test): Likewise.
19336 (ctan_test): Likewise.
19337 (ctan_test_tonearest): Likewise.
19338 (ctan_test_towardzero): Likewise.
19339 (ctan_test_downward): Likewise.
19340 (ctan_test_upward): Likewise.
19341 (ctanh_test): Likewise.
19342 (ctanh_test_tonearest): Likewise.
19343 (ctanh_test_towardzero): Likewise.
19344 (ctanh_test_downward): Likewise.
19345 (ctanh_test_upward): Likewise.
19346 (erf_test): Likewise.
19347 (erfc_test): Likewise.
19348 (exp_test): Likewise.
19349 (exp_test_tonearest): Likewise.
19350 (exp_test_towardzero): Likewise.
19351 (exp_test_downward): Likewise.
19352 (exp_test_upward): Likewise.
19353 (exp10_test): Likewise.
19354 (exp2_test): Likewise.
19355 (expm1_test): Likewise.
19356 (fmod_test): Likewise.
19357 (gamma_test): Likewise.
19358 (hypot_test): Likewise.
19359 (j0_test): Likewise.
19360 (j1_test): Likewise.
19361 (jn_test): Likewise.
19362 (lgamma_test): Likewise.
19363 (log_test): Likewise.
19364 (log10_test): Likewise.
19365 (log1p_test): Likewise.
19366 (log2_test): Likewise.
19367 (logb_test_downward): Likewise.
19368 (pow_test): Likewise.
19369 (pow_test_tonearest): Likewise.
19370 (pow_test_towardzero): Likewise.
19371 (pow_test_downward): Likewise.
19372 (pow_test_upward): Likewise.
19373 (remainder_test): Likewise.
19374 (remquo_test): Likewise.
19375 (sin_test): Likewise.
19376 (sin_test_tonearest): Likewise.
19377 (sin_test_towardzero): Likewise.
19378 (sin_test_downward): Likewise.
19379 (sin_test_upward): Likewise.
19380 (sincos_test): Likewise.
19381 (sinh_test): Likewise.
19382 (sinh_test_tonearest): Likewise.
19383 (sinh_test_towardzero): Likewise.
19384 (sinh_test_downward): Likewise.
19385 (sinh_test_upward): Likewise.
19386 (sqrt_test): Likewise.
19387 (tan_test): Likewise.
19388 (tan_test_tonearest): Likewise.
19389 (tan_test_towardzero): Likewise.
19390 (tan_test_downward): Likewise.
19391 (tan_test_upward): Likewise.
19392 (tanh_test): Likewise.
19393 (tgamma_test): Likewise.
19394 (y0_test): Likewise.
19395 (y1_test): Likewise.
19396 (yn_test): Likewise.
19398 * math/gen-libm-test.pl (adjust_arg): Remove function.
19399 (special_function): Remove argument $in_func. Only handle
19400 generating output for tables of tests, not inside functions.
19401 (parse_args): Likewise.
19402 (generate_testfile): Remove variable $in_func. Update call to
19404 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19405 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19406 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19407 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19408 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19409 (MAX_VALUE_INIT): Rename macro to max_value.
19410 (MIN_VALUE_INIT): Rename macro to min_value.
19411 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19412 (plus_zero): Remove variable.
19413 (minus_zero): Likewise.
19414 (plus_infty): Likewise.
19415 (minus_infty): Likewise.
19416 (qnan_value): Likewise.
19417 (max_value): Likewise.
19418 (min_value): Likewise.
19419 (min_subnorm_value): Likewise.
19421 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19423 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19424 uint64_t or uint32_t usage.
19425 * crypt/sha256-block.c: Likewise.
19426 * crypt/sha256-crypt.c: Likewise.
19427 * crypt/sha256.c: Likewise.
19428 * crypt/sha512-block.c: Likewise.
19429 * crypt/sha512-crypt.c: Likewise.
19430 * crypt/sha512.c: Likewise.
19431 * debug/backtrace-tst.c: Likewise.
19432 * debug/pcprofiledump.c: Likewise.
19433 * elf/cache.c: Likewise.
19434 * elf/dl-cache.c: Likewise.
19435 * elf/dl-misc.c: Likewise.
19436 * elf/dl-profile.c: Likewise.
19437 * elf/dl-support.c: Likewise.
19438 * elf/ldconfig.c: Likewise.
19439 * elf/sprof.c: Likewise.
19440 * iconv/dummy-repertoire.c: Likewise.
19441 * iconv/iconv_charmap.c: Likewise.
19442 * iconv/skeleton.c: Likewise.
19443 * iconvdata/8bit-generic.c: Likewise.
19444 * iconvdata/cp737.h: Likewise.
19445 * iconvdata/cp775.h: Likewise.
19446 * iconvdata/ibm1008.h: Likewise.
19447 * iconvdata/ibm1025.h: Likewise.
19448 * iconvdata/ibm1046.h: Likewise.
19449 * iconvdata/ibm1097.h: Likewise.
19450 * iconvdata/ibm1112.h: Likewise.
19451 * iconvdata/ibm1122.h: Likewise.
19452 * iconvdata/ibm1123.h: Likewise.
19453 * iconvdata/ibm1124.h: Likewise.
19454 * iconvdata/ibm1129.h: Likewise.
19455 * iconvdata/ibm1130.h: Likewise.
19456 * iconvdata/ibm1132.h: Likewise.
19457 * iconvdata/ibm1133.h: Likewise.
19458 * iconvdata/ibm1137.h: Likewise.
19459 * iconvdata/ibm1140.h: Likewise.
19460 * iconvdata/ibm1141.h: Likewise.
19461 * iconvdata/ibm1142.h: Likewise.
19462 * iconvdata/ibm1143.h: Likewise.
19463 * iconvdata/ibm1144.h: Likewise.
19464 * iconvdata/ibm1145.h: Likewise.
19465 * iconvdata/ibm1146.h: Likewise.
19466 * iconvdata/ibm1147.h: Likewise.
19467 * iconvdata/ibm1148.h: Likewise.
19468 * iconvdata/ibm1149.h: Likewise.
19469 * iconvdata/ibm1153.h: Likewise.
19470 * iconvdata/ibm1154.h: Likewise.
19471 * iconvdata/ibm1155.h: Likewise.
19472 * iconvdata/ibm1156.h: Likewise.
19473 * iconvdata/ibm1157.h: Likewise.
19474 * iconvdata/ibm1158.h: Likewise.
19475 * iconvdata/ibm1160.h: Likewise.
19476 * iconvdata/ibm1161.h: Likewise.
19477 * iconvdata/ibm1162.h: Likewise.
19478 * iconvdata/ibm1163.h: Likewise.
19479 * iconvdata/ibm1164.h: Likewise.
19480 * iconvdata/ibm1166.h: Likewise.
19481 * iconvdata/ibm1167.h: Likewise.
19482 * iconvdata/ibm12712.h: Likewise.
19483 * iconvdata/ibm1390.h: Likewise.
19484 * iconvdata/ibm1399.h: Likewise.
19485 * iconvdata/ibm16804.h: Likewise.
19486 * iconvdata/ibm4517.h: Likewise.
19487 * iconvdata/ibm4899.h: Likewise.
19488 * iconvdata/ibm4909.h: Likewise.
19489 * iconvdata/ibm4971.h: Likewise.
19490 * iconvdata/ibm5347.h: Likewise.
19491 * iconvdata/ibm803.h: Likewise.
19492 * iconvdata/ibm856.h: Likewise.
19493 * iconvdata/ibm901.h: Likewise.
19494 * iconvdata/ibm902.h: Likewise.
19495 * iconvdata/ibm9030.h: Likewise.
19496 * iconvdata/ibm9066.h: Likewise.
19497 * iconvdata/ibm921.h: Likewise.
19498 * iconvdata/ibm922.h: Likewise.
19499 * iconvdata/ibm9448.h: Likewise.
19500 * iconvdata/isiri-3342.h: Likewise.
19501 * iconvdata/jis0201.h: Likewise.
19502 * include/link.h: Likewise.
19503 * include/netdb.h: Likewise.
19504 * inet/check_native.c: Likewise.
19505 * inet/check_pf.c: Likewise.
19506 * inet/getipv4sourcefilter.c: Likewise.
19507 * inet/getnameinfo.c: Likewise.
19508 * inet/getsourcefilter.c: Likewise.
19509 * inet/htonl.c: Likewise.
19510 * inet/setipv4sourcefilter.c: Likewise.
19511 * inet/setsourcefilter.c: Likewise.
19512 * inet/test-inet6_opt.c: Likewise.
19513 * inet/tst-network.c: Likewise.
19514 * locale/C-collate.c: Likewise.
19515 * locale/C-ctype.c: Likewise.
19516 * locale/C-time.c: Likewise.
19517 * locale/C-translit.h: Likewise.
19518 * locale/loadarchive.c: Likewise.
19519 * locale/programs/3level.h: Likewise.
19520 * locale/programs/charmap.c: Likewise.
19521 * locale/programs/charmap.h: Likewise.
19522 * locale/programs/ld-address.c: Likewise.
19523 * locale/programs/ld-collate.c: Likewise.
19524 * locale/programs/ld-ctype.c: Likewise.
19525 * locale/programs/ld-identification.c: Likewise.
19526 * locale/programs/ld-measurement.c: Likewise.
19527 * locale/programs/ld-messages.c: Likewise.
19528 * locale/programs/ld-monetary.c: Likewise.
19529 * locale/programs/ld-name.c: Likewise.
19530 * locale/programs/ld-numeric.c: Likewise.
19531 * locale/programs/ld-paper.c: Likewise.
19532 * locale/programs/ld-telephone.c: Likewise.
19533 * locale/programs/ld-time.c: Likewise.
19534 * locale/programs/linereader.c: Likewise.
19535 * locale/programs/locale.c: Likewise.
19536 * locale/programs/locarchive.c: Likewise.
19537 * locale/programs/locfile.h: Likewise.
19538 * locale/programs/repertoire.c: Likewise.
19539 * locale/programs/simple-hash.c: Likewise.
19540 * locale/programs/simple-hash.h: Likewise.
19541 * malloc/memusage.c: Likewise.
19542 * malloc/memusagestat.c: Likewise.
19543 * nis/nis_defaults.c: Likewise.
19544 * nis/nis_hash.c: Likewise.
19545 * nis/nis_print.c: Likewise.
19546 * nis/nis_xdr.c: Likewise.
19547 * nscd/connections.c: Likewise.
19548 * nscd/hstcache.c: Likewise.
19549 * nscd/nscd_gethst_r.c: Likewise.
19550 * nscd/nscd_getserv_r.c: Likewise.
19551 * nscd/nscd_helper.c: Likewise.
19552 * nscd/servicescache.c: Likewise.
19553 * nss/makedb.c: Likewise.
19554 * nss/nss_db/db-XXX.c: Likewise.
19555 * nss/nss_db/db-initgroups.c: Likewise.
19556 * nss/nss_db/db-netgrp.c: Likewise.
19557 * nss/nss_files/files-network.c: Likewise.
19558 * nss/nss_files/files-parse.c: Likewise.
19559 * posix/bug-regex5.c: Likewise.
19560 * posix/fnmatch_loop.c: Likewise.
19561 * posix/regcomp.c: Likewise.
19562 * posix/regexec.c: Likewise.
19563 * posix/tst-rfc3484-2.c: Likewise.
19564 * posix/tst-rfc3484-3.c: Likewise.
19565 * posix/tst-rfc3484.c: Likewise.
19566 * resolv/nss_dns/dns-canon.c: Likewise.
19567 * resolv/nss_dns/dns-network.c: Likewise.
19568 * resolv/res_init.c: Likewise.
19569 * resolv/res_mkquery.c: Likewise.
19570 * resolv/tst-aton.c: Likewise.
19571 * stdlib/cxa_atexit.c: Likewise.
19572 * stdlib/cxa_finalize.c: Likewise.
19573 * stdlib/gen-fpioconst.c: Likewise.
19574 * stdlib/strtol_l.c: Likewise.
19575 * string/tst-endian.c: Likewise.
19576 * sunrpc/auth_des.c: Likewise.
19577 * sunrpc/clnt_udp.c: Likewise.
19578 * sunrpc/rtime.c: Likewise.
19579 * sunrpc/svcauth_des.c: Likewise.
19580 * sunrpc/xdr.c: Likewise.
19581 * sunrpc/xdr_intXX_t.c: Likewise.
19582 * sunrpc/xdr_rec.c: Likewise.
19583 * sysdeps/generic/ldconfig.h: Likewise.
19584 * sysdeps/generic/ldsodefs.h: Likewise.
19585 * sysdeps/generic/memusage.h: Likewise.
19586 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19589 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19590 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19596 * sysdeps/posix/getaddrinfo.c: Likewise.
19597 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19598 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19599 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19600 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19601 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19602 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19603 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19604 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19605 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19606 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19607 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19608 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19609 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19610 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19611 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19612 * sysdeps/x86_64/dl-tls.h: Likewise.
19613 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19614 * time/alt_digit.c: Likewise.
19615 * time/era.c: Likewise.
19616 * wcsmbs/tst-c16c32-1.c: Likewise.
19618 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19620 * math/libm-test.inc (struct test_sincos_data): New type.
19621 (RUN_TEST_LOOP_sincos): New macro.
19622 (sincos_test_data): New variable.
19623 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19625 2013-05-16 Richard Henderson <rth@redhat.com>
19627 * math/atest-exp2.c (LIMB64): New macro.
19628 (CONSTSZ): New macro.
19629 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19631 (print_mpn_fp): ... to function scope.
19632 (read_mpn_hex): Remove.
19633 (get_log2): Remove.
19634 (exp2_mpn): Use mp_log2.
19635 (main): Use mp_exp1.
19637 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19639 * math/libm-test.inc: Remove comment about not testing "inexact"
19641 (INEXACT_EXCEPTION): New macro.
19642 (NO_INEXACT_EXCEPTION): Likewise.
19643 (INVALID_EXCEPTION_OK): Update value.
19644 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19645 (OVERFLOW_EXCEPTION_OK): Likewise.
19646 (UNDERFLOW_EXCEPTION_OK): Likewise.
19647 (IGNORE_ZERO_INF_SIGN): Likewise.
19648 (ERRNO_UNCHANGED): Likewise.
19649 (ERRNO_EDOM): Likewise.
19650 (ERRNO_ERANGE): Likewise.
19651 (test_exceptions): Handle testing "inexact" exceptions.
19652 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19653 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19654 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19655 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19657 (rint_towardzero_test_data): Likewise.
19658 (rint_downward_test_data): Likewise.
19659 (rint_upward_test_data): Likewise.
19661 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19662 with OVERFLOW_EXCEPTION.
19663 (exp10_test_data): Likewise.
19664 (exp2_test_data): Likewise.
19665 (expm1_test_data): Likewise.
19666 (lgamma_test_data): Likewise.
19667 (pow_test_data): Likewise.
19668 (tgamma_test_data): Likewise.
19669 (yn_test_data): Remove duplicate test of overflow.
19671 * math/libm-test.inc (struct test_cc_c_data): New type.
19672 (RUN_TEST_LOOP_cc_c): New macro.
19673 (cpow_test_data): New variable.
19674 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19676 * math/libm-test.inc (struct test_f_L_data): New type.
19677 (RUN_TEST_LOOP_f_L): New macro.
19678 (llrint_test_data): New variable.
19679 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19680 (llrint_tonearest_test_data): New variable.
19681 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19682 (llrint_towardzero_test_data): New variable.
19683 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19684 (llrint_downward_test_data): New variable.
19685 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19686 (llrint_upward_test_data): New variable.
19687 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19688 (llround_test_data): New variable.
19689 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19691 2013-05-13 Peter Collingbourne <pcc@google.com>
19693 * math/atest-exp2.c (get_log2): Remove const attribute.
19695 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19697 * math/libm-test.inc (struct test_f_l_data): New type.
19698 (RUN_TEST_LOOP_f_l): New macro.
19699 (lrint_test_data): New variable.
19700 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19701 (lrint_tonearest_test_data): New variable.
19702 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19703 (lrint_towardzero_test_data): New variable.
19704 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19705 (lrint_downward_test_data): New variable.
19706 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19707 (lrint_upward_test_data): New variable.
19708 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19709 (lround_test_data): New variable.
19710 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19712 2013-05-15 Peter Collingbourne <pcc@google.com>
19714 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19715 (EXTRACT_WORDS64) Use where appropriate.
19716 (INSERT_WORDS64) Likewise.
19718 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19719 constraints with x constraints.
19720 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19722 * malloc/obstack.c (_obstack_compat): Add initializer.
19724 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19726 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19727 si_trapno and add si_addr_lsb to _sifields.sigfault.
19728 (si_trapno): Remove macro.
19729 (si_addr_lsb): Define new macro.
19730 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19732 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19734 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19735 instead of TEST_f_l.
19736 (llrint_test_tonearest): Likewise.
19737 (llrint_test_towardzero): Likewise.
19738 (llrint_test_downward): Likewise.
19739 (llrint_test_upward): Likewise.
19740 (llround_test): Likewise.
19742 * math/libm-test.inc (struct test_f_i_data): Add comment.
19743 (RUN_TEST_LOOP_f_b): New macro.
19744 (RUN_TEST_LOOP_f_b_tg): Likewise.
19745 (finite_test_data): New variable.
19746 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19747 (isfinite_test_data): New variable.
19748 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19749 (isinf_test_data): New variable.
19750 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19751 (isnan_test_data): New variable.
19752 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19753 (isnormal_test_data): New variable.
19754 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19755 (issignaling_test_data): New variable.
19756 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19757 (signbit_test_data): New variable.
19758 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19760 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19761 with INVALID_EXCEPTION.
19762 (acosh_test_data): Likewise.
19763 (asin_test_data): Likewise.
19764 (atanh_test_data): Likewise.
19765 (fmod_test_data): Likewise.
19766 (log_test_data): Likewise.
19767 (log10_test_data): Likewise.
19768 (log2_test_data): Likewise.
19769 (pow_test_data): Likewise.
19770 (sqrt_test_data): Likewise.
19771 (y0_test_data): Likewise.
19772 (y1_test_data): Likewise.
19773 (yn_test_data): Likewise.
19775 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19778 * math/libm-test.inc (struct test_ff_i_data): New type.
19779 (RUN_TEST_LOOP_ff_i_tg): New macro.
19780 (isgreater_test_data): New variable.
19781 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19782 (isgreaterequal_test_data): New variable.
19783 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19784 (isless_test_data): New variable.
19785 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19786 (islessequal_test_data): New variable.
19787 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19788 (islessgreater_test_data): New variable.
19789 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19790 (isunordered_test_data): New variable.
19791 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19793 2013-05-14 David S. Miller <davem@davemloft.net>
19795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19797 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19799 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19801 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19803 (struct test_f_i_data): Change type of max_ulp to int.
19805 * math/libm-test.inc (test_ffI_f1_data): New type.
19806 (RUN_TEST_LOOP_ffI_f1): New macro.
19807 (remquo_test_data): New variable.
19808 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19810 * setjmp/tst-setjmp-fp.c: New file.
19811 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19812 (link-libm): New variable.
19813 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19815 * math/libm-test.inc (struct test_f_i_data): New type.
19816 (RUN_TEST_LOOP_f_i): New macro.
19817 (RUN_TEST_LOOP_f_i_tg): Likewise.
19818 (fpclassify_test_data): New variable.
19819 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19820 (ilogb_test_data): New variable.
19821 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19823 * math/libm-test.inc (scalbln_test): Correct function name in END
19826 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19827 (RUN_TEST_LOOP_fI_f1): New macro.
19828 (frexp_test_data): New variable.
19829 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19831 * math/libm-test.inc (struct test_fF_f1_data): New type.
19832 (RUN_TEST_LOOP_fF_f1): New macro.
19833 (modf_test_data): New variable.
19834 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19836 * math/libm-test.inc (struct test_f_f1_data): New type.
19837 (RUN_TEST_LOOP_f_f1): New macro.
19838 (gamma_test_data): New variable.
19839 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19840 (lgamma_test_data): New variable.
19841 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19843 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19845 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19846 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19847 (main): Comment "tls" pseudo-hwcap.
19849 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19851 * math/libm-test.inc (struct test_fl_f_data): New type.
19852 (RUN_TEST_LOOP_fl_f): New variable.
19853 (scalbln_test_data): New variable.
19854 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19856 * math/libm-test.inc (struct test_fi_f_data): New type.
19857 (RUN_TEST_LOOP_fi_f): New macro.
19858 (ldexp_test_data): New variable.
19859 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19860 (scalbn_test_data): New variable.
19861 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19863 * math/libm-test.inc (struct test_c_f_data): New type.
19864 (RUN_TEST_LOOP_c_f): New macro.
19865 (cabs_test_data): New variable.
19866 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19867 (carg_test_data): New variable.
19868 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19869 (cimag_test_data): New variable.
19870 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19871 (creal_test_data): New variable.
19872 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19874 * math/libm-test.inc (struct test_if_f_data): New type.
19875 (RUN_TEST_LOOP_if_f): New macro.
19876 (jn_test_data): New variable.
19877 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19878 (yn_test_data): New variable.
19879 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19881 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19883 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19885 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19886 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19888 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19890 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19891 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19892 (bench-deps): Add bench-timing.h.
19893 * benchtests-bench-skeleton.c: Include bench-timing.h.
19894 (main): Use TIMING_* macros instead of clock_gettime.
19895 * benchtests/bench-timing.h: New file.
19898 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19899 Renamed from _LIB_VERSION.
19900 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19902 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19904 * math/libm-test.inc (struct test_fff_f_data): New type.
19905 (RUN_TEST_LOOP_fff_f): New macro.
19906 (fma_test_data): New variable.
19907 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19908 (fma_towardzero_test_data): New variable.
19909 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19910 (fma_downward_test_data): New variable.
19911 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19912 (fma_upward_test_data): New variable.
19913 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19915 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19916 (struct test_c_c_data): New type.
19917 (RUN_TEST_LOOP_c_c): New macro.
19918 (cacos_test_data): New variable.
19919 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19920 (cacosh_test_data): New variable.
19921 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19922 (casin_test_data): New variable.
19923 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19924 (casinh_test_data): New variable.
19925 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19926 (catan_test_data): New variable.
19927 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19928 (catanh_test_data): New variable.
19929 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19930 (ccos_test_data): New variable.
19931 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19932 (ccosh_test_data): New variable.
19933 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19934 (cexp_test_data): New variable.
19935 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19936 (clog_test_data): New variable.
19937 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19938 (clog10_test_data): New variable.
19939 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19940 (conj_test_data): New variable.
19941 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19942 (cproj_test_data): New variable.
19943 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19944 (csin_test_data): New variable.
19945 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19946 (csinh_test_data): New variable.
19947 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19948 (csqrt_test_data): New variable.
19949 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19950 (ctan_test_data): New variable.
19951 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19952 (ctan_tonearest_test_data): New variable.
19953 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19954 (ctan_towardzero_test_data): New variable.
19955 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19956 (ctan_downward_test_data): New variable.
19957 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19958 (ctan_upward_test_data): New variable.
19959 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19960 (ctanh_test_data): New variable.
19961 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19962 (ctanh_tonearest_test_data): New variable.
19963 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19964 (ctanh_towardzero_test_data): New variable.
19965 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19966 (ctanh_downward_test_data): New variable.
19967 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19968 (ctanh_upward_test_data): New variable.
19969 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19970 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19973 * math/libm-test.inc (struct test_ff_f_data): New type.
19974 (struct test_ff_f_data_nexttoward): Likewise.
19975 (RUN_TEST_LOOP_2_f): New macro.
19976 (RUN_TEST_LOOP_ff_f): Likewise.
19977 (atan2_test_data): New variable.
19978 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19979 (copysign_test_data): New variable.
19980 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19981 (fdim_test_data): New variable.
19982 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19983 (fmax_test_data): New variable.
19984 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19985 (fmin_test_data): New variable.
19986 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19987 (fmod_test_data): New variable.
19988 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19989 (hypot_test_data): New variable.
19990 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19991 (nextafter_test_data): New variable.
19992 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19993 (nexttoward_test_data): New variable.
19994 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19995 (pow_test_data): New variable.
19996 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19997 (pow_tonearest_test_data): New variable.
19998 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19999 (pow_towardzero_test_data): New variable.
20000 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20001 (pow_downward_test_data): New variable.
20002 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20003 (pow_upward_test_data): New variable.
20004 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20005 (remainder_test_data): New variable.
20006 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20007 (scalb_test_data): New variable.
20008 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20009 * sysdeps/i386/fpu/libm-test-ulps: Update.
20011 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20013 * math/libm-test.inc (fma_test): Use max_value instead of local
20015 (nextafter_test): Likewise.
20017 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20018 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20019 (acos_downward_test_data): New variable.
20020 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20021 (acos_upward_test_data): New variable.
20022 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20023 (acosh_test_data): New variable.
20024 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20025 (asin_test_data): New variable.
20026 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20027 (asin_tonearest_test_data): New variable.
20028 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20029 (asin_towardzero_test_data): New variable.
20030 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20031 (asin_downward_test_data): New variable.
20032 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20033 (asin_upward_test_data): New variable.
20034 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20035 (asinh_test_data): New variable.
20036 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20037 (atan_test_data): New variable.
20038 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20039 (atanh_test_data): New variable.
20040 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20041 (cbrt_test_data): New variable.
20042 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20043 (ceil_test_data): New variable.
20044 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20045 (cos_test_data): New variable.
20046 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20047 (cos_tonearest_test_data): New variable.
20048 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20049 (cos_towardzero_test_data): New variable.
20050 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20051 (cos_downward_test_data): New variable.
20052 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20053 (cos_upward_test_data): New variable.
20054 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20055 (cosh_test_data): New variable.
20056 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20057 (cosh_tonearest_test_data): New variable.
20058 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20059 (cosh_towardzero_test_data): New variable.
20060 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20061 (cosh_downward_test_data): New variable.
20062 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20063 (cosh_upward_test_data): New variable.
20064 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20065 (erf_test_data): New variable.
20066 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20067 (erfc_test_data): New variable.
20068 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20069 (exp_test_data): New variable.
20070 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20071 (exp_tonearest_test_data): New variable.
20072 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20073 (exp_towardzero_test_data): New variable.
20074 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20075 (exp_downward_test_data): New variable.
20076 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20077 (exp_upward_test_data): New variable.
20078 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20079 (exp10_test_data): New variable.
20080 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20081 (exp2_test_data): New variable.
20082 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20083 (expm1_test_data): New variable.
20084 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20085 (fabs_test_data): New variable.
20086 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20087 (floor_test_data): New variable.
20088 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20089 (j0_test_data): New variable.
20090 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20091 (j1_test_data): New variable.
20092 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20093 (log_test_data): New variable.
20094 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20095 (log10_test_data): New variable.
20096 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20097 (log1p_test_data): New variable.
20098 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20099 (log2_test_data): New variable.
20100 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20101 (logb_test_data): New variable.
20102 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20103 (logb_downward_test_data): New variable.
20104 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20105 (nearbyint_test_data): New variable.
20106 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20107 (rint_test_data): New variable.
20108 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20109 (rint_tonearest_test_data): New variable.
20110 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20111 (rint_towardzero_test_data): New variable.
20112 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20113 (rint_downward_test_data): New variable.
20114 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20115 (rint_upward_test_data): New variable.
20116 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20117 (round_test_data): New variable.
20118 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20119 (sin_test_data): New variable.
20120 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20121 (sin_tonearest_test_data): New variable.
20122 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20123 (sin_towardzero_test_data): New variable.
20124 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20125 (sin_downward_test_data): New variable.
20126 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20127 (sin_upward_test_data): New variable.
20128 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20129 (sinh_test_data): New variable.
20130 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20131 (sinh_tonearest_test_data): New variable.
20132 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20133 (sinh_towardzero_test_data): New variable.
20134 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20135 (sinh_downward_test_data): New variable.
20136 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20137 (sinh_upward_test_data): New variable.
20138 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20139 (sqrt_test_data): New variable.
20140 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20141 (tan_test_data): New variable.
20142 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20143 (tan_tonearest_test_data): New variable.
20144 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20145 (tan_towardzero_test_data): New variable.
20146 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20147 (tan_downward_test_data): New variable.
20148 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20149 (tan_upward_test_data): New variable.
20150 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20151 (tanh_test_data): New variable.
20152 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20153 (tgamma_test_data): New variable.
20154 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20155 (trunc_test_data): New variable.
20156 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20157 (y0_test_data): New variable.
20158 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20159 (y1_test_data): New variable.
20160 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20161 (significand_test_data): New variable.
20162 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20164 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20167 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20169 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20171 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20173 2013-05-10 Andreas Jaeger <aj@suse.de>
20176 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20177 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20179 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20181 * math/gen-libm-test.pl (adjust_arg): New function.
20182 (special_functions): Handle generating output in both functions
20184 (parse_args): Likewise.
20185 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20186 $in_func argument to parse_args.
20187 * math/libm-test.inc (struct test_f_f_data): New type.
20188 (IF_ROUND_INIT_): New macro.
20189 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20190 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20191 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20192 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20193 (ROUND_RESTORE_): Likewise.
20194 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20195 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20196 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20197 (ROUND_RESTORE_FE_UPWARD): Likewise.
20198 (RUN_TEST_LOOP_f_f): New macro.
20199 (acos_test_data): New variable.
20200 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20201 (acos_tonearest_test_data): New variable.
20202 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20204 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20206 * benchtests/bench-skeleton.c (startup): Fix coding style.
20208 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20211 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20212 negative infinity argument.
20213 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20214 negative infinity argument.
20215 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20216 negative infinity argument.
20217 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20220 2013-05-10 Florian Weimer <fweimer@redhat.com>
20222 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20223 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20224 * iconv/iconv_prog.c (main): Likewise.
20225 * locale/programs/charmap-dir.c (charmap_readdir)
20226 (fopen_uncompressed): Likewise.
20227 * locale/programs/locfile.c (siblings_uncached)
20228 (write_locale_data): Use lstat64 instead of lstat.
20229 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20232 2013-05-10 Andreas Jaeger <aj@suse.de>
20235 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20237 Include <locale.h>.
20239 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20241 * elf/dl-close.c (_dl_close_worker): Add comments.
20243 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20246 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20248 (__ieee754_rem_pio2l): Update comments.
20251 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20253 (__ieee754_rem_pio2l): Update comments.
20255 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20256 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20258 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20261 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20262 (M_PI_34_LOG10El): Likewise.
20263 (M_PI2_LOG10El): Likewise.
20264 (M_PI4_LOG10El): Likewise.
20265 (M_PI_LOG10El): Likewise.
20267 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20271 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20273 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20274 (MINUS_ZERO_INIT): Likewise.
20275 (PLUS_INFTY_INIT): Likewise.
20276 (MINUS_INFTY_INIT): Likewise.
20277 (QNAN_VALUE_INIT): Likewise.
20278 (MAX_VALUE_INIT): Likewise.
20279 (MIN_VALUE_INIT): Likewise.
20280 (MIN_SUBNORM_VALUE_INIT): Likewise.
20281 (plus_zero): Initialize with PLUS_ZERO_INIT.
20282 (minus_zero): Initialize with MINUS_ZERO_INIT.
20283 (plus_infty): Initialize with PLUS_INFTY_INIT.
20284 (minus_infty): Initialize with MINUS_INFTY_INIT.
20285 (qnan_value): Initialize with QNAN_VALUE_INIT.
20286 (max_value): Initialize with MAX_VALUE_INIT.
20287 (min_value): Initialize with MIN_VALUE_INIT.
20288 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20290 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20291 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20292 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20293 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20295 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20296 (RUN_TEST_2_f): Likewise.
20297 (RUN_TEST_ff_f): Likewise.
20298 (RUN_TEST_fi_f): Likewise.
20299 (RUN_TEST_fl_f): Likewise.
20300 (RUN_TEST_fff_f): Likewise.
20301 (RUN_TEST_c_f): Likewise.
20302 (RUN_TEST_f_f1): Likewise.
20303 (RUN_TEST_fF_f1): Likewise.
20304 (RUN_TEST_fI_f1): Likewise.
20305 (RUN_TEST_ffI_f1): Likewise.
20306 (RUN_TEST_c_c): Likewise.
20307 (RUN_TEST_cc_c): Likewise.
20308 (RUN_TEST_f_i): Likewise.
20309 (RUN_TEST_f_i_tg): Likewise.
20310 (RUN_TEST_ff_i_tg): Likewise.
20311 (RUN_TEST_f_b): Likewise.
20312 (RUN_TEST_f_b_tg): Likewise.
20313 (RUN_TEST_f_l): Likewise.
20314 (RUN_TEST_f_L): Likewise.
20315 (RUN_TEST_sincos): Likewise.
20316 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20317 whether to show exceptions. Do not include ");\n" in return
20319 (special_functions): Output call to RUN_TEST_sincos instead of
20320 check_float calls. Update calls to new_test.
20321 (parse_args): Output call to single RUN_TEST_* macro instead of
20322 check_* calls and other assignments. Update calls to new_test.
20328 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20329 input to result for tgamma overflow.
20330 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20331 (gamma_coeff): New variable.
20332 (NCOEFF): New macro.
20333 (gamma_positive): New function.
20334 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20335 underflow here. Use gamma_positive instead of exp (lgamma) for
20337 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20338 (gamma_coeff): New variable.
20339 (NCOEFF): New macro.
20340 (gammaf_positive): New function.
20341 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20342 underflow here. Use gamma_positive instead of exp (lgamma) for
20344 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20345 (gamma_coeff): New variable.
20346 (NCOEFF): New macro.
20347 (gammal_positive): New function.
20348 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20349 underflow here. Use gamma_positive instead of exp (lgamma) for
20351 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20352 (gamma_coeff): New variable.
20353 (NCOEFF): New macro.
20354 (gammal_positive): New function.
20355 (__ieee754_gammal_r): Handle positive infinity, overflow and
20356 underflow here. Handle NaN the same as positive infinity. Remove
20357 check x < 0xffffffff for negative integers. Use gamma_positive
20358 instead of exp (lgamma) for other arguments.
20359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20360 (gamma_coeff): New variable.
20361 (NCOEFF): New macro.
20362 (gammal_positive): New function.
20363 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20364 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20368 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20369 * sysdeps/generic/math_private.h (__gamma_productf): New
20371 (__gamma_product): Likewise.
20372 (__gamma_productl): Likewise.
20373 * math/Makefile (libm-calls): Add gamma_product.
20374 * math/libm-test.inc (tgamma_test): Add more tests.
20375 * sysdeps/i386/fpu/libm-test-ulps: Update.
20376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20378 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20380 * benchtests/bench-skeleton.c (main): Preheat CPU.
20382 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20384 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20386 2013-05-07 Roland McGrath <roland@hack.frob.com>
20388 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20389 and _dl_skip_args_internal.
20391 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20393 * manual/message.texi (Message Translation): Talk about users.
20394 Message to key mapping impacts design.
20396 2013-05-06 Roland McGrath <roland@hack.frob.com>
20398 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20400 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20402 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20403 * sysdeps/wordsize-64/glob64.c: ... here.
20405 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20406 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20409 * debug/getlogin_r_chk.c: Moved to ...
20410 * login/getlogin_r_chk.c: ... here.
20411 * debug/Makefile (routines): Move getlogin_r_chk to ...
20412 * login/Makefile (routines): ... here.
20413 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20414 * login/Versions (libc: GLIBC_2.4): ... here.
20416 * io/poll.c (__poll): Renamed from poll.
20417 Add libc_hidden_def.
20418 (poll): Define as weak alias.
20420 * debug/ptsname_r_chk.c: Moved to ...
20421 * login/ptsname_r_chk.c: ... here.
20422 * debug/Makefile (routines): Move ptsname_r_chk to ...
20423 * login/Makefile (routines): ... here.
20424 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20425 * login/Versions (libc: GLIBC_2.4): ... here.
20427 * posix/getlogin.c: Moved to ...
20428 * login/getlogin.c: ... here.
20429 * posix/getlogin_r.c: Moved to ...
20430 * login/getlogin_r.c: ... here.
20431 * posix/getlogin_r.c: Moved to ...
20432 * login/getlogin_r.c: ... here.
20433 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20434 * login/Makefile (routines): ... here.
20435 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20436 * login/Versions (libc: GLIBC_2.0): ... here.
20438 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20439 (setrlimit): Define as weak alias.
20441 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20442 Call __ names for open, ftruncate, and close.
20443 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20444 (truncate): Define as weak alias.
20446 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20448 * math/gen-libm-test.pl (parse_args): Initialize x before each
20449 test of frexp, modf and remquo.
20451 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20452 test signgam value.
20454 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20458 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20460 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20462 2013-05-06 Roland McGrath <roland@hack.frob.com>
20464 * elf/dl-writev.h: New file.
20465 * elf/dl-misc.c: Include it.
20466 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20467 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20469 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20471 * math/libm-test.inc (noXFails): Remove variable.
20472 (noXPasses): Likewise.
20473 (BUILD_COMPLEX_INT): Remove macro.
20474 (print_screen): Remove xfail argument.
20475 (print_screen_max_error): Likewise.
20476 (update_stats): Likewise.
20477 (print_max_error): Likewise. Update calls to other affected
20479 (print_complex_max_error): Likewise.
20480 (test_single_exception): Update calls to print_screen.
20481 (test_single_errno): Likewise.
20482 (check_float_internal): Remove xfail argument. Update calls to
20483 other affected functions.
20484 (check_float): Likewise.
20485 (check_complex): Likewise.
20486 (check_int): Likewise.
20487 (check_long): Likewise.
20488 (check_bool): Likewise.
20489 (check_longlong): Likewise.
20490 (main): Don't print noXFails and noXPasses.
20491 * math/gen-libm-test.pl (top level): Don't mention expected
20492 failure handling in comment.
20493 (new_test): Don't handle expected failures.
20494 (parse_args): Don't mention expected failure handling in comment.
20495 (generate_testfile): Don't handle expected failures.
20496 (parse_ulps): Likewise.
20497 (print_ulps_file): Likewise.
20498 (get_failure): Remove function.
20499 (output_test): Don't handle expected failures.
20500 * make/README.libm-test: Don't mention expected failure handling.
20502 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20503 (minus_zero): Likewise.
20504 (plus_infty): Likewise.
20505 (minus_infty): Likewise.
20506 (qnan_value): Likewise.
20507 (max_value): Likewise.
20508 (min_value): Likewise.
20509 (min_subnorm_value): Likewise.
20510 (initialize): Do not initialize those variables dynamically.
20512 2013-05-03 Roland McGrath <roland@hack.frob.com>
20514 * io/open.c (__open_2): Moved to ...
20515 * io/open_2.c: ... this new file.
20516 * io/open64.c (__open64_2): Moved to ...
20517 * io/open64_2.c: ... this new file.
20518 * io/openat.c (__openat_2): Moved to ...
20519 * io/openat_2.c: ... this new file.
20520 * io/openat64.c (__openat64_2): Moved to ...
20521 * io/openat64_2.c: ... this new file.
20522 * io/Makefile (routines): Add them.
20523 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20524 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20525 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20526 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20527 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20528 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20529 (__openat64): Add hidden_ver.
20530 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20531 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20533 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20534 Separately conditionalize setting of GLRO(dl_sysinfo) so
20535 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20536 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20538 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20540 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20541 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20543 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20544 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20545 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20546 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20547 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20549 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20551 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20552 test signgam value.
20554 * math/libm-test.inc (hypot_test): Do not use
20555 IGNORE_ZERO_INF_SIGN.
20557 2013-05-03 Andreas Jaeger <aj@suse.de>
20559 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20561 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20562 (PF_MAX): Adjust for VSOCK change.
20564 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20568 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20571 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20572 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20573 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20575 2013-05-02 David S. Miller <davem@davemloft.net>
20577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20579 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20581 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20583 2013-05-01 Roland McGrath <roland@hack.frob.com>
20585 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20587 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20590 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20591 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20592 Use __attribute__ ((__gnu_inline__)).
20593 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20594 Don't use __attribute__ ((__gnu_inline__)).
20596 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20599 * math/s_catan.c (__catan): Handle small real or imaginary part of
20600 input specially to avoid spurious underflow.
20601 * math/s_catanf.c (__catanf): Likewise.
20602 * math/s_catanh.c (__catanh): Likewise.
20603 * math/s_catanhf.c (__catanhf): Likewise.
20604 * math/s_catanhl.c (__catanhl): Likewise.
20605 * math/s_catanl.c (__catanl): Likewise.
20606 * math/libm-test.inc (catan_test): Add more tests.
20607 (catanh_test): Likewise.
20608 * sysdeps/i386/fpu/libm-test-ulps: Update.
20609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20611 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20615 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20618 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20619 accurately for denominator in atan2.
20620 * math/s_catanf.c (__catanf): Likewise.
20621 * math/s_catanh.c (__catanh): Likewise.
20622 * math/s_catanhf.c (__catanhf): Likewise.
20623 * math/s_catanhl.c (__catanhl): Likewise.
20624 * math/s_catanl.c (__catanl): Likewise.
20625 * math/libm-test.inc (catan_test): Add more tests.
20626 (catanh_test): Likewise.
20627 * sysdeps/i386/fpu/libm-test-ulps: Update.
20628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20630 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20632 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20634 * benchtests/Makefile (bench): Remove slow benchmarks.
20635 * benchtests/atan-inputs: Add slow benchmark inputs.
20636 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20637 (BENCH_FUNC): Accept variant offset.
20639 * benchtests/bench-skeleton.c (main): Run benchmark for each
20641 * benchtests/cos-inputs: Add slow benchmark inputs.
20642 * benchtests/exp-inputs: Likewise.
20643 * benchtests/pow-inputs: Likewise.
20644 * benchtests/sin-inputs: Likewise.
20645 * benchtests/slowatan-inputs: Remove.
20646 * benchtests/slowatan.c: Remove.
20647 * benchtests/slowcos-inputs: Remove.
20648 * benchtests/slowcos.c: Remove.
20649 * benchtests/slowexp-inputs: Remove.
20650 * benchtests/slowexp.c: Remove.
20651 * benchtests/slowpow-inputs: Remove.
20652 * benchtests/slowpow.c: Remove.
20653 * benchtests/slowsin-inputs: Remove.
20654 * benchtests/slowsin.c: Remove.
20655 * benchtests/slowtan-inputs: Remove.
20656 * benchtests/slowtan.c: Remove.
20657 * benchtests/tan-inputs: Add slow benchmark inputs.
20658 * scripts/bench.pl: Parse comments and directives.
20660 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20662 ($(objpfx)bench-%.c): Remove *-ITER.
20663 * benchtests/bench-modf.c: Remove definition of ITER.
20664 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20665 (main): Loop for DURATION seconds instead of fixed number of
20667 * scripts/bench.pl: Don't expect iterations in parameters.
20669 2013-04-29 Roland McGrath <roland@hack.frob.com>
20671 * io/fchdir.c (__fchdir): Renamed from fchdir.
20672 (fchdir): Define as weak alias.
20674 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20676 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20677 (ERRNO_EDOM): Likewise.
20678 (ERRNO_ERANGE): Likewise.
20679 (noErrnoTests): New variable.
20680 (init_max_error): Set errno to 0.
20681 (test_single_errno): New function.
20682 (test_errno): Likewise.
20683 (check_float_internal): Call test_errno. Set errno to 0.
20684 (check_complex): Refer to errno tests in comment.
20685 (check_int): Call test_errno. Set errno to 0.
20686 (check_long): Likewise.
20687 (check_bool): Likewise.
20688 (check_longlong): Likewise.
20689 (cos_test): Use ERRNO_* flags for errno tests instead of
20691 (expm1_test): Likewise.
20692 (fmod_test): Likewise.
20693 (ilogb_test): Likewise.
20694 (lgamma_test): Likewise.
20695 (pow_test): Likewise.
20696 (remainder_test): Likewise.
20697 (sin_test): Likewise.
20698 (tan_test): Likewise.
20699 (yn_test): Likewise.
20700 (initialize): Set errno to 0.
20701 (main): Print number of errno tests.
20702 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20704 2013-04-29 Andreas Jaeger <aj@suse.de>
20707 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20711 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20712 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20716 * stdlib/random.c (__initstate): Return NULL if
20720 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20721 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20724 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20728 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20730 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20731 of individual tests.
20732 (casin_test): Likewise.
20733 (casinh_test): Likewise.
20735 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20738 * math/s_catan.c (__catan): Handle arguments with large real or
20739 imaginary part separately without squaring.
20740 * math/s_catanf.c (__catanf): Likewise.
20741 * math/s_catanh.c (__catanh): Likewise.
20742 * math/s_catanhf.c (__catanhf): Likewise.
20743 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20745 (__catanhl): Handle arguments with large real or imaginary part
20746 separately without squaring.
20747 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20749 (__catanl): Handle arguments with large real or imaginary part
20750 separately without squaring.
20751 * math/libm-test.inc (catan_test): Add more tests.
20752 (catanh_test): Likewise.
20753 * sysdeps/i386/fpu/libm-test-ulps: Update.
20754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20756 2013-04-27 Andreas Jaeger <aj@suse.de>
20759 * stdlib/stdlib.h: Update guards for qecvt.
20760 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20763 2013-04-27 Allan McRae <allan@archlinux.org>
20765 * sysdeps/i386/fpu/libm-test-ulps: Update.
20767 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20770 * math/s_catan.c: Include <float.h>.
20771 (__catan): Ensure underflow exception occurs for underflowed
20773 * math/s_catanf.c: Include <float.h>.
20774 (__catanf): Ensure underflow exception occurs for underflowed
20776 * math/s_catanh.c: Include <float.h>.
20777 (__catanh): Ensure underflow exception occurs for underflowed
20779 * math/s_catanhf.c: Include <float.h>.
20780 (__catanhf): Ensure underflow exception occurs for underflowed
20782 * math/s_catanhl.c: Include <float.h>.
20783 (__catanhl): Ensure underflow exception occurs for underflowed
20785 * math/s_catanl.c: Include <float.h>.
20786 (__catanl): Ensure underflow exception occurs for underflowed
20788 * math/libm-test.inc (catan_test): Add more tests.
20789 (catanh_test): Likewise.
20792 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20793 underflowed result.
20794 * math/s_ccoshf.c (__ccoshf): Likewise.
20795 * math/s_ccoshl.c (__ccoshl): Likewise.
20796 * math/s_csin.c (__csin): Likewise.
20797 * math/s_csinf.c (__csinf): Likewise.
20798 * math/s_csinh.c (__csinh): Likewise.
20799 * math/s_csinhf.c (__csinhf): Likewise.
20800 * math/s_csinhl.c (__csinhl): Likewise.
20801 * math/s_csinl.c (__csinl): Likewise.
20802 * math/libm-test.inc (ccos_test): Add more tests.
20803 (ccosh_test): Likewise.
20804 (csin_test): Likewise.
20805 (csinh_test): Likewise.
20807 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20809 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20810 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20811 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20812 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20813 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20814 powerpc/power5+/fpu folders.
20815 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20818 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20822 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20824 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20825 additions to variable.
20826 [$(config-machine) = x86_64] (modules-names): Likewise.
20827 ($(objpfx)tst-audit3): Remove dependency.
20828 ($(objpfx)tst-audit3.out): Likewise.
20829 ($(objpfx)tst-audit4): Likewise.
20830 ($(objpfx)tst-audit4.out): Likewise.
20831 ($(objpfx)tst-audit5): Likewise.
20832 ($(objpfx)tst-audit5.out): Likewise.
20833 ($(objpfx)tst-audit6): Likewise.
20834 ($(objpfx)tst-audit6.out): Likewise.
20835 ($(objpfx)tst-audit7): Likewise.
20836 ($(objpfx)tst-audit7.out): Likewise.
20837 (tst-audit3-ENV): Remove variable.
20838 (tst-audit4-ENV): Likewise.
20839 (tst-audit5-ENV): Likewise.
20840 (tst-audit6-ENV): Likewise.
20841 (tst-audit7-ENV): Likewise.
20842 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20843 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20844 addition to variable.
20845 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20846 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20847 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20848 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20849 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20850 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20851 tst-audit3, tst-audit4 and tst-audit5.
20852 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20853 tst-audit6 and tst-audit7.
20854 [$(subdir) = elf] (modules-names): Add audit modules for those
20856 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20857 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20858 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20859 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20860 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20861 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20862 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20863 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20864 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20865 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20866 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20867 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20868 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20869 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20870 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20871 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20873 [$(subdir) = elf && $(config-cflags-avx) = yes]
20874 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20875 [$(subdir) = elf && $(config-cflags-avx) = yes]
20876 (CFLAGS-tst-auditmod4a.c): Likewise.
20877 [$(subdir) = elf && $(config-cflags-avx) = yes]
20878 (CFLAGS-tst-auditmod4b.c): Likewise.
20879 [$(subdir) = elf && $(config-cflags-avx) = yes]
20880 (CFLAGS-tst-auditmod6b.c): Likewise.
20881 [$(subdir) = elf && $(config-cflags-avx) = yes]
20882 (CFLAGS-tst-auditmod6c.c): Likewise.
20883 [$(subdir) = elf && $(config-cflags-avx) = yes]
20884 (CFLAGS-tst-auditmod7b.c): Likewise.
20885 * elf/tst-audit3.c: Move to ...
20886 * sysdeps/x86_64/tst-audit3.c: ... here.
20887 * elf/tst-audit4.c: Move to ...
20888 * sysdeps/x86_64/tst-audit4.c: ... here.
20889 * elf/tst-audit5.c: Move to ...
20890 * sysdeps/x86_64/tst-audit5.c: ... here.
20891 * elf/tst-audit6.c: Move to ...
20892 * sysdeps/x86_64/tst-audit6.c: ... here.
20893 * elf/tst-audit7.c: Move to ...
20894 * sysdeps/x86_64/tst-audit7.c: ... here.
20895 * elf/tst-auditmod3a.c: Move to ...
20896 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20897 * elf/tst-auditmod3b.c: Move to ...
20898 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20899 * elf/tst-auditmod4a.c: Move to ...
20900 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20901 * elf/tst-auditmod4b.c: Move to ...
20902 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20903 * elf/tst-auditmod5a.c: Move to ...
20904 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20905 * elf/tst-auditmod5b.c: Move to ...
20906 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20907 * elf/tst-auditmod6a.c: Move to ...
20908 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20909 * elf/tst-auditmod6b.c: Move to ...
20910 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20911 * elf/tst-auditmod6c.c: Move to ...
20912 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20913 * elf/tst-auditmod7a.c: Move to ...
20914 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20915 * elf/tst-auditmod7b.c: Move to ...
20916 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20918 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20921 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20922 define unconditionally.
20923 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20924 define unconditionally.
20925 (INT8_C, INT16_C, etc.): Likewise.
20927 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20929 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20930 __ehdr_start with hidden visibility.
20932 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20934 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20936 * math/libm-test.inc (cos_test): Use accurate hex constants.
20937 (sincost_test): Likewise.
20939 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20941 * math/libm-test.inc (catan_test): Add more tests.
20942 (catanh_test): Likewise.
20944 * math/s_catanf.c (__catanf): Use suffixed floating-point
20946 * math/s_catanhf.c (__catanhf): Likewise.
20947 * math/s_catanhl.c (__catanhl): Likewise.
20948 * math/s_catanl.c (__catanl): Likewise.
20951 * math/s_catan.c (__catan): Calculate imaginary part of result
20952 with log1p not log unless computing log of number close to 0.
20953 * math/s_catanf.c (__catanf): Likewise.
20954 * math/s_catanl.c (__catanl): Likewise.
20955 * math/s_catanh.c (__catanh): Calculate real part of result with
20956 log1p not log unless computing log of number close to 0.
20957 * math/s_catanhf.c (__catanhf): Likewise.
20958 * math/s_catanhl.c (__catanhl): Likewise.
20959 * math/libm-test.inc (catan_test): Add more tests.
20960 (catanh_test): Likewise.
20961 * sysdeps/i386/fpu/libm-test-ulps: Update.
20962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20964 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20966 * benchtests/Makefile: Mention files in which fast and slow
20967 paths of math functions are implemented.
20969 2013-04-23 Roland McGrath <roland@hack.frob.com>
20971 * sysdeps/posix/timespec_get.c: New file.
20973 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20975 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20977 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20979 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20980 powerpc/power5/fpu folders.
20981 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20982 * benchtests/Makefile: Add modf testcase.
20983 * benchtests/bench-modf.c: New file: Benchmark test for mo
20985 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20988 * time/Makefile (tests): Add tst-strptime-whitespace.
20989 * time/strptime_l.c (get_number): Use ISSPACE.
20990 (__strptime_internal): Likewise.
20991 * time/tst-strptime-whitespace.c: New test case.
20993 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20995 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20997 (_nss_files_init): Set it here.
20999 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21001 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21002 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21005 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21007 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21009 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21011 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21014 2013-04-21 David S. Miller <davem@davemloft.net>
21016 * po/ru.po: Update Russion translation from translation project.
21018 2013-04-17 Adam Conrad <adconrad@0c3.net>
21020 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21023 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21025 * configure.in: Remove i386 configure warning. Remove i386 case.
21026 * configure: Regenerate.
21027 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21028 Add example to error message.
21029 * sysdeps/i386/configure: Regenerate.
21031 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21033 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21035 * benchtests/cos-inputs: New file.
21036 * benchtests/slowcos-inputs: New file.
21037 * benchtests/slowcos.c: New file.
21038 * benchtests/slowtan-inputs: New file.
21039 * benchtests/slowtan.c: New file.
21040 * benchtests/tan-inputs: New file.
21042 2013-04-16 Roland McGrath <roland@hack.frob.com>
21044 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21047 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21049 * benchtests/Makefile: Include cppflags-iterator.mk to add
21050 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21052 * Makefile.in (bench-clean): New target.
21053 * benchtests/Makefile (bench-clean): Likewise.
21055 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21057 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21059 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21061 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21063 2013-04-15 Andreas Schwab <schwab@suse.de>
21065 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21066 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21067 * nscd/pwdcache.c (cache_addpw): Likewise.
21068 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21071 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21073 * benchtests/Makefile (bench): Write all output to
21074 bench-out.tmp together.
21076 2013-04-15 Andreas Schwab <schwab@suse.de>
21078 * nscd/nscd.c (main): Don't fork again after closing files.
21080 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21082 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21084 * benchtests/Rules (bench-deps): Collect dependencies into a
21085 single variable. Add Makefile to dependencies.
21086 ($(objpfx)bench-%.c): Depend on bench-deps.
21088 2013-04-12 Roland McGrath <roland@hack.frob.com>
21089 Xavier Roche <roche+kml2@exalead.com>
21092 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21093 just that it's a file descriptor.
21094 * manual/llio.texi (Synchronizing AIO Operations): Update description
21095 for EBADF error from aio_fsync.
21097 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21099 * Rules (bench): Move target definition...
21100 * benchtests/Makefile: ... here.
21102 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21104 * math/libm-test.inc (cos_test): Fix PI/2 test.
21105 (sincos_test): Likewise.
21106 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21107 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21109 2013-04-11 Andreas Schwab <schwab@suse.de>
21112 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21113 accept exponent character only when digits were seen.
21114 * stdio-common/Makefile (tests): Add bug26.
21115 * stdio-common/bug26.c: New file.
21118 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21121 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21123 * Makeconfig (rtld-prefix): Define built linker prefix.
21124 * Rules (run-bench): Use it.
21125 * math/Makefile (run-regen-ulps): Likewise.
21127 * Rules (bench): Remove eval.
21129 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21130 Roland McGrath <roland@hack.frob.com>
21131 Ondrej Bilka <neleai@seznam.cz>
21134 * time/getdate.c: Include ctype.h and alloca.h.
21135 (__getdate_r): Trim leading and trailing spaces of input.
21136 * time/tst-getdate.c (tests): Add tests with leading and
21139 2013-04-08 Roland McGrath <roland@hack.frob.com>
21142 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21143 when computing value.
21145 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21147 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21148 Use testrun.sh to run libm tests.
21151 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21153 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21156 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21158 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21160 * Makefile.in (regen-ulps): New target.
21161 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21162 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21163 [ifneq (no,$(PERL)] (regen-ulps): New target.
21164 [ifeq (no,$(PERL)] (regen-ulps): New target.
21165 * math/libm-test.inc (ulps_file_name): Define.
21166 (output_dir): New variable.
21167 (options): Add "output-dir" option.
21168 (parse_opt): Handle 'o' case.
21169 (main): If output_dir is non-NULL use it as a prefix
21171 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21173 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21175 [BZ #10060, #10062]
21176 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21177 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21178 fail configure if __sync_val_compare_and_swap is not inlined.
21179 * sysdeps/i386/configure: Regenerate.
21180 * configure.in: Build for i686 when configured for i386.
21181 * configure: Regenerate.
21182 * README: Remove i386 reference.
21184 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21186 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21187 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21189 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21191 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21192 (lmsnanval): New variables.
21193 (F): Add conversion tests.
21194 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21195 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21197 * stdio-common/tstdiomisc.c (F): Properly collect individual
21200 [BZ #14686, #15336]
21201 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21202 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21203 Instead, use input NaN values or generate a qNaN by arithmetic
21204 operation. Also fix bugs to comply with the standard.
21205 * math/libm-test.inc (remainder_test): Add more tests.
21207 [BZ #15335, #15342]
21208 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21210 input NaN values or generate a qNaN by arithmetic operation.
21212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21215 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21218 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21221 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21222 underflowed result.
21223 * math/s_cexpf.c (__cexpf): Likewise.
21224 * math/s_cexpl.c (__cexpl): Likewise.
21225 * math/libm-test.inc (cexp_test): Add more tests.
21227 2013-04-03 Andreas Schwab <schwab@suse.de>
21230 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21231 order arrays from heap if bigger than alloca cutoff.
21233 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21235 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21236 (SNAN_TESTS_double): Refer to GCC PR56831.
21237 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21240 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21242 * Rules (bench): Move bench.out after the run is complete.
21244 * Rules (bench): Echo currently running benchmark.
21246 * benchtests/Makefile (bench): Add atan and slowatan.
21247 * benchtests/atan-inputs: New file.
21248 * benchtests/slowatan-inputs: New file.
21249 * benchtests/slowatan.c: New file.
21251 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21252 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21256 * sysdeps/unix/sysv/linux/kernel-features.h
21257 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21258 __ASSUME_XFS_RESTRICTED_CHOWN.
21259 * sysdeps/unix/sysv/linux/pathconf.c
21260 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21261 Save and restore errno.
21263 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21266 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21267 arguments using __kernel_casinh.
21268 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21269 arguments using __kernel_casinhf.
21270 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21271 arguments using __kernel_casinhl.
21272 * math/libm-test.inc (cacosh_test): Add more tests.
21273 * sysdeps/i386/fpu/libm-test-ulps: Update.
21274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21276 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21278 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21281 * bench/Makefile (bench): Add sin and slowsin.
21282 * benchtests/sin-inputs: New file.
21283 * benchtests/slowsin-inputs: New file.
21284 * benchtests/slowsin.c: New file.
21286 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21287 (bench): Add slowexp and slowpow.
21288 (exp-ITER): Increase iterations.
21289 (pow-ITER): Likewise.
21290 * benchtests/exp-inputs: Change input.
21291 * benchtests/pow-inputs: Likewise.
21292 * benchtests/slowexp-inputs: New file.
21293 * benchtests/slowexp.c: New file.
21294 * benchtests/slowpow-inputs: New file.
21295 * benchtests/slowpow.c: New file.
21297 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21299 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21301 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21302 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21303 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21304 * benchtests/Makefile: Add rint benchtest.
21305 * benchtests/rint-inputs: Input for rint benchtest.
21307 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21309 * Versions.def (libm): Add GLIBC_2.18.
21310 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21311 hidden libm prototypes.
21312 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21313 * math/Makefile (libm-calls): Add s_issignaling.
21314 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21315 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21316 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21318 * math/math.h [__USE_GNU] (issignaling): New macro.
21319 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21320 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21321 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21322 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21323 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21324 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21325 * manual/arith.texi (issignaling): New section.
21326 * manual/libm-err-tab.pl (@all_functions): Update comment.
21327 * math/gen-libm-test.pl (parse_args): Apply special handling for
21329 * math/libm-test.inc (print_float, issignaling_test): New
21331 (check_float_internal): Add issignaling checks.
21332 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21333 default definition.
21334 * sysdeps/powerpc/math-tests.h: New file.
21335 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21337 * math/test-snan.c (TEST_FUNC): Likewise.
21339 2013-03-30 David S. Miller <davem@davemloft.net>
21341 * po/de.po: Update from translation team.
21343 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21346 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21347 imaginary part less than 1.0 and real part less than 0.5
21349 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21350 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21351 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21352 (cacos_test): Add more tests.
21353 (casin_test): Likewise.
21354 (casinh_test): Likewise.
21355 * sysdeps/i386/fpu/libm-test-ulps: Update.
21356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21358 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21360 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21361 ONE with its value.
21363 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21364 (__pow_mp): Replace ONE and MONE with their values.
21365 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21366 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21367 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21368 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21369 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21370 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21372 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21374 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21375 (__pow_mp): Replace ZERO and MZERO with their values.
21376 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21378 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21380 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21381 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21384 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21386 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21388 2013-03-28 Roland McGrath <roland@hack.frob.com>
21390 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21391 Declare with __attribute__ ((weak)).
21392 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21393 Call __call_tls_dtors only if it's not NULL.
21395 2013-03-28 Roland McGrath <roland@hack.frob.com>
21397 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21398 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21399 magic __ehdr_start linker symbol if it's defined.
21400 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21401 them up here if it was already done.
21403 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21404 (_dl_aux_init): Use const in cast when setting it.
21405 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21406 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21407 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21409 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21411 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21412 * csu/libc-tls.c: Nor here.
21413 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21415 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21416 (__libc_message): Never call vsyslog.
21418 2013-03-28 Alan Modra <amodra@gmail.com>
21420 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21422 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21425 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21428 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21432 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21435 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21436 Don't add gid passed as argument.
21438 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21440 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21443 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21444 imaginary part between 1.0 and 1.5 and real part less than 0.5
21446 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21447 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21448 * math/libm-test.inc (cacos_test): Add more tests.
21449 (casin_test): Likewise.
21450 (casinh_test): Likewise.
21451 * sysdeps/i386/fpu/libm-test-ulps: Update.
21452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21454 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21456 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21459 (denorm): Likewise.
21460 (__dbl_mp): Likewise.
21461 (add_magnitudes): Likewise.
21462 (sub_magnitudes): Likewise.
21470 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21472 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21473 (__dubcos): Likewise.
21474 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21475 (__ieee754_acos): Likewise.
21476 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21477 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21478 (__exp1): Likewise.
21479 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21480 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21482 (my_log2): Likewise.
21483 (checkint): Likewise.
21484 * sysdeps/ieee754/dbl-64/e_remainder.c
21485 (__ieee754_remainder): Likewise.
21486 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21487 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21488 (bsloww): Likewise.
21489 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21491 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21492 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21493 MANTISSA_STORE_T to store computations on mantissa. Use
21494 macros for rounding and division.
21495 (denorm): Likewise.
21496 (__dbl_mp): Likewise.
21497 (add_magnitudes): Likewise.
21498 (sub_magnitudes): Likewise.
21501 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21502 powers of two in terms of TWOPOW macro.
21503 (mp_no): Make type of mantissa as MANTISSA_T.
21504 [!RADIXI]: Define RADIXI.
21505 [!TWO52]: Define TWO52.
21506 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21508 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21510 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21511 llroundl symbol when building for PPC32.
21513 2013-03-24 Mark H Weaver <mhw@netris.org>
21515 * manual/arith.texi (Normalization Functions): Fix prototypes for
21516 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21518 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21521 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21522 high value to check if expl overflow.
21523 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21524 to check for underflow and overflow.
21525 * math/libm-test.inc: Add exp test.
21527 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21530 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21533 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21535 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21538 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21540 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21541 wrap blocks consisting of several statements.
21543 * sysdeps/generic/math-tests.h: New file.
21544 * sysdeps/i386/fpu/math-tests.h: Likewise.
21545 * math/test-snan.c: Include it.
21546 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21548 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21551 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21552 (__ieee754_j0l): Do not improve calculations using cos of twice
21553 input for inputs above LDBL_MAX / 2.0L.
21554 (__ieee754_y0l): Likewise.
21555 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21556 (__ieee754_j1l): Do not improve calculations using cos of twice
21557 input for inputs above LDBL_MAX / 2.0L.
21558 (__ieee754_y1l): Likewise.
21559 * math/libm-test.inc (j0_test): Add another test.
21560 (j1_test): Likewise.
21561 (y0_test): Likewise.
21562 (y1_test): Likewise.
21563 * sysdeps/i386/fpu/libm-test-ulps: Update.
21565 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21567 * Rules ($(objpfx)bench-%.c): Include code from a C source
21570 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21573 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21574 imaginary part 1.0 and real part less than 0.5 specially.
21575 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21576 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21577 * math/libm-test.inc (cacos_test): Add more tests.
21578 (casin_test): Likewise.
21579 (casinh_test): Likewise.
21580 * sysdeps/i386/fpu/libm-test-ulps: Update.
21581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21583 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21585 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21586 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21588 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21590 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21591 * config.make.in (config-cflags-sse4): Remove variable.
21592 (config-cflags-avx): Likewise.
21593 (config-cflags-sse2avx): Likewise.
21594 (config-cflags-novzeroupper): Likewise.
21595 (config-asflags-i686): Likewise.
21596 (have-mfma4): Likewise.
21597 (have-as-vis3): Likewise.
21599 * configure.in (MIG): Do not AC_SUBST.
21600 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21601 (libc_cv_cc_sse4): Do not AC_SUBST.
21602 (libc_cv_cc_avx): Likewise.
21603 (libc_cv_cc_sse2avx): Likewise.
21604 (libc_cv_cc_novzeroupper): Likewise.
21605 (libc_cv_cc_fma4): Likewise.
21606 (libc_cv_as_i686): Likewise.
21607 (libc_cv_sparc_as_vis3): Likewise.
21608 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21610 (config-asflags-i686): Likewise.
21611 (config-cflags-avx): Likewise.
21612 (config-cflags-sse2avx): Likewise.
21613 (have-mfma4): Likewise.
21614 (config-cflags-novzeroupper): Likewise.
21615 * sysdeps/mach/configure.in (MIG): Likewise.
21616 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21617 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21619 (config-cflags-avx): Likewise.
21620 (config-cflags-sse2avx): Likewise.
21621 (have-mfma4): Likewise.
21622 (config-cflags-novzeroupper): Likewise.
21623 * configure: Regenerated.
21624 * sysdeps/i386/configure: Likewise.
21625 * sysdeps/mach/configure: Likewise.
21626 * sysdeps/sparc/configure: Likewise.
21627 * sysdeps/x86_64/configure: Likewise.
21629 2013-03-20 Roland McGrath <roland@hack.frob.com>
21632 * locale/programs/localedef.c (options): Put N_ translation marker
21633 on argument names, not just descriptions.
21635 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21637 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21639 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21642 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21644 2013-03-19 Roland McGrath <roland@hack.frob.com>
21646 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21647 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21648 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21649 [!BEFORE_ABORT] (before_abort): New function.
21650 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21651 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21652 (writev_for_fatal): New function.
21653 (WRITEV_FOR_FATAL): New macro; call that.
21654 (backtrace_and_maps): New function.
21655 (BEFORE_ABORT): New macro; call that.
21656 (struct str_list): Type removed.
21657 (__libc_message, __libc_fatal): Functions removed.
21658 Include <sysdeps/posix/libc_fatal.c> instead.
21660 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21662 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21664 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21667 2013-03-19 Andreas Schwab <schwab@suse.de>
21669 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21670 * sysdeps/gnu/configure: Regenerate.
21672 * configure.in: Substitute libc_cv_rtlddir.
21673 * configure: Regenerate.
21674 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21675 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21676 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21677 * elf/Makefile (install-others, CFLAGS-interp.c)
21678 (ldso_install, common-ldd-rewrite): Likewise.
21679 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21680 $(inst_slibdir)/$(rtld-installed-name).
21681 * scripts/rellns-sh: Add -p option.
21682 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21685 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21687 * manual/nptl.texi: Renamed to ...
21688 * manual/threads.texi: ... this.
21689 * manual/Makefile (chapters): Update.
21691 2013-03-18 Roland McGrath <roland@hack.frob.com>
21694 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21695 on argument names, not just descriptions.
21696 * malloc/memusagestat.c (options): Likewise.
21697 * nss/getent.c (options): Likewise.
21699 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21702 * iconv/iconv_prog.c (options): Put N_ translation marker
21703 on argument names, not just descriptions.
21704 * iconv/iconvconfig.c (options): Likewise.
21706 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21708 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21709 implementation which is faster on all x86_64 architectures.
21710 Tested on AMD, Intel Nehalem, SNB, IVB.
21711 * sysdeps/x86_64/strnlen.S: Likewise.
21713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21714 Remove all multiarch strlen and strnlen versions.
21715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21716 Remove strlen and strnlen related parts.
21718 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21719 Inline strlen part.
21720 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21722 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21723 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21724 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21725 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21726 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21727 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21729 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21731 * manual/memory.texi (Malloc Tunable Parameters):
21732 Sort parameters alphabetically. Add comments for missing entries.
21734 2013-03-17 David S. Miller <davem@davemloft.net>
21736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21738 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21741 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21742 for arguments at most half maximum finite value.
21743 * math/libm-test.inc (j0_test): Add more tests.
21744 (j1_test): Likewise.
21745 (y0_test): Likewise.
21746 (y1_test): Likewise.
21747 * sysdeps/i386/fpu/libm-test-ulps: Update.
21748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21751 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21752 1 / x and functions P and Q for arguments above 0x1p256L.
21753 (__ieee754_y0l): Likewise.
21754 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21755 (__ieee754_y1l): Likewise.
21756 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21757 (j1_test): Likewise.
21758 (y0_test): Likewise.
21759 (y1_test): Likewise.
21761 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21763 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21766 2013-03-15 Roland McGrath <roland@hack.frob.com>
21768 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21769 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21770 zero since it's initialized to EXEC_PAGESIZE.
21772 * sysdeps/unix/sysv/linux/ldsodefs.h
21773 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21774 * sysdeps/generic/ldsodefs.h: ... here.
21776 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21778 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21780 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21782 * math/test-snan.c: Renamed from
21783 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21784 * math/Makefile (tests): Add test-snan.
21785 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21788 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21789 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21791 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21792 __builtin_nan family of functions.
21793 * math/libm-test.inc (initialize): Initialize qnan_value with
21794 __builtin_nan family of functions.
21795 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21797 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21799 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21800 storage class. Initialize qNaN_var and sNaN_var with
21801 __builtin_nan and __builtin_nans families of functions,
21804 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21805 (sqrt_test): Remove duplicate test with qNaN input.
21806 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21807 (round_test, signbit_test, significand_test): Note missing +/-Inf
21808 as well as qNaN tests.
21810 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21811 qNaN_var. Fix a few strings, too.
21812 * math/libm-test.inc (nan_value): Rename to qnan_value.
21813 * math/gen-libm-test.pl (%beautify): Adjust to that.
21814 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21815 * math/test-misc.c (main): Likewise.
21816 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21817 to __qnan_bytes, and __qnan_union, respectively.
21818 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21820 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21821 and lqnanval, respectively.
21822 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21823 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21824 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21825 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21827 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21828 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21831 * math/test-misc.c (main): Fix copy'n'pastos.
21832 * misc/tst-efgcvt.c (special): Likewise.
21834 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21835 Remove declarations.
21837 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21839 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21840 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21841 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21842 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21844 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21846 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21847 macro to return vdso values correctly in IFUNC implementations.
21848 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21849 Optimization by using IFUNC.
21851 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21852 Richard Henderson <rth@redhat.com>
21853 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21855 * Makefile.in (bench): New target.
21856 * NEWS: Mention the benchmark framework.
21857 * Rules (bench): Likewise.
21858 (binaries-bench): Generate binaries for functions to
21860 * benchtests/Makefile: New makefile for benchmark tests.
21861 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21863 * benchtests/exp-inputs: New input file for EXP function.
21864 * benchtests/pow-inputs: New input file for POW function.
21865 * scripts/bench.pl: New script to generate source files for
21866 benchmark programs.
21868 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21870 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21871 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21872 computations on mantissa. Use macros for rounding and
21874 (denorm): Likewise.
21875 (__dbl_mp): Likewise.
21876 (add_magnitudes): Likewise.
21877 (sub_magnitudes): Likewise.
21880 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21881 powers of two in terms of TWOPOW macro.
21882 (mp_no): Make type of mantissa as MANTISSA_T.
21883 [!RADIXI]: Define RADIXI.
21884 [!TWO52]: Define TWO52.
21885 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21887 * manual/nptl.texi (cindex): Modify threads to pthreads.
21889 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21891 * sysdeps/x86_64/preconfigure: Regenerated.
21893 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21896 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21898 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21899 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21901 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21902 * math/libm-test.inc (j0_test): Do not allow one spurious
21903 underflow exception.
21904 (y1_test): Likewise.
21906 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21908 * manual/Makefile (chapters): Add nptl.
21909 * manual/debug.texi (Debugging Support): Add link to Threads
21911 * manual/nptl.texi: New file.
21913 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21915 2013-03-14 Petr Baudis <pasky@ucw.cz>
21917 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21918 for non-NULL pointer before the memory validity test. Pointed
21919 out by Holger Brunck <holger.brunck@keymile.com>.
21921 2013-03-13 Andreas Schwab <schwab@suse.de>
21923 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21926 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21928 * timezone/zic.c: Update from tzcode 2013b.
21930 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21932 * manual/install.texi (Configuring and compiling):
21933 Mention i686 and i586.
21934 * INSTALL: Regenerate.
21936 2013-03-12 Roland McGrath <roland@hack.frob.com>
21938 * sysdeps/init_array/elf-init.c: New file.
21940 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21941 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21943 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21944 __gmon_start__ as global, but as static with a .preinit_array pointer.
21945 * sysdeps/init_array/gmon-start.c: New file. Use that.
21946 * sysdeps/init_array/crti.S: New file, empty except for comments.
21947 * sysdeps/init_array/crtn.S: Likewise.
21949 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21951 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21954 Remove Prefer_SSE_for_memop.
21955 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21956 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21957 HAS_PREFER_SSE_FOR_MEMOP.
21958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21961 Remove bzero, memset ifunc support.
21962 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21963 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21964 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21965 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21967 2013-03-11 Andreas Schwab <schwab@suse.de>
21970 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21973 (GLIBC_2.16): Remove pthread_atfork.
21975 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21977 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21978 (ptestcases.h): Likewise.
21980 2013-03-08 Roland McGrath <roland@hack.frob.com>
21982 * Makeconfig ($(common-objpfx)config.status): Depend on
21983 sysdeps/*/preconfigure{,.in} too.
21985 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21987 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21988 (__free_hook): Use void * instead of __malloc_ptr_t.
21989 (__malloc_hook): Likewise.
21990 (__realloc_hook): Likewise.
21991 (__memalign_hook): Likewise.
21992 (__after_morecore_hook): Likewise.
21993 * malloc/arena.c (save_malloc_hook): Likewise.
21994 (save_free_hook): Likewise.
21995 * malloc/hooks.c (malloc_hook_ini): Likewise.
21996 (realloc_hook_ini): Likewise.
21997 (memalign_hook_ini): Likewise.
21998 * malloc/malloc.c (malloc_hook_ini): Likewise.
21999 (realloc_hook_ini): Likewise.
22000 (memalign_hook_ini): Likewise.
22001 (__free_hook): Likewise.
22002 (__malloc_hook): Likewise.
22003 (__realloc_hook): Likewise.
22004 (__memalign_hook): Likewise.
22005 (__libc_malloc): Likewise.
22006 (__libc_free): Likewise.
22007 (__libc_realloc): Likewise.
22008 (__libc_memalign): Likewise.
22009 (__libc_valloc): Likewise.
22010 (__libc_pvalloc): Likewise.
22011 (__libc_calloc): Likewise.
22012 (__posix_memalign): Likewise.
22013 * malloc/morecore.c (__sbrk): Likewise.
22014 (__default_morecore): Likewise.
22016 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22018 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22019 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22020 __malloc_ptrdiff_t.
22022 * malloc/malloc.h (__malloc_size_t): Remove macro.
22023 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22025 (old_memalign_hook): Likewise.
22026 (old_realloc_hook): Likewise.
22027 (struct hdr): Likewise.
22029 (mallochook): Likewise.
22030 (memalignhook): Likewise.
22031 (reallochook): Likewise.
22032 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22033 (tr_old_realloc_hook): Likewise.
22034 (tr_old_memalign_hook): Likewise.
22035 (tr_mallochook): Likewise.
22036 (tr_reallochook): Likewise.
22037 (tr_memalignhook): Likewise.
22039 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22041 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22042 default_ldbl_pack and using as default implementation.
22043 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22045 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22046 redundant definition.
22047 (ldbl_insert_mantissa): Likewise.
22048 (ldbl_canonicalize): Likewise.
22049 (ldbl_nearbyint): Likewise.
22050 (ldbl_pack): Rename to ldbl_pack_ppc.
22051 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22052 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22053 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22055 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22058 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22059 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22060 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22062 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22063 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22064 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22066 2013-03-07 Andreas Jaeger <aj@suse.de>
22068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22071 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22073 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22074 Include mpa.h and declare __MPEXP.
22075 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22076 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22077 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22078 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22079 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22080 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22081 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22083 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22084 (__slowpow): Use long double EXPL and LOGL functions to
22086 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22087 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22088 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22089 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22090 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22091 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22094 intermediate variable to calculate exponent.
22096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22100 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22101 [!NO__SQR]: Define __sqr.
22102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22103 and NO__SQR. Remove all code except __mul and __sqr. Include
22104 sysdeps/ieee754/dbl-64/mpa.c.
22105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22108 * posix/Makefile (tests): Add tst-pathconf.
22109 * posix/tst-pathconf.c: New test case.
22110 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22112 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22114 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22116 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22118 2013-03-06 Andreas Jaeger <aj@suse.de>
22120 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22121 definition via __MAP_ANONYMOUS.
22123 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22124 it's not part of Linux headers.
22126 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22127 (MAP_HUGE_MASK): Define.
22129 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22131 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22132 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22134 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22135 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22137 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22138 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22140 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22142 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22143 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22144 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22145 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22146 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22147 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22149 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22152 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22153 Handle f2fs and efivarfs.
22155 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22158 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22159 (EFIVARFS_MAGIC): Add.
22160 (F2FS_LINK_MAX): Add.
22162 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22164 * stdio-common/vfprintf.c: Replace __builtin_expect with
22167 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22170 * sysdeps/generic/bp-sym.h: Remove file.
22171 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22172 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22173 <bp-sym.h> and <bp-asm.h>.
22174 (__longjmp): Don't use BP_SYM.
22175 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22177 (memcpy): Don't use BP_SYM.
22178 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22179 <bp-sym.h> and <bp-asm.h>.
22180 (memcpy): Don't use BP_SYM.
22181 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22183 (memcpy): Don't use BP_SYM.
22184 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22186 (memset): Don't use BP_SYM.
22187 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22188 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22189 (__bzero): Don't use BP_SYM.
22190 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22191 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22192 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22193 <bp-sym.h> and <bp-asm.h>.
22194 (memcmp): Don't use BP_SYM. Remove comment about bounded
22196 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22197 <bp-sym.h> and <bp-asm.h>.
22198 (memcpy): Don't use BP_SYM.
22199 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22200 <bp-sym.h> and <bp-asm.h>.
22201 (memset): Don't use BP_SYM.
22202 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22203 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22204 (__bzero): Don't use BP_SYM.
22205 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22206 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22207 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22208 <bp-sym.h> and <bp-asm.h>.
22209 (strncmp): Don't use BP_SYM. Remove comment about bounded
22211 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22212 <bp-sym.h> and <bp-asm.h>.
22213 (memcpy): Don't use BP_SYM.
22214 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22215 <bp-sym.h> and <bp-asm.h>.
22216 (memset): Don't use BP_SYM.
22217 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22218 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22219 (__bzero): Don't use BP_SYM.
22220 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22221 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22222 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22223 <bp-sym.h> and <bp-asm.h>.
22224 (__memchr): Don't use BP_SYM.
22225 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22226 <bp-sym.h> and <bp-asm.h>.
22227 (memcmp): Don't use BP_SYM. Remove comment about bounded
22229 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22230 <bp-sym.h> and <bp-asm.h>.
22231 (memcpy): Don't use BP_SYM.
22232 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22233 <bp-sym.h> and <bp-asm.h>.
22234 (__mempcpy): Don't use BP_SYM.
22235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22236 <bp-sym.h> and <bp-asm.h>.
22237 (__memrchr): Don't use BP_SYM.
22238 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22239 <bp-sym.h> and <bp-asm.h>.
22240 (memset): Don't use BP_SYM.
22241 (__bzero): Likewise.
22242 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22243 <bp-sym.h> and <bp-asm.h>.
22244 (__rawmemchr): Don't use BP_SYM.
22245 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22246 <bp-sym.h> and <bp-asm.h>.
22247 (__STRCMP): Don't use BP_SYM.
22248 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22249 <bp-sym.h> and <bp-asm.h>.
22250 (strchr): Don't use BP_SYM.
22251 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22252 <bp-sym.h> and <bp-asm.h>.
22253 (__strchrnul): Don't use BP_SYM.
22254 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22255 <bp-sym.h> and <bp-asm.h>.
22256 (strlen): Don't use BP_SYM.
22257 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22258 <bp-sym.h> and <bp-asm.h>.
22259 (strncmp): Don't use BP_SYM. Remove comment about bounded
22261 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22262 <bp-sym.h> and <bp-asm.h>.
22263 (__strnlen): Don't use BP_SYM.
22264 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22265 <bp-sym.h> and <bp-asm.h>.
22266 (__GI__setjmp): Don't use BP_SYM.
22267 (_setjmp): Likewise.
22268 (__sigsetjmp): Likewise.
22269 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22270 (L(start_addresses)): Don't use BP_SYM.
22271 (_start): Likewise.
22272 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22274 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22275 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22276 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22277 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22278 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22280 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22281 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22282 about bounded pointers.
22283 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22284 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22285 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22287 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22288 about bounded pointers. Remove GKM FIXME comments.
22289 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22290 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22292 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22293 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22294 Remove GKM FIXME comments.
22295 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22296 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22297 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22299 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22300 about bounded pointers. Remove GKM FIXME comment.
22301 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22303 (strncmp): Don't use BP_SYM. Remove comment about bounded
22305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22306 <bp-sym.h> and <bp-asm.h>.
22307 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22309 <bp-sym.h> and <bp-asm.h>.
22310 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22313 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22315 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22318 2013-03-05 David S. Miller <davem@davemloft.net>
22320 * po/es.po: Update from translation team.
22322 2013-03-05 Andreas Jaeger <aj@suse.de>
22324 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22325 <bits/mman-linux.h>.
22326 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22328 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22329 <bits/mman-linux.h> to end of file.
22330 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22332 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22333 <bits/mman-linux.h> to end of file.
22334 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22336 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22337 <bits/mman-linux.h> to end of file.
22339 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22340 (MCL_CURRENT, MCL_FUTURE): Define here.
22342 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22345 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22347 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22349 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22351 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22352 fourth parameter needed for rt_sigprocmask syscall.
22353 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22354 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22355 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22356 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22357 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22358 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22360 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22363 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22364 comment about bounded pointers.
22365 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22366 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22368 2013-03-04 Andreas Jaeger <aj@suse.de>
22370 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22371 common definitions.
22373 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22374 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22375 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22376 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22377 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22378 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22380 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22383 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22384 __ieee754_sqrl instead of __sqrl.
22386 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22388 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22389 * sysdeps/powerpc/fpu_control.h: ... here.
22390 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22391 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22392 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22393 * sysdeps/powerpc/bits/mathinline.h: ... here.
22395 2013-03-01 Roland McGrath <roland@hack.frob.com>
22397 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22398 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22399 to just [NEED_DL_SYSINFO_DSO].
22400 * elf/dl-support.c: Likewise.
22401 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22402 * elf/rtld.c (dl_main): Likewise.
22403 * elf/setup-vdso.h (setup_vdso): Likewise.
22404 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22405 * sysdeps/unix/sysv/linux/dl-sysdep.c
22406 (_dl_discover_osversion): Likewise.
22408 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22410 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22411 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22413 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22415 * NEWS: Mention libm performance improvements and non-x86 PI
22418 * csu/libc-start.c (__pthread_initialize_minimal): Change
22419 function arguments.
22420 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22422 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22425 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22426 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22427 <bp-sym.h> and <bp-asm.h>.
22428 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22429 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22431 (memcpy): Don't use BP_SYM.
22432 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22434 (__mpn_add_n): Don't use BP_SYM.
22435 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22436 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22438 (__mpn_addmul_1): Don't use BP_SYM.
22439 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22440 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22442 (_setjmp): Don't use BP_SYM.
22443 (__novmx_setjmp): Likewise.
22444 (__GI__setjmp): Likewise.
22445 (__vmx_setjmp): Likewise.
22446 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22448 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22449 (__bzero): Don't use BP_SYM.
22450 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22451 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22452 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22453 <bp-sym.h> and <bp-asm.h>.
22454 (memcpy): Don't use BP_SYM.
22455 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22456 <bp-sym.h> and <bp-asm.h>.
22457 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22458 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22459 <bp-sym.h> and <bp-asm.h>.
22460 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22461 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22463 (__mpn_lshift): Don't use BP_SYM.
22464 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22465 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22467 (memset): Don't use BP_SYM.
22468 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22469 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22470 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22472 (__mpn_mul_1): Don't use BP_SYM.
22473 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22474 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22475 <bp-sym.h> and <bp-asm.h>.
22476 (memcmp): Don't use BP_SYM.
22477 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22478 <bp-sym.h> and <bp-asm.h>.
22479 (memcpy): Don't use BP_SYM.
22480 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22481 <bp-sym.h> and <bp-asm.h>.
22482 (memset): Don't use BP_SYM.
22483 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22484 <bp-sym.h> and <bp-asm.h>.
22485 (strncmp): Don't use BP_SYM.
22486 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22487 <bp-sym.h> and <bp-asm.h>.
22488 (memcpy): Don't use BP_SYM.
22489 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22490 <bp-sym.h> and <bp-asm.h>.
22491 (memset): Don't use BP_SYM.
22492 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22493 <bp-sym.h> and <bp-asm.h>.
22494 (__memchr): Don't use BP_SYM.
22495 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22496 <bp-sym.h> and <bp-asm.h>.
22497 (memcmp): Don't use BP_SYM.
22498 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22499 <bp-sym.h> and <bp-asm.h>.
22500 (memcpy): Don't use BP_SYM.
22501 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22502 <bp-sym.h> and <bp-asm.h>.
22503 (__mempcpy): Don't use BP_SYM.
22504 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22505 <bp-sym.h> and <bp-asm.h>.
22506 (__memrchr): Don't use BP_SYM.
22507 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22508 <bp-sym.h> and <bp-asm.h>.
22509 (memset): Don't use BP_SYM.
22510 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22511 <bp-sym.h> and <bp-asm.h>.
22512 (__rawmemchr): Don't use BP_SYM.
22513 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22514 <bp-sym.h> and <bp-asm.h>.
22515 (__STRCMP): Don't use BP_SYM.
22516 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22517 <bp-sym.h> and <bp-asm.h>.
22518 (strchr): Don't use BP_SYM.
22519 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22520 <bp-sym.h> and <bp-asm.h>.
22521 (__strchrnul): Don't use BP_SYM.
22522 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22523 <bp-sym.h> and <bp-asm.h>.
22524 (strlen): Don't use BP_SYM.
22525 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22526 <bp-sym.h> and <bp-asm.h>.
22527 (strncmp): Don't use BP_SYM.
22528 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22529 <bp-sym.h> and <bp-asm.h>.
22530 (__strnlen): Don't use BP_SYM.
22531 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22533 (__mpn_rshift): Don't use BP_SYM.
22534 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22535 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22536 <bp-sym.h> and <bp-asm.h>.
22537 (__sigsetjmp): Don't use BP_SYM.
22538 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22539 (L(start_addresses)): Don't use BP_SYM.
22540 (_start): Likewise.
22541 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22543 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22544 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22545 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22546 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22548 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22549 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22550 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22551 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22553 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22555 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22556 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22558 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22560 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22561 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22562 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22564 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22566 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22568 (strncmp): Don't use BP_SYM,
22569 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22571 (__mpn_sub_n): Don't use BP_SYM.
22572 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22573 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22575 (__mpn_submul_1): Don't use BP_SYM.
22576 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22578 <bp-sym.h> and <bp-asm.h>.
22579 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22581 <bp-sym.h> and <bp-asm.h>.
22582 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22585 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22588 Use ZK to minimize writes to Z.
22589 (sub_magnitudes): Simplify code a bit.
22590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22591 Use ZK to minimize writes to Z.
22592 (sub_magnitudes): Simplify code a bit.
22594 2013-02-27 Roland McGrath <roland@hack.frob.com>
22596 * csu/gmon-start.c: Add special exception to license text.
22598 2013-02-27 Richard Henderson <rth@redhat.com>
22600 * scripts/config.guess: Update from config.git.
22601 * scripts/config.sub: Likewise.
22603 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22605 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22607 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22609 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22611 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22613 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22615 2013-02-26 Roland McGrath <roland@hack.frob.com>
22617 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22618 [$(build-shared = yes].
22620 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22622 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22623 (__mul): Reduce iterations for calculating mantissa.
22625 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22627 (__mpranred): Likewise.
22630 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22631 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22633 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22635 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22636 Define __attribute__.
22638 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22640 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22642 * posix/regex_internal.h (__attribute): Remove.
22643 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22644 (re_string_context_at): Likewise.
22645 (bitset_not): Use __attribute__ and mark function as possibly
22647 (bitset_merge): Likewise.
22648 (bitset_mask): Likewise.
22649 (re_string_char_size_at): Likewise.
22650 (re_string_wchar_at): Likewise.
22651 (re_string_elem_size_at): Likewise.
22653 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22655 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22659 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22663 (denorm): Likewise.
22664 (__dbl_mp): Likewise.
22665 (add_magnitudes): Likewise.
22666 (sub_magnitudes): Likewise.
22670 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22673 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22676 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22680 up changes with default code.
22681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22684 2013-02-24 Allan McRae <allan@archlinux.org>
22686 * manual/socket.texi (The Internet Namespace): Order menu items
22687 to match that in the file.
22689 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22690 node listing of the info page menu.
22692 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22695 * sysdeps/i386/bp-asm.h: Remove file.
22696 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22697 (PARMS): Do not use macros from bp-asm.h.
22701 (__mpn_add_n): Do not use BP_SYM
22702 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22704 (PARMS): Do not use macros from bp-asm.h.
22707 (__mpn_addmul_1): Do not use BP_SYM
22708 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22710 (PARMS): Do not use macros from bp-asm.h.
22711 (SIGMSK): Likewise.
22712 (_setjmp): Likewise. Do not use BP_SYM.
22713 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22715 (PARMS): Do not use macros from bp-asm.h.
22716 (SIGMSK): Likewise.
22717 (setjmp): Likewise. Do not use BP_SYM.
22718 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22720 (PARMS): Do not use macros from bp-asm.h.
22721 (__frexp): Do not use BP_SYM.
22723 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22725 (PARMS): Do not use macros from bp-asm.h.
22726 (__frexpf): Do not use BP_SYM.
22727 (frexpf): Likewise.
22728 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22730 (PARMS): Do not use macros from bp-asm.h.
22731 (__frexpl): Do not use BP_SYM.
22732 (frexpl): Likewise.
22733 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22735 (PARMS): Do not use macros from bp-asm.h.
22736 (__remquo): Do not use BP_SYM.
22737 (remquo): Likewise.
22738 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22740 (PARMS): Do not use macros from bp-asm.h.
22741 (__remquof): Do not use BP_SYM.
22742 (remquof): Likewise.
22743 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22745 (PARMS): Do not use macros from bp-asm.h.
22746 (__remquol): Do not use BP_SYM.
22747 (remquol): Likewise.
22748 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22750 (PARMS): Do not use macros from bp-asm.h.
22753 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22754 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22756 (PARMS): Do not use macros from bp-asm.h.
22757 (strlen): Do not use BP_SYM.
22758 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22760 (PARMS): Do not use macros from bp-asm.h.
22764 (__mpn_add_n): Do not use BP_SYM.
22765 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22767 (PARMS): Do not use macros from bp-asm.h.
22770 (__mpn_addmul_1): Do not use BP_SYM.
22771 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22774 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22776 (PARMS): Do not use macros from bp-asm.h.
22779 (__mpn_lshift): Do not use BP_SYM.
22780 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22782 (PARMS): Do not use macros from bp-asm.h.
22786 (memcpy): Likewise. Do not use BP_SYM.
22787 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22788 libc_hidden_def and weak_alias.
22789 (mempcpy): Do not use BP_SYM in weak_alias.
22790 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22792 (PARMS): Do not use macros from bp-asm.h.
22795 [!BZERO_P] (CHR): Likewise.
22796 (memset): Likewise. Do not use BP_SYM.
22797 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22799 (PARMS): Do not use macros from bp-asm.h.
22802 (__mpn_mul_1): Do not use BP_SYM.
22803 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22805 (PARMS): Do not use macros from bp-asm.h.
22808 (__mpn_rshift): Do not use BP_SYM.
22809 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22811 (PARMS): Do not use macros from bp-asm.h.
22814 (strchr): Likewise. Do not use BP_SYM.
22815 (index): Do not use BP_SYM in weak_alias.
22816 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22818 (PARMS): Do not use macros from bp-asm.h.
22821 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22822 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22824 (PARMS): Do not use macros from bp-asm.h.
22825 (strlen): Do not use BP_SYM.
22826 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22828 (PARMS): Do not use macros from bp-asm.h.
22832 (__mpn_sub_n): Do not use BP_SYM.
22833 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22835 (PARMS): Do not use macros from bp-asm.h.
22838 (__mpn_submul_1): Do not use BP_SYM.
22839 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22841 (PARMS): Do not use macros from bp-asm.h.
22845 (__mpn_add_n): Do not use BP_SYM.
22846 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22849 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22851 (PARMS): Do not use macros from bp-asm.h.
22854 (memcmp): Do not use BP_SYM.
22855 (bcmp): Do not use BP_SYM in weak_alias.
22856 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22858 (PARMS): Do not use macros from bp-asm.h.
22862 (memcpy): Likewise. Do not use BP_SYM.
22863 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22865 (PARMS): Do not use macros from bp-asm.h.
22869 (memmove): Likewise. Do not use BP_SYM.
22870 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22872 (PARMS): Do not use macros from bp-asm.h.
22876 (__mempcpy): Likewise. Do not use BP_SYM.
22877 (mempcpy): Do not use BP_SYM in weak_alias.
22878 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22880 (PARMS): Do not use macros from bp-asm.h.
22883 [!BZERO_P] (CHR): Likewise.
22884 (memset): Likewise. Do not use BP_SYM.
22885 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22887 (PARMS): Do not use macros from bp-asm.h.
22889 (strcmp): Do not use BP_SYM.
22890 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22892 (PARMS): Do not use macros from bp-asm.h.
22895 [USE_AS_STRTOK_R] (SAVE): Likewise.
22896 (FUNCTION): Likewise. Do not use BP_SYM.
22897 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22899 (strtok_r): Likewise.
22900 (__GI___strtok_r): Likewise.
22901 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22902 (PARMS): Do not use macros from bp-asm.h.
22905 (__mpn_lshift): Do not use BP_SYM.
22906 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22907 (PARMS): Do not use macros from bp-asm.h.
22910 (__memchr): Do not use BP_SYM.
22911 (memchr): Do not use BP_SYM in weak_alias.
22912 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22913 (PARMS): Do not use macros from bp-asm.h.
22916 (memcmp): Do not use BP_SYM.
22917 (bcmp): Do not use BP_SYM in weak_alias.
22918 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22919 (PARMS): Do not use macros from bp-asm.h.
22922 (__mpn_mul_1): Do not use BP_SYM.
22923 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22925 (PARMS): Do not use macros from bp-asm.h.
22928 (__rawmemchr): Do not use BP_SYM.
22929 (rawmemchr): Do not use BP_SYM in weak_alias.
22930 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22931 (PARMS): Do not use macros from bp-asm.h.
22934 (__mpn_rshift): Do not use BP_SYM.
22935 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22936 (PARMS): Do not use macros from bp-asm.h.
22937 (SIGMSK): Likewise.
22938 (__sigsetjmp): Likewise. Do not use BP_SYM.
22939 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22940 (_start): Do not use BP_SYM.
22941 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22942 (PARMS): Do not use macros from bp-asm.h.
22945 (__stpcpy): Likewise. Do not use BP_SYM.
22946 (stpcpy): Do not use BP_SYM in weak_alias.
22947 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22949 (PARMS): Do not use macros from bp-asm.h.
22953 (__stpncpy): Likewise. Do not use BP_SYM.
22954 (stpncpy): Do not use BP_SYM in weak_alias.
22955 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22956 (PARMS): Do not use macros from bp-asm.h.
22959 (strchr): Likewise. Do not use BP_SYM.
22960 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22962 (PARMS): Do not use macros from bp-asm.h.
22965 (__strchrnul): Likewise. Do not use BP_SYM.
22966 (strchrnul): Do not use BP_SYM in weak_alias.
22967 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22969 (PARMS): Do not use macros from bp-asm.h.
22971 (strcspn): Do not use BP_SYM.
22972 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22974 (PARMS): Do not use macros from bp-asm.h.
22977 (strpbrk): Likewise. Do not use BP_SYM.
22978 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22980 (PARMS): Do not use macros from bp-asm.h.
22983 (strrchr): Likewise. Do not use BP_SYM.
22984 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22985 (PARMS): Do not use macros from bp-asm.h.
22987 (strspn): Do not use BP_SYM.
22988 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22989 (PARMS): Do not use macros from bp-asm.h.
22993 (FUNCTION): Likewise. Do not use BP_SYM.
22994 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22996 (strtok_r): Likewise.
22997 (__GI___strtok_r): Likewise.
22998 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22999 (PARMS): Do not use macros from bp-asm.h.
23003 (__mpn_sub_n): Do not use BP_SYM.
23004 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23006 (PARMS): Do not use macros from bp-asm.h.
23009 (__mpn_submul_1): Do not use BP_SYM.
23010 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23012 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23014 (PARMS): Do not use macros from bp-asm.h.
23019 (__clone): Do not use BP_SYM.
23020 (clone): Do not use BP_SYM in weak_alias.
23021 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23023 (PARMS): Do not use macros from bp-asm.h.
23025 (__mmap64): Do not use BP_SYM.
23026 (mmap64): Do not use BP_SYM in weak_alias.
23027 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23028 <bp-sym.h> and <bp-asm.h>.
23029 (PARMS): Do not use macros from bp-asm.h.
23030 (__posix_fadvise64_l64): Do not use BP_SYM.
23031 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23032 (PARMS): Do not use macros from bp-asm.h.
23034 (semtimedop): Do not use BP_SYM.
23035 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23038 2013-02-21 Allan McRae <allan@archlinux.org>
23040 * manual/message.texi (Charset conversion in gettext):
23041 Move @end statement to beginning of line.
23043 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23050 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23051 (denorm): Likewise.
23052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23055 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23057 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23058 tail-call to the resolved function if pltexit isn't needed.
23060 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23063 or Y being zero as being unlikely.
23064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23067 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23069 * manual/nss.texi (System Databases and Name Service Switch):
23070 Remove frobnicate @pxref.
23072 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23074 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23075 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23077 2013-02-20 Petr Machata <pmachata@redhat.com>
23079 * elf/elf.h (R_ARM_TARGET1): New macro.
23080 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23081 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23082 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23083 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23084 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23085 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23086 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23087 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23088 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23089 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23090 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23091 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23092 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23093 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23094 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23095 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23096 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23097 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23098 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23099 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23100 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23101 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23102 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23103 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23104 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23105 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23106 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23107 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23108 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23109 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23110 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23111 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23112 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23113 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23114 (R_ARM_THM_GOT_BREL12): Likewise.
23115 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23116 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23117 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23118 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23119 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23120 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23121 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23122 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23123 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23125 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23127 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23128 __attribute_used__ to __attribute__ ((unused)).
23130 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23132 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23135 comment formatting.
23136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23138 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23141 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23143 (ENTER): Remove both macro definitions.
23145 (CHECK_BOUNDS_LOW): Likewise.
23146 (CHECK_BOUNDS_HIGH): Likewise.
23147 (CHECK_BOUNDS_BOTH): Likewise.
23148 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23149 (RETURN_BOUNDED_POINTER): Likewise.
23150 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23151 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23152 (POP_ERRNO_LOCATION_RETURN): Likewise.
23153 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23154 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23155 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23157 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23158 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23159 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23160 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23161 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23162 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23163 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23164 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23165 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23166 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23167 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23168 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23169 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23170 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23172 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23173 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23175 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23176 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23177 * sysdeps/i386/i586/memset.S (memset): Likewise.
23178 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23179 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23180 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23182 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23183 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23184 Change uses of L(2) to L(out).
23185 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23186 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23187 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23188 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23189 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23191 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23192 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23194 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23195 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23196 (RETURN): Do not use macro LEAVE.
23197 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23198 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23199 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23200 * sysdeps/i386/i686/memset.S (memset): Likewise.
23201 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23202 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23203 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23204 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23206 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23207 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23208 L(1_2) and L(1_3) into L(1).
23209 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23210 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23211 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23212 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23213 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23214 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23215 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23216 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23217 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23219 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23220 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23221 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23222 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23223 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23224 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23225 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23226 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23227 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23228 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23229 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23230 * sysdeps/i386/strspn.S (strspn): Likewise.
23231 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23233 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23234 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23235 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23236 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23237 L(1_3) into L(1_1).
23238 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23239 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23240 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23242 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23244 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23246 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23249 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23251 * math/atest-exp.c (exp_mpn): Remove ROUND.
23252 * math/atest-exp2.c (exp_mpn): Likewise.
23253 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23255 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23256 * stdlib/tst-tls-atexit-lib.c: Likewise.
23257 * stdlib/tst-tls-atexit.c: Likewise.
23259 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23261 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23262 and __attribute_alloc_size__.
23264 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23266 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23267 __attribute_alloc_size__.
23268 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23269 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23271 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23273 * include/programs/xmalloc.h: New file.
23274 * catgets/gencat.c: Include it.
23275 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23276 * elf/pldd.c: Likewise.
23277 * iconv/iconv_charmap.c: Likewise.
23278 * iconv/iconvconfig.c: Likewise.
23279 * iconv/strtab.c: Likewise.
23280 * locale/programs/locale.c: Likewise.
23281 * locale/programs/localedef.h: Likewise.
23282 * locale/programs/simple-hash.c: Likewise.
23283 * nscd/nscd.h: Likewise.
23284 * nss/makedb.c: Likewise.
23285 * sysdeps/generic/ldconfig.h: Likewise.
23287 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23289 * Versions.def: Add GLIBC_2.18.
23290 * include/link.h (struct link_map): New member l_tls_dtor_count.
23291 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23292 (__call_tls_dtors): Likewise.
23293 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23294 __cxa_thread_atexit_impl.
23295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23303 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23311 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23312 (tests): Add test case tst-tls-atexit.
23313 (modules-names): Add shared library for tst-tls-atexit.
23314 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23315 (GLIBC_PRIVATE): Add __call_tls_dtors.
23316 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23318 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23319 * stdlib/tst-tls-atexit.c: New test case.
23320 * stdlib/tst-tls-atexit-lib.c: New test case.
23322 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23324 * elf/Versions (ld): Add _dl_find_dso_for_object.
23325 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23326 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23327 (dl_open_worker): Use _dl_find_dso_for_object.
23328 * elf/dl-sym.c (do_sym): Likewise.
23329 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23331 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23333 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23334 Syntactic changes only.
23335 (_dl_runtime_profile): Do a tail-call to the resolved function.
23337 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23340 * sysdeps/x86_64/bp-asm.h: Remove file.
23341 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23342 <bp-sym.h> and <bp-asm.h>.
23343 (__clone): Do not use BP_SYM.
23344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23345 <bp-sym.h> and <bp-asm.h>.
23346 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23347 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23349 (_setjmp): Do not use BP_SYM.
23350 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23352 (setjmp): Do not use BP_SYM.
23353 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23355 (mempcpy): Do not use BP_SYM in weak_alias.
23356 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23358 (strchr): Do not use BP_SYM.
23359 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23361 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23362 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23363 (_start): Do not use BP_SYM.
23364 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23366 (strcat): Do not use BP_SYM.
23367 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23369 (STRCMP): Do not use BP_SYM.
23370 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23372 (STRCPY): Do not use BP_SYM.
23373 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23375 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23377 (FUNCTION): Do not use BP_SYM.
23378 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23380 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23382 2013-02-17 Andreas Jaeger <aj@suse.de>
23384 * time/Versions: Sort entries.
23385 * string/Versions: Likewise.
23386 * resolv/Versions: Likewise.
23387 * posix/Versions: Likewise.
23388 * iconv/Versions: Likewise.
23389 * elf/Versions: Likewise.
23390 * wcsmbs/Versions: Likewise.
23392 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23394 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23395 loop termination condition.
23397 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23398 variable to calculate EZ.
23401 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23402 the lower precision input.
23404 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23407 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23408 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23409 (run-via-rtld-prefix): Do not handle %-bp tests.
23410 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23411 (all-object-suffixes): Remove .ob.
23412 (bppfx): Remove variable.
23413 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23414 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23415 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23416 [$(build-bounded) = yes] (libtype.ob): Likewise.
23417 * Makerules (elide-routines.ob): Remove variable.
23418 (do-tests-clean): Do not handle *-bp.out.
23419 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23420 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23421 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23422 (tests): Do not include $(tests-bp.out).
23423 (xtests): Do not include $(xtests-bp.out).
23424 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23425 [$(build-bounded) = yes] ($(addprefix
23426 $(objpfx),$(binaries-bounded))): Remove rule.
23427 ($(objpfx)%-bp.out): Remove rule.
23428 * config.make.in (build-bounded): Remove variable.
23429 * crypt/Makefile [$(build-bounded) = yes]
23430 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23431 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23432 append to variable.
23433 [$(build-bounded) = yes] (install-lib): Likewise.
23434 [$(build-bounded) = yes] (generated): Likewise.
23435 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23437 * intl/Makefile [$(build-bounded) = yes]
23438 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23439 * math/Makefile [$(build-bounded) = yes]
23440 ($(tests:%=$(objpfx)%-bp): Likewise.
23441 * misc/Makefile [$(build-bounded) = yes]
23442 ($(objpfx)tst-tsearch-bp): Likewise.
23443 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23444 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23446 * string/Makefile (o-objects.ob): Remove variable.
23447 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23448 (CFLAGS-.ob): Remove variable.
23449 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23450 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23451 both definitions of variable.
23452 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23453 (ASFLAGS-.ob): Remove variable.
23455 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23458 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23459 Remove __BOUNDED_POINTERS__ from condition.
23460 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23461 * string/bits/string2.h [!__NO_STRING_INLINES &&
23462 !__BOUNDED_POINTERS__]: Likewise.
23463 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23465 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23466 Remove conditional code.
23467 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23468 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23469 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23473 * csu/libc-start.c: Do not include <bp-sym.h>.
23474 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23475 * elf/dl-open.c: Do not include <bp-sym.h>.
23476 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23477 * math/fegetenv.c: Do not include <bp-sym.h>.
23478 (fegetenv): Do not use BP_SYM in versioned symbols.
23479 * nptl/sysdeps/pthread/bits/libc-lockP.h
23480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23483 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23485 (__pthread_mutex_destroy): Likewise.
23486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23487 (__pthread_mutex_lock): Likewise.
23488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23489 (__pthread_mutex_trylock): Likewise.
23490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23491 (__pthread_mutex_unlock): Likewise.
23492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23493 (__pthread_mutexattr_init): Likewise.
23494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23495 (__pthread_mutexattr_destroy): Likewise.
23496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23497 (__pthread_mutexattr_settype): Likewise.
23498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23499 (__pthread_rwlock_init): Likewise.
23500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23501 (__pthread_rwlock_destroy): Likewise.
23502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23503 (__pthread_rwlock_rdlock): Likewise.
23504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23505 (__pthread_rwlock_tryrdlock): Likewise.
23506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23507 (__pthread_rwlock_wrlock): Likewise.
23508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23509 (__pthread_rwlock_trywrlock): Likewise.
23510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23511 (__pthread_rwlock_unlock): Likewise.
23512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23513 (__pthread_key_create): Likewise.
23514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23515 (__pthread_setspecific): Likewise.
23516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23517 (__pthread_getspecific): Likewise.
23518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23521 (_pthread_cleanup_push_defer): Likewise.
23522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23523 (_pthread_cleanup_pop_restore): Likewise.
23524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23525 (pthread_setcancelstate): Likewise.
23526 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23528 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23529 (memchr): Do not use BP_SYM in weak_alias.
23530 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23531 (fegetenv): Do not use BP_SYM in versioned symbols.
23532 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23533 (fesetenv): Do not use BP_SYM in versioned symbols.
23534 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23535 (feupdateenv): Do not use BP_SYM in versioned symbols.
23536 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23537 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23538 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23539 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23540 (open64): Do not use BP_SYM in weak_alias.
23541 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23542 (fegetenv): Do not use BP_SYM in versioned symbols.
23543 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23544 (fesetenv): Do not use BP_SYM in versioned symbols.
23545 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23546 (feupdateenv): Do not use BP_SYM in versioned symbols.
23547 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23548 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23549 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23550 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23551 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23552 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23553 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23555 (__libc_start_main): Do not use BP_SYM.
23557 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23560 redundant return line.
23562 (denorm): Likewise.
23563 (dbl_mp): Likewise.
23564 (sub_magnitudes): Likewise.
23570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23572 (denorm): Likewise.
23573 (dbl_mp): Likewise.
23574 (sub_magnitudes): Likewise.
23581 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23583 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23584 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23587 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23588 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23590 of __mul for squares.
23591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23595 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23596 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23598 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23601 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23603 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23604 prototype or function definition. Rename ubp_* variables and
23605 parameters. Remove argv definitions conditional on
23606 [__BOUNDED_POINTERS__].
23607 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23608 * elf/dl-runtime.c (_dl_fixup): Likewise.
23609 * include/set-hooks.h (RUN_HOOK): Likewise.
23610 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23612 * string/strcpy.c (strcpy): Do not use __unbounded.
23613 * sysdeps/generic/frame.h (struct layout): Likewise.
23614 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23615 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23616 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23617 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23618 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23619 (__backtrace): Likewise.
23620 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23622 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23623 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23624 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23626 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23627 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23628 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23629 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23630 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23631 Do not use __unbounded.
23632 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23633 Rename __unboundedrlimits parameter to rlimits in prototype.
23634 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23635 Do not use __unbounded.
23636 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23637 not use __ptrvalue.
23638 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23639 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23640 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23641 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23642 __ptrvalue or __unbounded.
23643 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23644 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23646 (__new_msgctl): Do not use __ptrvalue.
23647 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23649 (__libc_msgrcv): Do not use __ptrvalue.
23650 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23651 startup_info): Do not use __unbounded.
23652 (__libc_start_main): Likewise. Rename ubp_* variables and
23653 parameters. Remove argv definitions conditional on
23654 [__BOUNDED_POINTERS__].
23655 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23657 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23659 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23661 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23663 (__new_shmctl): Do not use __ptrvalue.
23664 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23665 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23667 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23668 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23669 (__libc_sigaction): Likewise.
23670 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23671 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23673 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23675 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23677 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23679 * string/mempcpy.c: Implement by calling memcpy.
23681 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23688 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23689 values in the mantissa.
23691 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23692 minimize writes to Z.
23693 (sub_magnitudes): Simplify code a bit.
23695 2013-02-12 Roland McGrath <roland@hack.frob.com>
23697 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23698 from the message. The linker prefixes all warnings with that already.
23700 2013-02-12 Andreas Schwab <schwab@suse.de>
23703 * posix/regexec.c (extend_buffers): Add parameter min_len.
23704 (check_matching): Pass minimum needed length.
23705 (clean_state_log_if_needed): Likewise.
23706 (get_subexp): Likewise.
23707 * posix/Makefile (tests): Add bug-regex34.
23708 (bug-regex34-ENV): Define.
23709 * posix/bug-regex34.c: New file.
23712 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23713 elements compare against the byte sequence of it, not its name.
23714 * posix/Makefile (tests): Add bug-regex35.
23715 (bug-regex35-ENV): Define.
23716 * posix/bug-regex35.c: New file.
23718 2013-02-11 Tom de Vries <tom@codesourcery.com>
23720 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23722 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23723 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23724 (CHECK_EOL): Add undef.
23726 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23728 * bits/stdlib-bsearch.h: New file.
23729 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23730 * stdlib/stdlib.h: Likewise.
23732 2013-02-11 Roland McGrath <roland@hack.frob.com>
23734 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23735 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23737 * manual/search.texi (Array Search Function): Add missing const in
23739 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23740 declaration to use rlim_t.
23741 (Basic Scheduling Functions): Remove erroneous const from
23742 sched_getparam prototype. Remove erroneous * from
23743 sched_get_priority_max and sched_get_priority_min prototypes.
23744 (Resource Usage): Fix summary @comment on vtimes to refer to
23745 sys/vtimes.h rather than vtimes.h.
23746 Add missing *s in vtimes prototype.
23747 (Limits on Resources): Fix ulimit prototype to return long int.
23748 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23749 prototypes to use long int rather than double.
23750 (BSD Random): Fix initstate and setstate to use char *, not void *.
23751 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23752 prototype to make second argument 'struct aiocb64 *const[]'.
23753 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23754 (Status of AIO Operations): Remove erroneous const in aio_return and
23755 aio_return64 prototypes.
23756 (Synchronizing I/O): Fix sync prototype to return void.
23757 * manual/startup.texi (Suboptions): Remove an erroneous const in
23758 getsubopt prototype.
23759 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23760 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23761 use size_t rather than int.
23762 (Scanning All Users): Likewise for getpwent_r.
23763 (Setting Groups): Add missing const to setgroups prototype.
23764 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23765 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23766 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23767 'const void *' rather than 'const char *'.
23768 (Host Address Functions): Likewise for inet_ntop.
23769 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23770 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23771 ssize_t for return value.
23772 (Sending Data): Likewise for send, sendto, sendmsg.
23773 (Socket Option Functions): Add a missing const in setsockopt prototype.
23774 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23775 use wchar_t for the argument.
23776 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23777 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23779 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23780 double/float/long double for second argument.
23781 Fix return types of significand, significandf, significandl.
23782 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23783 argument in fchmod prototype.
23784 (File Owner): Use uid_t and gid_t in fchown prototype.
23785 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23786 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23787 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23788 use 'const struct dirent **' as argument types to CMP function pointer
23790 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23791 (File Times): Fix summary magic @comment for struct utimbuf and utime
23792 to refer to utime.h, not time.h.
23793 * manual/string.texi (Argz Functions): Add missing const in
23794 argz_extract and argz_next prototypes.
23795 (Finding Tokens in a String): Likewise for basename.
23796 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23797 (Copying and Concatenation): Fix typo in wmemmove prototype.
23798 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23799 (Signal Stack): Remove erroneous const in sigstack prototype.
23800 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23802 (Simple Calendar Time): Likewise for stime.
23803 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23805 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23806 say sys/sysctl.h instead.
23807 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23808 and vsyslog prototypes.
23810 2013-02-11 Tom de Vries <tom@codesourcery.com>
23812 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23815 2013-02-11 Roland McGrath <roland@hack.frob.com>
23817 * misc/sys/mman.h: Fix typo in mremap comment.
23819 2013-02-08 Roland McGrath <roland@hack.frob.com>
23821 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23822 the '\0' terminator.
23824 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23827 * debug/segfault.c: Don't include <bp-checks.h>.
23828 * sysdeps/generic/bp-checks.h: Remove file.
23829 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23830 (__GETDENTS): Don't use CHECK_N.
23831 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23832 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23833 (__getgroups): Don't use CHECK_N.
23834 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23835 (setgroups): Don't use CHECK_N.
23836 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23837 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23838 (__libc_msgrcv): Don't use CHECK_N.
23839 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23840 (__libc_msgsnd): Don't use CHECK_N.
23841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23843 (__libc_pread): Don't use CHECK_N.
23844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23845 include <bp-checks.h>.
23846 (__libc_pread64): Don't use CHECK_N.
23847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23848 include <bp-checks.h>.
23849 (__libc_pwrite): Don't use CHECK_N.
23850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23851 include <bp-checks.h>.
23852 (__libc_pwrite64): Don't use CHECK_N.
23853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23855 (__libc_pread): Don't use CHECK_N.
23856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23857 include <bp-checks.h>.
23858 (__libc_pread64): Don't use CHECK_N.
23859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23860 include <bp-checks.h>.
23861 (__libc_pwrite): Don't use CHECK_N.
23862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23863 include <bp-checks.h>.
23864 (__libc_pwrite64): Don't use CHECK_N.
23865 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23866 (do_pread): Don't use CHECK_N.
23867 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23868 (do_pread64): Don't use CHECK_N.
23869 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23870 (do_pwrite): Don't use CHECK_N.
23871 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23872 (do_pwrite64): Don't use CHECK_N.
23873 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23874 (__libc_readv): Don't use CHECK_N.
23875 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23876 (semop): Don't use CHECK_N.
23877 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23879 (semtimedop): Don't use CHECK_N.
23880 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23881 (__libc_pread): Don't use CHECK_N.
23882 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23884 (__libc_pread64): Don't use CHECK_N.
23885 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23887 (__libc_pwrite): Don't use CHECK_N.
23888 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23890 (__libc_pwrite64): Don't use CHECK_N.
23891 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23893 (__libc_msgrcv): Don't use CHECK_N.
23894 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23895 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23896 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23897 (__libc_writev): Don't use CHECK_N.
23899 2013-02-08 Roland McGrath <roland@hack.frob.com>
23901 * string/strcpy.c: Removed unused variable.
23903 * Makeconfig (+sysdep-includes): Define with := rather than =.
23904 Use an existing include/ subdir of each sysdeps dir before it.
23906 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23908 * nscd/connection.c (register_traced_file): Comment function.
23909 [HAVE_INOTIFY] (union __inev): Define.
23910 [HAVE_INOTIFY] (inotify_check_files): New function.
23911 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23912 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23914 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23916 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23918 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23919 loaded if not already and that a failure is permanent.
23921 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23924 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23925 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23927 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23930 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23931 (CHECK_1_NULL_OK): Likewise.
23932 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23933 (__fxstat): Do not use CHECK_1.
23934 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23936 (___fxstat64): Do not use CHECK_1.
23937 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23939 (__fxstatat): Do not use CHECK_1.
23940 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23942 (__fxstatat64): Do not use CHECK_1.
23943 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23945 (__fxstat): Do not use CHECK_1.
23946 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23948 (__fxstatat): Do not use CHECK_1.
23949 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23951 (__getresgid): Do not use CHECK_1.
23952 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23954 (__getresuid): Do not use CHECK_1.
23955 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23957 (__lxstat): Do not use CHECK_1.
23958 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23960 (__old_msgctl): Do not use CHECK_1.
23961 (__new_msgctl): Likewise.
23962 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23964 (__new_setrlimit): Do not use CHECK_1.
23965 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23967 (__old_shmctl): Do not use CHECK_1.
23968 (__new_shmctl): Likewise.
23969 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23971 (__xstat): Do not use CHECK_1.
23972 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23973 (__lxstat): Do not use CHECK_1.
23974 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23976 (___lxstat64): Do not use CHECK_1.
23977 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23978 (__old_msgctl): Do not use CHECK_1.
23979 (__new_msgctl): Likewise.
23980 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23982 (__gettimeofday): Do not use CHECK_1.
23983 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23984 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23985 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23987 (__gettimeofday): Do not use CHECK_1.
23988 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23989 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23990 (__new_shmctl): Do not use CHECK_1.
23991 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23993 (do_sigtimedwait): Do not use CHECK_1.
23994 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23996 (do_sigwaitinfo): Do not use CHECK_1.
23997 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23999 (msgctl): Do not use CHECK_1.
24000 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24002 (shmctl): Do not use CHECK_1.
24003 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24004 (ustat): Do not use CHECK_1.
24005 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24007 (__fxstat): Do not use CHECK_1.
24008 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24010 (__fxstatat): Do not use CHECK_1.
24011 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24013 (__lxstat): Do not use CHECK_1.
24014 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24016 (__xstat): Do not use CHECK_1.
24017 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24018 (__xstat): Do not use CHECK_1.
24019 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24020 (___xstat64): Do not use CHECK_1.
24023 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24025 (CHECK_BOUNDS_HIGH): Likewise.
24026 * string/strcpy.c: Do not include <bp-checks.h>.
24027 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24029 2013-02-07 Roland McGrath <roland@hack.frob.com>
24031 * nscd/nscd-client.h (__nscd_drop_map_ref):
24032 Add __attribute__ ((unused)).
24033 * nis/nss-nisplus.h (niserr2nss): Likewise.
24035 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24036 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24038 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24039 Remove inline keyword.
24040 * include/rounding-mode.h (round_away): Likewise.
24041 * libio/wfileops.c (adjust_wide_data): Likewise.
24042 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24043 (__m128i_strloadu_tolower): Likewise.
24044 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24045 (__m128i_strloadu_tolower): Likewise.
24046 * time/mktime.c (ydhms_diff): Likewise.
24047 * locale/elem-hash.h (elem_hash): Likewise.
24048 * locale/setlocale.c (setdata): Likewise.
24049 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24050 (re_string_wchar_at): Likewise.
24051 (bitset_not, bitset_merge, bitset_mask): Likewise.
24052 [!(__GNUC__ > 3)] (inline): Remove macro.
24053 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24054 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24055 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24056 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24057 * string/memcmp.c (memcmp_bytes): Likewise.
24058 * locale/programs/locarchive.c (compute_hashval): Likewise.
24059 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24060 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24061 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24062 * nss/getent.c (print_rpc, print_protocols): Likewise.
24063 (print_passwd, print_group, print_aliases): Likewise.
24064 * nis/nss-nisplus.h (niserr2nss): Likewise.
24065 * nscd/connections.c (restart_p): Likewise.
24066 Change return type to bool.
24068 2013-02-05 Roland McGrath <roland@hack.frob.com>
24070 * Makeconfig (all-Depend-files): Add existing
24071 $(sorted-subdirs:=/Depend) files.
24072 (all-subdirs): Remove nss.
24073 * sysdeps/unix/inet/Subdirs: Add it here instead.
24074 * hesiod/Depend: New file.
24076 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24077 instead of calling alloca.
24079 * io/lseek.c (__lseek): Rename to __libc_lseek.
24080 Define __lseek as an alias.
24082 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24084 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24086 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24087 else clause and remove check for non-standard endianness.
24089 2013-02-04 David S. Miller <davem@davemloft.net>
24091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24093 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24096 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24097 (__ubp_memchr): Remove prototype.
24098 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24099 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24100 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24101 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24102 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24104 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24105 (__ubp_memchr): Likewise.
24106 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24107 (__ubp_memchr): Likewise.
24108 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24109 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24110 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24111 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24113 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24114 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24115 (__getcwd): Do not use CHECK_STRING.
24116 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24118 (__real_chown): Do not use CHECK_STRING.
24119 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24121 (fchownat): Do not use CHECK_STRING.
24122 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24124 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24126 (__lchown): Do not use CHECK_STRING.
24127 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24128 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24129 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24130 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24132 include <bp-checks.h>.
24133 (truncate64): Do not use CHECK_STRING.
24134 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24136 (__real_chown): Do not use CHECK_STRING.
24137 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24139 (__lchown): Do not use CHECK_STRING.
24140 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24142 (__chown): Do not use CHECK_STRING.
24143 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24145 (truncate64): Do not use CHECK_STRING.
24146 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24148 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24149 (__xmknod): Do not use CHECK_STRING.
24150 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24152 (__xmknodat): Do not use CHECK_STRING.
24153 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24154 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24156 2013-02-04 Andreas Schwab <schwab@suse.de>
24159 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24160 * include/netdb.h: Likewise for h_errno.
24161 * elf/tst-stackguard1.c: Include <tls.h>.
24163 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24165 * elf/link.h (struct link_map): Extend the l_addr comment.
24166 * include/link.h (struct link_map): Likewise.
24168 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24171 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24172 (BOUNDED_1): Remove macro.
24173 * debug/backtrace.c: Don't include <bp-checks.h>.
24174 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24175 (__backtrace): Likewise.
24176 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24178 (__backtrace): Don't use BOUNDED_1.
24179 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24181 (__backtrace): Don't use BOUNDED_1.
24182 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24183 (__backtrace): Don't use BOUNDED_1.
24184 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24185 (shmat): Don't use BOUNDED_N.
24187 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24190 * sysdeps/generic/bp-start.h: Remove file.
24191 * csu/libc-start.c: Don't include <bp-start.h>.
24192 (LIBC_START_MAIN): Set up __environ directly instead of using
24193 INIT_ARGV_and_ENVIRON.
24194 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24198 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24200 (CHECK_FCNTL): Likewise.
24201 (CHECK_N_PAGES): Likewise.
24204 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24206 (CHECK_SIGSET_NULL_OK): Likewise.
24207 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24209 (sigpending): Don't use CHECK_SIGSET.
24210 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24212 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24213 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24215 (do_sigsuspend): Don't use CHECK_SIGSET.
24216 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24218 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24219 (do_sigwait): Don't use CHECK_SIGSET.
24220 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24222 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24223 include <bp-checks.h>.
24224 (sigpending): Don't use CHECK_SIGSET.
24225 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24226 include <bp-checks.h>.
24227 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24228 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24230 (sigpending): Don't use CHECK_SIGSET.
24231 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24233 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24236 * sysdeps/generic/bp-semctl.h: Remove file.
24237 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24238 <bp-checks.h> and <bp-semctl.h>.
24239 (__old_semctl): Don't use CHECK_SEMCTL.
24240 (__new_semctl): Likewise.
24241 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24243 (__old_semctl): Don't use CHECK_SEMCTL.
24244 (__new_semctl): Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24246 <bp-checks.h> and <bp-semctl.h>.
24247 (__old_semctl): Don't use CHECK_SEMCTL.
24248 (__new_semctl): Likewise.
24249 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24250 <bp-checks.h> and <bp-semctl.h>.
24251 (semctl): Don't use CHECK_SEMCTL.
24254 * Makerules (elide-bp-thunks): Remove variable.
24255 (elide-routines.oS): Don't use $(elide-bp-thunks).
24256 (elide-routines.os): Likewise.
24257 (elide-routines.o): Likewise.
24258 (elide-routines.op): Likewise.
24259 (elide-routines.og): Likewise.
24260 (objects): Don't use $(bp-thunks).
24261 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24263 (common-generated): Do not add s-proto-bp.d.
24264 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24267 Do not generate makefile rules for bounded-pointer thunks.
24268 * sysdeps/generic/bp-thunks.h: Remove file.
24269 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24270 * sysdeps/unix/s-proto-bp.S: Likewise.
24273 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24274 parts of result separately when argument is not close to line from
24275 -i to i and one part of argument is small.
24276 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24277 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24278 * math/libm-test.inc (cacos_test): Add more tests.
24279 (casin_test): Likewise.
24280 (casinh_test): Likewise.
24281 * sysdeps/i386/fpu/libm-test-ulps: Update.
24282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24284 2013-01-31 David S. Miller <davem@davemloft.net>
24286 * po/de.po: Update from translation team.
24288 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24290 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24292 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24294 * configure.in (_AC_PROG_CC_C89): New definition.
24295 * configure: Regenerate.
24297 * configure.in (AC_PROG_CPP): New definition.
24298 * configure: Regenerate.
24300 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24302 * debug/tst-backtrace.h: New file.
24303 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24304 (ret): Remove variable.
24306 (FAIL): Remove macro.
24307 (NO_INLINE): Likewise.
24308 (fn1): Use match function instead of strstr.
24309 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24310 (ret): Remove variable.
24312 (FAIL): Remove macro.
24313 (NO_INLINE): Likewise.
24314 (fn): Use match function instead of strstr.
24315 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24316 (ret): Remove variable.
24318 (FAIL): Remove macro.
24319 (NO_INLINE): Likewise.
24320 (handle_signal): Use match function instead of strstr.
24321 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24322 (ret): Remove variable.
24324 (FAIL): Remove macro.
24325 (NO_INLINE): Likewise.
24326 (handle_signal): Use match function instead of strstr.
24328 2013-01-23 Roland McGrath <roland@hack.frob.com>
24330 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24332 2013-01-23 David S. Miller <davem@davemloft.net>
24334 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24335 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24336 argument of CAS if possible.
24337 * sysdeps/sparc/sparc64/bits/atomic.h
24338 (__arch_compare_and_exchange_val_32_acq): Likewise.
24339 (__arch_compare_and_exchange_val_64_acq): Likewise.
24341 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24343 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24344 * sysdeps/posix/ulimit.c: ... this.
24345 Include <limits.h>.
24346 * sysdeps/unix/bsd/ulimit.c: Remove file.
24348 2013-01-23 Adam Conrad <adconrad@0c3.net>
24350 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24351 (LDFLAGS-tst-array5): Likewise.
24353 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24356 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24357 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24358 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24359 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24361 2013-01-21 David S. Miller <davem@davemloft.net>
24363 * sysdeps/sparc/backtrace.c: New file.
24364 * sysdeps/sparc/sparc32/backtrace.h: New file.
24365 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24366 * sysdeps/sparc/sparc64/backtrace.h: New file.
24367 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24368 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24371 2013-01-21 Andreas Schwab <schwab@suse.de>
24374 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24377 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24383 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24384 Mark Mitchell <mark@codesourcery.com>
24385 Tom de Vries <tom@codesourcery.com>
24386 Paul Pluzhnikov <ppluzhnikov@google.com>
24388 * debug/tst-backtrace2.c: New file.
24389 * debug/tst-backtrace3.c: Likewise.
24390 * debug/tst-backtrace4.c: Likewise.
24391 * debug/tst-backtrace5.c: Likewise.
24392 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24393 (CFLAGS-tst-backtrace3.c): Likewise.
24394 (CFLAGS-tst-backtrace4.c): Likewise.
24395 (CFLAGS-tst-backtrace5.c): Likewise.
24396 (LDFLAGS-tst-backtrace2): Likewise.
24397 (LDFLAGS-tst-backtrace3): Likewise.
24398 (LDFLAGS-tst-backtrace4): Likewise.
24399 (LDFLAGS-tst-backtrace5): Likewise.
24400 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24401 tst-backtrace4 and tst-backtrace5.
24403 2013-01-18 Anton Blanchard <anton@samba.org>
24404 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24406 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24407 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24408 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24409 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24411 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24412 "+r" and remove output regs list as redundant. Add explicit inline
24413 asm to specify register of return val to work around compiler codegen
24414 bug. Remove (int) cast on return value. Add return type parameter to
24415 use in macro so that this macro does not truncate return value for
24417 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24418 pass to INTERNAL_VSYSCALL_NCS.
24419 (INLINE_VSYSCALL): Add 'long int' as return type to
24420 INTERNAL_VSYSCALL_NCS macro invocation.
24421 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24422 INTERNAL_VSYSCALL_NCS macro invocation.
24423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24425 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24428 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24429 Fix application of SIMD FP exception mask.
24431 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24432 mp_no from a power of two.
24433 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24434 __mpexp_twomm1. Use __pow_mp.
24436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24439 2013-01-17 David S. Miller <davem@davemloft.net>
24441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24443 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24446 * include/complex.h: Condition contents on [!_COMPLEX_H].
24447 (__kernel_casinhf): New prototype.
24448 (__kernel_casinh): Likewise.
24449 (__kernel_casinhl): Likewise.
24450 * math/Makefile (libm_calls): Add k_casinh.
24451 * math/k_casinh.c: New file.
24452 * math/k_casinhf.c: Likewise.
24453 * math/k_casinhl.c: Likewise.
24454 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24455 finite nonzero arguments.
24456 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24457 finite nonzero arguments.
24458 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24459 finite nonzero arguments.
24460 * math/s_casinh.c: Do not include <float.h>.
24461 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24462 * math/s_casinhf.c: Do not include <float.h>.
24463 (__casinhf): Move code for finite nonzero arguments to
24465 * math/s_casinhl.c: Do not include <float.h>.
24466 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24468 (__casinhl): Move code for finite nonzero arguments to
24470 * math/libm-test.inc (cacos_test): Add more tests.
24471 * sysdeps/i386/fpu/libm-test-ulps: Update.
24472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24474 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24476 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24477 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24478 [!HAVE_MREMAP]: Remove [defined linux] case.
24479 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24481 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24483 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24485 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24487 * elf/elf.h (R_386_SIZE32): New relocation.
24488 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24490 (elf_machine_rela): Likewise.
24491 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24492 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24494 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24496 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24497 (FP_FAST_FMA): Do not define.
24498 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24499 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24500 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24501 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24502 !_SOFT_FLOAT]: Likewise.
24503 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24504 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24506 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24507 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24508 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24509 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24510 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24511 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24514 2013-01-16 Andreas Schwab <schwab@suse.de>
24517 * include/stdlib.h (__mktemp): Add declaration.
24518 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24519 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24521 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24523 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24525 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24526 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24527 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24529 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24530 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24532 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24534 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24535 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24536 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24538 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24539 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24541 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24543 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24545 2013-01-15 David S. Miller <davem@davemloft.net>
24547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24548 trunc{,f} to libm-sysdep_routes.
24549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24559 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24560 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24561 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24562 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24563 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24564 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24567 nearbyint{,f} to libm-sysdep_routes.
24568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24579 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24581 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24582 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24584 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24585 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24586 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24588 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24589 libc_feholdexcept and libc_fesetenv.
24591 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24593 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24595 2013-01-14 David S. Miller <davem@davemloft.net>
24597 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24598 (SPARC_ASM_VIS2_IFUNC): Likewise.
24599 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24601 use of 'siam' instruction.
24602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24635 routines to libm-sysdep_routines.
24636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24639 fdim/fdimf to libm-sysdep_routines.
24640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24648 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24649 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24650 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24651 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24653 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24655 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24656 to optimize copies.
24658 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24663 local variable MPTWO.
24664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24667 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24669 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24672 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24674 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24676 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24678 * manual/pattern.texi (glob_t): Document gl_flags.
24679 (glob64_t): Likewise.
24681 2013-01-11 David S. Miller <davem@davemloft.net>
24683 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24684 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24685 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24686 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24687 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24688 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24689 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24690 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24691 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24692 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24693 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24694 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24695 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24697 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24698 sparc V9 rather than using V8 code.
24699 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24700 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24702 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24704 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24707 2013-01-11 Roland McGrath <roland@hack.frob.com>
24709 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24710 not in the main loop.
24711 * configure: Regenerated.
24713 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24715 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24716 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24718 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24719 [!__GLIBC_HAVE_LONG_LONG] case.
24720 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24721 condition to just #else.
24722 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24723 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24724 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24725 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24727 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24728 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24729 #elif condition to just #else.
24730 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24731 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24732 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24733 #elif condition to just #else.
24735 2013-01-11 Steve Ellcey <sellcey@mips.com>
24737 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24738 (EF_MIPS_ARCH_64): Fix value.
24739 (EF_MIPS_ARCH_32R2): New.
24740 (EF_MIPS_ARCH_64R2): New.
24742 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24744 * Makeconfig (+link-pie-before-libc): New.
24745 (+link-pie-after-libc): Likewise.
24746 (+link-pie-tests): Likewise.
24747 (+link-pie): Rewritten.
24748 (link-before-libc): Remove $(config-LDFLAGS).
24749 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24750 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24751 (config-LDFLAGS): Renamed to ...
24752 (rtld-LDFLAGS): This.
24753 (rtld-tests-LDFLAGS): New macro.
24754 (link-libc-rpath-link): Likewise.
24755 (link-libc-tests-rpath-link): Likewise.
24756 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24757 (link-libc): Prepand $(link-libc-rpath-link).
24758 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24759 (test-program-prefix): New macro.
24760 (test-via-rtld-prefix): Likewise.
24761 (test-program-cmd): Likewise.
24762 (host-test-program-cmd): Likewise.
24763 * Makefile ($(common-objpfx)testrun.sh): Replace
24764 $(run-program-prefix) with $(test-program-prefix).
24765 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24767 ($(common-objpfx)shlib.lds): Likewise.
24768 (build-module-helper): Likewise.
24769 ($(common-objpfx)format.lds): Likewise.
24770 * Rules (binaries-pie-tests): New.
24771 (binaries-pie-notests): Likewise.
24772 (binaries-pie): Rewritten.
24773 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24774 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24775 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24776 (make-test-out): Replace $(host-built-program-cmd) with
24777 $(host-test-program-cmd).
24778 * config.make.in (build-hardcoded-path-in-tests): New variable.
24779 * configure.in (--enable-hardcoded-path-in-tests): New configure
24781 (hardcoded_path_in_tests): New AC_SUBST.
24782 * configure: Regenerated.
24783 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24784 $(built-program-cmd) with $(test-program-cmd).
24785 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24786 (test_program_cmd): This.
24787 * elf/Makefile ($(objpfx)order.out): Run test with
24788 $(test-program-prefix).
24789 ($(objpfx)order2.out): Likewise.
24790 ($(objpfx)tst-initorder.out): Likewise.
24791 ($(objpfx)tst-initorder2.out): Likewise.
24792 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24793 $(test-program-cmd).
24794 ($(objpfx)tst-array1-static.out): Likewise.
24795 ($(objpfx)tst-array2.out): Likewise.
24796 ($(objpfx)tst-array3.out): Likewise.
24797 ($(objpfx)tst-array4.out): Likewise.
24798 ($(objpfx)tst-array5.out): Likewise.
24799 ($(objpfx)tst-array5-static.out): Likewise.
24800 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24801 $(test-program-cmd).
24802 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24803 $(run-program-prefix) with $(test-program-prefix).
24804 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24805 (test_program_prefix): This.
24806 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24807 $(run-program-prefix) with $(test-program-prefix).
24808 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24809 (test_program_prefix): This.
24810 * iconvdata/tst-tables.sh: Likewise.
24811 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24812 $(run-program-prefix) with $(test-program-prefix).
24813 ($(objpfx)tst-translit.out): Likewise.
24814 ($(objpfx)tst-gettext2.out): Likewise.
24815 ($(objpfx)tst-gettext4.out): Likewise.
24816 ($(objpfx)tst-gettext6.out): Likewise.
24817 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24818 (test_program_prefix): This.
24819 * intl/tst-gettext2.sh: Likewise.
24820 * intl/tst-gettext4.sh Likewise.
24821 * intl/tst-gettext6.sh: Likewise.
24822 * intl/tst-translit.sh: Likewise.
24823 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24824 with $(test-program-cmd).
24825 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24826 $(run-program-prefix) with $(test-program-prefix).
24827 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24828 (test_program_prefix): This.
24829 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24830 $(run-program-prefix) with $(test-program-prefix).
24831 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24832 (test_program_prefix): This.
24833 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24834 * posix/Makefile ($(objpfx)globtest.out): Replace
24835 $(run-via-rtld-prefix) and $(test-wrapper) with
24836 $(test-program-prefix) and $(test-via-rtld-prefix).
24837 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24838 $(test-program-prefix).
24839 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24840 $(host-test-program-cmd).
24841 (tst-spawn-ARGS): Likewise.
24842 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24843 $(test-program-prefix).
24844 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24845 (test_via_rtld_prefix): This.
24846 (test_wrapper): Renamed to ...
24847 (test_program_prefix): This.
24848 (run_program_prefix): Replaced by test_program_prefix.
24849 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24850 (test_program_prefix): This.
24851 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24852 with $(host-test-program-cmd).
24853 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24854 $(run-program-prefix) with $(test-program-prefix).
24855 ($(objpfx)tst-printf.out): Likewise.
24856 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24857 $(test-program-cmd).
24858 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24859 (test_program_prefix): This.
24860 * stdio-common/tst-unbputc.sh: Likewise.
24861 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24862 $(run-program-prefix) with $(test-program-prefix).
24863 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24864 (test_program_prefix): This.
24865 * string/Makefile ($(objpfx)tst-svc.out): Replace
24866 $(built-program-cmd) with $(test-program-cmd).
24868 2013-01-11 Andreas Jaeger <aj@suse.de>
24871 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24872 value. Sync with Linux 3.7.
24874 2013-01-10 David S. Miller <davem@davemloft.net>
24876 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24877 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24878 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24880 2013-01-10 Roland McGrath <roland@hack.frob.com>
24882 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24884 * configure: Regenerated.
24886 2013-01-10 David S. Miller <davem@davemloft.net>
24888 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24889 sparc V9 rather than using V8 code.
24890 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24891 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24893 2013-01-10 Roland McGrath <roland@hack.frob.com>
24895 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24896 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24897 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24898 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24899 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24900 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24901 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24902 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24903 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24904 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24905 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24906 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24907 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24908 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24909 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24910 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24911 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24912 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24913 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24914 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24915 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24916 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24917 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24918 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24919 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24920 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24921 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24923 2013-01-10 David S. Miller <davem@davemloft.net>
24925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24927 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24929 * posix/Makefile (tests-static): New variable.
24930 (tests): Add $(tests-static).
24931 (tst-exec-static-ARGS): New variable.
24932 (tst-spawn-static-ARGS): Likewise.
24933 * posix/tst-exec-static.c: New file.
24934 * posix/tst-spawn-static.c: Likewise.
24935 * posix/tst-exec.c: Support run directly.
24936 * posix/tst-spawn.c: Likewise.
24938 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24940 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24942 * math/bits/mathcalls.h (llrint): Likewise.
24943 (llround): Likewise.
24944 * stdlib/stdlib.h (struct drand48_data): Likewise.
24945 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24946 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24947 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24949 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24951 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24952 (elf_greg_t): Likewise.
24953 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24954 (__jmp_buf): Likewise.
24955 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24957 (llrint): Likewise, for all definitions.
24958 (llrintl): Likewise.
24960 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24961 Remove [__GNUC__] condition.
24962 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24963 condition to just [__USE_ISOC99].
24964 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24966 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24969 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24970 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24972 (_POSIX_V6_ILP32_OFF32): Likewise.
24973 (_XBS5_ILP32_OFF32): Likewise.
24974 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24975 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24977 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24979 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24982 doubles __mpexp_twomm1. Adjust usage.
24983 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24986 2013-01-10 Andreas Schwab <schwab@suse.de>
24989 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24990 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24992 2013-01-09 David S. Miller <davem@davemloft.net>
24995 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24996 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24997 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24998 (TCP_FASTOPEN): Define.
24999 (tcp_repair_opt): New structure.
25000 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25002 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25003 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25004 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25005 (tcp_cookie_transactions): New structure.
25007 2013-01-09 Anton Blanchard <anton@samba.org>
25009 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25010 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25011 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25012 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25014 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25016 * include/features.h (__USE_ANSI): Remove.
25018 2013-01-09 Roland McGrath <roland@hack.frob.com>
25020 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25022 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25024 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25026 * sysdeps/s390/fpu/libm-test-ulps: Update.
25028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25030 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25034 (denorm): Likewise.
25035 (__mp_dbl): Likewise.
25036 (__dbl_mp): Likewise.
25037 (add_magnitudes): Likewise.
25038 (sub_magnitudes): Likewise.
25044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25048 (denorm): Likewise.
25049 (__mp_dbl): Likewise.
25050 (__dbl_mp): Likewise.
25051 (add_magnitudes): Likewise.
25052 (sub_magnitudes): Likewise.
25058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25062 (denorm): Likewise.
25063 (__mp_dbl): Likewise.
25064 (__dbl_mp): Likewise.
25065 (add_magnitudes): Likewise.
25066 (sub_magnitudes): Likewise.
25073 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25075 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25076 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25077 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25078 2 && __USE_EXTERN_INLINES]: Likewise.
25080 2013-01-08 Andreas Jaeger <aj@suse.de>
25083 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25085 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25086 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25088 2013-01-07 Anton Blanchard <anton@samba.org>
25090 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25091 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25092 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25093 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25094 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25095 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25096 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25097 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25099 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25100 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25101 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25103 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25104 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25105 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25106 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25107 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25108 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25109 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25110 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25111 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25113 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25114 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25115 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25116 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25117 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25119 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25120 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25122 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25123 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25124 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25125 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25126 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25127 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25128 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25129 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25130 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25131 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25132 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25134 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25136 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25137 (__MALLOC_PMT): Likewise.
25138 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25139 [__GNUC__], only on [_LIBC].
25140 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25141 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25142 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25143 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25144 forward declaration.
25145 (realloc_hook_ini): Likewise.
25146 (memalign_hook_ini): Likewise.
25147 (__libc_memalign): Do not use __MALLOC_PMT in variable
25149 (__libc_valloc): Likewise.
25150 (__libc_pvalloc): Likewise.
25151 (__libc_calloc): Likewise.
25152 (__posix_memalign): Likewise.
25155 * math/s_casinh.c: Include <float.h>.
25156 (__casinh): Do not do computation with squaring and square root
25157 for large arguments.
25158 * math/s_casinhf.c: Include <float.h>.
25159 (__casinhf): Do not do computation with squaring and square root
25160 for large arguments.
25161 * math/s_casinhl.c: Include <float.h>.
25162 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25163 (__casinhl): Do not do computation with squaring and square root
25164 for large arguments.
25165 * math/libm-test.inc (casin_test): Add more tests.
25166 (casinh_test): Likewise.
25167 * sysdeps/i386/fpu/libm-test-ulps: Update.
25168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25170 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25172 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25173 (__x86_64_raw_data_cache_size): Likewise.
25174 (__x86_64_data_cache_size_half): Likewise.
25175 (__x86_64_raw_data_cache_size_half): Likewise.
25176 (__x86_64_shared_cache_size): Likewise.
25177 (__x86_64_raw_shared_cache_size): Likewise.
25178 (__x86_64_shared_cache_size_half): Likewise.
25179 (__x86_64_raw_shared_cache_size_half): Likewise.
25180 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25182 (__x86_data_cache_size): This.
25183 (__x86_64_raw_data_cache_size): Renamed to ...
25184 (__x86_raw_data_cache_size): This.
25185 (__x86_64_data_cache_size_half): Renamed to ...
25186 (__x86_data_cache_size_half): This.
25187 (__x86_64_raw_data_cache_size_half): Renamed to ...
25188 (__x86_raw_data_cache_size_half): This.
25189 (__x86_64_shared_cache_size): Renamed to ...
25190 (__x86_shared_cache_size): This.
25191 (__x86_64_raw_shared_cache_size): Renamed to ...
25192 (__x86_raw_shared_cache_size): This.
25193 (__x86_64_shared_cache_size_half): Renamed to ...
25194 (__x86_shared_cache_size_half): This.
25195 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25196 (__x86_raw_shared_cache_size_half): This.
25197 * sysdeps/x86_64/memcpy.S: Updated.
25198 * sysdeps/x86_64/memset.S: Likewise.
25199 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25200 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25201 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25203 2013-01-04 David S. Miller <davem@davemloft.net>
25205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25207 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25209 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25210 1 to avoid redefinition warning.
25211 (__USE_GNU): Don't define.
25212 (init_signaling_nan): Protoize.
25214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25216 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25218 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25220 (__cpymn): Likewise.
25221 (norm): Remove commented code.
25222 (denorm): Likewise.
25223 (__mp_dbl): Likewise.
25225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25226 (__cpymn): Likewise.
25227 (norm): Remove commented code.
25228 (denorm): Likewise.
25229 (__mp_dbl): Likewise.
25232 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25233 mp_no value for 1.0 and 2.0.
25234 (norm): Use RADIXI instead of radixi.d.
25235 (denorm): Likewise.
25236 (__mul): Use 0.0 instead of zero.d.
25237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25238 mp_no value for 1.0 and 2.0.
25239 (norm): Use RADIXI instead of radixi.d.
25240 (denorm): Likewise.
25241 (__mul): Use 0.0 instead of zero.d.
25243 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25246 * math/s_casinh.c (__casinh): Reduce finite argument to first
25247 quadrant then set signs of results at the end.
25248 * math/s_casinhf.c (__casinhf): Likewise.
25249 * math/s_casinhl.c (__casinhl): Likewise.
25250 * math/libm-test.inc (casin_test): Add more tests.
25251 (casinh_test): Likewise.
25252 * sysdeps/i386/fpu/libm-test-ulps: Update.
25253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25255 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25257 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25259 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25261 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25263 (denorm): Likewise.
25264 (__mp_dbl): Likewise.
25267 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25268 and adjust the header comment.
25270 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25271 variable name from declaration.
25273 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25276 Initialize COMMON_CPUID_INDEX_7 element.
25277 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25278 (CPUID_RTM): Likewise.
25279 (HAS_RTM): Likewise.
25280 (COMMON_CPUID_INDEX_7): New enum.
25282 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25285 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25286 size is zero, record memory as freed.
25288 2013-01-03 Andreas Jaeger <aj@suse.de>
25290 * po/ia.po: Add new Interlingua translation.
25292 2012-01-03 Allan McRae <allan@archlinux.org>
25294 * locale/programs/localedef.c: Fix description of '--posix' flag.
25296 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25298 * NEWS: Update dates in second copyright notice.
25299 * README: Update copyright dates in example.
25300 * manual/libc.texinfo: Update copyright dates.
25301 * scripts/test-installation.pl: Update copyright date in --version
25304 * hurd/ctty-input.c: Fix copyright notice formatting.
25305 * hurd/ctty-output.c: Likewise.
25306 * hurd/dtable.c: Likewise.
25307 * hurd/hurd-raise.c: Likewise.
25308 * hurd/hurdprio.c: Likewise.
25309 * hurd/msgportdemux.c: Likewise.
25310 * misc/sys/file.h: Likewise.
25311 * misc/sys/ioctl.h: Likewise.
25312 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25313 * sysdeps/mach/hurd/chdir.c: Likewise.
25314 * sysdeps/mach/hurd/fchdir.c: Likewise.
25315 * sysdeps/mach/hurd/rename.c: Likewise.
25316 * sysdeps/mach/hurd/rmdir.c: Likewise.
25317 * sysdeps/mach/hurd/seekdir.c: Likewise.
25318 * sysdeps/mach/hurd/setsid.c: Likewise.
25319 * sysdeps/posix/wait3.c: Likewise.
25321 * All files with FSF copyright notices: Update copyright dates
25322 using scripts/update-copyrights.
25323 * intl/plural.c: Regenerated.
25324 * locale/programs/charmap-kw.h: Likewise.
25325 * locale/programs/locfile-kw.h: Likewise.
25327 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25329 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25332 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25333 calculation loop and add branch prediction.
25335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25336 check access beyond bounds of m1np.
25338 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25340 (__inv): Remove local variable MPTWO to use the global
25342 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25343 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25345 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25346 MP3HALFS static const.
25348 2013-01-01 David S. Miller <davem@davemloft.net>
25350 * po/ca.po: Update from translation team.
25352 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25354 * scripts/update-copyrights: New file.
25355 * Makeconfig: Reformat copyright notice.
25356 * ctype/ctype.h: Likewise.
25357 * debug/swprintf_chk.c: Likewise.
25358 * elf/dl-cache.c: Likewise.
25359 * elf/dl-debug.c: Likewise.
25360 * elf/dl-object.c: Likewise.
25361 * grp/initgroups.c: Likewise.
25362 * hurd/Makefile: Likewise.
25363 * hurd/hurd/signal.h: Likewise.
25364 * hurd/hurdfault.c: Likewise.
25365 * hurd/hurdioctl.c: Likewise.
25366 * hurd/hurdlookup.c: Likewise.
25367 * hurd/intr-msg.c: Likewise.
25368 * iconv/gconv_open.c: Likewise.
25369 * libio/swprintf.c: Likewise.
25370 * locale/lc-ctype.c: Likewise.
25371 * locale/nl_langinfo.c: Likewise.
25372 * mach/Machrules: Likewise.
25373 * mach/Makefile: Likewise.
25374 * malloc/obstack.h: Likewise.
25375 * manual/Makefile: Likewise.
25376 * manual/tsort.awk: Likewise.
25377 * misc/bits/stab.def: Likewise.
25378 * nis/nis_print_group_entry.c: Likewise.
25379 * nis/nis_table.c: Likewise.
25380 * nis/nss_compat/compat-pwd.c: Likewise.
25381 * nis/nss_compat/compat-spwd.c: Likewise.
25382 * po/Makefile: Likewise.
25383 * posix/fnmatch.c: Likewise.
25384 * posix/regex.h: Likewise.
25385 * resolv/Makefile: Likewise.
25386 * resolv/nss_dns/dns-network.c: Likewise.
25387 * resolv/res_hconf.c: Likewise.
25388 * scripts/gen-sorted.awk: Likewise.
25389 * soft-fp/soft-fp.h: Likewise.
25390 * stdio-common/printf.h: Likewise.
25391 * stdlib/monetary.h: Likewise.
25392 * stdlib/random.c: Likewise.
25393 * stdlib/random_r.c: Likewise.
25394 * sysdeps/generic/Makefile: Likewise.
25395 * sysdeps/gnu/Makefile: Likewise.
25396 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25398 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25403 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25404 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25406 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25407 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25408 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25409 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25410 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25411 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25412 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25414 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25416 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25417 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25418 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25424 * sysdeps/mach/hurd/errnos.awk: Likewise.
25425 * sysdeps/mach/hurd/fork.c: Likewise.
25426 * sysdeps/mach/hurd/getcwd.c: Likewise.
25427 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25428 * sysdeps/mach/hurd/mmap.c: Likewise.
25429 * sysdeps/mach/hurd/utimes.c: Likewise.
25430 * sysdeps/mach/hurd/xmknod.c: Likewise.
25431 * sysdeps/posix/profil.c: Likewise.
25432 * sysdeps/posix/readdir_r.c: Likewise.
25433 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25434 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25435 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25436 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25438 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25439 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25440 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25442 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25443 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25444 * sysdeps/pthread/lio_listio.c: Likewise.
25445 * sysdeps/sparc/dl-procinfo.h: Likewise.
25446 * sysdeps/unix/i386/sysdep.S: Likewise.
25447 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25448 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25449 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25450 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25452 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25453 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25454 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25455 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25456 * sysdeps/wordsize-32/divdi3.c: Likewise.
25457 * time/sys/time.h: Likewise.
25458 * wcsmbs/Makefile: Likewise.
25460 2013-01-01 David S. Miller <davem@davemloft.net>
25462 * po/fr.po: Update from translation team.
25464 * catgets/gencat.c: Update copyright year.
25465 * csu/version.c: Likewise.
25466 * debug/catchsegv.sh: Likewise.
25467 * debug/pcprofiledump.c: Likewise.
25468 * debug/xtrace.sh: Likewise.
25469 * elf/ldconfig.c: Likewise.
25470 * elf/ldd.bash.in: Likewise.
25471 * elf/pldd.c: Likewise.
25472 * elf/sotruss.ksh: Likewise.
25473 * elf/sprof.c: Likewise.
25474 * iconv/iconv_prog.c: Likewise.
25475 * iconv/iconvconfig.c: Likewise.
25476 * locale/programs/locale.c: Likewise.
25477 * locale/programs/localedef.c: Likewise.
25478 * login/programs/pt_chown.c: Likewise.
25479 * malloc/memusage.sh: Likewise.
25480 * malloc/memusagestat.c: Likewise.
25481 * malloc/mtrace.pl: Likewise.
25482 * nscd/nscd.c: Likewise.
25483 * nss/getent.c: Likewise.
25484 * nss/makedb.c: Likewise.
25485 * posix/getconf.c: Likewise.
25487 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25489 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25492 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25494 * math/bits/mathcalls.h (modf): Use __nonnull.
25496 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25498 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25499 (split): Use macro CN instead of the bare value.
25500 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25503 instead of the bare value.
25504 (power1): Likewise.
25506 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25508 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25510 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25512 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25514 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25515 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25516 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25517 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25519 2012-12-28 Andreas Jaeger <aj@suse.de>
25521 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25522 values are from Linux 3.7.
25524 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25525 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25527 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25529 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25532 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25534 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25535 variables with preprocessor constants.
25536 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25537 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25538 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25540 2012-12-27 Bruno Haible <bruno@clisp.org>
25543 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25546 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25549 and use variable directly.
25550 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25552 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25554 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25555 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25557 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25559 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25560 include directive. Remove local variable MPONE.
25561 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25562 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25563 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25565 2012-12-25 David S. Miller <davem@davemloft.net>
25567 * version.h (RELEASE): Set to "development".
25568 (VERSION): Set to "2.17.90".
25569 * NEWS: Add 2.18 section.
25571 2012-12-21 David S. Miller <davem@davemloft.net>
25573 * po/hr.po: Update from translation team.
25575 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25577 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25579 2012-12-19 Steve Ellcey <sellcey@mips.com>
25581 * NEWS: Mention new memcpy for MIPS.
25583 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25585 * manual/contrib.texi (Contributors): Spelling correction.
25587 2012-12-15 David S. Miller <davem@davemloft.net>
25589 * po/ru.po: Update from translation team.
25591 2012-12-13 David S. Miller <davem@davemloft.net>
25593 * NEWS: Mention IFUNC testsuite enhancements.
25595 * po/pl.po: Update from translation team.
25596 * po/bg.po: Likewise.
25598 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25599 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25601 2012-12-11 David S. Miller <davem@davemloft.net>
25603 * po/sv.po: Update from translation team.
25605 * po/vi.po: Update from translation team.
25607 * po/cs.po: Update from translation team.
25609 * po/de.po: Update from translation team.
25610 * po/eo.po: Likewise.
25611 * po/nl.po: Likewise.
25613 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25616 * manual/argp.texi (Argp Helper Functions): Move node to follow
25617 Argp Parsing State.
25620 * manual/conf.texi (Limits on File System Capacity): Mention if
25621 terminating null is included in the max size.
25623 2012-12-10 Andreas Jaeger <aj@suse.de>
25625 * po/cs.po: Update from translation team.
25627 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25629 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25630 void pointer and cast to uintptr_t.
25631 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25633 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25634 * sysdeps/s390/s390-64/memset.S: Likewise.
25636 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25639 * menual/message.texi (Message Translation): Fix typos.
25640 (Helper programs for gettext): Likewise.
25642 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25645 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25648 2012-12-07 David S. Miller <davem@davemloft.net>
25650 * po/libc.pot: Update.
25652 2012-12-07 Richard Henderson <rth@redhat.com>
25655 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25656 normal/normal case to before the switch.
25657 (_FP_DIV): Likewise.
25659 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25660 Mike Frysinger <vapier@gentoo.org>
25662 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25663 check for __NR_fadvise64_64.
25665 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25667 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25668 0, not just to plain "0" as a statement.
25669 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25672 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25674 * NEWS: Use sourceware.org in Bugzilla URL.
25676 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25679 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25681 * stdio-common/tst-put-error.c (do_test): Add newline to the
25682 padded test to ensure flush.
25684 2012-12-05 Jeff Law <law@redhat.com>
25686 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25688 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25690 * README: Don't refer to ports add-on as distributed separately.
25691 Mention AArch64 in list of systems supported in the ports add-on.
25693 * LICENSES: Add more non-FSF copyright and license notices.
25695 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25698 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25700 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25701 10000 as width of padded output.
25703 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25705 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25707 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25708 variable LX with __attribute__ ((unused)).
25709 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25711 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25712 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25714 with __attribute__ ((unused)).
25716 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25718 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25720 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25722 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25723 (CFLAGS-nldbl-acos.c): New variable.
25724 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25725 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25726 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25727 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25728 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25729 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25730 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25731 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25732 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25733 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25734 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25735 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25736 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25737 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25738 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25739 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25740 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25741 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25742 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25743 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25744 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25745 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25746 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25747 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25748 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25749 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25750 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25751 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25752 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25753 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25754 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25755 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25756 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25757 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25758 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25759 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25760 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25761 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25762 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25763 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25764 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25765 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25766 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25767 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25768 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25769 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25770 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25771 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25772 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25773 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25774 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25775 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25776 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25777 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25778 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25779 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25780 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25781 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25782 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25783 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25784 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25785 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25786 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25787 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25788 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25789 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25790 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25791 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25792 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25793 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25794 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25795 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25796 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25797 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25798 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25799 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25800 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25801 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25802 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25803 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25804 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25805 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25806 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25807 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25808 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25809 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25810 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25811 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25812 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25813 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25814 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25815 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25816 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25817 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25818 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25819 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25820 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25823 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25827 whole low double instead of just low 47 bits when splitting values
25830 2012-12-03 Allan McRae <allan@archlinux.org>
25832 * manual/stdio.texi (Predefined Printf Handlers): Remove
25833 @hsep and @vsep usage.
25835 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25837 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25838 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25840 2012-12-03 Jeff Law <law@redhat.com>
25842 * time/sys/time.h (settimeofday): Do not mark TV argument
25845 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25847 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25848 when currently writing and seek to current position when not.
25849 * libio/Makefile (tests): Remove bug-fclose1.
25850 * libio/bug-fclose1.c: Delete.
25852 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25854 * manual/arith.texi (feenableexcept): Fix typo.
25855 (fedisableexcept): Likewise.
25857 2012-11-30 Roland McGrath <roland@hack.frob.com>
25859 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25860 second, differently-typed declaration, rather than a cast.
25862 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25864 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25865 * include/rpc/svc.h: ... here.
25867 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25870 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25871 depending n and resplen2 to catch cases where answer
25874 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25876 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25877 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25879 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25881 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25883 2012-11-29 Roland McGrath <roland@hack.frob.com>
25885 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25887 2012-11-28 Jeff Law <law@redhat.com>
25890 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25891 dataset_temporary. Track alloca usage into alloca_used.
25892 If dataset is large allocate and release it via malloc/free.
25894 2012-06-04 Florian Weimer <fweimer@redhat.com>
25897 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25899 2012-11-28 David S. Miller <davem@davemloft.net>
25901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25903 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25906 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25907 of pi/2 rounded to nearest to 64 bits.
25908 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25909 nearest to 64 bits.
25910 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25913 2012-11-28 Jeff Law <law@redhat.com>
25914 Martin Osvald <mosvald@redhat.com>
25917 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25918 * sunrpc/svc.c: Include time.h.
25919 (__svc_accept_failed): New function.
25920 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25921 any reason other than EINTR, call __svc_accept_failed.
25922 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25923 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25925 2012-11-28 Andreas Schwab <schwab@suse.de>
25927 * scripts/abilist.awk: Also handle indirect functions in .opd
25930 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25933 * sysdeps/x86/fpu/powl_helper.c: New file.
25934 * sysdeps/x86/fpu/Makefile: Likewise.
25935 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25937 (__ieee754_powl): Use __powl_helper for finite arguments except
25938 integer exponents below 8.
25939 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25941 (__ieee754_powl): Use __powl_helper for finite arguments except
25942 integer exponents below 8.
25943 * math/libm-test.inc (pow_test): Add more tests and enable some
25944 previously disabled tests.
25945 * sysdeps/i386/fpu/libm-test-ulps: Update.
25946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25948 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25949 Carlos O'Donell <carlos_odonell@mentor.com>
25951 * nss/makedb.c (is_prime): Assert that input is odd and greater
25952 than 4. Note that fact in a comment too.
25953 (next_prime): Add 4 to input.
25955 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25958 * libio/Makefile (tests): Add test case tst-fwrite-error.
25959 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25960 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25961 * libio/tst-fwrite-error.c: New test case.
25963 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25965 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25966 before casting to void *.
25967 * include/libc-internal.h (__pointer_type): New macro.
25968 (__integer_if_pointer_type_sub): Likewise.
25969 (__integer_if_pointer_type): Likewise.
25970 (cast_to_integer): Likewise.
25971 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25972 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25973 before casting to atomic64_t.
25974 (atomic_exchange_acq): Likewise.
25975 (__arch_exchange_and_add_body): Likewise.
25976 (__arch_add_body): Likewise.
25977 (atomic_add_negative): Likewise.
25978 (atomic_add_zero): Likewise.
25980 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25982 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25983 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25984 (add_fdes): Likewise.
25985 (linear_search_fdes): Likewise.
25986 (binary_search_unencoded_fdes): Likewise.
25988 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25990 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25992 2012-11-24 Adam Conrad <adconrad@0c3.net>
25994 * configure.in: Autodetect C++ header directories.
25995 * configure: Regenerated.
25997 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25999 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26001 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26005 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26007 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26008 LDBL_MANT_DIG == 106]: Disable some tests.
26009 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26011 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26015 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26016 input for small inputs. Return +/- pi/2 for large inputs.
26017 * math/libm-test.inc (atan_test): Add more tests.
26019 * sysdeps/generic/unwind-dw2-fde-glibc.c
26020 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26021 __attribute__ ((unused)).
26024 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26025 x * y if x and y are nonzero and z is zero.
26028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26029 nonzero exponents with absolute value below 0x1p-117 to +/-
26033 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26034 up arguments below 2**-450, not just those below 2**-500.
26035 * math/libm-test.inc (hypot_test): Add another test.
26038 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26039 Return a+b for ratio over 2**120, not 2**60.
26040 * math/libm-test.inc (hypot_test): Add another test.
26042 * math/libm-test.inc (clog_test): Use
26043 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26044 (clog10_test): Likewise.
26047 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26049 2012-11-22 Andreas Schwab <schwab@suse.de>
26051 * sysdeps/i386/fpu/libm-test-ulps: Update.
26053 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26055 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26056 printf output with newline.
26058 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26061 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26062 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26063 -z nodlopen, -z initfirst and -z execstack support.
26064 * configure: Regenerated.
26066 * elf/elf.h (DF_1_NODIRECT): New macro.
26067 (DF_1_IGNMULDEF): Likewise.
26068 (DF_1_NOKSYMS): Likewise.
26069 (DF_1_NOHDR): Likewise.
26070 (DF_1_EDITED): Likewise.
26071 (DF_1_NORELOC): Likewise.
26072 (DF_1_SYMINTPOSE): Likewise.
26073 (DF_1_GLOBAUDIT): Likewise.
26074 (DF_1_SINGLETON): Likewise.
26075 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26076 DT_1_SUPPORTED_MASK bits.
26077 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26079 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26081 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26083 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26085 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26088 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26089 (sendmmsg): Move declarations...
26090 * socket/sys/socket.h: ... here.
26091 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26092 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26094 * socket/recvmmsg.c: ... this new file.
26095 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26096 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26097 definition of __sendmmsg hidden.
26098 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26099 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26100 Move ENOSYS stub into and include it from...
26101 * socket/sendmmsg.c: ... this new file.
26102 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26103 (sysdep_routines): Move recvmmsg and sendmmsg...
26104 * socket/Makefile (routines): ... here.
26105 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26106 (GLIBC_PRIVATE): Add __sendmmsg.
26107 * include/sys/socket.h (__sendmmsg): Add declarations.
26108 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26111 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26114 variable I1 with __attribute__ ((unused)).
26115 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26117 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26119 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26120 DUMMY variables with __attribute__ ((unused)).
26122 * bits/byteswap.h: Include <bits/types.h>.
26123 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26125 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26127 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26128 string_t. Do not manually set errno.
26129 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26130 length with __strnlen. Make sure to both set errno and return it on
26133 2012-11-19 David S. Miller <davem@davemloft.net>
26135 With help from Joseph Myers.
26136 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26137 very large arguments properly.
26138 * math/libm-test.inc (atan_test): New tests.
26139 (atan2_test): New tests.
26140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26143 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26146 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26149 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26150 [POSIX] (EADDRNOTAVAIL): Likewise.
26151 [POSIX] (EAFNOSUPPORT): Likewise.
26152 [POSIX] (EALREADY): Likewise.
26153 [POSIX] (ECONNABORTED): Likewise.
26154 [POSIX] (ECONNREFUSED): Likewise.
26155 [POSIX] (ECONNRESET): Likewise.
26156 [POSIX] (EDESTADDRREQ): Likewise.
26157 [POSIX] (EDQUOT): Likewise.
26158 [POSIX] (EHOSTUNREACH): Likewise.
26159 [POSIX] (EIDRM): Likewise.
26160 [POSIX] (EISCONN): Likewise.
26161 [POSIX] (ELOOP): Likewise.
26162 [POSIX] (EMULTIHOP): Likewise.
26163 [POSIX] (ENETDOWN): Likewise.
26164 [POSIX] (ENETUNREACH): Likewise.
26165 [POSIX] (ENOBUFS): Likewise.
26166 [POSIX] (ENODATA): Likewise.
26167 [POSIX] (ENOLINK): Likewise.
26168 [POSIX] (ENOMSG): Likewise.
26169 [POSIX] (ENOPROTOOPT): Likewise.
26170 [POSIX] (ENOSR): Likewise.
26171 [POSIX] (ENOSTR): Likewise.
26172 [POSIX] (ENOTCONN): Likewise.
26173 [POSIX] (ENOTSOCK): Likewise.
26174 [POSIX] (EOPNOTSUPP): Likewise.
26175 [POSIX] (EOVERFLOW): Likewise.
26176 [POSIX] (EPROTO): Likewise.
26177 [POSIX] (EPROTONOSUPPORT): Likewise.
26178 [POSIX] (EPROTOTYPE): Likewise.
26179 [POSIX] (ESTALE): Likewise.
26180 [POSIX] (ETIME): Likewise.
26181 [POSIX] (ETXTBSY): Likewise.
26182 [POSIX] (EWOULDBLOCK): Likewise.
26183 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26184 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26185 [POSIX] (SEEK_CUR): Likewise.
26186 [POSIX] (SEEK_END): Likewise.
26187 [POSIX || UNIX98] (mode_t): Do not require.
26188 [POSIX] (off_t): Likewise.
26189 [POSIX] (pid_t): Likewise.
26190 [POSIX] (sys/stat.h): Do not allow header.
26191 [POSIX] (unistd.h): Likewise.
26192 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26193 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26194 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26195 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26197 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26198 sigevent): Specify elements.
26199 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26201 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26202 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26204 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26205 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26206 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26207 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26208 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26209 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26210 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26211 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26212 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26213 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26214 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26215 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26216 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26217 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26219 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26221 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26223 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26225 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26226 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26227 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26228 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26229 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26230 Specify lower bound on value.
26231 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26232 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26233 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26234 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26235 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26236 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26237 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26238 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26240 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26242 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26243 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26244 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26245 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26246 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26247 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26248 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26249 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26250 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26251 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26252 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26253 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26254 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26255 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26256 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26257 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26259 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26261 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26262 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26263 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26264 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26265 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26266 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26268 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26269 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26270 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26271 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26272 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26273 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26274 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26276 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26277 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26278 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26279 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26280 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26281 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26282 specify as optional.
26283 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26284 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26285 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26286 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26287 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26288 [XPG3] (NL_LANGMAX): Likewise.
26289 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26290 [POSIX || XPG3] (NL_NMAX): Likewise.
26291 [POSIX || XPG3] (NL_SETMAX): Likewise.
26292 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26293 [XPG3] (NZERO): Likewise.
26294 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26295 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26296 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26297 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26298 (REG_ERANGE): Expect.
26299 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26301 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26302 Use (void) in prototype.
26303 [POSIX] (*_t): Allow.
26304 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26305 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26306 (WRDE_BADVAL): Expect.
26308 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26310 [XPG3 || XPG4] (O_RSYNC): Likewise.
26311 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26313 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26314 [XPG3 || XPG4] (sigqueue): Likewise.
26315 [XPG3 || XPG4] (sigtimedwait): Likewise.
26316 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26317 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26318 [XPG3 || XPG4] (vsnprintf): Likewise.
26319 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26321 [XPG3 || XPG4] (blksize_t): Likewise.
26322 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26324 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26325 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26326 [XPG3 || XPG4] (struct itimerspec): Likewise.
26327 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26328 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26329 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26330 [XPG3 || XPG4] (clockid_t): Likewise.
26331 [XPG3 || XPG4] (timer_t): Likewise.
26332 [XPG3 || XPG4] (clock_getres): Likewise.
26333 [XPG3 || XPG4] (clock_gettime): Likewise.
26334 [XPG3 || XPG4] (clock_settime): Likewise.
26335 [XPG3 || XPG4] (nanosleep): Likewise.
26336 [XPG3 || XPG4] (timer_create): Likewise.
26337 [XPG3 || XPG4] (timer_delete): Likewise.
26338 [XPG3 || XPG4] (timer_gettime): Likewise.
26339 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26340 [XPG3 || XPG4] (timer_settime): Likewise.
26341 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26342 [XPG3 || XPG4] (getlogin_r): Likewise.
26343 [XPG3 || XPG4] (pread): Likewise.
26344 [XPG3 || XPG4] (pthread_atfork): Likewise.
26345 [XPG3 || XPG4] (pwrite): Likewise.
26348 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26351 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26353 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26354 finalizing MALLSTREAM.
26356 * sysdeps/mach/hurd/syncfs.c: New file.
26358 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26361 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26362 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26363 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26364 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26365 (_nss_dns_gethostbyname4_r): Likewise.
26366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26367 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26369 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26372 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26374 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26376 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26377 * elf/cache.c (print_entry): Print ",AArch64" for
26380 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26381 * elf/cache.c (print_entry): Print ",hard-float" for
26384 2012-11-18 David S. Miller <davem@davemloft.net>
26386 With help from Joseph Myers.
26387 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26389 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26391 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26392 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26394 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26395 * math/libm-test.inc (y0_test): New tests.
26396 (y1_test): New tests.
26397 * sysdeps/i386/fpu/libm-test-ulps: Update.
26398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26401 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26403 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26405 * configure: Regenerated.
26407 2012-11-17 David S. Miller <davem@davemloft.net>
26410 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26411 nonzero exponents with absolute value below 0x1p-128 to +/-
26414 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26416 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26418 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26420 * posix/getconf-speclist.c: New file.
26421 * posix/posix-envs.def: Likewise.
26422 * posix/confstr.c (START_ENV_GROUP): New macro.
26423 (END_ENV_GROUP): Likewise.
26424 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26425 (KNOWN_PRESENT_ENV_STRING): Likewise.
26426 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26427 (UNKNOWN_ENVIRONMENT): Likewise.
26428 (confstr): Include posix-envs.def instead of handling
26429 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26430 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26431 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26432 (END_ENV_GROUP): Likewise.
26433 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26434 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26435 (UNKNOWN_ENVIRONMENT): Likewise.
26436 (__sysconf): Include posix-envs.def instead of handling associated
26437 cases directly here.
26438 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26439 preprocessing getconf-speclist.c rather than running getconf or
26440 generating empty file.
26442 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26444 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26446 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26449 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26451 2012-11-16 David S. Miller <davem@davemloft.net>
26453 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26454 smaller than LDBL_EPSILON/2.0L, just return xm1.
26456 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26458 * elf/tst-array1.c (init): Set constructor priority to 1000.
26459 (fini): Set destructor priority to 1000.
26460 * elf/tst-array2dep.c: Likewise.
26462 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26465 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26466 (_IO_new_file_xsputn): Also return EOF if none of the input
26467 data was written when overflow failed.
26468 * libio/iopadn.c (_IO_padn): Likewise.
26469 * libio/iowpadn.c (_IO_wpadn): Likewise.
26470 * stdio-common/tst-put-error.c: Add copyright notice.
26471 (do_test): Add case for printing padded string.
26472 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26473 _IO_padn returned error.
26474 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26475 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26478 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26480 * libio/libioP.h: Add comment note that the references to C++
26481 bits are now obsolete.
26483 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26485 * math/libm-test.inc (check_complex): Use asprintf.
26487 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26489 * debug/pcprofiledump.c (print_version): Update copyright year.
26490 * malloc/memusagestat.c (print_version): Likewise.
26492 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26495 * elf/Makefile (tests): Add tst-audit8.
26496 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26497 ($(objpfx)tst-audit8.out): New target.
26498 (tst-audit8-ENV): New variable.
26499 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26500 audit if l_reloc_result is NULL.
26501 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26502 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26503 * elf/tst-audit8.c: New file.
26505 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26507 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26508 * misc/Makefile (CFLAGS-select.c): Define.
26509 * posix/Makefile (CFLAGS-pause.c): Define.
26511 2012-11-13 David S. Miller <davem@davemloft.net>
26513 * crypt/Makefile: Move test targets after toplevel Rules
26514 inclusion. Grab any necessary sysdep routines when linking.
26515 * crypt/md5.c (md5_process_block): Remove define, we will always
26516 name it __md5_process_block.
26517 (md5_finish_ctx): Update md5_process_block call.
26518 (md5_stream): Likewise.
26519 (md5_process_bytes): Likewise.
26520 (md5_process_block): Rename to __md5_process_block and move to ...
26521 * crypt/md5-block.c: ... here.
26522 * crypt/sha256.c (sha256_process_block): Move to ...
26523 * crypt/sha256-block.c: ... here.
26524 * crypt/sha512.c (sha512_process_block): Move to ...
26525 * crypt/sha512-block.c: ... here.
26526 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26528 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26529 * sysdeps/sparc/sparc64/multiarch/Makefile
26530 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26532 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26533 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26535 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26536 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26537 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26538 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26539 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26540 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26541 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26542 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26543 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26545 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26546 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26548 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26550 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26552 * timezone/tzselect.ksh: Update from tzcode git revision
26553 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26554 * timezone/zdump.c: Likewise.
26555 * timezone/zic.c: Likewise.
26556 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26557 in TZVERSION setting, not $(PKGVERSION).
26558 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26559 REPORT_BUGS_TO settings.
26562 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26565 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26567 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26568 detection to immediately after _FP_ROUND().
26569 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26572 2012-11-11 David S. Miller <davem@davemloft.net>
26574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26576 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26577 __close rather than their public counterparts.
26579 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26581 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26583 [UNIX98] (sem_timedwait): Do not expect.
26584 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26585 [XPG4 || UNIX98] (sockatmark): Do not expect.
26586 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26587 (clock_getcpuclockid): Do not expect.
26588 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26589 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26591 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26592 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26593 [UNIX98] (vwscanf): Likewise.
26594 [UNIX98] (vswscanf): Likewise.
26596 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26598 * timezone/version.h: Remove file.
26599 * timezone/README: Do not refer to version.h.
26600 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26601 $(objpfx)version.h.
26602 ($(objpfx)zdump.o): Likewise.
26603 ($(objpfx)version.h): New target.
26605 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26607 * timezone/README: Don't mention modification to tzselect.ksh.
26608 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26609 work on unmodified tzselect.ksh. Substitute version numbers in
26612 * Makefile (format-me): Remove.
26613 (INSTALL): Adjust indentation. Use commands directly instead of
26614 using $(format-me).
26616 * aclocal.m4 (ACX_PKGVERSION): New macro.
26617 (ACX_BUGURL): Likewise.
26618 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26619 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26620 (REPORT_BUGS_TO): Likewise.
26621 * configure: Regenerated.
26622 * config.h.in (PKGVERSION): New macro.
26623 (REPORT_BUGS_TO): Likewise.
26624 * config.make.in (PKGVERSION): New variable.
26625 (PKGVERSION_TEXI): Likewise.
26626 (REPORT_BUGS_TO): Likewise.
26627 (REPORT_BUGS_TEXI): Likewise.
26628 * Makefile (format-me): Use -I$(common-objpfx)manual.
26629 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26630 ($(common-objpfx)manual/%): New target.
26631 (manual/%): Remove target.
26632 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26633 (print_version): Use PKGVERSION.
26634 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26635 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26636 and REPORT_BUGS_TO.
26637 ($(objpfx)xtrace): Likewise.
26638 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26639 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26640 (print_version): Use PKGVERSION.
26641 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26642 (do_version): Use PKGVERSION.
26643 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26645 (common-ldd-rewrite): Likewise.
26646 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26647 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26648 (print_version): Use PKGVERSION.
26649 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26650 * elf/pldd.c (argp_program_bug_address): Remove variable.
26651 (more_help): New function.
26652 (argp): Use more_help.
26653 (print_version): Use PKGVERSION.
26654 * elf/sln.c (main): Use PKGVERSION.
26655 (usage): Use REPORT_BUGS_TO.
26656 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26657 (top level): Use PKGVERSION.
26658 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26659 (print_version): Use PKGVERSION.
26660 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26661 (print_version): Use PKGVERSION.
26662 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26663 (print_version): Use PKGVERSION.
26664 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26665 (print_version): Use PKGVERSION.
26666 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26667 (print_version): Use PKGVERSION.
26668 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26669 (print_version): Use PKGVERSION.
26670 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26672 ($(objpfx)memusage): Likewise.
26673 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26674 (do_version): Use PKGVERSION.
26675 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26676 (print_version): Use PKGVERSION.
26677 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26678 ($PKGVERSION): New variable.
26679 ($REPORT_BUGS_TO): Likewise.
26680 (usage): Use $REPORT_BUGS_TO.
26681 (top level): Use $PKGVERSION.
26682 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26683 ($(objpfx)pkgvers.texi): New rule.
26684 ($(objpfx)stamp-pkgvers): Likewise.
26685 * manual/install.texi: Include pkgvers.texi.
26686 (--with-pkgversion): Document new configure option.
26687 (--with-bugurl): Likewise.
26688 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26689 than necessarily for this particular distribution. Use
26690 REPORT_BUGS_TO for where to report bugs.
26691 * INSTALL: Regenerated.
26692 * manual/libc.texinfo: Include pkgvers.texi.
26693 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26694 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26695 (print_version): Use PKGVERSION.
26696 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26697 (print_version): Use PKGVERSION.
26698 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26699 (print_version): Use PKGVERSION.
26700 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26701 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26703 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26704 (print_version): Use PKGVERSION.
26705 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26706 (print_version): Use PKGVERSION.
26707 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26710 * timezone/checktab.awk: Update from tzcode 2012i.
26711 * timezone/ialloc.c: Likewise.
26712 * timezone/private.h: Likewise.
26713 * timezone/scheck.c: Likewise.
26714 * timezone/tzfile.h: Likewise.
26715 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26716 (TZVERSION): Hardcode tzcode version number.
26717 * timezone/zdump.c: Update from tzcode 2012i.
26718 * timezone/zic.c: Likewise.
26719 * timezone/version.h: New file.
26720 * timezone/README: Describe version.h. Update upstream location.
26723 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26724 (mktemp): Enable declaration.
26725 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26727 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26732 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26736 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26738 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26742 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26743 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26744 for copies of such integer values.
26745 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26746 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26748 2012-11-09 Andreas Jaeger <aj@suse.de>
26750 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26751 definitions and declarations that are provided by
26752 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26754 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26756 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26757 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26758 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26761 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26763 * elf/elf.h: Update comment before AArch64 relocations.
26765 2012-11-07 David S. Miller <davem@davemloft.net>
26767 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26768 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26769 (__start_context): Declare.
26770 (__makecontext_ret): Delete.
26771 (__makecontext): Hook up __start_context instead of
26773 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26774 (sysdep_routines): Add __start_context when in stdlib.
26776 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26778 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26779 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26780 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26782 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26783 (READELF): New variable. Use it instead of hardcoded "readelf".
26785 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26787 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26788 * sysdeps/x86/Makefile: Here.
26789 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26790 * sysdeps/x86/tst-xmmymm.sh: This.
26792 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26794 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26796 [UNIX98] (pthread_barrier_t): Do not expect.
26797 [UNIX98] (pthread_barrierattr_t): Likewise.
26798 [UNIX98] (pthread_spinlock_t): Likewise.
26799 [UNIX98] (pthread_barrier_destroy): Likewise.
26800 [UNIX98] (pthread_barrier_init): Likewise.
26801 [UNIX98] (pthread_barrier_wait): Likewise.
26802 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26803 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26804 [UNIX98] (pthread_barrierattr_init): Likewise.
26805 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26806 [UNIX98] (pthread_getcpuclockid): Likewise.
26807 [UNIX98] (pthread_mutex_timedlock): Likewise.
26808 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26809 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26810 [UNIX98] (pthread_sigmask): Likewise.
26811 [UNIX98] (pthread_spin_destroy): Likewise.
26812 [UNIX98] (pthread_spin_init): Likewise.
26813 [UNIX98] (pthread_spin_lock): Likewise.
26814 [UNIX98] (pthread_spin_trylock): Likewise.
26815 [UNIX98] (pthread_spin_unlock): Likewise.
26816 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26818 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26819 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26820 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26821 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26822 [XPG3 || XPG4] (pthread_key_t): Likewise.
26823 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26824 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26825 [XPG3 || XPG4] (pthread_once_t): Likewise.
26826 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26827 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26828 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26829 [XPG3 || XPG4] (pthread_t): Likewise.
26831 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26833 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26835 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26836 Change function return type to int.
26838 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26839 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26840 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26841 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26842 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26843 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26844 [!POSIX] (posix_madvise): Likewise.
26845 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26847 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26848 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26849 (mode_t): Likewise.
26850 (posix_mem_offset): Likewise.
26851 (posix_typed_mem_get_info): Likewise.
26852 (posix_typed_mem_open): Likewise.
26854 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26855 Change condition to [XOPEN2K8].
26857 * conform/conformtest.pl: Preprocess allow-header data with -x c
26858 instead of from stdin.
26859 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26860 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26861 [C99-based standards] (cerfc): Likewise.
26862 [C99-based standards] (cexp2): Likewise.
26863 [C99-based standards] (cexpm1): Likewise.
26864 [C99-based standards] (clog10): Likewise.
26865 [C99-based standards] (clog1p): Likewise.
26866 [C99-based standards] (clog2): Likewise.
26867 [C99-based standards] (clgamma): Likewise.
26868 [C99-based standards] (ctgamma): Likewise.
26869 [C99-based standards] (cerff): Likewise.
26870 [C99-based standards] (cerfcf): Likewise.
26871 [C99-based standards] (cexp2f): Likewise.
26872 [C99-based standards] (cexpm1f): Likewise.
26873 [C99-based standards] (clog10f): Likewise.
26874 [C99-based standards] (clog1pf): Likewise.
26875 [C99-based standards] (clog2f): Likewise.
26876 [C99-based standards] (clgammaf): Likewise.
26877 [C99-based standards] (ctgammaf): Likewise.
26878 [C99-based standards] (cerfl): Likewise.
26879 [C99-based standards] (cerfcl): Likewise.
26880 [C99-based standards] (cexp2l): Likewise.
26881 [C99-based standards] (cexpm1l): Likewise.
26882 [C99-based standards] (clog10l): Likewise.
26883 [C99-based standards] (clog1pl): Likewise.
26884 [C99-based standards] (clog2l): Likewise.
26885 [C99-based standards] (clgammal): Likewise.
26886 [C99-based standards] (ctgammal): Likewise.
26887 * conform/data/inttypes.h-data [C99-based standards]: Include
26888 stdint.h-data. Remove all expectations for stdint.h contents.
26889 [C99-based standards] (PRI*): Do not allow.
26890 [C99-based standards] (SCN*): Likewise.
26891 [C99-based standards] (*_t): Likewise.
26892 [C99-based-standards] (PRId8): Expect macro.
26893 [C99-based-standards] (PRIi8): Likewise.
26894 [C99-based-standards] (PRIo8): Likewise.
26895 [C99-based-standards] (PRIu8): Likewise.
26896 [C99-based-standards] (PRIx8): Likewise.
26897 [C99-based-standards] (PRIX8): Likewise.
26898 [C99-based-standards] (SCNd8): Likewise.
26899 [C99-based-standards] (SCNi8): Likewise.
26900 [C99-based-standards] (SCNo8): Likewise.
26901 [C99-based-standards] (SCNu8): Likewise.
26902 [C99-based-standards] (SCNx8): Likewise.
26903 [C99-based-standards] (PRIdLEAST8): Likewise.
26904 [C99-based-standards] (PRIiLEAST8): Likewise.
26905 [C99-based-standards] (PRIoLEAST8): Likewise.
26906 [C99-based-standards] (PRIuLEAST8): Likewise.
26907 [C99-based-standards] (PRIxLEAST8): Likewise.
26908 [C99-based-standards] (PRIXLEAST8): Likewise.
26909 [C99-based-standards] (SCNdLEAST8): Likewise.
26910 [C99-based-standards] (SCNiLEAST8): Likewise.
26911 [C99-based-standards] (SCNoLEAST8): Likewise.
26912 [C99-based-standards] (SCNuLEAST8): Likewise.
26913 [C99-based-standards] (SCNxLEAST8): Likewise.
26914 [C99-based-standards] (PRIdFAST8): Likewise.
26915 [C99-based-standards] (PRIiFAST8): Likewise.
26916 [C99-based-standards] (PRIoFAST8): Likewise.
26917 [C99-based-standards] (PRIuFAST8): Likewise.
26918 [C99-based-standards] (PRIxFAST8): Likewise.
26919 [C99-based-standards] (PRIXFAST8): Likewise.
26920 [C99-based-standards] (SCNdFAST8): Likewise.
26921 [C99-based-standards] (SCNiFAST8): Likewise.
26922 [C99-based-standards] (SCNoFAST8): Likewise.
26923 [C99-based-standards] (SCNuFAST8): Likewise.
26924 [C99-based-standards] (SCNxFAST8): Likewise.
26925 [C99-based-standards] (PRId16): Likewise.
26926 [C99-based-standards] (PRIi16): Likewise.
26927 [C99-based-standards] (PRIo16): Likewise.
26928 [C99-based-standards] (PRIu16): Likewise.
26929 [C99-based-standards] (PRIx16): Likewise.
26930 [C99-based-standards] (PRIX16): Likewise.
26931 [C99-based-standards] (SCNd16): Likewise.
26932 [C99-based-standards] (SCNi16): Likewise.
26933 [C99-based-standards] (SCNo16): Likewise.
26934 [C99-based-standards] (SCNu16): Likewise.
26935 [C99-based-standards] (SCNx16): Likewise.
26936 [C99-based-standards] (PRIdLEAST16): Likewise.
26937 [C99-based-standards] (PRIiLEAST16): Likewise.
26938 [C99-based-standards] (PRIoLEAST16): Likewise.
26939 [C99-based-standards] (PRIuLEAST16): Likewise.
26940 [C99-based-standards] (PRIxLEAST16): Likewise.
26941 [C99-based-standards] (PRIXLEAST16): Likewise.
26942 [C99-based-standards] (SCNdLEAST16): Likewise.
26943 [C99-based-standards] (SCNiLEAST16): Likewise.
26944 [C99-based-standards] (SCNoLEAST16): Likewise.
26945 [C99-based-standards] (SCNuLEAST16): Likewise.
26946 [C99-based-standards] (SCNxLEAST16): Likewise.
26947 [C99-based-standards] (PRIdFAST16): Likewise.
26948 [C99-based-standards] (PRIiFAST16): Likewise.
26949 [C99-based-standards] (PRIoFAST16): Likewise.
26950 [C99-based-standards] (PRIuFAST16): Likewise.
26951 [C99-based-standards] (PRIxFAST16): Likewise.
26952 [C99-based-standards] (PRIXFAST16): Likewise.
26953 [C99-based-standards] (SCNdFAST16): Likewise.
26954 [C99-based-standards] (SCNiFAST16): Likewise.
26955 [C99-based-standards] (SCNoFAST16): Likewise.
26956 [C99-based-standards] (SCNuFAST16): Likewise.
26957 [C99-based-standards] (SCNxFAST16): Likewise.
26958 [C99-based-standards] (PRId32): Likewise.
26959 [C99-based-standards] (PRIi32): Likewise.
26960 [C99-based-standards] (PRIo32): Likewise.
26961 [C99-based-standards] (PRIu32): Likewise.
26962 [C99-based-standards] (PRIx32): Likewise.
26963 [C99-based-standards] (PRIX32): Likewise.
26964 [C99-based-standards] (SCNd32): Likewise.
26965 [C99-based-standards] (SCNi32): Likewise.
26966 [C99-based-standards] (SCNo32): Likewise.
26967 [C99-based-standards] (SCNu32): Likewise.
26968 [C99-based-standards] (SCNx32): Likewise.
26969 [C99-based-standards] (PRIdLEAST32): Likewise.
26970 [C99-based-standards] (PRIiLEAST32): Likewise.
26971 [C99-based-standards] (PRIoLEAST32): Likewise.
26972 [C99-based-standards] (PRIuLEAST32): Likewise.
26973 [C99-based-standards] (PRIxLEAST32): Likewise.
26974 [C99-based-standards] (PRIXLEAST32): Likewise.
26975 [C99-based-standards] (SCNdLEAST32): Likewise.
26976 [C99-based-standards] (SCNiLEAST32): Likewise.
26977 [C99-based-standards] (SCNoLEAST32): Likewise.
26978 [C99-based-standards] (SCNuLEAST32): Likewise.
26979 [C99-based-standards] (SCNxLEAST32): Likewise.
26980 [C99-based-standards] (PRIdFAST32): Likewise.
26981 [C99-based-standards] (PRIiFAST32): Likewise.
26982 [C99-based-standards] (PRIoFAST32): Likewise.
26983 [C99-based-standards] (PRIuFAST32): Likewise.
26984 [C99-based-standards] (PRIxFAST32): Likewise.
26985 [C99-based-standards] (PRIXFAST32): Likewise.
26986 [C99-based-standards] (SCNdFAST32): Likewise.
26987 [C99-based-standards] (SCNiFAST32): Likewise.
26988 [C99-based-standards] (SCNoFAST32): Likewise.
26989 [C99-based-standards] (SCNuFAST32): Likewise.
26990 [C99-based-standards] (SCNxFAST32): Likewise.
26991 [C99-based-standards] (PRId64): Likewise.
26992 [C99-based-standards] (PRIi64): Likewise.
26993 [C99-based-standards] (PRIo64): Likewise.
26994 [C99-based-standards] (PRIu64): Likewise.
26995 [C99-based-standards] (PRIx64): Likewise.
26996 [C99-based-standards] (PRIX64): Likewise.
26997 [C99-based-standards] (SCNd64): Likewise.
26998 [C99-based-standards] (SCNi64): Likewise.
26999 [C99-based-standards] (SCNo64): Likewise.
27000 [C99-based-standards] (SCNu64): Likewise.
27001 [C99-based-standards] (SCNx64): Likewise.
27002 [C99-based-standards] (PRIdLEAST64): Likewise.
27003 [C99-based-standards] (PRIiLEAST64): Likewise.
27004 [C99-based-standards] (PRIoLEAST64): Likewise.
27005 [C99-based-standards] (PRIuLEAST64): Likewise.
27006 [C99-based-standards] (PRIxLEAST64): Likewise.
27007 [C99-based-standards] (PRIXLEAST64): Likewise.
27008 [C99-based-standards] (SCNdLEAST64): Likewise.
27009 [C99-based-standards] (SCNiLEAST64): Likewise.
27010 [C99-based-standards] (SCNoLEAST64): Likewise.
27011 [C99-based-standards] (SCNuLEAST64): Likewise.
27012 [C99-based-standards] (SCNxLEAST64): Likewise.
27013 [C99-based-standards] (PRIdFAST64): Likewise.
27014 [C99-based-standards] (PRIiFAST64): Likewise.
27015 [C99-based-standards] (PRIoFAST64): Likewise.
27016 [C99-based-standards] (PRIuFAST64): Likewise.
27017 [C99-based-standards] (PRIxFAST64): Likewise.
27018 [C99-based-standards] (PRIXFAST64): Likewise.
27019 [C99-based-standards] (SCNdFAST64): Likewise.
27020 [C99-based-standards] (SCNiFAST64): Likewise.
27021 [C99-based-standards] (SCNoFAST64): Likewise.
27022 [C99-based-standards] (SCNuFAST64): Likewise.
27023 [C99-based-standards] (SCNxFAST64): Likewise.
27024 [C99-based-standards] (PRIdMAX): Likewise.
27025 [C99-based-standards] (PRIiMAX): Likewise.
27026 [C99-based-standards] (PRIoMAX): Likewise.
27027 [C99-based-standards] (PRIuMAX): Likewise.
27028 [C99-based-standards] (PRIxMAX): Likewise.
27029 [C99-based-standards] (PRIXMAX): Likewise.
27030 [C99-based-standards] (SCNdMAX): Likewise.
27031 [C99-based-standards] (SCNiMAX): Likewise.
27032 [C99-based-standards] (SCNoMAX): Likewise.
27033 [C99-based-standards] (SCNuMAX): Likewise.
27034 [C99-based-standards] (SCNxMAX): Likewise.
27035 [C99-based-standards] (PRIdPTR): Likewise.
27036 [C99-based-standards] (PRIiPTR): Likewise.
27037 [C99-based-standards] (PRIoPTR): Likewise.
27038 [C99-based-standards] (PRIuPTR): Likewise.
27039 [C99-based-standards] (PRIxPTR): Likewise.
27040 [C99-based-standards] (PRIXPTR): Likewise.
27041 [C99-based-standards] (SCNdPTR): Likewise.
27042 [C99-based-standards] (SCNiPTR): Likewise.
27043 [C99-based-standards] (SCNoPTR): Likewise.
27044 [C99-based-standards] (SCNuPTR): Likewise.
27045 [C99-based-standards] (SCNxPTR): Likewise.
27046 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27048 * conform/data/stdint.h-data: Update comments to clarify
27050 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27052 [C99-based standards] (INT8_MAX): Likewise.
27053 [C99-based standards] (INT16_MIN): Likewise.
27054 [C99-based standards] (INT16_MAX): Likewise.
27055 [C99-based standards] (INT32_MIN): Likewise.
27056 [C99-based standards] (INT32_MAX): Likewise.
27057 [C99-based standards] (INT64_MIN): Likewise.
27058 [C99-based standards] (INT64_MAX): Likewise.
27059 [C99-based standards] (UINT8_MAX): Likewise.
27060 [C99-based standards] (UINT16_MAX): Likewise.
27061 [C99-based standards] (UINT32_MAX): Likewise.
27062 [C99-based standards] (UINT64_MAX): Likewise.
27063 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27064 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27065 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27066 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27067 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27068 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27069 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27070 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27071 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27072 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27073 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27074 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27075 [C99-based standards] (INT_FAST8_MIN): Likewise.
27076 [C99-based standards] (INT_FAST8_MAX): Likewise.
27077 [C99-based standards] (INT_FAST16_MIN): Likewise.
27078 [C99-based standards] (INT_FAST16_MAX): Likewise.
27079 [C99-based standards] (INT_FAST32_MIN): Likewise.
27080 [C99-based standards] (INT_FAST32_MAX): Likewise.
27081 [C99-based standards] (INT_FAST64_MIN): Likewise.
27082 [C99-based standards] (INT_FAST64_MAX): Likewise.
27083 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27084 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27085 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27086 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27087 [C99-based standards] (INTPTR_MIN): Likewise.
27088 [C99-based standards] (INTPTR_MAX): Likewise.
27089 [C99-based standards] (UINTPTR_MAX): Likewise.
27090 [C99-based standards] (INTMAX_MIN): Likewise.
27091 [C99-based standards] (INTMAX_MAX): Likewise.
27092 [C99-based standards] (UINTMAX_MAX): Likewise.
27093 [C99-based standards] (PTRDIFF_MIN): Likewise.
27094 [C99-based standards] (PTRDIFF_MAX): Likewise.
27095 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27096 [C99-based standards] (SIZE_MAX): Likewise.
27097 [C99-based standards] (WCHAR_MAX): Likewise.
27098 [C99-based standards] (WINT_MAX): Likewise.
27099 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27100 constraint on value.
27101 [C99-based standards] (WCHAR_MIN): Likewise.
27102 [C99-based standards] (WINT_MIN): Likewise.
27103 [C99-based standards] (*_t): Allow.
27104 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27105 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27106 Include math.h-data and complex.h-data. Remove all expectations
27107 of math.h and complex.h contents.
27108 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27110 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27111 (struct tm): Expect tag.
27112 [C99-based-standards] (wcstof): Expect function.
27113 [C99-based-standards] (wcstold): Likewise.
27114 [C99-based-standards] (wcstoll): Likewise.
27115 [C99-based-standards] (wcstoull): Likewise.
27116 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27117 macro-int-constant. Specify type.
27118 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27119 constraint on value.
27120 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27122 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27124 [ISO C standards]: Do not allow headers.
27125 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27126 wcs[abcdefghijklmnopqrstuvwxyz]*.
27127 [ISO C standards] (*_t): Do not allow.
27128 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27130 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27131 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27133 [ISO C standards]: Do not allow headers.
27134 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27135 is[abcdefghijklmnopqrstuvwxyz]*.
27136 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27137 to[abcdefghijklmnopqrstuvwxyz]*.
27138 [ISO C standards] (*_t): Do not allow.
27139 * conform/data/stdalign.h-data: New file.
27140 * conform/data/stdbool.h-data: Likewise.
27141 * conform/data/stdnoreturn.h-data: Likewise.
27143 2012-11-07 Roland McGrath <roland@hack.frob.com>
27146 * manual/filesys.texi (Directory Entries): Typo fix.
27147 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27149 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27151 * elf/elf.h (EM_AARCH64): New macro.
27152 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27153 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27154 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27155 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27156 (R_AARCH64_TLSDESC): Likewise.
27157 (NT_ARM_TLS): Likewise.
27158 (NT_ARM_HW_BREAK): Likewise.
27159 (NT_ARM_HW_WATCH): Likewise.
27161 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27164 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27165 (__ieee754_powl): Saturate nonzero exponents with absolute value
27166 below 0x1p-79 to +/- 0x1p-79.
27167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27168 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27169 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27170 nonzero exponents with absolute value below 0x1p-32 to +/-
27172 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27173 (__ieee754_powl): Saturate nonzero exponents with absolute value
27174 below 0x1p-79 to +/- 0x1p-79.
27175 * math/libm-test.inc (pow_test): Add more tests.
27177 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27179 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27180 _dl_s390_cap_flags with kernel. Increase string length.
27181 (_dl_s390_platforms): Add z196 and zEC12.
27183 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27185 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27186 Change XOPEN21K to XOPEN2K.
27188 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27190 * string/memmove.c: Use memcpy when possible.
27192 2012-11-06 Andreas Jaeger <aj@suse.de>
27194 * po/eo.po: Update from translation team.
27196 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27200 exponent and small x and y exponents, scale x or y up. Increase
27201 by 2 the exponent used in scaling up.
27202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27203 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27204 * math/libm-test.inc (fma_test): Add more tests.
27205 (fma_test_towardzero): Likewise.
27206 (fma_test_downward): Likewise.
27207 (fma_test_upward): Likewise.
27209 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27212 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27216 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27217 namespace for names of struct fields.
27218 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27220 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27221 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27223 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27226 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27228 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27230 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27234 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27237 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27241 definitely overflow as x * y not x * y + z.
27242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27243 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27244 * math/libm-test.inc (fma_test): Add more tests.
27245 (fma_test_towardzero): Likewise.
27246 (fma_test_downward): Likewise.
27247 (fma_test_upward): Likewise.
27249 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27253 * include/stub-tag.h: Remove file.
27254 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27256 * manual/maint.texi (Porting): Don't reference it.
27257 * Makerules ($(objpfx)stubs): Likewise.
27258 * dirent/closedir.c: Don't include <stub-tag.h>.
27259 * dirent/dirfd.c: Likewise.
27260 * dirent/fdopendir.c: Likewise.
27261 * dirent/getdents.c: Likewise.
27262 * dirent/getdents64.c: Likewise.
27263 * dirent/opendir.c: Likewise.
27264 * dirent/readdir.c: Likewise.
27265 * dirent/readdir64.c: Likewise.
27266 * dirent/readdir64_r.c: Likewise.
27267 * dirent/readdir_r.c: Likewise.
27268 * dirent/rewinddir.c: Likewise.
27269 * dirent/seekdir.c: Likewise.
27270 * dirent/telldir.c: Likewise.
27271 * gmon/profil.c: Likewise.
27272 * grp/setgroups.c: Likewise.
27273 * inet/if_index.c: Likewise.
27274 * io/access.c: Likewise.
27275 * io/chdir.c: Likewise.
27276 * io/chmod.c: Likewise.
27277 * io/chown.c: Likewise.
27278 * io/close.c: Likewise.
27279 * io/dup.c: Likewise.
27280 * io/dup2.c: Likewise.
27281 * io/dup3.c: Likewise.
27282 * io/euidaccess.c: Likewise.
27283 * io/faccessat.c: Likewise.
27284 * io/fchdir.c: Likewise.
27285 * io/fchmod.c: Likewise.
27286 * io/fchmodat.c: Likewise.
27287 * io/fchown.c: Likewise.
27288 * io/fchownat.c: Likewise.
27289 * io/fcntl.c: Likewise.
27290 * io/flock.c: Likewise.
27291 * io/fstatfs.c: Likewise.
27292 * io/fstatfs64.c: Likewise.
27293 * io/fstatvfs.c: Likewise.
27294 * io/fstatvfs64.c: Likewise.
27295 * io/futimens.c: Likewise.
27296 * io/fxstat.c: Likewise.
27297 * io/fxstat64.c: Likewise.
27298 * io/fxstatat.c: Likewise.
27299 * io/fxstatat64.c: Likewise.
27300 * io/getcwd.c: Likewise.
27301 * io/isatty.c: Likewise.
27302 * io/lchmod.c: Likewise.
27303 * io/lchown.c: Likewise.
27304 * io/link.c: Likewise.
27305 * io/linkat.c: Likewise.
27306 * io/lseek.c: Likewise.
27307 * io/lseek64.c: Likewise.
27308 * io/lxstat64.c: Likewise.
27309 * io/mkdir.c: Likewise.
27310 * io/mkdirat.c: Likewise.
27311 * io/mkfifo.c: Likewise.
27312 * io/mkfifoat.c: Likewise.
27313 * io/open.c: Likewise.
27314 * io/open64.c: Likewise.
27315 * io/openat.c: Likewise.
27316 * io/openat64.c: Likewise.
27317 * io/pipe.c: Likewise.
27318 * io/pipe2.c: Likewise.
27319 * io/poll.c: Likewise.
27320 * io/posix_fadvise.c: Likewise.
27321 * io/posix_fadvise64.c: Likewise.
27322 * io/posix_fallocate.c: Likewise.
27323 * io/posix_fallocate64.c: Likewise.
27324 * io/read.c: Likewise.
27325 * io/readlink.c: Likewise.
27326 * io/readlinkat.c: Likewise.
27327 * io/rmdir.c: Likewise.
27328 * io/sendfile.c: Likewise.
27329 * io/sendfile64.c: Likewise.
27330 * io/statfs.c: Likewise.
27331 * io/statfs64.c: Likewise.
27332 * io/statvfs.c: Likewise.
27333 * io/statvfs64.c: Likewise.
27334 * io/symlink.c: Likewise.
27335 * io/symlinkat.c: Likewise.
27336 * io/ttyname.c: Likewise.
27337 * io/ttyname_r.c: Likewise.
27338 * io/umask.c: Likewise.
27339 * io/unlink.c: Likewise.
27340 * io/unlinkat.c: Likewise.
27341 * io/utime.c: Likewise.
27342 * io/utimensat.c: Likewise.
27343 * io/write.c: Likewise.
27344 * io/xmknod.c: Likewise.
27345 * io/xmknodat.c: Likewise.
27346 * io/xstat.c: Likewise.
27347 * io/xstat64.c: Likewise.
27348 * login/getpt.c: Likewise.
27349 * login/grantpt.c: Likewise.
27350 * login/unlockpt.c: Likewise.
27351 * math/e_acoshl.c: Likewise.
27352 * math/e_acosl.c: Likewise.
27353 * math/e_asinl.c: Likewise.
27354 * math/e_atan2l.c: Likewise.
27355 * math/e_atanhl.c: Likewise.
27356 * math/e_coshl.c: Likewise.
27357 * math/e_expl.c: Likewise.
27358 * math/e_fmodl.c: Likewise.
27359 * math/e_gammal_r.c: Likewise.
27360 * math/e_hypotl.c: Likewise.
27361 * math/e_j0l.c: Likewise.
27362 * math/e_j1l.c: Likewise.
27363 * math/e_jnl.c: Likewise.
27364 * math/e_lgammal_r.c: Likewise.
27365 * math/e_log10l.c: Likewise.
27366 * math/e_log2l.c: Likewise.
27367 * math/e_logl.c: Likewise.
27368 * math/e_powl.c: Likewise.
27369 * math/e_rem_pio2l.c: Likewise.
27370 * math/e_sinhl.c: Likewise.
27371 * math/e_sqrtl.c: Likewise.
27372 * math/fclrexcpt.c: Likewise.
27373 * math/fedisblxcpt.c: Likewise.
27374 * math/feenablxcpt.c: Likewise.
27375 * math/fegetenv.c: Likewise.
27376 * math/fegetexcept.c: Likewise.
27377 * math/fegetround.c: Likewise.
27378 * math/feholdexcpt.c: Likewise.
27379 * math/fesetenv.c: Likewise.
27380 * math/fesetround.c: Likewise.
27381 * math/feupdateenv.c: Likewise.
27382 * math/fgetexcptflg.c: Likewise.
27383 * math/fraiseexcpt.c: Likewise.
27384 * math/fsetexcptflg.c: Likewise.
27385 * math/ftestexcept.c: Likewise.
27386 * math/k_cosl.c: Likewise.
27387 * math/k_rem_pio2l.c: Likewise.
27388 * math/k_sinl.c: Likewise.
27389 * math/k_tanl.c: Likewise.
27390 * math/s_asinhl.c: Likewise.
27391 * math/s_atanl.c: Likewise.
27392 * math/s_cbrtl.c: Likewise.
27393 * math/s_erfl.c: Likewise.
27394 * math/s_expm1l.c: Likewise.
27395 * math/s_log1pl.c: Likewise.
27396 * math/s_tanhl.c: Likewise.
27397 * misc/acct.c: Likewise.
27398 * misc/brk.c: Likewise.
27399 * misc/chflags.c: Likewise.
27400 * misc/chroot.c: Likewise.
27401 * misc/fchflags.c: Likewise.
27402 * misc/fgetxattr.c: Likewise.
27403 * misc/flistxattr.c: Likewise.
27404 * misc/fremovexattr.c: Likewise.
27405 * misc/fsetxattr.c: Likewise.
27406 * misc/fsync.c: Likewise.
27407 * misc/ftruncate.c: Likewise.
27408 * misc/futimes.c: Likewise.
27409 * misc/futimesat.c: Likewise.
27410 * misc/getdomain.c: Likewise.
27411 * misc/getdtsz.c: Likewise.
27412 * misc/gethostid.c: Likewise.
27413 * misc/gethostname.c: Likewise.
27414 * misc/getloadavg.c: Likewise.
27415 * misc/getpagesize.c: Likewise.
27416 * misc/getsysstats.c: Likewise.
27417 * misc/getxattr.c: Likewise.
27418 * misc/gtty.c: Likewise.
27419 * misc/ioctl.c: Likewise.
27420 * misc/lgetxattr.c: Likewise.
27421 * misc/listxattr.c: Likewise.
27422 * misc/llistxattr.c: Likewise.
27423 * misc/lremovexattr.c: Likewise.
27424 * misc/lsetxattr.c: Likewise.
27425 * misc/lutimes.c: Likewise.
27426 * misc/madvise.c: Likewise.
27427 * misc/mincore.c: Likewise.
27428 * misc/mlock.c: Likewise.
27429 * misc/mlockall.c: Likewise.
27430 * misc/mmap.c: Likewise.
27431 * misc/mprotect.c: Likewise.
27432 * misc/msync.c: Likewise.
27433 * misc/munlock.c: Likewise.
27434 * misc/munlockall.c: Likewise.
27435 * misc/munmap.c: Likewise.
27436 * misc/preadv.c: Likewise.
27437 * misc/preadv64.c: Likewise.
27438 * misc/ptrace.c: Likewise.
27439 * misc/pwritev.c: Likewise.
27440 * misc/pwritev64.c: Likewise.
27441 * misc/readv.c: Likewise.
27442 * misc/reboot.c: Likewise.
27443 * misc/remap_file_pages.c: Likewise.
27444 * misc/removexattr.c: Likewise.
27445 * misc/revoke.c: Likewise.
27446 * misc/select.c: Likewise.
27447 * misc/setdomain.c: Likewise.
27448 * misc/setegid.c: Likewise.
27449 * misc/seteuid.c: Likewise.
27450 * misc/sethostid.c: Likewise.
27451 * misc/sethostname.c: Likewise.
27452 * misc/setregid.c: Likewise.
27453 * misc/setreuid.c: Likewise.
27454 * misc/setxattr.c: Likewise.
27455 * misc/sstk.c: Likewise.
27456 * misc/stty.c: Likewise.
27457 * misc/swapoff.c: Likewise.
27458 * misc/swapon.c: Likewise.
27459 * misc/sync.c: Likewise.
27460 * misc/syncfs.c: Likewise.
27461 * misc/syscall.c: Likewise.
27462 * misc/truncate.c: Likewise.
27463 * misc/ualarm.c: Likewise.
27464 * misc/usleep.c: Likewise.
27465 * misc/ustat.c: Likewise.
27466 * misc/utimes.c: Likewise.
27467 * misc/vhangup.c: Likewise.
27468 * misc/writev.c: Likewise.
27469 * posix/_exit.c: Likewise.
27470 * posix/alarm.c: Likewise.
27471 * posix/execve.c: Likewise.
27472 * posix/fexecve.c: Likewise.
27473 * posix/fork.c: Likewise.
27474 * posix/fpathconf.c: Likewise.
27475 * posix/getaddrinfo.c: Likewise.
27476 * posix/getegid.c: Likewise.
27477 * posix/geteuid.c: Likewise.
27478 * posix/getgid.c: Likewise.
27479 * posix/getgroups.c: Likewise.
27480 * posix/getlogin.c: Likewise.
27481 * posix/getlogin_r.c: Likewise.
27482 * posix/getpgid.c: Likewise.
27483 * posix/getpid.c: Likewise.
27484 * posix/getppid.c: Likewise.
27485 * posix/getresgid.c: Likewise.
27486 * posix/getresuid.c: Likewise.
27487 * posix/getsid.c: Likewise.
27488 * posix/getuid.c: Likewise.
27489 * posix/glob64.c: Likewise.
27490 * posix/nanosleep.c: Likewise.
27491 * posix/pathconf.c: Likewise.
27492 * posix/pause.c: Likewise.
27493 * posix/posix_madvise.c: Likewise.
27494 * posix/pread.c: Likewise.
27495 * posix/pread64.c: Likewise.
27496 * posix/pwrite.c: Likewise.
27497 * posix/pwrite64.c: Likewise.
27498 * posix/sched_getaffinity.c: Likewise.
27499 * posix/sched_getp.c: Likewise.
27500 * posix/sched_gets.c: Likewise.
27501 * posix/sched_primax.c: Likewise.
27502 * posix/sched_primin.c: Likewise.
27503 * posix/sched_rr_gi.c: Likewise.
27504 * posix/sched_setaffinity.c: Likewise.
27505 * posix/sched_setp.c: Likewise.
27506 * posix/sched_sets.c: Likewise.
27507 * posix/sched_yield.c: Likewise.
27508 * posix/setgid.c: Likewise.
27509 * posix/setlogin.c: Likewise.
27510 * posix/setpgid.c: Likewise.
27511 * posix/setresgid.c: Likewise.
27512 * posix/setresuid.c: Likewise.
27513 * posix/setsid.c: Likewise.
27514 * posix/setuid.c: Likewise.
27515 * posix/sleep.c: Likewise.
27516 * posix/spawni.c: Likewise.
27517 * posix/sysconf.c: Likewise.
27518 * posix/times.c: Likewise.
27519 * posix/wait.c: Likewise.
27520 * posix/wait3.c: Likewise.
27521 * posix/wait4.c: Likewise.
27522 * posix/waitpid.c: Likewise.
27523 * resolv/gai_sigqueue.c: Likewise.
27524 * resource/getpriority.c: Likewise.
27525 * resource/getrlimit.c: Likewise.
27526 * resource/getrusage.c: Likewise.
27527 * resource/nice.c: Likewise.
27528 * resource/setpriority.c: Likewise.
27529 * resource/setrlimit.c: Likewise.
27530 * resource/ulimit.c: Likewise.
27531 * rt/aio_cancel.c: Likewise.
27532 * rt/aio_fsync.c: Likewise.
27533 * rt/aio_read.c: Likewise.
27534 * rt/aio_sigqueue.c: Likewise.
27535 * rt/aio_suspend.c: Likewise.
27536 * rt/aio_write.c: Likewise.
27537 * rt/clock_getres.c: Likewise.
27538 * rt/clock_gettime.c: Likewise.
27539 * rt/clock_nanosleep.c: Likewise.
27540 * rt/clock_settime.c: Likewise.
27541 * rt/lio_listio.c: Likewise.
27542 * rt/mq_close.c: Likewise.
27543 * rt/mq_getattr.c: Likewise.
27544 * rt/mq_notify.c: Likewise.
27545 * rt/mq_open.c: Likewise.
27546 * rt/mq_receive.c: Likewise.
27547 * rt/mq_send.c: Likewise.
27548 * rt/mq_setattr.c: Likewise.
27549 * rt/mq_timedreceive.c: Likewise.
27550 * rt/mq_timedsend.c: Likewise.
27551 * rt/mq_unlink.c: Likewise.
27552 * rt/shm_open.c: Likewise.
27553 * rt/shm_unlink.c: Likewise.
27554 * rt/timer_create.c: Likewise.
27555 * rt/timer_delete.c: Likewise.
27556 * rt/timer_getoverr.c: Likewise.
27557 * rt/timer_gettime.c: Likewise.
27558 * rt/timer_settime.c: Likewise.
27559 * setjmp/__longjmp.c: Likewise.
27560 * setjmp/setjmp.c: Likewise.
27561 * signal/kill.c: Likewise.
27562 * signal/killpg.c: Likewise.
27563 * signal/raise.c: Likewise.
27564 * signal/sigaction.c: Likewise.
27565 * signal/sigaltstack.c: Likewise.
27566 * signal/sigblock.c: Likewise.
27567 * signal/sigignore.c: Likewise.
27568 * signal/sigintr.c: Likewise.
27569 * signal/signal.c: Likewise.
27570 * signal/sigpause.c: Likewise.
27571 * signal/sigpending.c: Likewise.
27572 * signal/sigqueue.c: Likewise.
27573 * signal/sigreturn.c: Likewise.
27574 * signal/sigset.c: Likewise.
27575 * signal/sigsetmask.c: Likewise.
27576 * signal/sigstack.c: Likewise.
27577 * signal/sigsuspend.c: Likewise.
27578 * signal/sigtimedwait.c: Likewise.
27579 * signal/sigvec.c: Likewise.
27580 * signal/sigwait.c: Likewise.
27581 * signal/sigwaitinfo.c: Likewise.
27582 * signal/sysv_signal.c: Likewise.
27583 * socket/accept.c: Likewise.
27584 * socket/accept4.c: Likewise.
27585 * socket/bind.c: Likewise.
27586 * socket/connect.c: Likewise.
27587 * socket/getpeername.c: Likewise.
27588 * socket/getsockname.c: Likewise.
27589 * socket/getsockopt.c: Likewise.
27590 * socket/isfdtype.c: Likewise.
27591 * socket/listen.c: Likewise.
27592 * socket/recv.c: Likewise.
27593 * socket/recvfrom.c: Likewise.
27594 * socket/recvmsg.c: Likewise.
27595 * socket/send.c: Likewise.
27596 * socket/sendmsg.c: Likewise.
27597 * socket/sendto.c: Likewise.
27598 * socket/setsockopt.c: Likewise.
27599 * socket/shutdown.c: Likewise.
27600 * socket/sockatmark.c: Likewise.
27601 * socket/socket.c: Likewise.
27602 * socket/socketpair.c: Likewise.
27603 * stdio-common/ctermid.c: Likewise.
27604 * stdio-common/cuserid.c: Likewise.
27605 * stdio-common/remove.c: Likewise.
27606 * stdio-common/rename.c: Likewise.
27607 * stdio-common/renameat.c: Likewise.
27608 * stdio-common/tempname.c: Likewise.
27609 * stdlib/getcontext.c: Likewise.
27610 * stdlib/makecontext.c: Likewise.
27611 * stdlib/setcontext.c: Likewise.
27612 * stdlib/swapcontext.c: Likewise.
27613 * stdlib/system.c: Likewise.
27614 * streams/fattach.c: Likewise.
27615 * streams/fdetach.c: Likewise.
27616 * streams/getmsg.c: Likewise.
27617 * streams/getpmsg.c: Likewise.
27618 * streams/putmsg.c: Likewise.
27619 * streams/putpmsg.c: Likewise.
27620 * sysdeps/unix/bsd/getpt.c: Likewise.
27621 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27622 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27623 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27626 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27627 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27628 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27629 * sysvipc/msgctl.c: Likewise.
27630 * sysvipc/msgget.c: Likewise.
27631 * sysvipc/msgrcv.c: Likewise.
27632 * sysvipc/msgsnd.c: Likewise.
27633 * sysvipc/semctl.c: Likewise.
27634 * sysvipc/semget.c: Likewise.
27635 * sysvipc/semop.c: Likewise.
27636 * sysvipc/semtimedop.c: Likewise.
27637 * sysvipc/shmat.c: Likewise.
27638 * sysvipc/shmctl.c: Likewise.
27639 * sysvipc/shmdt.c: Likewise.
27640 * sysvipc/shmget.c: Likewise.
27641 * termios/tcdrain.c: Likewise.
27642 * termios/tcflow.c: Likewise.
27643 * termios/tcflush.c: Likewise.
27644 * termios/tcgetattr.c: Likewise.
27645 * termios/tcgetpgrp.c: Likewise.
27646 * termios/tcsendbrk.c: Likewise.
27647 * termios/tcsetattr.c: Likewise.
27648 * termios/tcsetpgrp.c: Likewise.
27649 * time/adjtime.c: Likewise.
27650 * time/clock.c: Likewise.
27651 * time/getitimer.c: Likewise.
27652 * time/gettimeofday.c: Likewise.
27653 * time/setitimer.c: Likewise.
27654 * time/settimeofday.c: Likewise.
27655 * time/stime.c: Likewise.
27656 * time/time.c: Likewise.
27658 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27660 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27663 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27665 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27667 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27671 FE_TONEAREST before applying Dekker multiplication and Knuth
27672 addition. Clear inexact exceptions and check for exact zero
27673 results afterwards.
27674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27675 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27676 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27677 * math/libm-test.inc (fma_test): Add more tests.
27678 (fma_test_towardzero): Likewise.
27679 (fma_test_downward): Likewise.
27680 (fma_test_upward): Likewise.
27681 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27683 (libc_fesetround): New macro.
27684 (libc_fesetroundf): Likewise.
27685 (libc_fesetroundl): Likewise.
27686 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27688 (libc_fesetround_387): Likewise.
27689 (libc_fesetroundf): New macro.
27690 (libc_fesetround): Likewise.
27691 (libc_fesetroundl): Likewise.
27692 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27694 (libc_fesetroundf): New macro.
27695 (libc_fesetround): Likewise.
27696 (libc_fesetroundl): Likewise.
27697 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27698 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27699 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27701 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27702 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27704 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27705 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27707 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27711 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27712 integer constant usable in #if and use that to give value to enum
27714 (FE_DIVBYZERO): Likewise.
27715 (FE_UNDERFLOW): Likewise.
27716 (FE_OVERFLOW): Likewise.
27717 (FE_INVALID): Likewise.
27718 (FE_INVALID_SNAN): Likewise.
27719 (FE_INVALID_ISI): Likewise.
27720 (FE_INVALID_IDI): Likewise.
27721 (FE_INVALID_ZDZ): Likewise.
27722 (FE_INVALID_IMZ): Likewise.
27723 (FE_INVALID_COMPARE): Likewise.
27724 (FE_INVALID_SOFTWARE): Likewise.
27725 (FE_INVALID_SQRT): Likewise.
27726 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27727 (FE_TONEAREST): Likewise.
27728 (FE_TOWARDZERO): Likewise.
27729 (FE_UPWARD): Likewise.
27730 (FE_DOWNWARD): Likewise.
27731 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27732 (FE_DIVBYZERO): Likewise.
27733 (FE_OVERFLOW): Likewise.
27734 (FE_UNDERFLOW): Likewise.
27735 (FE_INEXACT): Likewise.
27736 (FE_TONEAREST): Likewise.
27737 (FE_DOWNWARD): Likewise.
27738 (FE_UPWARD): Likewise.
27739 (FE_TOWARDZERO): Likewise.
27740 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27741 (FE_UNDERFLOW): Likewise.
27742 (FE_OVERFLOW): Likewise.
27743 (FE_DIVBYZERO): Likewise.
27744 (FE_INVALID): Likewise.
27745 (FE_TONEAREST): Likewise.
27746 (FE_TOWARDZERO): Likewise.
27747 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27748 (FE_OVERFLOW): Likewise.
27749 (FE_UNDERFLOW): Likewise.
27750 (FE_DIVBYZERO): Likewise.
27751 (FE_INEXACT): Likewise.
27752 (FE_TONEAREST): Likewise.
27753 (FE_TOWARDZERO): Likewise.
27754 (FE_UPWARD): Likewise.
27755 (FE_DOWNWARD): Likewise.
27756 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27757 (FE_DIVBYZERO): Likewise.
27758 (FE_OVERFLOW): Likewise.
27759 (FE_UNDERFLOW): Likewise.
27760 (FE_INEXACT): Likewise.
27761 (FE_TONEAREST): Likewise.
27762 (FE_DOWNWARD): Likewise.
27763 (FE_UPWARD): Likewise.
27764 (FE_TOWARDZERO): Likewise.
27766 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27768 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27770 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27772 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27773 commands. Quote $PWD.
27774 (blacklist_exports): Don't use remove_newlines. Replace "declare
27776 (remove_newlines): Remove.
27778 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27780 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27781 * stdlib/stdlib.h (atof): Moved to ...
27782 * include/bits/stdlib-float.h: Here. New file.
27783 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27784 * stdlib/bits/stdlib-float.h: New file.
27785 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27787 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27790 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27792 * conform/conformtest.pl (@headers): Add fenv.h.
27793 * conform/data/fenv.h-data: New file.
27794 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27795 include of <math/fenv.h>.
27797 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27798 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27799 && !UNIX98]. Enables tests for XOPEN2K8.
27800 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27801 POSIX2008]: Likewise.
27803 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27804 (struct rusage): Do not expect type or its members.
27807 * math/math.h (FP_NAN): Define macro to integer constant usable in
27808 #if and use that to give value to enum constant.
27809 (FP_INFINITE): Likewise.
27810 (FP_ZERO): Likewise.
27811 (FP_SUBNORMAL): Likewise.
27812 (FP_NORMAL): Likewise.
27814 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27816 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27817 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27820 2012-11-02 Roland McGrath <roland@hack.frob.com>
27822 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27823 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27824 autoconf-time if not.
27825 * configure.in: Remove AC_PREREQ.
27827 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27829 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27830 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27831 of the internal implementation.
27833 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27835 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27836 except include of <misc/sys/syslog.h>.
27838 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27841 function returns with a NULL context exit with zero.
27843 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27845 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27847 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27849 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27850 (run_program_cmd): This.
27851 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27852 (tst_langinfo): New variable. Use it.
27854 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27856 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27857 floating point opcodes.
27859 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27861 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27864 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27866 * sysdeps/mach/hurd/powerpc: Remove directory.
27867 * sysdeps/mach/powerpc: Likewise.
27869 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27871 * scripts/check-local-headers.sh: Ignore c++ headers.
27873 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27875 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27876 __libc_cleanup_region_start argument.
27878 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27883 x * y using scaling, not as x * y + z.
27884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27885 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27886 * math/libm-test.inc (fma_test): Add more tests.
27887 (fma_test_towardzero): Likewise.
27888 (fma_test_downward): Likewise.
27889 (fma_test_upward): Likewise.
27891 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27893 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27895 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27897 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27900 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27902 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27904 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27911 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27914 Fix the order of the list for glibc 2.17.
27915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27918 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27922 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27925 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27926 for low part of x being zero before using __atanl (y).
27927 * math/libm-test.inc (atan2_test): Add another test.
27929 * manual/install.texi (Configuring and compiling): Document
27930 general use of test-wrapper and test-wrapper-env.
27931 * INSTALL: Regenerated.
27933 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27934 (__fma): Do not extract and scale down low bits on after-rounding
27935 systems when result rounded to normal precision would have normal
27937 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27938 (__fmal): Do not extract and scale down low bits on after-rounding
27939 systems when result rounded to normal precision would have normal
27941 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27942 (__fmal): Do not extract and scale down low bits on after-rounding
27943 systems when result rounded to normal precision would have normal
27945 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27947 (fma_test): Add more tests.
27948 (fma_test_towardzero): Likewise.
27949 (fma_test_downward): Likewise.
27950 (fma_test_upward): Likewise.
27952 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27954 * sysdeps/i386/tininess.h: Renamed to ...
27955 * sysdeps/x86/tininess.h: This.
27956 * sysdeps/x86_64/tininess.h: Removed.
27958 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27960 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27961 input. Use $(build-program-cmd).
27962 ($(objpfx)tst-array1-static.out): Likewise.
27963 ($(objpfx)tst-array2.out): Likewise.
27964 ($(objpfx)tst-array3.out): Likewise.
27965 ($(objpfx)tst-array4.out): Likewise.
27966 ($(objpfx)tst-array5.out): Likewise.
27967 ($(objpfx)tst-array5-static.out): Likewise.
27969 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27971 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27974 * nss/nsswitch.h (nss_interface_function): Provide new
27975 macro for use with NSS functions.
27976 * grp/initgroups.c: Use new macro.
27977 * nss/getXXbyYY.c: Likewise.
27978 * nss/getXXbyYY_r.c: Likewise.
27979 * nss/getXXent.c: Likewise.
27980 * nss/getXXent_r.c: Likewise.
27981 * sysdeps/posix/getaddrinfo.c: Likewise.
27983 2012-10-30 Andreas Jaeger <aj@suse.de>
27985 * po/ru.po: Update Russion translation from translation project.
27987 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27992 result and shift together with sticky bit instead of replicating
27993 round-to-nearest rounding.
27994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27996 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27997 missing underflow exceptions.
27998 (fma_test_towardzero): Add more tests.
27999 (fma_test_downward): Likewise.
28000 (fma_test_upward): Likewise.
28003 * sysdeps/generic/tininess.h: New file.
28004 * sysdeps/i386/tininess.h: Likewise.
28005 * sysdeps/sh/tininess.h: Likewise.
28006 * sysdeps/x86_64/tininess.h: Likewise.
28007 * stdlib/tst-strtod-underflow.c: Likewise.
28008 * stdlib/tst-tininess.c: Likewise.
28009 * stdlib/strtod_l.c: Include <tininess.h>.
28010 (round_and_return): Do not set errno for exact underflow cases.
28011 Force an underflow exception when setting errno for underflow.
28012 Determine underflow based on rounding to normal precision if
28013 TININESS_AFTER_ROUNDING.
28014 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28015 ERANGE for exact underflow cases.
28016 * stdlib/Makefile (tests): Add tst-tininess and
28017 tst-strtod-underflow.
28018 ($(objpfx)tst-tininess): Use $(link-libm).
28019 ($(objpfx)tst-strtod-underflow): Likewise.
28021 2012-10-30 Andreas Jaeger <aj@suse.de>
28024 * elf/Makefile (tests): Remove conditional for have-initfini-array
28025 since this is now always required and the variable does not exist
28027 (tests-static): Likewise.
28028 (modules-names): Likewise.
28030 * po/eo.po: Add Esperanto translation from translation project.
28032 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28033 merged with constructor/destructor.
28034 (init_array): Likewise.
28035 * elf/tst-array2dep.c (fini_array): Likewise.
28036 (init_array): Likewise.
28038 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28040 * manual/message.texi: Delete @cartouche tags.
28042 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28044 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28046 * sysdeps/mach/hurd/fsync.c: Likewise.
28048 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28049 [_POSIX_REALTIME_SIGNALS]: Change condition to
28050 [_POSIX_REALTIME_SIGNALS > 0].
28052 2012-10-27 Andreas Jaeger <aj@suse.de>
28054 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28055 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28056 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28057 [__WORDSIZE != 64]: Likewise.
28059 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28061 * iconvdata/tst-table.sh: Remove ${SHELL}.
28062 * iconvdata/tst-tables.sh: Likewise.
28064 2012-10-25 David S. Miller <davem@davemloft.net>
28066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28067 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28072 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28073 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28074 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28077 2012-10-25 Roland McGrath <roland@hack.frob.com>
28079 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28080 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28083 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28084 Jim Blandy <jimb@codesourcery.com>
28086 * scripts/cross-test-ssh.sh: New file.
28087 * manual/install.texi (Configuring and compiling): Document use of
28089 * INSTALL: Regenerated.
28091 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28093 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28096 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28098 * Makeconfig (run-program-prefix): Fix comment.
28100 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28101 Jim Blandy <jimb@codesourcery.com>
28103 * Makeconfig (test-wrapper): New variable,
28104 (test-wrapper-env): Likewise.
28105 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28106 (run-built-tests): Define to yes.
28107 (run-program-prefix): Use $(test-wrapper).
28108 (built-program-cmd): Likewise.
28109 * Rules (make-test-out): Use $(test-wrapper-env) and
28110 $(host-built-program-cmd).
28111 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28112 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28114 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28115 $(test-wrapper-env) to tst-rtld-load-self.sh.
28116 ($(objpfx)order2.out): Use $(test-wrapper).
28117 ($(objpfx)tst-initorder.out): Likewise.
28118 ($(objpfx)tst-initorder2.out): Likewise.
28119 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28120 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28121 (test_wrapper_env): New variable. Use it to run ld.so.
28122 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28123 Use it to run ld.so.
28124 (test_wrapper_env): Likewise.
28125 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28126 $(test-wrapper) to run-iconv-test.sh.
28127 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28128 (ICONV): Use $test_wrapper.
28129 * posix/Makefile ($(objpfx)globtest.out): Pass
28130 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28131 globtest.sh, not $(run-program-prefix).
28132 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28133 (test_wrapper): Likewise.
28134 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28135 set together with run_via_rtld_prefix.
28136 (run_program_prefix): Define in terms of test_wrapper and
28137 run_via_rtld_prefix.
28139 2012-10-24 Roland McGrath <roland@hack.frob.com>
28141 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28142 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28146 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28147 Declare __clock_getres, __clock_gettime, __clock_settime,
28148 __clock_nanosleep, and __clock_getcpuclockid.
28149 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28150 Remove librt_hidden_def (clock_gettime).
28151 * sysdeps/unix/clock_gettime.c: Likewise.
28152 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28153 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28154 * rt/clock_getres.c: Define __clock_getres as an alias.
28155 * sysdeps/posix/clock_getres.c: Likewise.
28156 * rt/clock_settime.c: Define __clock_settime as an alias.
28157 * sysdeps/unix/clock_settime.c: Likewise.
28158 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28159 * sysdeps/unix/clock_nanosleep.c: Likewise.
28160 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28161 * rt/clock-compat.c: New file.
28162 * rt/Makefile (librt-routines): Add clock-compat and move
28163 $(clock-routines) to ...
28164 (routines): ... here, new variable.
28165 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28166 Don't add get_clockfreq here.
28167 * rt/Versions (libc: GLIBC_2.17): New version set.
28168 Add clock_* symbols here.
28169 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28170 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28171 (GLIBC_2.17): Add clock_* symbols.
28172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28183 * NEWS: Mention the move.
28185 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28186 Use __open, __read, __close rather than their public counterparts.
28187 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28188 (__get_clockfreq_via_cpuinfo): Likewise.
28189 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28190 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28192 * config.h.in (HAVE_IFUNC): New #undef.
28193 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28195 * configure: Regenerated.
28197 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28199 * configure.in: Move READELF check to start of file.
28200 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28201 libc_cv_asm_gnu_indirect_function in the process.
28202 * configure: Regenerated.
28204 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28206 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28207 send the output to /dev/null.
28208 (libc_cv_cc_with_libunwind): Likewise.
28209 (libc_cv_as_noexecstack): Likewise.
28210 * configure: Regenerate.
28212 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28214 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28216 * posix/globtest.sh (TMPDIR): Do not set.
28217 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28218 (testout): Likewise.
28220 2012-10-24 Andreas Jaeger <aj@suse.de>
28222 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28223 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28224 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28225 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28226 posix_fadvise64, posix_fallocate64.
28228 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28229 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28230 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28232 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28234 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28237 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28238 <bits/fcntl-linux.h>.
28239 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28241 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28242 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28243 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28244 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28245 [__WORDSIZE != 64]: Likewise.
28247 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28249 * Makeconfig (run-built-tests): New variable.
28250 * Rules [$(cross-compiling) = yes]: Change condition to
28251 [$(run-built-tests) = no].
28252 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28253 to [$(run-built-tests) = yes].
28254 * elf/Makefile [$(cross-compiling) = no]: Likewise
28255 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28256 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28257 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28258 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28259 * io/Makefile [$(cross-compiling) = no]: Likewise.
28260 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28261 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28262 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28263 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28264 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28265 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28266 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28267 * string/Makefile [$(cross-compiling) = no]: Likewise.
28269 * posix/Makefile ($(objpfx)globtest.out): Pass
28270 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28271 $(rtld-installed-name).
28272 * posix/globtest.sh (elf_objpfx): Remove variable.
28273 (rtld_installed_name): Likewise.
28274 (library_path): Likewise.
28275 (run_program_prefix): New variable. Use for running globtest
28278 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28279 Joseph Myers <joseph@codesourcery.com>
28281 * Makeconfig (host-built-program-cmd): New variable.
28282 * elf/Makefile (tst-stackguard1-ARGS): Use
28283 $(host-built-program-cmd).
28284 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28285 (tst-spawn-ARGS): Likewise.
28286 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28288 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28289 Jim Blandy <jimb@codesourcery.com>
28291 * Makeconfig (run-via-rtld-prefix): New variable.
28292 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28293 (built-program-cmd): Likewise.
28295 2012-10-22 Andreas Jaeger <aj@suse.de>
28297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28298 __O_RSYNC if it exists, otherwise to O_SYNC.
28300 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28301 Joseph Myers <joseph@codesourcery.com>
28303 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28305 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28307 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28310 2012-10-22 Andreas Jaeger <aj@suse.de>
28312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28317 bits/fcntl-linux.h.
28319 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28320 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28327 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28328 Joseph Myers <joseph@codesourcery.com>
28330 * config.make.in (NM): New variable.
28332 2012-10-21 Andreas Jaeger <aj@suse.de>
28334 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28335 definitions and declarations that are provided by
28336 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28338 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28341 * elf/Makefile (tests-static): Add tst-leaks1-static.
28342 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28343 ($(objpfx)tst-leaks1-static): New rule.
28344 ($(objpfx)tst-leaks1-static-mem): Likewise.
28345 (tst-leaks1-static-ENV): New macro.
28346 * elf/dl-open.c (dl_open_worker): Check the main application
28347 only if SHARED is defined.
28348 * elf/tst-leaks1-static.c: New file.
28350 2012-10-20 Andreas Jaeger <aj@suse.de>
28352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28353 generic values for Linux.
28354 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28355 and declarations that are provided by <bits/fcntl-linux.h> and
28356 include <bits/fcntl-linux.h>.
28357 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28360 2012-10-20 Roland McGrath <roland@hack.frob.com>
28362 * io/fcntl.h: Move include of <bits/types.h> to the top and
28363 include it unconditionally.
28365 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28367 * wcsmbs/Makefile (tests-ifunc): New variable.
28368 (tests): Add $(tests-ifunc).
28369 * wcsmbs/test-wcschr-ifunc.c: New file.
28370 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28371 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28372 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28373 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28374 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28376 * string/Makefile (tests-ifunc): New variable.
28377 (tests): Add $(tests-ifunc).
28378 * string/test-memccpy.c (TEST_NAME): New macro.
28379 * string/test-memchr.c (TEST_NAME): Likewise.
28380 * string/test-memcmp.c (TEST_NAME): Likewise.
28381 * string/test-memcpy.c (TEST_NAME): Likewise.
28382 * string/test-memmem.c (TEST_NAME): Likewise.
28383 * string/test-memmove.c (TEST_NAME): Likewise.
28384 * string/test-memset.c (TEST_NAME): Likewise.
28385 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28386 * string/test-stpcpy.c (TEST_NAME): Likewise.
28387 * string/test-stpncpy.c (TEST_NAME): Likewise.
28388 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28389 * string/test-strcasestr.c (TEST_NAME): Likewise.
28390 * string/test-strcat.c (TEST_NAME): Likewise.
28391 * string/test-strchr.c (TEST_NAME): Likewise.
28392 * string/test-strcmp.c(TEST_NAME): Likewise.
28393 * string/test-strcpy.c (TEST_NAME): Likewise.
28394 * string/test-strcspn.c (TEST_NAME): Likewise.
28395 * string/test-strlen.c (TEST_NAME): Likewise.
28396 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28397 * string/test-strncmp.c (TEST_NAME): Likewise.
28398 * string/test-strncpy.c (TEST_NAME): Likewise.
28399 * string/test-strnlen.c (TEST_NAME): Likewise.
28400 * string/test-strpbrk.c (TEST_NAME): Likewise.
28401 * string/test-strrchr.c (TEST_NAME): Likewise.
28402 * string/test-strspn.c (TEST_NAME): Likewise.
28403 * string/test-strstr.c (TEST_NAME): Likewise.
28404 * string/test-bcopy-ifunc.c: New file.
28405 * string/test-bzero-ifunc.c: Likewise.
28406 * string/test-memccpy-ifunc.c: Likewise.
28407 * string/test-memchr-ifunc.c: Likewise.
28408 * string/test-memcmp-ifunc.c: Likewise.
28409 * string/test-memcpy-ifunc.c: Likewise.
28410 * string/test-memmem-ifunc.c: Likewise.
28411 * string/test-memmove-ifunc.c: Likewise.
28412 * string/test-mempcpy-ifunc.c: Likewise.
28413 * string/test-memset-ifunc.c: Likewise.
28414 * string/test-rawmemchr-ifunc.c: Likewise.
28415 * string/test-stpcpy-ifunc.c: Likewise.
28416 * string/test-stpncpy-ifunc.c: Likewise.
28417 * string/test-strcasecmp-ifunc.c: Likewise.
28418 * string/test-strcasestr-ifunc.c: Likewise.
28419 * string/test-strcat-ifunc.c: Likewise.
28420 * string/test-strchr-ifunc.c: Likewise.
28421 * string/test-strchrnul-ifunc.c: Likewise.
28422 * string/test-strcmp-ifunc.c: Likewise.
28423 * string/test-strcpy-ifunc.c: Likewise.
28424 * string/test-strcspn-ifunc.c: Likewise.
28425 * string/test-strlen-ifunc.c: Likewise.
28426 * string/test-strncasecmp-ifunc.c: Likewise.
28427 * string/test-strncat-ifunc.c: Likewise.
28428 * string/test-strncmp-ifunc.c: Likewise.
28429 * string/test-strncpy-ifunc.c: Likewise.
28430 * string/test-strnlen-ifunc.c: Likewise.
28431 * string/test-strpbrk-ifunc.c: Likewise.
28432 * string/test-strrchr-ifunc.c: Likewise.
28433 * string/test-strspn-ifunc.c: Likewise.
28434 * string/test-strstr-ifunc.c: Likewise.
28436 * debug/Makefile (tests-ifunc): New variable.
28437 (tests): Add $(tests-ifunc).
28438 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28439 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28440 * debug/test-stpcpy_chk-ifunc.c: New file.
28441 * debug/test-strcpy_chk-ifunc.c: Likewise.
28443 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28446 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28447 header is not read in.
28449 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28451 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28452 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28453 directly. Pass built executable to script as
28454 $(built-program-cmd).
28455 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28456 $testprogram without using LD_LIBRARY_PATH and $ldso.
28458 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28459 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28460 $(rtld-installed-name).
28461 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28462 (rtld_installed_name): Likewise.
28463 (library_path): Likewise.
28464 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28465 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28466 $(run-program-prefix) to tst-tables.sh.
28467 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28468 it to run tst-table-from and tst-table-to.
28469 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28470 Pass it to tst-table.sh.
28471 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28472 $(run-program-prefix) to tst-gettext.sh.
28473 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28475 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28477 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28478 to run tst-gettext.
28479 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28480 to run tst-gettext2.
28481 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28482 to run tst-translit.
28483 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28484 $(run-program-prefix) to tst-mtrace.sh.
28485 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28487 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28488 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28489 $(rtld-installed-name).
28490 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28491 (rtld_installed_name): Likewise.
28492 (run_program_prefix): New variable. Use it to run wordexp-test.
28494 * Makeconfig (ARCH): Remove all definitions.
28495 (machine): Likewise.
28496 [ARCH]: Remove conditional code.
28497 [!objdir]: Give error.
28498 [!objdir] (objpfx): Remove.
28499 [!objdir] (common-objpfx): Likewise.
28500 [!objdir] (common-objdir): Likewise.
28501 * configure.in (config_makefile): Remove. Hardcode Makefile in
28502 AC_CONFIG_FILES call.
28503 * configure: Regenerated.
28506 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28508 (testout): Likewise.
28510 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28511 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28512 $(rtld-installed-name).
28513 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28514 (rtld_installed_name): Likwise.
28515 (runit): Remove function.
28516 (run_getconf): New variable, Use it for running getconf binary.
28518 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28521 * string/test-memmem.c (check_result): New function.
28522 (do_one_test): Use it.
28523 (check1): New function.
28524 (test_main): Use it.
28526 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28528 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28530 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28532 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28533 (_G_LSEEK64): Likewise.
28534 (_G_MMAP64): Likewise.
28535 (_G_FSTAT64): Likewise.
28536 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28537 (_G_LSEEK64): Likewise.
28538 (_G_MMAP64): Likewise.
28539 (_G_FSTAT64): Likewise.
28540 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28541 unconditional. Call __mmap64 directly.
28542 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28543 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28544 __lseek64 directly.
28545 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28546 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28548 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28549 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28550 __lseek64 directly.
28551 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28552 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28553 __lseek64 directly.
28554 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28555 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28556 __lseek64 directly.
28557 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28558 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28559 __fxstat64 directly.
28560 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28561 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28563 (freopen64) [!_G_OPEN64]: Remove conditional code.
28564 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28566 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28567 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28569 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28570 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28572 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28573 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28575 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28576 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28578 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28579 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28581 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28582 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28584 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28586 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28589 * manual/memory.texi (Malloc Tunable Parameters): Add note
28590 about free list pointers overwriting some perturb bytes.
28591 Wording suggested by Roland McGrath.
28593 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28595 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28596 (lgamma_test): Likewise.
28597 (tgamma_test): Likewise.
28599 2012-10-16 Florian Weimer <fweimer@redhat.com>
28602 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28603 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28605 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28607 * NEWS: Mention BZ #14716.
28608 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28609 when removing AVAILABLE1_USES_J macro.
28611 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28613 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28614 (__bswap_64): __uint64_t for unsigned 64-bit int.
28616 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28618 * include/string.h (memmem): Declare libc hidden alias.
28619 * string/memmem.c (memmem): Define libc hidden alias.
28620 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28621 __read, __close instead of open, read, close.
28623 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28625 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28626 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28628 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28629 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28630 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28632 (__rawmemchr_sse2): Likewise.
28633 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28634 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28635 (__strchr_sse2): Likewise.
28636 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28637 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28638 (__strcasecmp_sse2): Likewise.
28639 (__strncasecmp_sse2): Likewise.
28640 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28641 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28642 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28643 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28644 (__strrchr_sse2): Likewise.
28645 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28647 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28648 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28649 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28650 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28651 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28652 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28653 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28654 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28655 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28656 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28657 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28658 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28659 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28660 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28661 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28662 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28663 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28664 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28665 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28666 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28667 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28668 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28669 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28670 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28671 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28672 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28673 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28674 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28675 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28676 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28678 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28680 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28681 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28682 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28683 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28685 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28687 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28688 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28689 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28690 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28692 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28693 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28694 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28695 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28696 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28697 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28698 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28699 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28700 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28701 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28702 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28703 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28704 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28705 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28706 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28707 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28708 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28709 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28710 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28711 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28712 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28713 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28714 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28715 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28716 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28717 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28718 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28719 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28720 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28721 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28722 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28723 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28724 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28725 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28726 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28727 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28728 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28729 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28730 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28731 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28732 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28734 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28735 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28736 * include/ifunc-impl-list.h: New file.
28737 * misc/ifunc-impl-list.c: Likewise.
28738 * misc/Makefile (routines): Add ifunc-impl-list.
28739 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28740 * string/test-string.h: Include <ifunc-impl-list.h>.
28741 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28742 TEST_NAME]: New variables.
28743 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28745 (test_init): Call __libc_ifunc_impl_list to initialize
28746 func_list if TEST_IFUNC and TEST_NAME are defined.
28748 * string/Makefile (strop-tests): Add bcopy and bzero.
28749 * string/test-bcopy.c: New file.
28750 * string/test-bzero.c: Likewise.
28751 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28753 * string/test-memset.c: Support bzero test if TEST_BZERO is
28755 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28757 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28759 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28762 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28764 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28765 * configure: Regenerated.
28767 * Makeconfig (+link-static-before-libc): Don't include
28768 $(link-static-libc).
28770 * libio/libio.h (_IO_pos_t): Remove.
28772 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28774 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28777 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28779 * crypt/crypt-entry.c: Include fips-private.h.
28780 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28781 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28782 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28783 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28785 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28787 * crypt/crypt-private.h: Include stdbool.h.
28788 (_ufc_setup_salt_r): Return bool.
28789 * crypt/crypt-entry.c: Include errno.h.
28790 (__crypt_r): Return NULL with EINVAL for bad salt.
28791 * crypt/crypt_util.c (bad_for_salt): New.
28792 (_ufc_setup_salt_r): Check that salt is long enough and within
28793 the specified alphabet.
28794 * crypt/badsalttest.c: New file.
28795 * crypt/Makefile (tests): Add it.
28796 ($(objpfx)badsalttest): New.
28798 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28800 * NEWS: Add entry for BZ #14602.
28802 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28804 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28806 * math/libm-test.inc: Update comment listing what functions and
28808 (isgreater_test): New function.
28809 (isgreaterequal_test): Likewise.
28810 (isless_test): Likewise.
28811 (islessequal_test): Likewise.
28812 (islessgreater_test): Likewise.
28813 (isunordered_test): Likewise.
28814 (main): Call the new functions.
28816 2012-10-09 Roland McGrath <roland@hack.frob.com>
28818 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28819 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28820 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28821 * sysdeps/i386/configure: Regenerated.
28822 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28823 * sysdeps/mach/configure: Regenerated.
28824 * sysdeps/mach/hurd/configure: Regenerated.
28825 * sysdeps/powerpc/configure: Regenerated.
28826 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28827 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28828 * sysdeps/s390/s390-32/configure: Regenerated.
28829 * sysdeps/s390/s390-64/configure: Regenerated.
28830 * sysdeps/sh/configure: Regenerated.
28831 * sysdeps/sparc/configure: Regenerated.
28832 * sysdeps/unix/sysv/linux/configure: Regenerated.
28833 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28834 * sysdeps/x86_64/configure: Regenerated.
28836 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28837 defined. Don't check if MAP is NULL.
28839 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28841 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28842 (_G_stat64): Likewise.
28843 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28844 (_G_stat64): Likewise.
28845 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28846 instead of struct _G_stat64.
28847 * libio/fileops.c (mmap_remap_check): Likewise.
28848 (decide_maybe_mmap): Likewise.
28849 (_IO_new_file_seekoff): Likewise.
28850 (_IO_file_stat): Likewise.
28851 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28853 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28854 instead of struct _G_stat64.
28855 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28857 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28860 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28862 (CHECK_EOL): New macro.
28863 (two_way_short_needle): Check beginning of haystack for EOL. Use
28865 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28866 Replace with CHECK_EOL.
28867 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28868 Replace with CHECK_EOL.
28870 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28872 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28874 * math/libm-test.inc: Update comment listing what functions and
28876 (finite_test): New function.
28877 (isinf_test): Likewise.
28878 (isnan_test): Likewise.
28879 (fpclassify_test): Test subnormal input.
28880 (isfinite_test): Likewise.
28881 (isnormal_test): Likewise.
28882 (main): Call the new functions.
28884 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28887 * Makerules (%.dynsym): Force C locale when running
28888 $(OBJDUMP) --dynamic-syms.
28890 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28892 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28895 2012-10-06 David S. Miller <davem@davemloft.net>
28897 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28898 upper 32-bits of the length value in %o2 since we use branch-on-register
28899 tests which consider the entire 64-bit register.
28901 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28903 * string/test-strstr.c (check2): Add a test for page boundary.
28905 2012-10-05 David S. Miller <davem@davemloft.net>
28907 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28908 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28910 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28912 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28913 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28914 and bzero when HWCAP_SPARC_CRYPTO is present.
28916 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28919 * string/test-strstr.c (check2): New function.
28920 (test_main): Call check2.
28922 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28924 * string/bug-strcasestr1.c (do_test): Moved to ...
28925 * string/test-strcasestr.c (check1): Here. New function.
28926 (do_one_test): Break out result checking code into ...
28927 (check_result): This. New function.
28928 (do_one_test): Call check_result.
28929 (test_main): Call check1.
28930 * string/bug-strchr1.c (do_test): Moved to ...
28931 * string/test-strchr.c (check1): Here. New function.
28932 (do_one_test): Break out result checking code into ...
28933 (check_result): This. New function.
28934 (do_one_test): Call check_result.
28935 (test_main): Call check1.
28936 * string/bug-strstr1.c (main): Moved to ...
28937 * string/test-strstr.c (check1): Here. New function.
28938 (do_one_test): Break out result checking code into ...
28939 (check_result): This. New function.
28940 (do_one_test): Call check_result.
28941 (test_main): Call check1.
28942 * string/bug-strcasestr1.c: Removed.
28943 * string/bug-strchr1.c: Likewise.
28944 * string/bug-strstr1.c: Likewise.
28946 * elf/Makefile (dl-routines): Add hwcaps.
28947 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28948 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28949 (_dl_important_hwcaps): Moved to ...
28950 * elf/dl-hwcaps.c: Here. New file.
28951 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28954 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28955 if IS_IN_rtld isn't defined.
28957 * elf/dl-support.c (_dl_sysinfo_map): New.
28958 Include "get-dynamic-info.h" and "setup-vdso.h".
28959 (_dl_non_dynamic_init): Call setup_vdso.
28960 * elf/dynamic-link.h: Don't include <assert.h>.
28961 (elf_get_dynamic_info): Moved to ...
28962 * elf/get-dynamic-info.h: Here. New file.
28963 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28964 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28965 * elf/setup-vdso.h: Here. New file.
28966 * elf/rtld.c: Include "setup-vdso.h".
28967 (dl_main): Call setup_vdso.
28969 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28971 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28972 creal in comment listing functions tested. List finite, isinf,
28973 isnan, isless, islessequal, isgreater, isgreaterequal,
28974 islessgreater, isunordered, lgamma_r and pow10 as functions and
28975 macros not tested. Mention which functions not tested are aliases
28976 for other functions. Fix typo. Note that signs of NaNs are not
28979 * scripts/config.guess: Update from config.git.
28980 * scripts/config.sub: Likewise.
28982 2012-10-04 Roland McGrath <roland@hack.frob.com>
28984 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28985 * misc/madvise.c (madvise): Renamed to __madvise.
28986 Make madvise a weak alias.
28987 * include/sys/mman.h: Declare __madvise.
28988 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28989 * sysdeps/unix/syscalls.list
28990 (madvise): Make __madvise the strong name, and madvise a weak alias.
28991 * sysdeps/unix/sysv/linux/syscalls.list
28992 (madvise, mmap): Remove redundant entries.
28993 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28994 * malloc/malloc.c (mtrim): Likewise.
28995 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28997 2012-10-03 Roland McGrath <roland@hack.frob.com>
28999 * sysdeps/mach/hurd/dl-cache.c: File removed.
29000 * config.h.in (USE_LDCONFIG): New #undef.
29001 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29002 * configure: Regenerated.
29003 * elf/Makefile (dl-routines): Add dl-cache only under
29004 [$(use-ldconfig) = yes].
29005 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29006 cache on [USE_LDCONFIG].
29007 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29009 * elf/rtld.c (dl_main): Likewise.
29011 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29013 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29014 _SC_LEVEL4_CACHE_LINESIZE.
29016 2012-10-03 Roland McGrath <roland@hack.frob.com>
29018 * sysdeps/unix/bsd/confstr.h: File removed.
29020 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29022 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29025 2012-10-02 Roland McGrath <roland@hack.frob.com>
29027 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29028 Make 'mapoff' field ElfW(Off) rather than off_t.
29030 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29032 * nscd/Makefile: Remove nscd-cflags and all its users.
29033 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29034 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29037 * malloc.c (malloc_printerr): Clarify error message.
29039 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29043 Set bit_FMA_Usable if FMA is supported.
29044 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29046 (bit_FMA4_Usable): Updated.
29047 (index_FMA_Usable): New macro.
29048 (CPUID_FMA): Likewise
29049 (HAS_FMA): Defined with bit_FMA_Usable.
29051 2012-10-01 Roland McGrath <roland@hack.frob.com>
29053 * bits/types.h (__swblk_t): Type removed.
29054 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29055 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29056 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29057 (__SWBLK_T_TYPE): Likewise.
29058 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29059 (__SWBLK_T_TYPE): Likewise.
29060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29061 (__SWBLK_T_TYPE): Likewise.
29062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29063 (__SWBLK_T_TYPE): Likewise.
29065 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29066 Honza Horak <hhorak@redhat.com>
29068 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29069 (xdr_mapname): Use YPMAXMAP as maxsize.
29070 (xdr_peername): Use YPMAXPEER as maxsize.
29071 (xdr_keydat): Use YPAXRECORD as maxsize.
29072 (xdr_valdat): Use YPMAXRECORD as maxsize.
29074 2012-10-01 Roland McGrath <roland@hack.frob.com>
29076 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29078 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29079 * csu/init-first.c: ... here.
29080 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29081 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29082 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29083 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29084 * sysdeps/i386/init-first.c: File removed.
29085 * sysdeps/sh/init-first.c: File removed.
29087 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29091 if x * y might underflow to zero and z is zero.
29092 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29093 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29094 * math/libm-test.inc (min_subnorm_value): New variable.
29095 (fma_test): Add more tests.
29096 (fma_test_towardzero): Likewise.
29097 (fma_test_downward): Likewise
29098 (fma_test_upward): Likewise.
29099 (initialize): Set min_subnorm_value.
29101 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29106 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29107 mode for addition resulting in exact zero.
29108 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29111 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29112 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29113 * math/libm-test.inc (fma_test): Add more tests.
29114 (fma_test_towardzero): New function.
29115 (fma_test_downward): Likewise.
29116 (fma_test_upward): Likewise.
29117 (main): Call the new functions.
29119 2012-09-28 David S. Miller <davem@davemloft.net>
29121 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29123 2012-09-28 Roland McGrath <roland@hack.frob.com>
29125 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29126 instead of SIGALRM.
29128 * sysdeps/gnu/_G_config.h: Moved to ...
29129 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29130 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29131 * sysdeps/generic/_G_config.h: ... here.
29133 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29135 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29137 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29138 Conditionalize target on [libnss_test1.so-version].
29140 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29142 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29143 (elfobjdir): Move out of conditionals.
29145 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29146 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29147 (__nss_lookup_function): Conditionalize label remove_from_tree on
29148 [!DO_STATIC_NSS || SHARED], matching its only use.
29150 2012-09-28 David S. Miller <davem@davemloft.net>
29152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29153 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29155 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29157 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29159 when HWCAP_SPARC_CRYPTO is present.
29161 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29163 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29165 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29168 * stdio-common/vfprintf.c (process_string_arg): Revert
29171 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29173 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29175 * stdio-common/tst-sprintf.c: Include <locale.h>
29176 (main): Test sprintf's handling of incomplete multibyte
29179 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29181 * elf/dl-runtime.c (VERSYMIDX): Removed.
29182 * elf/dl-version.c (VERSYMIDX): Likewise.
29183 * elf/do-rel.h (VERSYMIDX): Likewise.
29184 (VALIDX): Likewise.
29185 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29186 * elf/rtld.c (VALIDX): Likewise.
29187 (ADDRIDX): Likewise.
29188 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29189 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29190 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29191 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29192 (VALIDX): Likewise.
29193 (ADDRIDX): Likewise.
29195 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29197 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29199 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29202 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29204 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29205 addresses are in the same scope as 192.0.2/24.
29206 * posix/gai.conf: Document new scope table defaults.
29208 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29211 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29212 for ftell. Compute offsets from write pointers instead.
29213 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29215 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29218 * libio/Makefile (tests): New test case tst-fseek.
29219 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29220 combination works in wide mode.
29221 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29222 state when the external buffer state changes.
29224 2012-09-27 David S. Miller <davem@davemloft.net>
29227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29228 pass reloc->r_addend in as the 'high' argument to
29229 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29233 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29235 * rt/tst-aio2.c: Include <pthread.h>.
29236 * rt/tst-aio3.c: Likewise.
29238 2012-09-27 Steve Ellcey <sellcey@mips.com>
29240 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29242 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29244 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29245 contents on [SHARED].
29247 2012-09-26 Marek Polacek <polacek@redhat.com>
29251 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29252 for C++ and GCC <4.3 as well as for non GCC compilers.
29254 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29258 2012-09-25 Roland McGrath <roland@hack.frob.com>
29260 * Makefile.in (all, install): Declare with .PHONY.
29261 Reported by Michael Hope <michael.hope@linaro.org>.
29263 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29265 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29266 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29268 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29270 (sydep_routines): Add the new and the internal functions.
29271 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29272 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29274 (GLIBC_2.17): Add the new function.
29275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29276 (GLIBC_2.17): Likewise.
29277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29278 (GLIBC_2.17): Likewise.
29279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29280 (GLIBC_2.17): Likewise.
29281 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29283 2012-09-25 Alan Modra <amodra@gmail.com>
29285 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29286 Add release barrier before setting once_control to say
29287 initialisation is done. Add hints on lwarx. Use macro in
29289 (clear_once_control): Add release barrier.
29291 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29294 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29296 * math/s_clog10.c (__clog10): Likewise.
29297 * math/s_clog10f.c (__clog10f): Likewise.
29298 * math/s_clog10l.c (__clog10l): Likewise.
29299 * math/s_clogf.c (__clogf): Likewise.
29300 * math/s_clogl.c (__clogl): Likewise.
29301 * math/Makefile (libm-calls): Add x2y2m1.
29302 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29303 (__x2y2m1): Likewise.
29304 (__x2y2m1l): Likewise.
29305 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29306 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29310 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29311 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29312 * sysdeps/i386/fpu/libm-test-ulps: Update.
29313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29316 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29317 int as type of variable DEPTH.
29318 (glob): Use size_t instead of int as type of variables NEWCOUNT
29321 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29323 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29324 Add s_sincosf-sse2.
29325 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29326 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29327 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29328 macros for using routine as __sincosf_ia32.
29329 Use macro for function declaration and weak_alias.
29330 * sysdeps/i386/fpu/libm-test-ulps: Update.
29332 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29335 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29336 subnormal argument.
29337 * math/s_cexpf.c (__cexpf): Likewise.
29338 * math/s_csinf.c (__csinf): Likewise.
29339 * math/s_csinhf.c (__csinhf): Likewise.
29340 * math/s_ctanf.c (__ctanf): Likewise.
29341 * math/s_ctanhf.c (__ctanhf): Likewise.
29342 * math/s_ccosh.c (__ccoshf): Likewise.
29343 * math/s_cexp.c (__cexpl): Likewise.
29344 * math/s_csin.c (__csin): Likewise.
29345 * math/s_csinh.c (__csinh): Likewise.
29346 * math/s_ctan.c (__ctan): Likewise.
29347 * math/s_ctanh.c (ctanh): Likewise.
29348 * math/s_ccoshl.c (__ccoshl): Likewise.
29349 * math/s_cexpl.c (__cexpl): Likewise.
29350 * math/s_csinl.c (__csinl): Likewise.
29351 * math/s_csinhl.c (__csinhl): Likewise.
29352 * math/s_ctanl.c (__ctanl): Likewise.
29353 * math/s_ctanhl.c (__ctanhl): Likewise.
29355 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29357 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29358 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29359 (_IO_off_t): Define to __off_t, not _G_off_t.
29360 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29361 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29362 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29363 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29364 type of __dummy and __dummy2 fields.
29365 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29366 (_G_ssize_t): Likewise.
29367 (_G_off_t): Likewise.
29368 (_G_pid_t): Likewise.
29369 (_G_uid_t): Likewise.
29370 (_G_wchar_t): Likewise.
29371 (_G_wint_t): Likewise.
29372 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29373 (_G_ssize_t): Likewise.
29374 (_G_off_t): Likewise.
29375 (_G_pid_t): Likewise.
29376 (_G_uid_t): Likewise.
29377 (_G_wchar_t): Likewise.
29378 (_G_wint_t): Likewise.
29379 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29380 (_G_ssize_t): Likewise.
29381 (_G_off_t): Likewise.
29382 (_G_pid_t): Likewise.
29383 (_G_uid_t): Likewise.
29384 (_G_wchar_t): Likewise.
29385 (_G_wint_t): Likewise.
29387 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29389 * malloc/arena.c: Include malloc-sysdep.h.
29390 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29391 is sufficient to shrink the heap or an unmap is needed.
29392 * sysdeps/generic/malloc-sysdep.h: New file. Define
29393 new function check_may_shrink_heap.
29394 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29395 new function check_may_shrink_heap.
29397 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29399 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29402 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29404 * catgets/test-gencat.sh: Add "set -e".
29405 * elf/tst-pathopt.sh: Likewise.
29406 * grp/tst_fgetgrent.sh: Likewise.
29407 * iconvdata/run-iconv-test.sh: Likewise.
29408 * intl/tst-gettext.sh: Likewise.
29409 * intl/tst-gettext2.sh: Likewise.
29410 * intl/tst-gettext4.sh: Likewise.
29411 * intl/tst-gettext6.sh: Likewise.
29412 * intl/tst-translit.sh: Likewise.
29413 * io/ftwtest-sh: Likewise.
29414 * libio/test-freopen.sh: Likewise.
29415 * malloc/tst-mtrace.sh: Likewise.
29416 * posix/globtest.sh: Likewise.
29417 * posix/tst-getconf.sh: Likewise.
29418 * posix/wordexp-tst.sh: Likewise.
29419 * stdio-common/tst-printf.sh: Likewise.
29420 * stdio-common/tst-unbputc.sh: Likewise.
29421 * stdlib/tst-fmtmsg.sh: Likewise.
29422 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29423 * catgets/Makefile: Do not specify -e option when running
29424 testsuite shell scripts.
29425 * elf/Makefile: Likewise.
29426 * grp/Makefile: Likewise.
29427 * iconvdata/Makefile: Likewise.
29428 * intl/Makefile: Likewise.
29429 * io/Makefile: Likewise.
29430 * libio/Makefile: Likewise.
29431 * malloc/Makefile: Likewise.
29432 * posix/Makefile: Likewise.
29433 * stdio-common/Makefile: Likewise.
29434 * stdlib/Makefile: Likewise.
29435 * sysdeps/x86_64/Makefile: Likewise.
29437 * io/ftwtest-sh: Add copyright header.
29438 * posix/globtest.sh: Likewise.
29439 * posix/tst-getconf.sh: Likewise.
29440 * posix/wordexp-tst.sh: Likewise.
29441 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29443 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29446 * Makeconfig (+link): Defined as $(+link-static) if
29447 $(build-shared) isn't yes.
29448 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29450 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29452 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29455 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29456 new chunk size with MALLOC_ALIGN_MASK.
29458 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29461 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29463 (__printf_fphex): Determine rounding using get_rounding_mode and
29465 * stdio-common/tst-printf-round.c (struct hex_test): New
29467 (hex_tests): New variable.
29468 (test_hex_in_one_mode): New function.
29469 (do_test): Also run tests for hex float output.
29471 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29473 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29474 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29475 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29476 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29477 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29478 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29479 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29480 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29482 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29484 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29485 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29486 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29487 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29489 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29492 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29494 * elf/tst-rtld-load-self.sh: New test.
29495 * elf/Makefile: Run it.
29497 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29499 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29500 (tst-writev-ENV): Remove.
29501 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29503 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29505 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29507 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29509 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29511 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29513 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29514 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29515 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29518 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29521 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29522 * config.make.in (have-cpp-asm-debuginfo): Removed.
29523 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29524 * configure: Regenerated.
29526 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29529 * stdio-common/printf_fp.c: Include <stdbool.h> and
29531 (___printf_fp): Determine rounding using get_rounding_mode and
29533 * stdio-common/tst-printf-round.c: New file.
29534 * stdio-common/Makefile (tests): Add tst-printf-round.
29535 (link-libm): New variable.
29536 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29538 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29541 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29542 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29544 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29547 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29549 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29550 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29551 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29552 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29554 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29557 * include/rounding-mode.h: New file.
29558 * sysdeps/generic/get-rounding-mode.h: Likewise.
29559 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29560 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29561 (MAX_VALUE): New macro.
29562 (MIN_VALUE): Likewise.
29563 (overflow_value): New function.
29564 (underflow_value): Likewise.
29565 (round_and_return): Use overflow_value and underflow_value to
29566 determine return values in overflow and underflow cases. Use
29567 round_away to determine rounding depending on rounding mode.
29568 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29569 determine return values in overflow and underflow cases.
29570 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29571 (struct test_results): New structure.
29572 (struct test): Use struct test_results to store expected results
29573 for all rounding modes.
29574 (TEST): Include expected results for all rounding modes.
29575 (test_in_one_mode): New function.
29576 (do_test): Use test_in_one_mode to compute and check results.
29577 Check results for all rounding modes.
29578 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29581 2012-12-09 Allan McRae <allan@archlinux.org>
29583 * sysdeps/i386/fpu/libm-test-ulps: Update
29585 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29587 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29588 (_G_int32_t): Likewise.
29589 (_G_uint16_t): Likewise.
29590 (_G_uint32_t): Likewise.
29591 (_G_HAVE_BOOL): Likewise.
29592 (_G_HAVE_ATEXIT): Likewise.
29593 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29594 (_G_HAVE_IO_FILE_OPEN): Likewise.
29595 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29596 (_G_int32_t): Likewise.
29597 (_G_uint16_t): Likewise.
29598 (_G_uint32_t): Likewise.
29599 (_G_HAVE_BOOL): Likewise.
29600 (_G_HAVE_ATEXIT): Likewise.
29601 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29602 (_G_HAVE_IO_FILE_OPEN): Likewise.
29603 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29604 (_G_int32_t): Likewise.
29605 (_G_uint16_t): Likewise.
29606 (_G_uint32_t): Likewise.
29607 (_G_HAVE_BOOL): Likewise.
29608 (_G_HAVE_ATEXIT): Likewise.
29609 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29610 (_G_HAVE_IO_FILE_OPEN): Likewise.
29612 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29614 * csu/libc-tls.c: Update copyright years.
29616 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29618 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29619 [!_G_USING_THUNKS]: Remove conditional code.
29620 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29621 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29623 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29624 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29625 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29626 (_G_VTABLE_LABEL_PREFIX): Likewise.
29627 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29628 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29629 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29630 (_G_VTABLE_LABEL_PREFIX): Likewise.
29631 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29632 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29633 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29634 (_G_VTABLE_LABEL_PREFIX): Likewise.
29635 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29637 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29639 * libio/Makefile: Include ../Makeconfig before tests.
29640 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29641 only if $(build-shared) is yes.
29643 * iconv/gconv_db.c: Update copyright years.
29645 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29647 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29648 unwind info if defined PIC. Fix special cases description.
29649 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29651 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29653 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29655 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29657 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29659 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29662 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29663 (LDLIBS-tst-chk4): This.
29664 (LDFLAGS-tst-chk5): Renamed to ...
29665 (LDLIBS-tst-chk5): This.
29666 (LDFLAGS-tst-chk6): Renamed to ...
29667 (LDLIBS-tst-chk6): This.
29668 (LDFLAGS-tst-lfschk4): Renamed to ...
29669 (LDLIBS-tst-lfschk4): This.
29670 (LDFLAGS-tst-lfschk5): Renamed to ...
29671 (LDLIBS-tst-lfschk5): This.
29672 (LDFLAGS-tst-lfschk6): Renamed to ...
29673 (LDLIBS-tst-lfschk6): This.
29675 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29676 on $(common-objpfx)soversions.mk.
29678 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29681 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29684 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29686 * malloc/arena.c (arena_get_retry): New function that gets
29687 another arena for the caller to try its request on.
29688 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29689 current arena cannot fulfill the request.
29690 (__libc_memalign): Likewise.
29691 (__libc_memalign): Likewise.
29692 (__libc_pvalloc): Likewise.
29693 (__libc_calloc): Likewise.
29695 2012-09-05 John Tobey <john.tobey@gmail.com>
29698 * manual/arith.texi (Operations on Complex): Fix description
29699 of carg branch cut.
29701 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29704 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29708 * manual/memory.texi (Memory): Make order of menu items match
29711 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29713 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29714 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29715 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29717 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29719 * csu/libc-tls.c (static_dtv): Renamed to ...
29720 (_dl_static_dtv): This. Make it global.
29721 (_dl_initial_dtv): Removed.
29722 (__libc_setup_tls): Updated.
29723 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29724 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29727 2012-09-06 Petr Machata <pmachata@redhat.com>
29729 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29730 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29731 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29732 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29734 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29737 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29738 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29741 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29744 * Makeconfig (link-static-before-libc): Replace $(+prector)
29746 (link-static-after-libc): Replace $(+postctor) with
29748 (link-bounded): Replace $(+prector)/$(+postctor) with
29749 $(+prectorT)/$(+postctorT).
29750 (+prectorT): New macro.
29751 (+postctorT): Likewise.
29753 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29755 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29756 (round_str): Handle values above the maximum for IBM long double
29758 * stdlib/tst-strtod-round.c (tests): Regenerated.
29760 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29762 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29764 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29765 zarch_nohighgprs around the zarch optimized routines.
29766 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29767 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29768 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29771 2012-09-05 David S. Miller <davem@davemloft.net>
29773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29775 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29776 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29777 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29778 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29781 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29783 * malloc/arena.c: Fold copyright years.
29784 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29786 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29788 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29790 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29792 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29794 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29796 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29797 change internal state upon failure.
29799 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29801 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29802 * malloc/memusage.c (mmap): Likewise.
29803 (mmap64, mremap): Likewise. Adjust name in comment.
29805 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29807 * libio/fileops.c: Fix typos in comments.
29808 * libio/oldfileops.c: Likewise.
29809 * libio/wfileops.c: Likewise.
29811 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29814 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29815 (tst-malloc-usable-ENV): Set environment for test case.
29816 * malloc/hooks.c (malloc_check_get_size): New function to get
29818 * malloc/malloc.c (musable): Use malloc_check_get_size.
29819 * malloc/tst-malloc-usable.c: New test case.
29821 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29823 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29825 2012-09-05 Allan McRae <allan@archlinux.org>
29828 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29829 determine header location.
29830 * configure: Regenerated.
29832 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29834 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29836 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29837 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29839 (test): Regenerate.
29841 2012-09-04 David S. Miller <davem@davemloft.net>
29843 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29844 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29845 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29847 2012-09-04 Florian Weimer <fweimer@redhat.com>
29849 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29852 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29854 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29857 * libio/iogetdelim.c: Include <limits.h>.
29858 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29859 + len + 1 would overflow.
29861 2012-09-03 Andreas Jaeger <aj@suse.de>
29863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29864 * sysdeps/i386/fpu/libm-test-ulps: Update.
29866 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29868 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29869 Add s_sinf-sse2, s_conf-sse2.
29871 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29872 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29873 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29874 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29876 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29877 for using routine as __sinf_ia32.
29878 Use macro for function declaration and weak_alias.
29879 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29880 for using routine as __cosf_ia32.
29881 Use macro for function declaration and weak_alias.
29883 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29884 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29886 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29887 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29890 * math/libm-test.inc (cos_test): Add more test cases.
29891 (sin_test): Likewise.
29892 (sincos_test): Likewise.
29894 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29896 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29897 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29899 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29901 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29904 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29905 first element of the GOT.
29906 (elf_machine_load_address): Return the difference between
29907 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29909 2012-09-01 Allan McRae <allan@archlinux.org>
29912 * configure.in (AWK): Require gawk version 3.0 or later.
29913 * configure: Regenerated.
29915 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29917 * sysdeps/unix/sysv/linux/kernel-features.h
29918 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29919 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29920 [__NR_clock_getres]: Make code unconditional.
29921 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29922 (clock_getcpuclockid): Remove code left unreachable by removal of
29924 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29925 code unconditional.
29926 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29927 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29928 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29929 Make code unconditional.
29930 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29931 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29932 * sysdeps/unix/sysv/linux/clock_settime.c
29933 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29935 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29936 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29938 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29941 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29942 scripts/test-installation.pl.
29944 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29945 and $ld_so_version if it is set.
29947 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29950 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29951 failure if reading from procfs failed.
29952 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29954 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29956 * sysdeps/unix/sysv/linux/kernel-features.h
29957 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29958 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29959 Remove conditional code.
29960 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29961 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29962 Remove conditional code.
29963 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29964 * sysdeps/unix/sysv/linux/i386/fxstat.c
29965 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29966 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29967 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29968 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29969 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29970 * sysdeps/unix/sysv/linux/i386/lxstat.c
29971 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29972 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29973 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29974 Remove conditional code.
29975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29976 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29977 Remove conditional code.
29978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29979 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29980 <kernel-features.h>.
29981 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29983 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29984 Remove conditional code.
29985 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29986 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29987 Remove conditional.
29989 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29992 * NEWS: Add fixed bug number.
29994 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29997 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29998 underflowing exponent in case of negative sign.
29999 * stdlib/tst-strtod-round-data: Add more tests.
30000 * stdlib/tst-strtod-round.c (tests): Regenerated.
30003 * stdlib/strtod_l.c (NDIG): Remove.
30004 (HEXNDIG): Likewise.
30005 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30006 smallest representable value.
30007 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30008 lie within an exact representation of 1/2 ulp of the result.
30009 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30011 (TENS_P9_IDX): Define unconditionally.
30012 (TENS_P9_SIZE): Likewise.
30013 (TENS_P10_IDX): Likewise.
30014 (TENS_P10_SIZE): Likewise.
30015 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30016 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30017 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30018 entries for 10^2^13 and 10^2^14.
30019 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30020 (TENS_P13_IDX): Define.
30021 (TENS_P13_SIZE): Likewise.
30022 (TENS_P14_IDX): Likewise.
30023 (TENS_P14_SIZE): Likewise.
30024 (_fpioconst_pow10): Change array size to
30025 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30027 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30028 1024]: Add entries for 10^2^13 and 10^2^14.
30029 [LAST_POW10 > _LAST_POW10]: Remove #error.
30030 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30031 (_fpioconst_pow10): Change array size to
30032 FPIOCONST_POW10_ARRAY_SIZE.
30033 * stdlib/gen-fpioconst.c: New file.
30034 * stdlib/gen-tst-strtod-round.c: Likewise.
30035 * stdlib/tst-strtod-round-data: Likewise.
30036 * stdlib/tst-strtod-round.c: Likewise.
30037 * stdlib/Makefile (tests): Add tst-strtod-round.
30040 * stdlib/strtod_l.c: Include <stdint.h>.
30041 (NDEBUG): Do not define.
30042 (round_and_return): Change EXPONENT parameter to type intmax_t.
30043 Rearrange calculations to avoid internal overflow possibilities.
30044 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30045 Rearrange calculations to avoid internal overflow possibilities.
30046 Assert that number fits inside MPNSIZE limbs.
30047 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30048 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30049 calculations and add assertions to avoid internal overflow
30050 possibilities. Add casts to avoid signed/unsigned operations.
30051 * stdlib/tst-strtod-overflow.c: New file.
30052 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30054 2012-08-25 Marek Polacek <polacek@redhat.com>
30056 * time/time.h: Fix some typos in comments.
30058 2012-08-23 Roland McGrath <roland@hack.frob.com>
30060 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30061 * posix/tst-rfc3484-2.c: Likewise.
30062 * posix/tst-rfc3484-3.c: Likewise.
30064 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30066 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30067 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30069 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30071 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30072 #include of fxstatat64.c.
30074 2012-08-22 Roland McGrath <roland@hack.frob.com>
30076 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30077 * shadow/getspent_r.c: Likewise.
30078 * shadow/getspnam.c: Likewise.
30079 * shadow/getspnam_r.c: Likewise.
30080 * gshadow/getsgent.c: Likewise.
30081 * gshadow/getsgent_r.c: Likewise.
30082 * gshadow/getsgnam.c: Likewise.
30083 * gshadow/getsgnam_r.c: Likewise.
30084 * inet/getnetbyad.c: Likewise.
30085 * inet/getnetbyad_r.c: Likewise.
30086 * inet/getnetbynm.c: Likewise.
30087 * inet/getnetbynm_r.c: Likewise.
30088 * inet/getnetent.c: Likewise.
30089 * inet/getnetent_r.c: Likewise.
30090 * inet/getproto.c: Likewise.
30091 * inet/getproto_r.c: Likewise.
30092 * inet/getprtent.c: Likewise.
30093 * inet/getprtent_r.c: Likewise.
30094 * inet/getprtname.c: Likewise.
30095 * inet/getprtname_r.c: Likewise.
30096 * inet/getrpcbyname.c: Likewise.
30097 * inet/getrpcbyname_r.c: Likewise.
30098 * inet/getrpcbynumber.c: Likewise.
30099 * inet/getrpcbynumber_r.c: Likewise.
30100 * inet/getrpcent.c: Likewise.
30101 * inet/getrpcent_r.c: Likewise.
30102 * inet/getaliasent.c: Likewise.
30103 * inet/getaliasent_r.c: Likewise.
30104 * inet/getaliasname.c: Likewise.
30105 * inet/getaliasname_r.c: Likewise.
30106 * nscd/getgrgid_r.c: Likewise.
30107 * nscd/getgrnam_r.c: Likewise.
30108 * nscd/gethstbyad_r.c: Likewise.
30109 * nscd/gethstbynm3_r.c: Likewise.
30110 * nscd/getpwnam_r.c: Likewise.
30111 * nscd/getpwuid_r.c: Likewise.
30112 * nscd/getsrvbynm_r.c: Likewise.
30113 * nscd/getsrvbypt_r.c: Likewise.
30114 * nscd/gai.c: Likewise.
30116 * configure.in (build_nscd): New substituted variable, set
30117 by --disable-build-nscd and defaults to $use_nscd.
30118 * configure: Regenerated.
30119 * config.make.in (build-nscd): New substituted variable.
30120 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30121 Change conditional to require [$(build-nscd) = yes] as well.
30122 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30125 * configure.in (use_nscd): New substituted variable, set by
30126 --disable-nscd. If enabled, define USE_NSCD.
30127 * configure: Regenerated.
30128 * config.h.in: Add USE_NSCD.
30129 * config.make.in (use-nscd): New substituted variable.
30130 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30131 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30132 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30133 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30134 (CFLAGS-getgrnam_r.c): Likewise.
30135 (CFLAGS-initgroups.c): Likewise.
30136 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30137 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30139 * inet/getnetgrent_r.c
30140 (nscd_setnetgrent): New function, broken out of ...
30141 (setnetgrent): ... here. Call it.
30142 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30143 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30144 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30145 * nscd/Makefile (routines, aux): Move definitions after include of
30146 Makeconfig. Conditionalize on [$(use-nscd) != no].
30147 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30148 Conditionalize on [USE_NSCD].
30149 (is_nscd, nscd_init_cb): Likewise.
30150 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30151 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30152 * nss/nss_db/db-init.c: Likewise.
30153 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30155 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30156 (make_request): Use it.
30157 (cache_valid_p): New function.
30158 (__check_pf): Use it.
30159 * NEWS: Add item for --disable-nscd.
30161 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30163 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30164 to support sed >= 4.2.1-20-ga9bf076.
30165 * configure: Regenerated.
30167 2012-08-22 Roland McGrath <roland@hack.frob.com>
30169 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30170 Conditionalize whole body on [IREL].
30172 2012-08-22 Jeff Law <law@redhat.com>
30175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30176 if the family is PF_UNSPEC.
30178 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30180 * Makerules (lib-version): Rename from V.
30181 (install-lib-nosubdir): Change V to lib-version.
30183 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30186 * powerpc32/power6/wcschr.c: New file.
30187 * powerpc32/power6/wcscpy.c: New file.
30188 * powerpc32/power6/wcsrchr.c: New file.
30189 * powerpc64/power6/wcschr.c: New file.
30190 * powerpc64/power6/wcscpy.c: New file.
30191 * powerpc64/power6/wcsrchr.c: New file.
30193 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30195 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30196 (two_way_short_needle): Use it.
30197 * string/strstr.c (AVAILABLE1_USES_J): Define.
30198 * string/strcasestr.c: Likewise.
30200 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30202 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30205 * NEWS: Add an entry.
30206 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30207 define their defaults.
30208 (two_way_short_needle): Detect end-of-string on-the-fly.
30209 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30210 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30211 * string/bug-strcasestr1.c: New test.
30212 * string/Makefile: Run it.
30214 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30217 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30218 the first character.
30220 2012-08-21 Roland McGrath <roland@hack.frob.com>
30222 * csu/elf-init.c (__libc_csu_irel): Function removed.
30223 * csu/libc-start.c (apply_irel): New function.
30224 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30226 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30228 * sysdeps/unix/sysv/linux/kernel-features.h
30229 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30230 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30231 <kernel-features.h>.
30232 [__NR_fadvise64_64]: Make code unconditional.
30233 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30234 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30235 !__NR_fadvise64_64)]: Likewise.
30236 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30237 !__NR_fadvise64_64))]: Likewise.
30238 [__NR_fadvise64]: Make code unconditional.
30239 [!__NR_fadvise64]: Remove conditional code.
30240 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30241 <kernel-features.h>.
30242 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30244 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30247 not include <kernel-features.h>.
30248 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30250 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30252 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30253 include <kernel-features.h>.
30254 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30256 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30259 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30261 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30262 slight instruction rearrangements per scrollpipe analysis.
30263 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30265 2012-08-20 Roland McGrath <roland@hack.frob.com>
30267 * manual/syslog.texi (syslog; vsyslog, closelog):
30268 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30269 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30271 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30272 DSOCAPS to match condition on defining it.
30274 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30276 * sysdeps/unix/sysv/linux/kernel-features.h
30277 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30279 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30280 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30282 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30283 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30285 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30286 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30288 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30289 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30291 * sysdeps/unix/sysv/linux/kernel-features.h
30292 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30293 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30295 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30296 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30297 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30298 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30299 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30300 Make code unconditional.
30301 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30302 (__mmap64) [!__NR_mmap2]: Likewise.
30303 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30304 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30305 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30306 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30307 [__NR_mmap2]: Make code unconditional.
30308 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30309 (__mmap64) [!__NR_mmap2]: Likewise.
30311 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30313 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30315 2012-08-18 Andreas Jaeger <aj@suse.de>
30317 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30319 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30321 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30322 * include/unistd.h (__have_sock_cloexec): Likewise.
30323 (__have_pipe2): Likewise.
30324 (__have_dup3): Likewise.
30326 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30329 * include/unistd.h (__have_pipe2): Change define into an extern int.
30330 (__have_dup3): Likewise.
30331 * socket/have_sock_cloexec.c: Include fcntl.h.
30332 (__have_pipe2): New variable.
30333 (__have_dup3): Likewise.
30335 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30337 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30339 2012-08-17 Marek Polacek <polacek@redhat.com>
30341 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30342 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30344 2012-08-17 Roland McGrath <roland@hack.frob.com>
30346 * configure.in: Add AC_SUBST for sysheaders.
30347 * configure: Regenerated.
30348 * config.make.in (sysheaders): New substituted variable.
30350 * sysdeps/unix/mkfifo.c: Moved ...
30351 * sysdeps/posix/mkfifo.c: ... here.
30352 * sysdeps/unix/mkfifoat.c: Moved ...
30353 * sysdeps/posix/mkfifoat.c: ... here.
30355 * sysdeps/unix/utime.c: Moved ...
30356 * sysdeps/posix/utime.c: ... here.
30358 * sysdeps/unix/time.c: Moved ...
30359 * sysdeps/posix/time.c: ... here.
30360 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30361 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30363 * sysdeps/unix/nice.c: Moved ...
30364 * sysdeps/posix/nice.c: ... here.
30366 * sysdeps/unix/alarm.c: Moved ...
30367 * sysdeps/posix/alarm.c: ... here.
30369 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30371 2012-08-17 Jeff Law <law@redhat.com>
30373 * intl/Makefile (codeset_mo): New variable.
30374 ($(codeset_mo)): New target.
30375 (tst-codeset.out): Depend on that. Remove explicit rule.
30376 (tst-gettext3.out, tst-gettext5.out): Likewise.
30377 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30378 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30379 * intl/tst-codeset.sh: Remove.
30380 * intl/tst-gettext3.sh: Likewise.
30381 * intl/tst-gettext5.sh: Likewise.
30383 2012-08-17 Roland McGrath <roland@hack.frob.com>
30385 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30386 * sysdeps/unix/syscalls.list: ... here.
30388 * sysdeps/posix/getaddrinfo.c
30389 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30390 (gaiconf_init, gaiconf_reload): Use them.
30391 [!_STATBUF_ST_NSEC]
30392 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30393 Define using time_t rather than struct timespec.
30395 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30396 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30398 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30400 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30401 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30404 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30405 __libc_cleanup_push argument.
30407 * bits/param.h: New file.
30408 * misc/sys/param.h: New file.
30409 * include/sys/param.h: New file.
30410 * misc/Makefile (headers): Add bits/param.h.
30411 * sysdeps/generic/sys/param.h: File removed.
30412 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30413 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30414 * sysdeps/mach/hurd/bits/param.h: New file.
30415 * sysdeps/mach/hurd/sys/param.h: File removed.
30417 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30420 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30422 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30423 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30426 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30427 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30428 rather than -D_IO_MTSAFE_IO conditionally.
30429 * stdio-common/Makefile (CPPFLAGS): Likewise.
30430 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30431 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30432 Use $(libio-mtsafe).
30433 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30434 of -D_IO_MTSAFE_IO.
30435 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30436 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30437 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30438 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30439 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30440 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30441 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30442 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30443 (CFLAGS-fread_u_chk.c): Likewise.
30444 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30445 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30446 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30447 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30448 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30449 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30450 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30451 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30452 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30454 * libio/Makefile: Test [$(libc-reentrant) = yes]
30455 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30458 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30459 * sysdeps/pthread/configure: File removed.
30460 * sysdeps/pthread/Makeconfig: New file.
30461 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30462 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30464 2012-08-16 Gary Benson <gbenson@redhat.com>
30466 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30467 unmapping the first object in a namespace.
30469 2012-08-16 Roland McGrath <roland@hack.frob.com>
30471 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30472 (__internal_setnetgrent): ... this. Add internal_function to
30473 definition. Add libc_hidden_def.
30474 (setnetgrent): Update caller.
30475 (internal_endnetgrent): Renamed to ...
30476 (__internal_endnetgrent): ... this. Add internal_function to
30477 definition. Add libc_hidden_def.
30478 (endnetgrent): Update caller.
30479 (internal_getnetgrent_r): Renamed to ...
30480 (__internal_getnetgrent_r): ... this. Add internal_function to
30481 definition. Add libc_hidden_def.
30482 (__getnetgrent_r): Update caller.
30483 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30485 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30487 * stdlib/longlong.h: Update from GCC.
30489 2012-08-16 Roland McGrath <roland@hack.frob.com>
30491 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30492 on _QL, which is set by umul_ppmm but never used.
30493 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30494 variables, which are set by GMP macros but never used.
30495 * stdio-common/_itowa.c (_itowa): Likewise.
30496 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30497 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30499 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30501 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30502 struct La_sh_regs is not constant.
30503 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30504 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30505 and struct La_sparc64_regs are not constant.
30507 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30509 * sysdeps/unix/sysv/linux/kernel-features.h
30510 (__ASSUME_POSIX_TIMERS): Remove.
30511 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30512 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30513 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30514 Make code unconditional.
30515 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30516 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30517 Make code unconditional.
30518 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30519 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30520 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30521 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30522 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30523 Make code unconditional.
30524 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30525 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30526 (__libc_missing_posix_timers): Remove.
30528 2012-08-15 Roland McGrath <roland@hack.frob.com>
30530 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30531 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30533 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30535 * elf/dl-sym.c: Include <stdlib.h>.
30537 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30538 constants, which avoids warnings in 32-bit builds.
30540 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30541 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30543 * misc/lseek.c: File moved to ...
30544 * io/lseek.c: ... here.
30546 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30548 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30549 shifting LEN more than 31 bits at once.
30551 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30554 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30555 segmentation fault for a case of two empty input strings.
30556 * string/test-strncasecmp.c (check1): Renamed to...
30557 (bz12205): ...this.
30558 (bz14195): Add new testcase for two empty input strings and N > 0.
30559 (test_main): Call new testcase, adapt for renamed function.
30561 2012-08-15 Andreas Jaeger <aj@suse.de>
30564 * crypt/md5test2.c: New test, based on test supplied by Serge
30565 Belyshev <belyshev@depni.sinp.msu.ru>.
30566 * crypt/Makefile (xtests): Add md5test-giant..
30567 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30569 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30572 * crypt/md5.c (md5_process_block): Don't assume the buffer
30573 length is less than 2**32.
30574 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30575 length is less than 2**64.
30577 2012-08-15 Roland McGrath <roland@hack.frob.com>
30579 * string/str-two-way.h: Include <sys/param.h>.
30580 (MAX): Macro removed.
30582 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30583 Move #define and #undef of memmove to just before and after
30584 including <string.h>.
30586 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30587 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30588 and after including <string.h>. Move declarations of
30589 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30590 to before #include "string/memmove.c".
30592 * include/dirent.h: Declare __getdirentries.
30594 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30595 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30597 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30599 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30600 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30601 * sysdeps/i386/configure: Regenerated.
30602 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30603 STABS_CURRENT_FILE, and STABS_FUN.
30604 (END): Remove call to STABS_FUN_END.
30605 (STABS_CURRENT_FILE1): Delete.
30606 (STABS_CURRENT_FILE): Likewise.
30607 (STABS_FUN): Likewise.
30608 (STABS_FUN_END): Likewise.
30609 (STABS_FUN2): Likewise.
30610 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30611 * sysdeps/x86_64/configure: Regenerated.
30613 2012-08-14 Roland McGrath <roland@hack.frob.com>
30615 * elf/dl-open.c: Include <atomic.h>.
30616 * elf/dl-lookup.c: Likewise.
30618 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30620 * sysdeps/unix/sysv/linux/kernel-features.h
30621 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30622 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30624 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30626 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30627 condition on __ASSUME_CLONE_THREAD_FLAGS.
30629 2012-08-14 Andreas Jaeger <aj@suse.de>
30631 * sysdeps/i386/fpu/libm-test-ulps: Update.
30633 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30635 * include/atomic.h (atomic_exchange_and_add): Split into ...
30636 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30639 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30643 2012-08-13 Jeff Law <law@redhat.com>
30645 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30646 null byte in the output string.
30648 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30650 * sysdeps/unix/sysv/linux/kernel-features.h
30651 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30652 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30653 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30654 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30655 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30656 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30657 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30659 2012-08-09 Jeff Law <law@redhat.com>
30662 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30663 When avoid_arena is set, don't retry in the that arena. Pick the
30664 next one, whatever it might be.
30665 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30666 (arena_lock): Pass in new parameter to arena_get2.
30667 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30669 (__libc_malloc): Unify retrying after main arena failure with
30670 __libc_memalign version.
30671 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30673 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30676 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30677 to __redirect_strstr.
30678 (__strstr_sse42): Use typeof __redirect_strstr.
30679 (__strstr_ia32): Likewise.
30680 (__libc_strstr): New prototype.
30681 (strstr): Renamed to ...
30682 (__libc_strstr): This.
30683 (strstr): New strong alias of __libc_strstr.
30684 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30685 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30688 (__libc_time): New prototype.
30689 (time_ifunc): Replace time with __libc_time.
30690 (time): New strong alias and hidden definition of __libc_time.
30691 (__GI_time): Remove strong alias.
30692 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30693 Include <stddef.h>.
30694 (memmove): Redefined to __redirect_memmove.
30695 (__memmove_sse2): Use typeof __redirect_memmove.
30696 (__memmove_ssse3): Likewise.
30697 (__memmove_ssse3_back): Likewise.
30698 (__libc_memmove): New prototype.
30699 (memmove): Renamed to ...
30700 (__libc_memmove): This.
30701 (memmove): New strong alias of __libc_memmove.
30703 2012-08-08 Mark Salter <msalter@redhat.com>
30706 (R_MN10300_TLS_GD): Define.
30707 (R_MN10300_TLS_LD): Likewise.
30708 (R_MN10300_TLS_LDO): Likewise.
30709 (R_MN10300_TLS_GOTIE): Likewise.
30710 (R_MN10300_TLS_IE): Likewise.
30711 (R_MN10300_TLS_LE): Likewise.
30712 (R_MN10300_TLS_DTPMOD): Likewise.
30713 (R_MN10300_TLS_DTPOFF): Likewise.
30714 (R_MN10300_TLS_TPOFF): Likewise.
30715 (R_MN10300_SYM_DIFF): Likewise.
30716 (R_MN10300_ALIGN): Likewise.
30717 (R_MN10300_NUM): Update.
30719 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30721 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30724 2012-08-08 Roland McGrath <roland@hack.frob.com>
30726 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30728 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30729 sysdeps/unix -> sysdeps/posix move.
30730 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30732 2012-08-07 Allan McRae <allan@archlinux.org>
30735 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30736 (SUNOS_CPP): Likewise.
30737 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30739 (open_input): Call CPP using execvp.
30741 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30743 * sysdeps/unix/sysv/linux/kernel-features.h
30744 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30745 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30746 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30747 (__ASSUME_WAITID_SYSCALL): Likewise.
30748 * sysdeps/unix/sysv/linux/dl-execstack.c
30749 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30750 code unconditional.
30751 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30753 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30754 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30755 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30757 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30759 [__ASSUME_WAITID_SYSCALL]: Likewise.
30760 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30762 2012-08-07 Roland McGrath <roland@hack.frob.com>
30764 * sysdeps/unix/closedir.c: Renamed to ...
30765 * sysdeps/posix/closedir.c: ... here.
30766 * sysdeps/unix/dirfd.c: Renamed to ...
30767 * sysdeps/posix/dirfd.c: ... here.
30768 * sysdeps/unix/dirstream.h: Renamed to ...
30769 * sysdeps/posix/dirstream.h: ... here.
30770 * sysdeps/unix/fdopendir.c: Renamed to ...
30771 * sysdeps/posix/fdopendir.c: ... here.
30772 * sysdeps/unix/opendir.c: Renamed to ...
30773 * sysdeps/posix/opendir.c: ... here.
30774 * sysdeps/unix/readdir.c: Renamed to ...
30775 * sysdeps/posix/readdir.c: ... here.
30776 * sysdeps/unix/readdir_r.c: Renamed to ...
30777 * sysdeps/posix/readdir_r.c: ... here.
30778 * sysdeps/unix/rewinddir.c: Renamed to ...
30779 * sysdeps/posix/rewinddir.c: ... here.
30780 * sysdeps/unix/seekdir.c: Renamed to ...
30781 * sysdeps/posix/seekdir.c: ... here.
30782 * sysdeps/unix/telldir.c: Renamed to ...
30783 * sysdeps/posix/telldir.c: ... here.
30784 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30785 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30786 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30787 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30789 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30790 * bits/fcntl.h: ... here.
30792 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30794 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30795 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30796 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30797 (struct flock): Move l_start, l_len to the beginning.
30798 Use __pid_t for l_pid.
30799 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30800 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30801 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30802 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30803 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30804 [__USE_LARGEFILE64] (struct flock64): New type.
30805 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30807 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30808 * bits/dirent.h: ... here.
30810 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30811 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30813 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30815 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30816 Change from 2.6.0 to 2.6.16.
30817 * sysdeps/unix/sysv/linux/configure: Regenerated.
30818 * sysdeps/unix/sysv/linux/kernel-features.h
30819 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30820 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30822 (__ASSUME_UTIMES): Likewise.
30823 (__ASSUME_CLONE_STOPPED): Remove.
30824 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30825 architectures, not kernel version.
30826 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30827 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30828 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30829 (__ASSUME_WAITID_SYSCALL): Likewise.
30830 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30831 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30832 * README: State 2.6.16 as minimum Linux kernel version. Do not
30833 refer to older versions.
30835 2012-08-06 Roland McGrath <roland@hack.frob.com>
30837 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30838 Define alphasort64 as an alias.
30839 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30840 Define versionsort64 as an alias.
30841 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30842 Define scandir64 as an alias.
30843 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30844 Define scandirat64 as an alias.
30845 * dirent/alphasort64.c (alphasort64):
30846 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30847 * dirent/versionsort64.c: Likewise.
30848 * dirent/scandir64.c: Likewise.
30849 * dirent/scandirat64.c: Likewise.
30850 * sysdeps/wordsize-64/alphasort.c: File removed.
30851 * sysdeps/wordsize-64/alphasort64.c: File removed.
30852 * sysdeps/wordsize-64/scandir.c: File removed.
30853 * sysdeps/wordsize-64/scandir64.c: File removed.
30854 * sysdeps/wordsize-64/scandirat.c: File removed.
30855 * sysdeps/wordsize-64/scandirat64.c: File removed.
30856 * sysdeps/wordsize-64/versionsort.c: File removed.
30857 * sysdeps/wordsize-64/versionsort64.c: File removed.
30858 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30859 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30860 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30861 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30862 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30863 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30864 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30865 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30867 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30869 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30871 [defined __arch64__ || defined __sparcv9]
30872 (__INO_T_MATCHES_INO64_T): New macro.
30873 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30874 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30875 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30876 * sysdeps/unix/sysv/linux/bits/dirent.h
30877 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30878 (_DIRENT_MATCHES_DIRENT64): New macro.
30880 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30881 Define lockf64 as an alias.
30882 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30883 Define fseeko64 as an alias.
30884 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30885 Define ftello64 as an alias.
30886 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30887 Define _IO_fgetpos64 and fgetpos64 as aliases.
30888 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30889 Define _IO_fsetpos64 and fsetpos64 as aliases.
30890 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30891 Conditionalize body on this.
30892 * libio/fseeko64.c: Likewise.
30893 * libio/ftello64.c: Likewise.
30894 * libio/iofgetpos64.c: Likewise.
30895 * libio/iofsetpos64.c: Likewise.
30896 * sysdeps/wordsize-64/lockf.c: File removed.
30897 * sysdeps/wordsize-64/lockf64.c: File removed.
30898 * sysdeps/wordsize-64/fseeko.c: File removed.
30899 * sysdeps/wordsize-64/fseeko64.c: File removed.
30900 * sysdeps/wordsize-64/ftello.c: File removed.
30901 * sysdeps/wordsize-64/ftello64.c: File removed.
30902 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30903 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30904 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30905 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30906 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30907 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30908 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30909 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30910 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30911 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30912 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30913 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30914 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30915 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30917 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30919 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30920 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30921 [defined __arch64__ || defined __sparcv9]
30922 (__OFF_T_MATCHES_OFF64_T): New macro.
30923 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30924 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30926 (__OFF_T_MATCHES_OFF64_T): New macro.
30928 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30930 * stdlib/secure-getenv.c (__secure_getenv): Replace
30931 GLIBC_2_16 with GLIBC_2_17.
30933 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30935 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30936 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30938 2012-08-03 David S. Miller <davem@davemloft.net>
30940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30942 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30944 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30946 (__ASSUME_CORRECT_SI_PID): Likewise.
30947 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30948 (__ASSUME_TMPFS_NAME): Likewise.
30949 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30950 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30951 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30952 (HAVE_AUX_SECURE): Make definition unconditional.
30953 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30954 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30956 2012-08-03 Roland McGrath <roland@hack.frob.com>
30958 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30959 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30960 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30961 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30962 __eloop_threshold instead of SYMLOOP_MAX.
30964 * sysdeps/generic/eloop-threshold.h: New file.
30965 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30967 * elf/chroot_canon.c (chroot_canon): Likewise.
30969 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30973 Change to 2.6.0 everywhere.
30974 * sysdeps/unix/sysv/linux/configure: Regenerated.
30975 * sysdeps/unix/sysv/linux/kernel-features.h
30976 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30977 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30979 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30980 (__ASSUME_FUTEX_REQUEUE): Remove.
30981 (__ASSUME_STATFS64): Define unconditionally.
30982 (__ASSUME_AT_SECURE): Likewise.
30983 (__ASSUME_CORRECT_SI_PID): Likewise.
30984 (__ASSUME_TGKILL): Define without depending on kernel version for
30986 (__ASSUME_UTIMES): Likewise.
30987 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30989 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30990 (__ASSUME_TMPFS_NAME): Likewise.
30991 * README: Update reference to Linux kernel versions.
30993 2012-08-02 Marek Polacek <polacek@redhat.com>
30996 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30997 libc_cv_asm_type_prefix with %.
30998 * configure: Regenerated.
30999 * include/libc-symbols.h: Remove comment about
31000 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31001 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31002 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31003 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31004 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31005 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31006 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31007 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31008 * elf/tst-unique2mod1.c: Likewise.
31009 * elf/tst-unique1mod2.c: Likewise.
31010 * elf/tst-unique1mod1.c: Likewise.
31011 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31012 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31013 Replace ASM_TYPE_DIRECTIVE with .type.
31014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31015 * sysdeps/i386/sysdep.h: Likewise.
31016 * sysdeps/x86_64/sysdep.h: Likewise.
31017 * sysdeps/sh/sysdep.h: Likewise.
31018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31019 Do not define ASM_TYPE_DIRECTIVE.
31020 * sysdeps/powerpc/sysdep.h: Likewise.
31021 * sysdeps/powerpc/powerpc32/sysdep.h:
31022 Replace ASM_TYPE_DIRECTIVE with .type.
31023 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31024 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31025 * sysdeps/i386/fpu/e_powf.S: Likewise.
31026 * sysdeps/i386/fpu/e_expl.S: Likewise.
31027 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31028 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31029 * sysdeps/i386/fpu/e_pow.S: Likewise.
31030 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31031 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31032 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31033 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31034 * sysdeps/i386/fpu/e_log2.S: Likewise.
31035 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31036 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31037 * sysdeps/i386/fpu/e_powl.S: Likewise.
31038 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31039 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31040 * sysdeps/i386/fpu/e_logl.S: Likewise.
31041 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31042 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31043 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31044 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31045 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31046 * sysdeps/i386/fpu/e_log.S: Likewise.
31047 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31048 * sysdeps/i386/fpu/e_logf.S: Likewise.
31049 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31050 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31051 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31052 * sysdeps/i386/fpu/e_log10.S: Likewise.
31053 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31054 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31055 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31056 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31057 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31058 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31059 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31060 * sysdeps/i386/i686/strtok.S: Likewise.
31061 * sysdeps/i386/i386-mcount.S: Likewise.
31062 * sysdeps/i386/strtok.S: Likewise.
31063 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31064 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31065 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31066 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31067 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31068 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31069 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31070 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31071 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31072 * sysdeps/x86_64/_mcount.S: Likewise.
31073 * sysdeps/x86_64/strtok.S: Likewise.
31074 * sysdeps/sh/_mcount.S: Likewise.
31076 2012-08-01 Roland McGrath <roland@hack.frob.com>
31078 * libio/iofopen.c: Include <fcntl.h>.
31079 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31080 (_IO_fopen64, fopen64): Define as aliases.
31081 * libio/iofopen64.c: Include <fcntl.h>.
31082 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31083 Conditionalize body on this.
31084 * sysdeps/wordsize-64/iofopen.c: File removed.
31085 * sysdeps/wordsize-64/iofopen64.c: File removed.
31087 2012-08-01 Marek Polacek <polacek@redhat.com>
31089 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31090 Use dlfcn directly instead of a variable.
31091 (binfmt-subdir): Do not define.
31094 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31096 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31097 Remove all definitions.
31098 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31099 <kernel-features.h>.
31100 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31101 (miss_F_GETOWN_EX): Remove all definitions.
31102 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31104 [!__ASSUME_FCNTL64]: Remove conditional code.
31105 [__ASSUME_FCNTL64]: Make code unconditional.
31106 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31107 <kernel-features.h>.
31108 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31109 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31110 (lockf64) [__NR_fcntl64]: Make code unconditional.
31111 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31113 * sysdeps/unix/sysv/linux/kernel-features.h
31114 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31115 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31116 Make code unconditional.
31117 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31118 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31120 [__NR_vfork]: Make code unconditional.
31121 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31122 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31124 [__NR_vfork]: Make code unconditional.
31125 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31126 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31128 2012-08-01 Roland McGrath <roland@hack.frob.com>
31130 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31131 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31133 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31134 Define mkstemp64 as an alias.
31135 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31136 Define mkstemps64 as an alias.
31137 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31138 Define mkostemp64 as an alias.
31139 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31140 Define mkostemps64 as an alias.
31141 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31142 Conditionalize body on this.
31143 * misc/mkostemp64.c: Likewise.
31144 * misc/mkostemps64.c: Likewise.
31145 * misc/mkstemps64.c: Likewise.
31146 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31147 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31148 * sysdeps/wordsize-64/mkostemp.c: File removed.
31149 * sysdeps/wordsize-64/mkstemp.c: File removed.
31150 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31151 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31152 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31153 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31156 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31157 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31158 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31159 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31161 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31162 compat_symbol macros from <shlib-compat.h> rather than the underlying
31163 default_symbol_version and symbol_version macros, so that DEFAULT
31164 lines in shlib-versions are respected.
31165 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31167 2012-08-01 Florian Weimer <fweimer@redhat.com>
31169 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31170 Declare with warn_unused_result.
31171 (setgid, setregid, setegid, setresgid): Likewise.
31172 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31174 * WUR-REPORT: Remove set*id functions.
31176 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31178 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31180 2012-07-31 Roland McGrath <roland@hack.frob.com>
31183 * include/sys/socket.h (__libc_accept, __libc_accept4):
31184 Add attribute_hidden.
31185 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31187 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31189 * inet/getnetgrent_r.c (setup): Likewise.
31191 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31193 2012-07-31 David S. Miller <davem@davemloft.net>
31195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31197 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31200 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31201 value between 1.0 and 2.0 and smaller part has absolute value less
31203 * math/s_clog10.c (__clog10): Likewise.
31204 * math/s_clog10f.c (__clog10f): Likewise.
31205 * math/s_clog10l.c (__clog10l): Likewise.
31206 * math/s_clogf.c (__clogf): Likewise.
31207 * math/s_clogl.c (__clogl): Likewise.
31208 * math/libm-test.inc (clog_test): Add more tests.
31209 (clog10_test): Likewise.
31210 * sysdeps/i386/fpu/libm-test-ulps: Update.
31211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31213 2012-07-31 Florian Weimer <fweimer@redhat.com>
31215 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31216 Exit with zero in case no suitable GID is found, and write a
31217 message to standard error.
31219 2012-07-30 Roland McGrath <roland@hack.frob.com>
31221 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31223 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31224 (MAXPATHLEN): Removed.
31225 (NOGROUP, NODEV): New macros.
31226 (setbit, clrbit, isset, isclr): New macros.
31227 (howmany, roundup, powerof2): New macros.
31228 (DEV_BSIZE): New macro.
31230 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31231 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31233 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31234 definition on [!__NO_LONG_DOUBLE_MATH].
31236 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31237 PTR_MANGLE and PTR_DEMANGLE.
31239 * socket/accept4.c (accept4): Rename to __libc_accept4.
31240 Define accept4 as a weak alias.
31242 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31243 on [_DIRENT_HAVE_D_TYPE].
31244 * io/ftw.c (ftw_dir): Likewise.
31246 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31248 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31250 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31251 Use the BSD numbers rather than the arbitrary ones we had.
31252 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31253 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31254 (SIGXCPU, SIGXFSZ): New macros.
31257 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31258 initializer on [_LIBC_REENTRANT].
31260 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31261 definitions inside [_POSIX_MAPPED_FILES].
31263 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31265 * dirent/opendir.c: Include <fcntl.h>.
31267 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31268 (__libc_getspecific): Likewise.
31269 (__libc_key_create): Likewise.
31271 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31272 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31273 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31274 (tmpfile64): Define as alias.
31275 * sysdeps/wordsize-64/tmpfile.c: File removed.
31276 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31277 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31278 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31280 * stdio-common/vfscanf.c: Include <stdbool.h>.
31281 * nss/makedb.c: Likewise.
31282 * stdio-common/_i18n_number.h: Likewise.
31283 * argp/argp-help.c: Likewise.
31284 * posix/wordexp.c: Likewise.
31285 * sysdeps/posix/spawni.c: Likewise.
31286 * nss/nss_files/files-initgroups.c: Likewise.
31287 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31288 * nss/nss_files/files-initgroups.c: Likewise.
31289 * nss/nss_db/db-netgrp.c: Likewise.
31290 * nss/nss_db/db-initgroups.c: Likewise.
31291 * io/fchmodat.c: Include <sys/stat.h>.
31293 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31294 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31296 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31299 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31300 Add multiple inclusion protection.
31302 2012-07-27 David S. Miller <davem@davemloft.net>
31304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31306 2012-07-27 Gary Benson <gbenson@redhat.com>
31309 * elf/rtld.c: Include <stap-probe.h>.
31310 (dl_main): Added static probes "init_start" and "init_complete".
31311 * elf/dl-load.c: Include <stap-probe.h>.
31312 (lose): Take new parameter "nsid".
31313 Added static probe "map_failed".
31314 (_dl_map_object_from_fd): Pass namespace id to lose.
31315 Added static probe "map_start".
31316 (open_verify): Pass namespace id to lose.
31317 * elf/dl-open.c: Include <stap-probe.h>.
31318 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31319 and "reloc_complete".
31320 * elf/dl-close.c: Include <stap-probe.h>.
31321 (_dl_close_worker): Added static probes "unmap_start" and
31323 * elf/rtld-debugger-interface.txt: New file documenting the above.
31325 2012-07-26 Roland McGrath <roland@hack.frob.com>
31327 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31328 rather than a string variable.
31329 * sunrpc/rpc_main.c (h_output): Likewise.
31330 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31332 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31334 * inet/check_native.c: New file.
31336 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31339 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31340 if larger part has absolute value 1.0.
31341 * math/s_clog10.c (__clog10): Likewise.
31342 * math/s_clog10f.c (__clog10f): Likewise.
31343 * math/s_clog10l.c (__clog10l): Likewise.
31344 * math/s_clogf.c (__clogf): Likewise.
31345 * math/s_clogl.c (__clogl): Likewise.
31346 * math/libm-test.inc (clog_test): Add more tests.
31347 (clog10_test): Likewise.
31348 * sysdeps/i386/fpu/libm-test-ulps: Update.
31349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31351 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31352 (pltexit): Likewise.
31353 (La_regs): Likewise.
31354 (La_retval): Likewise.
31355 (int_retval): Likewise.
31356 Update #error for removed macros to refer only to definitions in
31358 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31360 (pltexit): Likewise.
31361 (La_regs): Likewise.
31362 (La_retval): Likewise.
31363 (int_retval): Likewise.
31364 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31366 (pltexit): Likewise.
31367 (La_regs): Likewise.
31368 (La_retval): Likewise.
31369 (int_retval): Likewise.
31370 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31372 (pltexit): Likewise.
31373 (La_regs): Likewise.
31374 (La_retval): Likewise.
31375 (int_retval): Likewise.
31376 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31378 (pltexit): Likewise.
31379 (La_regs): Likewise.
31380 (La_retval): Likewise.
31381 (int_retval): Likewise.
31382 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31384 (pltexit): Likewise.
31385 (La_regs): Likewise.
31386 (La_retval): Likewise.
31387 (int_retval): Likewise.
31388 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31390 (pltexit): Likewise.
31391 (La_regs): Likewise.
31392 (La_retval): Likewise.
31393 (int_retval): Likewise.
31394 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31395 macro definitions in tst-audit.h.
31396 * sysdeps/i386/tst-audit.h: New file.
31397 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31398 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31399 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31400 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31401 * sysdeps/sh/tst-audit.h: Likewise.
31402 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31403 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31404 * sysdeps/x86_64/tst-audit.h: Likewise.
31406 2012-07-26 Andreas Jaeger <aj@suse.de>
31408 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31411 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31412 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31413 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31415 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31416 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31417 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31419 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31422 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31424 (si_call_addr, si_syscall, si_arch): Define new macro.
31425 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31427 (si_call_addr, si_syscall, si_arch): Define new marcro.
31428 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31430 (si_call_addr, si_syscall, si_arch): Define new macro.
31431 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31433 (si_call_addr, si_syscall, si_arch): Define new macro.
31435 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31438 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31439 Change to 2.4.21 where previously 2.4.1.
31440 * sysdeps/unix/sysv/linux/configure: Regenerated.
31441 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31442 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31443 Linux kernel version.
31444 (__ASSUME_STD_AUXV): Remove.
31445 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31447 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31448 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31449 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31450 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31451 (__ASSUME_NETLINK_SUPPORT): Likewise.
31452 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31453 (__no_netlink_support): Remove conditional definition.
31454 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31456 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31457 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31458 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31459 (if_nameindex_ioctl): Remove.
31460 (if_nameindex_netlink): Do not handle __no_netlink_support.
31461 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31463 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31464 Remove conditional code.
31465 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31467 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31469 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31470 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31471 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31473 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31474 [!__ASSUME_STD_AUXV]: Remove conditional code.
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31476 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31477 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31479 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31480 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31482 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31484 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31485 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31487 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31489 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31492 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31495 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31496 code unconditional.
31497 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31499 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31501 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31504 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31506 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31509 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31510 code unconditional.
31511 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31513 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31515 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31518 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31519 code unconditional.
31520 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31522 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31524 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31527 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31529 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31530 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31531 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31532 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31533 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31534 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31535 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31536 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31537 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31538 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31539 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31540 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31541 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31542 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31543 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31544 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31545 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31546 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31547 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31549 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31550 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31551 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31553 2012-07-25 Florian Weimer <fweimer@redhat.com>
31555 * Versions.def: Add GLIBC_2.17.
31556 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31557 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31558 Introduce __libc_secure_getenv.
31559 * stdlib/Versions (2.17): Add secure_getenv
31560 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31561 * stdlib/secure-getenv.c: Rename __secure_getenv to
31562 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31563 symbol __secure_getenv for GLIBC_2.0.
31564 * stdlib/tst-secure-getenv.c: New.
31565 * stdlib/Makefile (tests): Add testcase.
31566 * manual/startup.texi (Environment Access): Document
31568 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31569 __libc_secure_getenv.
31570 * inet/ruserpass.c (ruserpass): Likewise.
31571 * malloc/mtrace.c (mtrace): Likewise.
31572 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31573 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31574 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31575 * sysdeps/posix/tempname.c: Likewise. Evaluate
31576 HAVE_SECURE_GETENV.
31577 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31578 __secure_getenv to __libc_secure_getenv.
31579 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31592 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31594 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31595 (struct La_i86_retval): Likewise.
31596 (struct La_x86_64_regs): Likewise.
31597 (struct La_x86_64_retval): Likewise.
31598 (struct La_x32_regs): Likewise.
31599 (struct La_x32_retval): Likewise.
31600 (struct La_ppc32_regs): Likewise.
31601 (struct La_ppc32_retval): Likewise.
31602 (struct La_ppc64_regs): Likewise.
31603 (struct La_ppc64_retval): Likewise.
31604 (struct La_sh_regs): Likewise.
31605 (struct La_sh_retval): Likewise.
31606 (struct La_s390_32_regs): Likewise.
31607 (struct La_s390_32_retval): Likewise.
31608 (struct La_s390_64_regs): Likewise.
31609 (struct La_s390_64_retval): Likewise.
31610 (struct La_sparc32_regs): Likewise.
31611 (struct La_sparc32_retval): Likewise.
31612 (struct La_sparc64_regs): Likewise.
31613 (struct La_sparc64_retval): Likewise.
31614 (struct audit_ifaces): Remove architecture-specific pltenter and
31616 * sysdeps/i386/ldsodefs.h: New file.
31617 * sysdeps/powerpc/ldsodefs.h: Likewise.
31618 * sysdeps/s390/ldsodefs.h: Likewise.
31619 * sysdeps/sh/ldsodefs.h: Likewise.
31620 * sysdeps/sparc/ldsodefs.h: Likewise.
31621 * sysdeps/x86_64/ldsodefs.h: Likewise.
31623 2012-07-25 Marek Polacek <polacek@redhat.com>
31626 * math/libm-test.inc (yn_test): Add another test.
31627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31628 to ERANGE when the result is +-Inf.
31629 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31630 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31631 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31632 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31634 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31636 * conform/data/time.h-data (NULL): Use macro-constant. Require
31638 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31640 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31642 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31644 * configure.in <sysdeps resolving>: Correct printing
31646 * configure: Regenerate.
31648 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31650 * math/w_ilogb.c: Include <limits.h>.
31651 * math/w_ilogbl.c: Likewise.
31653 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31655 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31656 va_copy. Document allowing for unavailable va_copy only as
31657 pre-C99 compatibility.
31658 * manual/string.texi (Copying and Concatenation): Use va_copy
31659 instead of __va_copy in concat example.
31661 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31663 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31664 (__sendto): Use create_address_port. Initialize APORT and deallocate
31667 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31668 with O_NOLINK passed to __file_name_lookup.
31670 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31671 with O_NOLINK passed to __file_name_lookup.
31673 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31674 negative N or less than NGIDS.
31676 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31677 type to string_t. Set ERANGE as errno and return it if NAME is not big
31678 enough. Use memcpy instead of strncpy.
31680 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31682 * elf/Makefile (check-data): Remove.
31683 (localplt.data): New vpath directive.
31684 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31685 instead of $(check-data).
31686 * scripts/data/localplt-generic.data: Move to ...
31687 * sysdeps/generic/localplt.data: ... here.
31688 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31689 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31690 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31693 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31696 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31699 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31702 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31705 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31709 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31711 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31712 PPC32 and PPC64 files.
31713 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31714 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31716 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31718 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31719 __makecontext_ret to ...
31720 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31721 ... here and call exit if uc_link is NULL. New file.
31722 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31723 __makecontext_ret.S.
31724 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31725 __makecontext_ret to ...
31726 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31727 ... here and call exit if uc_link is NULL. New file.
31728 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31729 __makecontext_ret.S.
31731 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31733 * elf/elf.h (R_390_IRELATIVE): New definition.
31734 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31735 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31736 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31737 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31738 (elf_machine_lazy_rel): Likewise.
31739 * sysdeps/s390/dl-irel.h: New file.
31740 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31741 * sysdeps/s390/s390-64/memset.S: New asm code.
31742 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31743 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31744 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31745 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31746 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31747 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31748 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31749 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31750 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31751 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31752 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31753 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31754 * sysdeps/s390/s390-32/memset.S: New asm code.
31755 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31757 2012-07-17 Marek Polacek <polacek@redhat.com>
31760 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31761 * sysdeps/s390/s390-64/configure.in: Likewise.
31762 * sysdeps/sparc/configure.in: Likewise.
31763 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31764 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31765 * sysdeps/i386/configure.in: Likewise.
31766 * sysdeps/x86_64/configure.in: Likewise.
31767 * sysdeps/sh/configure.in: Likewise.
31768 * sysdeps/s390/s390-32/configure: Regenerated.
31769 * sysdeps/s390/s390-64/configure: Likewise.
31770 * sysdeps/x86_64/configure: Likewise.
31771 * sysdeps/sh/configure: Likewise.
31772 * sysdeps/powerpc/powerpc64/configure: Likewise.
31773 * sysdeps/powerpc/powerpc32/configure: Likewise.
31774 * sysdeps/sparc/configure: Likwise.
31775 * sysdeps/i386/configure: Likewise.
31777 * elf/dl-open.c: Comment fixes.
31779 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31781 * Makefile [CXX] (check-data): Remove.
31782 [CXX] (c++-types.data): New vpath directive.
31783 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31784 vpath. Do not allow for C++ type data being missing.
31785 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31786 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31787 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31788 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31789 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31790 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31791 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31794 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31797 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31800 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31803 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31806 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31809 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31812 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31815 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31816 definitions to architecture-specific files.
31817 (TLS_IE): Likewise.
31818 (TLS_LD): Likewise.
31819 (TLS_GD): Likewise.
31820 * sysdeps/i386/tls-macros.h: New file.
31821 * sysdeps/powerpc/tls-macros.h: Likewise.
31822 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31823 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31824 * sysdeps/sh/tls-macros.h: Likewise.
31825 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31826 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31827 * sysdeps/x86_64/tls-macros.h: Likewise.
31829 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31831 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31832 zero value for regular exit case.
31834 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31835 (__start_context): Preserve zero value for regular exit case.
31837 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31838 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31840 * manual/setjmp.texi (setcontext): Clarify normal process
31841 termination when uc_link is the null pointer.
31842 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31845 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31847 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31848 preprocessor. Test for each exception mask separately.
31850 2012-07-16 Andreas Jaeger <aj@suse.de>
31852 * po/ru.po: Update from translation team.
31854 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31856 * conform/data/string.h-data (NULL): Use macro-constant. Require
31858 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31859 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31860 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31861 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31862 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31864 2012-07-13 Andreas Jaeger <aj@suse.de>
31866 * po/fr.po: Update from translation team.
31868 2012-07-12 Marek Polacek <polacek@redhat.com>
31871 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31872 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31875 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31878 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31879 Change to 2.4.1 where previously 2.4.0.
31880 * sysdeps/unix/sysv/linux/configure: Regenerated.
31881 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31882 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31884 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31885 (__ASSUME_AT_CLKTCK): Remove.
31886 (__ASSUME_AT_PAGESIZE): Likewise.
31887 (__ASSUME_AT_XID): Likewise.
31888 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31889 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31890 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31892 (HAVE_AUX_PAGESIZE): Likewise.
31893 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31894 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31895 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31897 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31901 the temporary buffer used to invoke __gethostbyname2_r,
31902 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31903 host_data / struct gaih_addrtuple.
31904 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31905 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31906 header file nss/nsswitch.h.
31907 * nss/nsswitch.h (global scope): Add definition of implementation
31908 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31909 resolv/nss_dns/dns-host.c).
31911 2012-07-11 Andreas Jaeger <aj@suse.de>
31913 * po/fr.po: Update from translation team.
31915 * po/sv.po: Update from translation team
31916 * po/fr.po: Another update from translation team.
31918 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31920 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31921 for subnormals or multiply small sinh result by itself.
31922 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31925 2012-07-11 David S. Miller <davem@davemloft.net>
31927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31929 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31932 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31933 (INTERNAL_MARK): Shift it here.
31935 2012-07-10 Marek Polacek <polacek@redhat.com>
31938 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31939 libc_cv_asm_global_directive with .globl.
31940 * configure: Regenerated.
31941 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31943 * sysdeps/i386/configure: Regenerated.
31944 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31946 * sysdeps/x86_64/configure: Regenerated.
31947 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31948 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31949 * elf/tst-unique2mod2.c: Likewise.
31950 * elf/tst-unique2mod1.c: Likewise.
31951 * elf/tst-unique1mod2.c: Likewise.
31952 * elf/tst-unique1mod1.c: Likewise.
31953 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31954 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31955 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31956 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31957 * sysdeps/mach/sysdep.h: Likewise.
31958 * sysdeps/i386/sysdep.h: Likewise.
31959 * sysdeps/i386/i386-mcount.S: Likewise.
31960 * sysdeps/x86_64/_mcount.S: Likewise.
31961 * sysdeps/x86_64/sysdep.h: Likewise.
31962 * sysdeps/sh/_mcount.S: Likewise.
31963 * sysdeps/sh/sysdep.h: Likewise.
31964 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31965 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31966 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31967 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31968 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31969 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31970 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31971 * locale/localeinfo.h: Likewise.
31972 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31973 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31975 2012-07-09 Roland McGrath <roland@hack.frob.com>
31978 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31980 * manual/message.texi (The Uniforum approach): Likewise.
31981 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31982 (glibc iconv Implementation): Likewise.
31984 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31987 * math/s_clog.c (__clog): Avoid scaling a value down where that
31988 could result in underflow.
31989 * math/s_clog10.c (__clog10): Likewise.
31990 * math/s_clog10f.c (__clog10f): Likewise.
31991 * math/s_clog10l.c (__clog10l): Likewise.
31992 * math/s_clogf.c (__clogf): Likewise.
31993 * math/s_clogl.c (__clogl): Likewise.
31994 * math/libm-test.inc (clog_test): Add more tests.
31995 (clog10_test): Likewise.
31996 * sysdeps/i386/fpu/libm-test-ulps: Update.
31997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31999 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32002 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32003 by 7 not 8 to examine high bit of fractional part.
32006 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32007 for call to __mcount_internal.
32008 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32009 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32010 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32012 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32015 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32016 approximation for values within 0x1p-13f of an odd multiple of
32018 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32019 exception. Add more tests.
32020 * sysdeps/i386/fpu/libm-test-ulps: Update.
32023 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32024 inputs and return -1 for them. Do not check for +Inf in case not
32025 reachable for +Inf.
32026 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32027 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32028 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32029 and return -1 for them. Do not check for +Inf in case not
32030 reachable for +Inf.
32031 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32033 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32034 and return -1 for them. Do not check for +Inf in case not
32035 reachable for +Inf.
32036 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32037 spurious underflow.
32038 * sysdeps/i386/fpu/libm-test-ulps: Update.
32039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32041 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32043 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32045 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32049 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32050 could result in spurious underflow. Scale down values above
32051 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32052 * math/s_csqrtf.c (__csqrtf): Likewise.
32053 * math/s_csqrtl.c (__csqrtl): Likewise.
32054 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32055 spurious underflow.
32056 * sysdeps/i386/fpu/libm-test-ulps: Update.
32057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32059 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32061 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32063 * catgets/xopen-msg.awk: New file.
32064 * catgets/xopen-msg.sed: Removed.
32066 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32068 * intl/po2test.awk: New file.
32069 * intl/po2test.sed: Removed.
32071 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32074 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32075 or multiply small sinh result by itself.
32076 * math/s_ctanf.c (__ctanf): Likewise.
32077 * math/s_ctanh.c (__ctanh): Likewise.
32078 * math/s_ctanhf.c (__ctanhf): Likewise.
32079 * math/s_ctanhl.c (__ctanhl): Likewise.
32080 * math/s_ctanl.c (__ctanl): Likewise.
32081 * math/libm-test.inc (ctan_test_tonearest): New function.
32082 (ctan_test_towardzero): Likewise.
32083 (ctan_test_downward): Likewise.
32084 (ctan_test_upward): Likewise.
32085 (ctanh_test_tonearest): Likewise.
32086 (ctanh_test_towardzero): Likewise.
32087 (ctanh_test_downward): Likewise.
32088 (ctanh_test_upward): Likewise.
32089 (main): Call these new functions.
32090 * sysdeps/i386/fpu/libm-test-ulps: Update.
32091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32093 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32095 * .gitignore: Delete /ports entry.
32097 2012-07-03 Andreas Jaeger <aj@suse.de>
32099 * po/bg.po: Update from translation team.
32100 * po/cs.po: Likewise.
32101 * po/de.po: Likewise.
32102 * po/hr.po: Likewise.
32103 * po/nl.pl: Likewise.
32104 * po/pl.po: Likewise.
32105 * po/vi.po: Likewise.
32107 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32109 * Makeconfig [!+link] (+link-before-libc): New variable.
32110 [!+link] (+link-after-libc): Likewise.
32111 [!+link] (+link-tests): Likewise.
32112 [!+link] (+link): Define in terms of $(+link-before-libc) and
32113 $(+link-after-libc).
32114 [!+link-static] (+link-static-before-libc): New variable.
32115 [!+link-static] (+link-static-after-libc): Likewise.
32116 [!+link-static] (+link-static-tests): Likewise.
32117 [!+link-static] (+link-static): Define in terms of
32118 $(+link-static-before-libc) and $(+link-static-after-libc).
32119 [build-shared] (link-libc-before-gnulib): New variable.
32120 [build-shared] (link-libc-tests): Likewise.
32121 [build-shared] (link-libc): Define in terms of
32122 $(link-libc-before-gnulib).
32123 [!build-shared] (link-libc-tests): New variable.
32124 (link-libc-static-tests): New variable.
32125 [!gnulib] (gnulib-arch): New variable.
32126 [!gnulib] (gnulib-tests): Likewise.
32127 [!gnulib] (static-gnulib-arch): Likewise.
32128 [!gnulib] (static-gnulib-tests): Likewise.
32129 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32130 Define with "=" instead of ":=".
32131 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32132 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32133 * Rules (binaries-all-notests): New variable.
32134 (binaries-all-tests): Likewise.
32135 (binaries-static-notests): Likewise.
32136 (binaries-static-tests): Likewise.
32137 (binaries-all): Define using $(binaries-all-notests) and
32138 $(binaries-all-tests).
32139 (binaries-static): Define using $(binaries-static-notests) and
32140 $(binaries-static-tests).
32141 (binaries-shared-tests): New variable.
32142 (binaries-shared-notests): Likewise.
32143 (binaries-shared): Remove variable.
32144 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32145 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32146 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32147 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32148 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32149 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32150 * elf/Makefile (sln-modules): New variable.
32151 (extra-objs): Add $(sln-modules:=.o).
32152 (ldconfig-modules): Add static-stubs.
32153 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32154 * elf/static-stubs.c: New file.
32157 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32158 by 7 not 8 to examine high bit of fractional part. Use volatile
32159 variables when splitting into final array of floats if
32160 __FLT_EVAL_METHOD__ != 0.
32161 * math/libm-test.inc (cos_test): Add another test.
32162 (sin_test): Likewise.
32163 * sysdeps/i386/fpu/libm-test-ulps: Update.
32166 * math/libm-test.inc (cosh_test): Add more tests.
32168 * version.h (RELEASE): Set to "development".
32169 (VERSION): Set to "2.16.90".
32171 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32173 * NEWS: Update copyright. Remove last-updated date.
32174 Mention math library bug fixes and timezone data changes.
32175 * README: Mention GNU/Hurd, x32, and HPPA support status.
32177 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32179 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32181 2012-06-27 Andreas Jaeger <aj@suse.de>
32183 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32185 2012-06-25 Andreas Jaeger <aj@suse.de>
32187 * sysdeps/s390/fpu/libm-test-ulps: Update.
32189 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32190 Thomas Schwinge <thomas@codesourcery.com>
32192 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32193 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32194 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32197 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32199 * sysdeps/mach/start.c: Remove file.
32200 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32201 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32202 * sysdeps/sh/init-first.c: Likewise.
32204 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32205 registers for frame unwinding purposes, add CFI directives.
32206 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32207 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32208 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32211 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32212 __fortify_fail returning.
32213 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32215 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32216 sysdeps/sh/____longjmp_chk.S.
32217 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32218 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32219 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32220 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32222 * sysdeps/sh/abort-instr.h: New file.
32223 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32224 process in case exit returns.
32226 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32227 initialize the GOT register before use.
32229 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32230 calculation of ARGC > 4.
32232 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32233 meaningful names to some local labels.
32235 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32236 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32238 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32239 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32240 (__arch_compare_and_exchange_val_16_acq): Likewise.
32241 (__arch_compare_and_exchange_val_32_acq): Likewise.
32242 (atomic_exchange_and_add): Fix gUSA sequence.
32243 (atomic_add): Likewise.
32244 (atomic_add_negative): Likewise.
32245 (atomic_add_zero): Likewise.
32246 (atomic_bit_test_set): Likewise.
32248 2012-06-22 Andreas Schwab <schwab@redhat.com>
32251 * include/link.h (struct link_map): Add l_free_initfini.
32252 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32254 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32255 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32256 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32259 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32261 * configure.in: Use AC_LANG_SOURCE.
32262 * configure: Regenerate.
32264 2012-06-22 Roland McGrath <roland@hack.frob.com>
32266 * configure.in (libc_cv_localstatedir): New substituted variable.
32267 * configure: Regenerated.
32268 * config.make.in (localstatedir): New variable, substituted from
32269 libc_cv_localstatedir.
32270 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32271 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32272 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32273 * sysdeps/gnu/configure: Regenerated.
32275 2012-06-21 Jeff Law <law@redhat.com>
32278 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32279 free. Simplify list management for _LIBC case.
32281 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32284 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32285 Clear sign bit of 64-bit integer value before comparing against
32288 * sysdeps/mach/configure: Regenerated.
32290 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32293 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32295 2012-06-21 Jeff Law <law@redhat.com>
32298 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32299 uint16_t for elements in the "seen" array to avoid char overflows.
32300 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32301 * elf/dl-open.c (dl_open_worker): Likewise.
32303 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32305 * scripts/list-sources.sh: Scan PORTS for translations.
32306 * po/libc.pot: Regenerated.
32308 2012-06-21 Andreas Jaeger <aj@suse.de>
32311 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32313 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32314 * bits/byteswap-16.h (__bswap_16): Likewise.
32315 * bits/byteswap.h (__bswap_constant_16): Likewise.
32317 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32320 * sysdeps/i386/fpu_control.h: Removed.
32321 * sysdeps/x86_64/fpu_control.h: Moved to ...
32322 * sysdeps/x86/fpu_control.h: Here.
32324 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32325 (_FPU_SETCW): Likewise.
32327 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32330 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32331 * sysdeps/x86/fpu/bits/mathinline.h: This.
32332 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32336 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32337 functions if __x86_64__ is defined.
32339 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32341 * string/endian.h: Add !__ASSEMBLER__ condition for including
32342 conversion interfaces.
32344 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32347 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32348 of ABS(x) in calculating zero to negative powers other than odd
32350 * math/libm-test.inc (pow_test): Add more tests.
32352 2012-06-15 Andreas Jaeger <aj@suse.de>
32354 * manual/contrib.texi (Contributors): Update entry of Liubov
32355 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32358 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32360 * string/string.h: Add __wur to GNU version of strerror_r.
32362 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32365 * string/Makefile (tests): Add tst-strtok_r.
32366 * string/tst-strtok_r.c: New file.
32367 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32368 RAX_LP/RDX_LP on SAVE_PTR.
32370 2012-06-14 Roland McGrath <roland@hack.frob.com>
32372 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32374 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32376 * libm_test.inc (csqrt_test): Allow more spurious underflow
32378 (j0_test): Likewise.
32379 (j1_test): Likewise.
32380 (y0_test): Likewise.
32381 (y1_test): Likewise.
32383 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32385 * po/Makefile (libc.pot): Use UTF-8 charset.
32387 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32390 Suppress sign-conversion warning from FD_SET.
32391 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32392 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32393 not unsigned long int.
32394 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32396 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32400 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32401 __extern_always_inline instead of __extern_inline.
32402 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32403 (__signbit): Likewise.
32404 (__signbitl): Support C++ namespace.
32405 (lrintf): New inline function.
32407 (llrintf): Likewise.
32408 (llrint): Likewise.
32418 (floorf): Likewise.
32419 (nearbyint): Likewise.
32420 (nearbyintf): Likewise.
32422 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32424 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32425 non-default versions.
32427 2012-06-11 Roland McGrath <roland@hack.frob.com>
32430 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32432 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32434 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32435 (FE_UPWARD, FE_DOWNWARD): Don't define.
32436 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32437 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32439 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32441 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32442 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32444 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32446 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32447 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32448 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32449 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32451 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32454 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32455 * sysdeps/i386/fpu/Implies: New file.
32456 * sysdeps/x86_64/fpu/Implies: Likewise.
32457 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32458 * sysdeps/x86/fpu/bits/fenv.h: This.
32460 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32463 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32466 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32467 character 0xffff that matches the last element of the
32470 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32472 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32475 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32477 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32478 values higher than 25.6283.
32480 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32482 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32483 subnormal exponent extraction and add some __builtin_expect.
32484 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32485 Fix for subnormal mantissa calculation.
32487 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32489 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32490 cpu2 is -1 and errno is not ENOSYS.
32492 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32495 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32496 * sysdeps/x86/bits/string.h: This.
32497 * sysdeps/x86_64/bits/string.h: Removed.
32499 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32500 if not compiling for x86-64, but compiling for >= i486.
32502 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32503 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32505 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32506 New macro from Linux kernel 3.4.0.
32507 (FP_XSTATE_MAGIC2): Likewise.
32508 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32509 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32510 (struct _fpx_sw_bytes): New struct.
32511 (struct _xsave_hdr): Likewise.
32512 (struct _ymmh_state): Likewise.
32513 (struct _xstate): Likewise.
32515 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32516 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32517 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32518 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32519 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32520 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32522 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32523 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32524 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32525 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32526 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32527 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32529 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32532 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32533 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32534 (sysdep_headers): Include sys/platform/ppc.h.
32535 * sysdeps/powerpc/test-gettimebase.c: Test for
32536 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32537 * manual/Makefile (appendices): Include platform.texi.
32538 * manual/contrib.texi (Contributors): Update @node pointers.
32539 * manual/maint.texi (Maintenance): Likewise.
32540 (Platform): New node.
32541 * manual/platform.texi: New file. Document the new features.
32543 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32544 Jakub Jelinek <jakub@redhat.com>
32547 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32548 where __builtin_expect is unavailable.
32550 2012-06-03 David S. Miller <davem@davemloft.net>
32552 * stdlib/longlong.h: Updated from GCC.
32554 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32557 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32558 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32561 (GLIBC_2.16): Likewise.
32563 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32565 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32567 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32570 (default-abi): New variable.
32571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32572 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32574 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32576 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32578 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32581 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32582 definition. Document in comment.
32584 2012-06-01 David S. Miller <davem@davemloft.net>
32586 * stdlib/longlong.h: Updated from GCC.
32588 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32591 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32592 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32593 sys/debugreg.h sys/io.h here.
32594 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32595 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32597 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32598 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32599 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32600 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32601 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32602 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32604 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32605 Define only if __x86_64__ is defined.
32607 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32610 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32611 Use int64_t for variable i.
32612 * math/libm-test.inc (fmod_test): Add more tests.
32614 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32615 z computation is not scheduled after fetestexcept.
32616 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32617 Use math_force_eval instead of asm to ensure calculation scheduled
32618 before exception test.
32619 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32620 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32622 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32625 computation is not scheduled after fetestexcept.
32627 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32630 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32631 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32633 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32635 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32636 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32638 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32641 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32643 (__WCHAR_MIN): Support __WORDSIZE == 64.
32644 (__WCHAR_MAX): Likewise.
32646 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32647 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32651 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32654 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32655 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32657 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32658 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32660 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32661 Defined to 1 if __x86_64__ isn't defined.
32662 (_STAT_VER_LINUX_OLD): New.
32663 (st_atime): Remove duplicate.
32664 (st_mtime): Likewise.
32665 (st_ctime): Likewise.
32667 2012-05-31 David S. Miller <davem@davemloft.net>
32669 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32672 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32674 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32678 * elf/dl-reloc.c: Include <_itoa.h>.
32679 (_dl_reloc_bad_type): Remove use of INTUSE.
32680 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32681 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32682 * stdio-common/psiginfo.c (psiginfo): Likewise.
32683 * stdio-common/psignal.c (psignal): Likewise.
32684 * string/strsignal.c (strsignal): Likewise.
32685 * include/signal.h (_sys_siglist): Declare hidden proto.
32686 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32687 INTVARDEF with libc_hidden_data_def.
32688 * stdio-common/itoa-udigits.c: Likewise.
32689 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32690 (_itoa_lower_digits_internal): Remove declaration.
32691 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32692 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32693 (_sys_sigabbrev_internal): Remove aliases.
32694 (_sys_siglist): Define hidden alias.
32696 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32701 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32704 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32705 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32707 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32708 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32709 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32710 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32711 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32712 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32714 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32715 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32716 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32718 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32726 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32727 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32728 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32730 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32731 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32732 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32733 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32734 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32735 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32737 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32738 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32740 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32741 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32743 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32744 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32745 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32747 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32748 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32750 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32752 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32753 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32754 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32756 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32758 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32760 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32762 * math/math.h (M_El): Use two more decimal places.
32763 (M_LOG2El): Likewise.
32764 (M_LOG10El): Likewise.
32765 (M_LN2l): Likewise.
32766 (M_LN10l): Likewise.
32768 (M_PI_2l): Likewise.
32769 (M_PI_4l): Likewise.
32770 (M_1_PIl): Likewise.
32771 (M_2_PIl): Likewise.
32772 (M_2_SQRTPIl): Likewise.
32773 (M_SQRT2l): Likewise.
32774 (M_SQRT1_2l): Likewise.
32776 2012-05-31 David S. Miller <davem@davemloft.net>
32778 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32779 values between float registers.
32780 * sysdeps/sparc/sparc64/memset.S: Likewise.
32781 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32783 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32785 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32786 -D_FORTIFY_SOURCE=1.
32787 (CPPFLAGS-tst-longjmp_chk.c): Define.
32788 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32789 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32790 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32791 CFLAGS-tst-wchar-h.c.
32793 2012-05-31 Marek Polacek <polacek@redhat.com>
32796 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32797 __endmntent_internal): Remove declaration.
32798 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32799 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32800 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32802 2012-05-30 David S. Miller <davem@davemloft.net>
32804 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32805 (___Q_simulate_exceptions): Use real FP ops rather than writing
32807 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32810 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32813 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32814 * sysdeps/x86/bits/xtitypes.h: This.
32816 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32817 * sysdeps/x86/bits/wordsize.h: This.
32819 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32820 * sysdeps/x86/bits/huge_vall.h: This.
32822 * sysdeps/i386/bits/select.h: Removed.
32823 * sysdeps/x86_64/bits/select.h: Renamed to ...
32824 * sysdeps/x86/bits/select.h: This.
32826 * sysdeps/i386/bits/setjmp.h: Removed.
32827 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32828 * sysdeps/x86/bits/setjmp.h: This.
32830 * sysdeps/i386/bits/mathdef.h: Removed.
32831 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32832 * sysdeps/x86/bits/mathdef.h: This.
32834 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32837 * include/sys/socket.h (__connect_internal)
32838 (__libc_sa_len_internal): Remove declaration.
32839 (__connect, __libc_sa_len): Declare hidden_proto.
32840 (SA_LEN): Remove use of INTUSE.
32841 * socket/connect.c: Add libc_hidden_def.
32842 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32843 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32844 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32846 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32847 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32848 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32849 of adding _internal alias.
32851 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32854 * sysdeps/i386/bits/link.h: Removed.
32855 * sysdeps/i386/bits/linkmap.h: Likewise.
32856 * sysdeps/x86_64/bits/link.h: Renamed to ...
32857 * sysdeps/x86/bits/link.h: This.
32858 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32859 * sysdeps/x86/bits/linkmap.h: This.
32861 * sysdeps/i386/bits/endian.h: Removed.
32862 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32863 * sysdeps/x86/bits/endian.h: This.
32865 * sysdeps/i386/bits/byteswap.h: Removed.
32866 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32867 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32868 * sysdeps/x86/bits/byteswap.h: This.
32869 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32870 * sysdeps/x86/bits/byteswap-16.h: This.
32871 * sysdeps/i386/Implies: Add x86.
32872 * sysdeps/x86_64/Implies: Likewise.
32874 2012-05-30 David S. Miller <davem@davemloft.net>
32876 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32877 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32878 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32879 (FP_TRAPPING_EXCEPTIONS): Define.
32880 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32881 (FP_TRAPPING_EXCEPTIONS): Define.
32882 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32883 subnormals only when inexact has been signalled or underflow
32884 exceptions are enabled.
32885 (_FP_PACK_CANONICAL): Likewise.
32887 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32890 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32891 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32893 2012-05-30 Richard Henderson <rth@twiddle.net>
32895 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32896 with #ifndef NOT_IN_libc.
32898 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32899 marked to avoid plt entry.
32901 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32904 * Makeconfig (default-abi): New macro.
32905 (abi-includes): Likewise.
32906 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32907 $(abi-$(default-abi)-lib-soname) for soname if defined.
32908 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32910 * Makefile (installed-stubs): Likewise.
32911 * include/stubs-biarch.h: Removed.
32912 * scripts/lib-names.awk: Only handle one library at a time.
32913 * scripts/soversions.awk: Remove WORDSIZE support.
32914 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32916 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32918 (syscall-list-default-condition): Likewise.
32919 (syscall-list-default-condition): Likewise.
32920 (syscall-list-includes): Likewise.
32921 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32922 syscall-list-* with abi-*. Handle undefined abi-variants.
32923 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32924 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32925 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32926 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32927 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32928 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32930 (syscall-list-32-options): Likewise.
32931 (syscall-list-32-condition): Likewise.
32932 (syscall-list-64-options): Likewise.
32933 (syscall-list-64-condition): Likewise.
32934 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32936 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32939 (abi-64-ld-soname): New macro.
32940 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32941 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32944 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32945 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32947 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32949 * sysdeps/unix/sysv/linux/kernel-features.h
32950 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32951 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32952 include <kernel-features.h>.
32953 [!__NR_ftruncate64]: Remove conditional code.
32954 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32955 [__NR_ftruncate64]: Make code unconditional.
32956 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32957 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32958 include <kernel-features.h>.
32959 [!__NR_ftruncate64]: Remove conditional code.
32960 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32961 [__NR_ftruncate64]: Make code unconditional.
32962 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32964 include <kernel-features.h>.
32965 [!__NR_ftruncate64]: Remove conditional code.
32966 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32967 [__NR_ftruncate64]: Make code unconditional.
32968 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32970 include <kernel-features.h>.
32971 [!__NR_ftruncate64]: Remove conditional code.
32972 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32973 [__NR_ftruncate64]: Make code unconditional.
32974 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32976 * configure.in (libc_cv_fpie): Weaken to a compile test using
32977 LIBC_TRY_CC_OPTION.
32978 * configure: Regenerated.
32980 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32995 2012-05-27 David S. Miller <davem@davemloft.net>
32997 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32999 (__Q_simulate_exceptions): Return void. Change to simulate
33000 exceptions by writing into the %fsr.
33001 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33002 (__Qp_handle_exceptions): Likewise.
33004 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33005 __Qp_handle_exceptions.
33006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33007 __Qp_handle_exceptions.
33008 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33009 as unused and give dummy FP_RND_NEAREST initializer.
33010 (FP_INHIBIT_RESULTS): Define.
33011 (___Q_simulate_exceptions): Update declaration.
33012 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33014 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33015 as unused and give dummy FP_RND_NEAREST initializer.
33016 (__Qp_handle_exceptions): Update declaration.
33017 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33020 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33022 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33023 the temporary FPU control word.
33024 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33025 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33026 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33027 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33028 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33029 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33030 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33031 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33032 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33033 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33034 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33036 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33038 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33041 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33043 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33044 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33045 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33046 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33048 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33049 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33052 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33054 * po/h.po: Update from translation team.
33056 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33058 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33060 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33061 handling of denormals.
33062 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33063 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33064 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33065 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33066 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33068 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33071 2012-05-26 Marek Polacek <polacek@redhat.com>
33074 * math/libm-test.inc (fma_test): Don't always expect underflow
33077 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33080 * elf/tst-execstack.c: Include stackinfo.h.
33081 (do_test): Adjust test case to ensure that pthread_getattr_np
33082 behaviour remains the same after marking stack executable.
33084 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33086 * sysdeps/unix/sysv/linux/kernel-features.h
33087 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33088 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33090 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33091 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33092 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33094 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33095 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33097 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33099 * configure.in: Define the default includes to being none.
33100 * configure: Regenerated.
33102 2012-05-25 Roland McGrath <roland@hack.frob.com>
33104 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33105 * sysdeps/x86_64/setjmp.S: Likewise.
33106 * sysdeps/i386/bsd-setjmp.S: Likewise.
33107 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33108 * sysdeps/i386/setjmp.S: Likewise.
33109 * sysdeps/i386/__longjmp.S: Likewise.
33110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33111 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33113 * include/stap-probe.h: New file.
33114 * configure.in: Handle --enable-systemtap.
33115 * configure: Regenerated.
33116 * config.h.in (USE_STAP_PROBE): New #undef.
33117 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33118 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33119 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33121 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33125 to 2.4.0 where earlier.
33126 * sysdeps/unix/sysv/linux/configure: Regenerated.
33127 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33128 <kernel-features.h>.
33129 [__ASSUME_32BITUIDS]: Make code unconditional.
33130 [!__ASSUME_32BITUIDS]: Remove conditional code.
33131 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33132 <kernel-features.h>.
33133 [__ASSUME_32BITUIDS]: Make code unconditional.
33134 [!__ASSUME_32BITUIDS]: Remove conditional code.
33135 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33136 [__ASSUME_32BITUIDS]: Make code unconditional.
33137 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33138 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33139 <kernel-features.h>.
33140 [__ASSUME_32BITUIDS]: Make code unconditional.
33141 [!__ASSUME_32BITUIDS]: Remove conditional code.
33142 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33143 <kernel-features.h>.
33144 [__ASSUME_32BITUIDS]: Make code unconditional.
33145 [!__ASSUME_32BITUIDS]: Remove conditional code.
33146 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33147 <kernel-features.h>.
33148 [__ASSUME_32BITUIDS]: Make code unconditional.
33149 [!__ASSUME_32BITUIDS]: Remove conditional code.
33150 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33151 <kernel-features.h>.
33152 [__ASSUME_32BITUIDS]: Make code unconditional.
33153 [!__ASSUME_32BITUIDS]: Remove conditional code.
33154 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33155 <kernel-features.h>.
33156 [__ASSUME_32BITUIDS]: Make code unconditional.
33157 [!__ASSUME_32BITUIDS]: Remove conditional code.
33158 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33159 <kernel-features.h>.
33160 [__ASSUME_32BITUIDS]: Make code unconditional.
33161 [!__ASSUME_32BITUIDS]: Remove conditional code.
33162 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33163 <kernel-features.h>.
33164 [__ASSUME_32BITUIDS]: Make code unconditional.
33165 [!__ASSUME_32BITUIDS]: Remove conditional code.
33166 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33167 <kernel-features.h>.
33168 [__ASSUME_32BITUIDS]: Make code unconditional.
33169 [!__ASSUME_32BITUIDS]: Remove conditional code.
33170 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33171 <kernel-features.h>.
33172 [__ASSUME_32BITUIDS]: Make code unconditional.
33173 [!__ASSUME_32BITUIDS]: Remove conditional code.
33174 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33175 <kernel-features.h>.
33176 [__ASSUME_32BITUIDS]: Make code unconditional.
33177 [!__ASSUME_32BITUIDS]: Remove conditional code.
33178 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33179 <kernel-features.h>.
33180 [__NR_setresgid] (__setresgid): Do not declare.
33181 [__ASSUME_32BITUIDS]: Make code unconditional.
33182 [!__ASSUME_32BITUIDS]: Remove conditional code.
33183 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33184 <kernel-features.h>.
33185 [__NR_setresuid] (__setresuid): Do not declare.
33186 [__ASSUME_32BITUIDS]: Make code unconditional.
33187 [!__ASSUME_32BITUIDS]: Remove conditional code.
33188 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33189 <kernel-features.h>.
33190 [__ASSUME_32BITUIDS]: Make code unconditional.
33191 [!__ASSUME_32BITUIDS]: Remove conditional code.
33192 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33193 <kernel-features.h>.
33194 [__ASSUME_32BITUIDS]: Make code unconditional.
33195 [!__ASSUME_32BITUIDS]: Remove conditional code.
33196 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33197 <kernel-features.h>.
33198 [__ASSUME_32BITUIDS]: Make code unconditional.
33199 [!__ASSUME_32BITUIDS]: Remove conditional code.
33200 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33201 <kernel-features.h>.
33202 [__ASSUME_32BITUIDS]: Make code unconditional.
33203 [!__ASSUME_32BITUIDS]: Remove conditional code.
33204 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33205 <kernel-features.h>.
33206 [__ASSUME_32BITUIDS]: Make code unconditional.
33207 [!__ASSUME_32BITUIDS]: Remove conditional code.
33208 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33209 <kernel-features.h>.
33210 [__ASSUME_32BITUIDS]: Make code unconditional.
33211 [!__ASSUME_32BITUIDS]: Remove conditional code.
33212 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33213 <kernel-features.h>.
33214 [__ASSUME_32BITUIDS]: Make code unconditional.
33215 [!__ASSUME_32BITUIDS]: Remove conditional code.
33216 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33217 <kernel-features.h>.
33218 [__ASSUME_32BITUIDS]: Make code unconditional.
33219 [!__ASSUME_32BITUIDS]: Remove conditional code.
33220 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33221 <kernel-features.h>.
33222 [__ASSUME_32BITUIDS]: Make code unconditional.
33223 [!__ASSUME_32BITUIDS]: Remove conditional code.
33224 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33225 <kernel-features.h>.
33226 [__ASSUME_32BITUIDS]: Make code unconditional.
33227 [!__ASSUME_32BITUIDS]: Remove conditional code.
33228 * sysdeps/unix/sysv/linux/kernel-features.h
33229 (__ASSUME_SETRESUID_SYSCALL): Remove.
33230 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33231 (__ASSUME_32BITUIDS): Likewise.
33232 (__ASSUME_LDT_WORKS): Likewise.
33233 (__ASSUME_O_DIRECTORY): Likewise.
33234 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33235 architecture but not kernel version.
33236 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33237 (__ASSUME_MMAP2_SYSCALL): Likewise.
33238 (__ASSUME_STAT64_SYSCALL): Likewise.
33239 (__ASSUME_IPC64): Likewise.
33240 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33241 <kernel-features.h>.
33242 [__ASSUME_32BITUIDS]: Make code unconditional.
33243 [!__ASSUME_32BITUIDS]: Remove conditional code.
33244 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33245 <kernel-features.h>.
33246 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33247 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33248 132096]: Remove conditional code.
33249 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33250 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33251 <kernel-features.h>.
33252 [__ASSUME_32BITUIDS]: Make code unconditional.
33253 [!__ASSUME_32BITUIDS]: Remove conditional code.
33254 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33255 <kernel-features.h>.
33256 [__ASSUME_32BITUIDS]: Make code unconditional.
33257 [!__ASSUME_32BITUIDS]: Remove conditional code.
33258 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33259 <kernel-features.h>.
33260 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33262 (__setresgid): Do not declare.
33263 [__ASSUME_32BITUIDS]: Make code unconditional.
33264 [!__ASSUME_32BITUIDS]: Remove conditional code.
33265 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33266 <kernel-features.h>.
33267 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33269 (__setresuid): Do not declare.
33270 [__ASSUME_32BITUIDS]: Make code unconditional.
33271 [!__ASSUME_32BITUIDS]: Remove conditional code.
33272 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33273 <kernel-features.h>.
33274 [__ASSUME_32BITUIDS]: Make code unconditional.
33275 [!__ASSUME_32BITUIDS]: Remove conditional code.
33276 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33277 <kernel-features.h>.
33278 [__ASSUME_32BITUIDS]: Make code unconditional.
33279 [!__ASSUME_32BITUIDS]: Remove conditional code.
33281 2012-05-25 Richard Henderson <rth@twiddle.net>
33283 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33284 dl_hwcap to ifunc resolver.
33285 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33287 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33288 dl_hwcap to ifunc resolver.
33289 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33291 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33294 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33295 for |x| <= 2**-26, not 2**-57.
33296 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33299 2012-05-24 Jeff Law <law@redhat.com>
33301 * stdio-common/Makefile (tests): Add bug25.
33302 * stdio-common/bug25.c: New test.
33304 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33307 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33308 multiple of MALLOC_ALIGNMENT in size.
33309 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33311 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33313 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33315 (FILENAME_MAX): Use macro-int-constant.
33316 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33317 (_IOFBF): Use macro-int-constant.
33318 (_IOLBF): Likewise.
33319 (_IONBF): Likewise.
33320 (SEEK_CUR): Likewise.
33321 (SEEK_END): Likewise.
33322 (SEEK_SET): Likewise.
33323 (TMP_MAX): Likewise.
33324 (EOF): Use macro-int-constant. Require < 0.
33325 (NULL): Use macro-constant. Require == 0.
33326 (stdin): Require type to be FILE *.
33327 (stdout): Likewise.
33328 (stderr): Likewise.
33329 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33330 macro-int-constant.
33331 (EXIT_SUCCESS): Likewise.
33332 (NULL): Use macro-constant. Require == 0.
33333 (RAND_MAX): Use macro-int-constant.
33334 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33335 [C99-based standards] (strtof): Require function.
33336 [C99-based standards] (strtold): Likewise.
33337 [C99-based standards] (strtoll): Likewise.
33338 [C99-based standards] (strtoull): Likewise.
33339 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33340 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33341 [ISO || ISO99 || ISO11] (math.h): Likewise.
33342 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33343 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33344 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33346 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33349 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33350 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33351 * intl/dgettext.c (DCGETTEXT): Likewise.
33352 * intl/gettext.c (DCGETTEXT): Likewise.
33353 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33354 * posix/regex_internal.h (gettext): Likewise.
33355 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33356 Remove declaration.
33357 * include/argz.h (__argz_count_internal)
33358 (__argz_stringify_internal): Remove declaration.
33359 (__argz_count, __argz_stringify): Declare hidden proto.
33360 * intl/dcgettext.c: Remove use of INTDEF.
33361 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33362 * string/argz-stringify.c: Likewise.
33363 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33364 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33365 Declare hidden proto.
33366 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33367 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33368 Declare hidden proto.
33369 * include/stdio.h (__asprintf_internal): Don't declare.
33370 (__asprintf): Don't define as macro. Declare hidden proto.
33371 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33372 (__fsetlocking): Declare hidden proto.
33373 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33374 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33376 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33377 (_IO_setlinebuf): Remove use of INTUSE.
33378 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33379 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33380 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33381 Remove declaration.
33382 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33383 (_IO_do_flush): Remove use of INTUSE.
33384 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33385 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33386 (_IO_adjust_column, _IO_least_wmarker)
33387 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33388 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33389 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33390 (_IO_default_doallocate, _IO_wdefault_doallocate)
33391 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33392 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33393 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33394 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33395 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33396 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33397 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33398 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33399 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33400 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33401 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33402 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33403 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33405 (_IO_flush_all_internal, _IO_adjust_column_internal)
33406 (_IO_default_uflow_internal, _IO_default_finish_internal)
33407 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33408 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33409 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33410 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33411 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33412 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33413 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33414 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33415 (_IO_file_close_internal, _IO_file_close_it_internal)
33416 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33417 (_IO_file_init_internal, _IO_file_attach_internal)
33418 (_IO_file_fopen_internal, _IO_file_read_internal)
33419 (_IO_file_sync_internal, _IO_file_seek_internal)
33420 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33421 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33422 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33423 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33424 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33425 (_IO_list_all_internal, _IO_link_in_internal)
33426 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33427 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33428 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33429 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33430 (_IO_do_write_internal, _IO_padn_internal)
33431 (_IO_getline_info_internal, _IO_getline_internal)
33432 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33433 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33434 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33435 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33436 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33437 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33438 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33439 with libc_hidden_ver, remove use of INTUSE.
33440 * libio/genops.c: Likewise.
33441 * libio/freopen.c: Likewise.
33442 * libio/freopen64.c: Likewise.
33443 * libio/iofclose.c: Likewise.
33444 * libio/iofdopen.c: Likewise.
33445 * libio/iofflush.c: Likewise.
33446 * libio/iofflush_u.c: Likewise.
33447 * libio/iofgets.c: Likewise.
33448 * libio/iofgets_u.c: Likewise.
33449 * libio/iofopen.c: Likewise.
33450 * libio/iofopncook.c: Likewise.
33451 * libio/iofread.c: Likewise.
33452 * libio/iofread_u.c: Likewise.
33453 * libio/ioftell.c: Likewise.
33454 * libio/iofwrite.c: Likewise.
33455 * libio/iogetline.c: Likewise.
33456 * libio/iogets.c: Likewise.
33457 * libio/iogetwline.c: Likewise.
33458 * libio/iopadn.c: Likewise.
33459 * libio/iopopen.c: Likewise.
33460 * libio/ioseekoff.c: Likewise.
33461 * libio/ioseekpos.c: Likewise.
33462 * libio/iosetbuffer.c: Likewise.
33463 * libio/iosetvbuf.c: Likewise.
33464 * libio/ioungetc.c: Likewise.
33465 * libio/ioungetwc.c: Likewise.
33466 * libio/iovdprintf.c: Likewise.
33467 * libio/iovsprintf.c: Likewise.
33468 * libio/iovsscanf.c: Likewise.
33469 * libio/memstream.c: Likewise.
33470 * libio/obprintf.c: Likewise.
33471 * libio/oldfileops.c: Likewise.
33472 * libio/oldiofclose.c: Likewise.
33473 * libio/oldiofdopen.c: Likewise.
33474 * libio/oldiofopen.c: Likewise.
33475 * libio/oldiopopen.c: Likewise.
33476 * libio/oldstdfiles.c: Likewise.
33477 * libio/putc.c: Likewise.
33478 * libio/setbuf.c: Likewise.
33479 * libio/setlinebuf.c: Likewise.
33480 * libio/stdfiles.c: Likewise.
33481 * libio/strops.c: Likewise.
33482 * libio/vasprintf.c: Likewise.
33483 * libio/vscanf.c: Likewise.
33484 * libio/vsnprintf.c: Likewise.
33485 * libio/vswprintf.c: Likewise.
33486 * libio/wfiledoalloc.c: Likewise.
33487 * libio/wfileops.c: Likewise.
33488 * libio/wgenops.c: Likewise.
33489 * libio/wmemstream.c: Likewise.
33490 * libio/wstrops.c: Likewise.
33491 * libio/__fpurge.c: Likewise.
33492 * libio/__fsetlocking.c: Likewise.
33493 * assert/assert.c: Likewise.
33494 * debug/fgets_chk.c: Likewise.
33495 * debug/fgets_u_chk.c: Likewise.
33496 * debug/fread_chk.c: Likewise.
33497 * debug/fread_u_chk.c: Likewise.
33498 * debug/gets_chk.c: Likewise.
33499 * debug/obprintf_chk.c: Likewise.
33500 * debug/vasprintf_chk.c: Likewise.
33501 * debug/vdprintf_chk.c: Likewise.
33502 * debug/vsnprintf_chk.c: Likewise.
33503 * debug/vsprintf_chk.c: Likewise.
33504 * malloc/mtrace.c: Likewise.
33505 * misc/error.c: Likewise.
33506 * misc/syslog.c: Likewise.
33507 * stdio-common/asprintf.c: Likewise.
33508 * stdio-common/fxprintf.c: Likewise.
33509 * stdio-common/getw.c: Likewise.
33510 * stdio-common/isoc99_fscanf.c: Likewise.
33511 * stdio-common/isoc99_scanf.c: Likewise.
33512 * stdio-common/isoc99_vfscanf.c: Likewise.
33513 * stdio-common/isoc99_vscanf.c: Likewise.
33514 * stdio-common/isoc99_vsscanf.c: Likewise.
33515 * stdio-common/printf-prs.c: Likewise.
33516 * stdio-common/printf_fp.c: Likewise.
33517 * stdio-common/printf_fphex.c: Likewise.
33518 * stdio-common/printf_size.c: Likewise.
33519 * stdio-common/putw.c: Likewise.
33520 * stdio-common/scanf.c: Likewise.
33521 * stdio-common/sprintf.c: Likewise.
33522 * stdio-common/tmpfile.c: Likewise.
33523 * stdio-common/vfprintf.c: Likewise.
33524 * stdio-common/vfscanf.c: Likewise.
33525 * stdlib/strfmon_l.c: Likewise.
33526 * sunrpc/openchild.c: Likewise.
33527 * sunrpc/xdr_stdio.c: Likewise.
33528 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33529 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33531 2012-05-24 Roland McGrath <roland@hack.frob.com>
33533 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33535 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33536 in the third column, to generate for the shared library an IFUNC
33537 that uses _dl_vdso_vsym.
33538 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33539 * Makeconfig (object-suffixes-noshared): New variable.
33541 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33542 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33543 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33544 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33547 * include/sys/time.h (__gettimeofday): Remove macro.
33548 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33549 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33551 (__gettimeofday): Add libc_hidden_def.
33552 (gettimeofday): Add libc_hidden_weak.
33553 * sysdeps/mach/gettimeofday.c: Likewise.
33554 * sysdeps/posix/gettimeofday.c: Likewise.
33555 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33556 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33558 (__gettimeofday_internal): Remove strong_alias.
33559 (__gettimeofday): Add libc_hidden_def.
33560 (gettimeofday): Add libc_hidden_weak.
33561 * sysdeps/unix/syscalls.list (gettimeofday):
33562 Remove __gettimeofday_internal alias.
33564 2012-05-24 Daniel Jacobowitz <drow@false.org>
33565 H.J. Lu <hongjiu.lu@intel.com>
33568 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33569 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33570 (largebin_index_32_big): New.
33571 (largebin_index): Use it for 16-byte alignment.
33572 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33573 correction with front_misalign.
33575 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33603 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33604 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33606 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33610 * math/libm-test.inc (exp_test): Add test from bug 14036.
33611 (pow_test): Add test from bug 10846.
33613 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33615 (special_function): Do not include flags in test name.
33616 (parse_args): Likewise.
33617 * sysdeps/i386/fpu/libm-test-ulps: Update.
33618 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33619 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33620 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33623 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33625 * math/libm-test.inc ("Philosophy"): Update comment about
33627 (UNDERFLOW_EXCEPTION): New macro.
33628 (UNDERFLOW_EXCEPTION_OK): Likewise.
33629 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33630 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33631 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33632 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33633 (INVALID_EXCEPTION_OK): Update value.
33634 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33635 (OVERFLOW_EXCEPTION_OK): Likewise.
33636 (IGNORE_ZERO_INF_SIGN): Likewise.
33637 (test_exceptions): Handle underflow exceptions.
33638 (acos_test): Update for underflow exception expectations.
33639 (cexp_test): Likewise.
33640 (clog_test): Likewise.
33641 (clog10_test): Likewise.
33642 (csqrt_test): Likewise.
33643 (ctan_test): Likewise.
33644 (ctanh_test): Likewise.
33645 (exp_test): Likewise.
33646 (exp10_test): Likewise.
33647 (exp2_test): Likewise.
33648 (expm1_test): Likewise.
33649 (fma_test): Likewise.
33650 (j0_test): Likewise.
33651 (jn_test): Likewise.
33652 (nexttoward_test): Likewise.
33653 (pow_test): Likewise.
33654 (scalbn_test): Likewise.
33655 (scalbln_test): Likewise.
33656 (tan_test): Likewise.
33657 (y1_test): Likewise.
33658 * sysdeps/i386/fpu/libm-test-ulps: Update.
33659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33661 2012-05-23 David S. Miller <davem@davemloft.net>
33663 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33664 (__libc_sigaction): Remove unused local variables.
33666 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33668 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33670 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33672 mktime: avoid signed integer overflow
33673 * time/mktime.c (__mktime_internal): Do not mishandle the case
33674 where diff == INT_MIN.
33676 mktime: simplify computation of average
33677 * time/mktime.c (ranged_convert): Use new time_t_avg function
33678 instead of rolling our own (probably-slower) code.
33680 mktime: do not assume signed right shift propagates sign bit
33681 * time/mktime.c (isdst_differ): New static function.
33682 (__mktime_internal): No need to normalize tm_isdst now.
33683 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33686 mktime: merge another wrapv change from gnulib
33687 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33688 from some compilers.
33690 mktime: remove incorrect attempt at unusual arithmetics
33691 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33692 The code didn't really work on such machines anyway.
33693 (TYPE_MINIMUM): Assume two's complement.
33694 (twos_complement_arithmetic): Verify that long_int and time_t
33695 are two's complement (or unsigned, in the latter case).
33697 mktime: check signed shifts on long_int and time_t, too
33698 * time/mktime.c (SHR): Check that shifts work as desired
33699 on the types long_int and time_t too, as SHR is used on
33702 mktime: do not assume 'long' is wide enough
33703 * time/mktime.c (verify): Move decl up.
33704 (long_int): New type.
33705 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33706 to remove assumption in the code that 'long' is wide enough to
33707 store year values. This assumption is not true on x32 and on
33708 some non-glibc platforms.
33710 mktime: merge wrapv change from gnulib
33711 * time/mktime.c (WRAPV): New macro.
33712 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33713 (guess_time_tm, __mktime_internal): Do not assume that signed
33714 integer overflow wraps around; modern compilers generate code
33715 where this assumption is no longer valid.
33717 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33719 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33720 Replace "jmp L(pseudo_end)" with "ret".
33721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33724 2012-05-23 Andreas Jaeger <aj@suse.de>
33726 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33727 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33729 2012-05-23 Andreas Jaeger <aj@suse.de>
33730 Maximilian Attems <max@stro.at>
33732 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33735 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33737 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33738 code so that pseudo_end is just ret and the stack pointer is
33739 correct also for static library in error case.
33741 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33743 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33744 move to syscalls.list.
33745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33750 * manual/install.texi (Running make install): Do not mention Linux
33751 kernel version for which pt_chown is not needed.
33752 (Linux): Do not mention problems with nscd with 2.0 kernels.
33753 * INSTALL: Regenerated.
33755 2012-05-23 Andreas Jaeger <aj@suse.de>
33757 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33758 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33760 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33761 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33762 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33763 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33764 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33765 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33766 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33767 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33768 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33769 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33770 * sysdeps/unix/sysv/linux/bits/in.h
33771 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33773 2012-05-22 Roland McGrath <roland@hack.frob.com>
33775 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33776 (PREPARE_VERSION): Just use assert instead, it will be elided
33777 under [NDEBUG] anyway.
33779 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33781 * sysdeps/unix/sysv/linux/Makefile: Include
33782 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33783 (sysdep_routines): Remove sysctl.
33784 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33785 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33786 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33787 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33788 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33790 2012-05-22 Andreas Jaeger <aj@suse.de>
33792 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33793 that pseudo_end is just ret and the stack pointer is correct also
33794 for static library in error case.
33796 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33799 * nss/nsswitch.c (defconfig_entries): New variable.
33800 (__nss_database_lookup): Don't leak defconfig entries.
33801 (nss_parse_service_list): Don't leak on error paths.
33802 (free_database_entries): New function.
33803 (free_defconfig): New function.
33804 (free_mem): Move common code to free_database_entries.
33806 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33808 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33810 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33812 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33813 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33816 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33817 (INTERNAL_SYSCALL_TYPES): Likewise.
33818 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33819 (LOAD_REGS_TYPES_[1-6]): Likewise.
33820 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33821 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33823 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33825 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33826 copysignl for GLIBC_2_0.
33827 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33828 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33830 logbl for GLIBC_2_0.
33831 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33832 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33834 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33836 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33837 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33839 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33842 * time/mktime.c: Update copyright years.
33844 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33846 mktime: merge comment-quoting-style change from gnulib
33847 * time/mktime.c: Quote 'like this' in comments.
33848 The GNU coding standards suggest that we no longer quote `like this',
33849 as "`" and "'" are typically rendered asymmetrically nowadays.
33850 The typical gnulib style is to quote 'like this' when quoting
33851 code, and "like this" when quoting English.
33853 * time/mktime.c (compile-command): Add "-I.".
33855 mktime: merge mktime-internal.h change from gnulib
33856 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33858 mktime: merge time_r change from gnulib
33859 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33861 mktime: merge DEBUG change from gnulib
33862 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33863 case system <time.h> has a #define.
33865 mktime: merge <sys/types.h> change from gnulib
33866 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33867 since <time.t> is now guaranteed to define time_t.
33869 mktime: merge HAVE_CONFIG_H change from gnulib
33870 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33872 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33877 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33879 (struct rusage): Use anonymous union to pad each field to
33882 2012-05-21 David S. Miller <davem@davemloft.net>
33884 * Makefules (o-iterator): Remove .s cases.
33885 (compile-command.s): Delete.
33886 (COMPILE.s): Delete.
33887 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33889 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33891 * configure.in (libc_cv_predef_stack_protector): Only consider
33892 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33893 * configure: Regenerated.
33895 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33897 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33898 New macro. Use R*LP on int and pointer.
33899 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33900 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33901 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33902 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33904 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33905 [__WORDSIZE_TIME64_COMPAT32] instead of
33906 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33907 (struct utmp): Likewise.
33908 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33909 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33911 (__WORDSIZE_TIME64_COMPAT32): This.
33912 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33913 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33914 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33915 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33916 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33917 (__WORDSIZE_TIME64_COMPAT32): New macro.
33919 2012-05-21 Andreas Jaeger <aj@suse.de>
33921 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33922 only if [SHARED]. Add prototype for __wcschr_ia32.
33924 2012-05-21 Roland McGrath <roland@hack.frob.com>
33926 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33927 of %rbp unmolested in the jmp_buf while mangling the low bits.
33928 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33929 unmolested high bits of %rbp while demangling the low bits.
33930 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33932 2012-05-21 Andreas Jaeger <aj@suse.de>
33934 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33935 * sunrpc/svc_simple.c: Use it for registerrpc.
33936 * sunrpc/xcrypt.c: Use it for passwd2des.
33938 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33940 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33942 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33943 Don't define if [__SYSCALL_WORDSIZE != 32].
33944 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33947 2012-05-21 Bruno Haible <bruno@clisp.org>
33948 Andreas Jaeger <aj@suse.de>
33950 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33951 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33952 inptr and inend for must_buffer_ch.
33953 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33954 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33955 * stdio-common/Makefile (tests): Remove bug15.
33956 (bug15-ENV): Remove macro.
33957 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33960 2012-05-19 Andreas Jaeger <aj@suse.de>
33961 Roland McGrath <roland@hack.frob.com>
33963 * manual/contrib.texi: Completely rewritten. It contains now an
33964 alphabetical list of contributors and their contributions.
33966 2012-05-21 Richard Henderson <rth@twiddle.net>
33968 * misc/getauxval.c (__getauxval): Use unsigned long int.
33969 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33970 (getauxval): Use unsigned long int.
33972 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33974 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33976 2012-05-21 Roland McGrath <roland@hack.frob.com>
33978 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33979 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33980 __alignof__ (long double).
33982 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33986 2012-05-20 Richard Henderson <rth@twiddle.net>
33988 * misc/getauxval.c: New file.
33989 * misc/sys/auxv.h: New file.
33990 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33991 (routines): Add getauxval.
33992 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33993 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33994 * elf/dl-sysdep.c (_dl_auxv): Remove.
33995 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33996 * elf/dl-support.c (_dl_auxv): New variable.
33997 (_dl_aux_init): Initialize it.
33998 * manual/startup.texi (Auxiliary Vector): New node.
33999 * sysdeps/generic/bits/hwcap.h: New file.
34000 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34001 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34002 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34003 * sysdeps/sparc/sysdep.h: ... here. Include it.
34004 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34005 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34017 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34021 2012-05-19 David S. Miller <davem@davemloft.net>
34023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34025 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34028 * math/s_ccosh.c: Include <float.h>
34029 (__ccosh): Avoid internal overflow calculating sinh and cosh
34030 values before multiplying by sin and cos values.
34031 * math/s_ccoshf.c: Likewise.
34032 * math/s_ccoshl.c: Likewise.
34033 * math/s_csin.c: Likewise.
34034 * math/s_csinf.c: Likewise.
34035 * math/s_csinl.c: Likewise.
34036 * math/s_csinh.c: Likewise.
34037 * math/s_csinhf.c: Likewise.
34038 * math/s_csinhl.c: Likewise.
34039 * math/libm-test.inc (ccos_test): Add more tests.
34040 (ccosh_test): Likewise.
34041 (csin_test): Likewise.
34042 (csinh_test): Likewise.
34043 * sysdeps/i386/fpu/libm-test-ulps: Update.
34044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34046 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34048 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34049 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34051 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34053 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34055 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34056 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34057 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34058 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34059 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34060 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34061 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34062 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34063 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34064 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34065 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34066 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34067 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34068 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34069 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34070 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34071 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34072 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34073 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34074 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34075 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34076 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34077 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34078 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34079 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34080 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34081 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34082 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34083 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34084 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34085 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34087 2012-05-18 Andreas Jaeger <aj@suse.de>
34089 * csu/.gitignore: Delete.
34091 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34093 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34094 (timex): Use __syscall_slong_t.
34096 2012-05-18 Andreas Jaeger <aj@suse.de>
34097 Carlos O'Donell <carlos_odonell@mentor.com>
34099 * manual/install.texi (Configuring and compiling): Update
34100 description about files modified in the source directory.
34101 * INSTALL: Regenerated.
34103 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34105 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34106 value. Use "or" to set return value to -1.
34107 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34108 negate return value.
34110 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34112 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34113 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34114 failure if the compiler has Graphite support disabled.
34115 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34117 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34118 (CFLAGS-memmove.c): Likewise.
34119 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34122 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34124 * sysdeps/x86_64/x32/_itoa.h: New file.
34126 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34127 getdents system call only if kernel and user dirents have the
34128 same d_ino and d_off.
34130 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34131 LLONG_MAX != LONG_MAX.
34132 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34133 (_fitoa_word): Likewise.
34135 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34137 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34138 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34139 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34141 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34142 include <bits/wordsize.h>. Check __x86_64__ instead of
34144 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34145 if __x86_64__ is defined. Use anonymous union on fpstate.
34147 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34150 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34152 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34153 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34154 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34155 Refer to _rtld_local_ro instead of _rtld_global_ro.
34156 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34158 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34160 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34162 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34163 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34164 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34166 * sysdeps/powerpc/powerpc32/dl-machine.c
34167 (__elf_machine_runtime_setup) [PROF]: Don't reference
34170 2012-05-18 Andreas Jaeger <aj@suse.de>
34172 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34173 function only available for GCCs before 3.4 since GCC 3.4
34174 introduced a builtin.
34176 (llrintf): Likewise.
34177 (llrint): Likewise.
34184 (nearbyint): Likewise.
34185 (nearbyintf): Likewise.
34189 (floorf): Likewise.
34191 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34193 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34194 on both fields and cast pointer to __syscall_ulong_t.
34196 * bits/types.h (__fsword_t): New type.
34197 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34198 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34200 (__FSWORD_T_TYPE): Likewise.
34201 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34202 (__FSWORD_T_TYPE): Likewise.
34203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34204 (__FSWORD_T_TYPE): Likewise.
34205 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34206 (__FSWORD_T_TYPE): Likewise.
34207 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34208 __SWORD_TYPE with __fsword_t.
34209 (statfs64): Likewise.
34211 2012-05-17 David S. Miller <davem@davemloft.net>
34213 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34215 2012-05-17 Andreas Jaeger <aj@suse.de>
34217 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34220 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34222 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34224 2012-05-17 Andreas Jaeger <aj@suse.de>
34226 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34229 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34231 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34233 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34235 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34236 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34238 2012-05-17 Andreas Jaeger <aj@suse.de>
34239 Carlos O'Donell <carlos_odonell@mentor.com>
34242 * sysdeps/x86_64/multiarch/init-arch.h
34243 (bit_YMM_Usable): Rename to...
34244 (bit_AVX_Usable): ... this.
34245 (bit_FMA4_Usable): New macro.
34246 (bit_XMM_state): New macro.
34247 (bit_YMM_state): New macro.
34248 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34249 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34250 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34251 (CPUID_OSXSAVE): New macro.
34252 (CPUID_AVX): New macro.
34253 (CPUID_FMA4): New macro.
34254 (index_YMM_Usable): Rename to...
34255 (index_AVX_Usable): ... this.
34256 (HAS_AVX): Use HAS_ARCH_FEATURE.
34257 (HAS_FMA4): Likewise.
34258 (HAS_YMM_USABLE): Remove.
34259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34260 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34262 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34263 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34264 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34265 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34266 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34268 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34270 * math/libm-test.c: Support platforms without multiple rounding modes.
34271 * math/bug-nextafter.c: Support platforms without FP exceptions.
34272 * math/bug-nexttoward.c: Likewise.
34273 * math/test-fenv.c: Likewise.
34274 * math/test-misc.c: Likewise.
34275 * stdlib/bug-getcontext.c: Likewise.
34277 2012-05-17 Andreas Jaeger <aj@suse.de>
34279 * manual/examples/search.c (critter_cmp): Change signature to
34281 * manual/string.texi (Collation Functions): Likewise.
34283 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34285 * bits/types.h: Fold copyright years.
34286 * bits/typesizes.h: Likewise.
34287 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34291 * time/time.h: Likewise.
34293 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34296 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34297 in instead of returning them. Return void.
34298 (__libc_mallinfo): Accumulate over all arenas.
34299 (__malloc_stats): Adjust for change in int_mallinfo interface.
34301 2012-05-16 Roland McGrath <roland@hack.frob.com>
34304 * configure.in (NM): Add AC_CHECK_TOOL for it.
34305 (libc_extra_cflags): New substituted variable.
34306 Check for -fstack-protector being used implicitly.
34307 * configure: Regenerated.
34308 * config.make.in (config-extra-cflags): New variable,
34309 gets @libc_extra_cflags@.
34310 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34313 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34314 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34315 * configure: Regenerated.
34316 * config.make.in (CPPUNDEFS): New substituted variable.
34317 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34318 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34319 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34321 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34323 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34324 (mq_attr): Use __syscall_slong_t.
34326 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34328 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34329 Check __x86_64__ instead of __WORDSIZE.
34330 (_STAT_VER_LINUX): Likewise.
34331 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34332 __syscall_ulong_t and __syscall_slong_t.
34333 (stat64): Likewise.
34335 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34339 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34341 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34343 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34345 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34348 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34349 include <bits/wordsize.h>. Check __x86_64__ instead of
34351 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34353 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34355 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34356 include <bits/wordsize.h>. Check __x86_64__ instead of
34358 (user_regs_struct): Use "__extension__ unsigned long long"
34359 instead of "unsigned long" if __x86_64__ is defined.
34360 (user): Likewise. Pad after pointer field if __ILP32__ is
34363 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34365 * configure.in (makeinfo): Require version 4.5 or later. Allow
34367 * configure: Regenerated.
34368 * manual/install.texi (texinfo): Increase version requirement to
34370 * INSTALL: Regenerated.
34372 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34374 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34376 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34378 * sysdeps/x86_64/x32/ffs.c: New file.
34380 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34382 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34383 defined. Use __syscall_ulong_t.
34384 (shminfo): Use __syscall_ulong_t.
34385 (shm_info): Likewise.
34387 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34390 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34392 (msgqnum_t): Use __syscall_ulong_t.
34393 (msglen_t): Likewise.
34394 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34397 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34398 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34400 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34402 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34403 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34405 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34408 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34409 include <bits/wordsize.h>. Check __x86_64__ instead of
34412 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34413 "unsigned long long int" if __x86_64__ is defined.
34414 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34416 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34417 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34418 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34420 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34422 (GET_PC): Cast to uintptr_t first.
34423 (GET_FRAME): Likewise.
34424 (GET_STACK): Likewise.
34426 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34427 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34428 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34429 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34430 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34431 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34432 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34433 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34434 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34435 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34436 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34437 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34438 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34439 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34440 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34441 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34442 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34443 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34444 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34445 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34446 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34447 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34448 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34449 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34450 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34451 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34452 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34453 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34454 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34456 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34458 * Makerules (+depfiles): Also collect depfiles from .oS in
34460 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34461 .oS, $(libnldbl-routines)).
34463 * Makerules (native-compile-mkdep-flags): Define.
34464 * sunrpc/Makefile (extra-objs): Add $(addprefix
34465 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34466 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34467 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34468 calling $(make-target-directory).
34470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34472 * bits/types.h (__snseconds_t): Removed.
34473 * time/time.h (struct timespec): Replace __snseconds_t with
34475 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34476 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34479 (__SNSECONDS_T_TYPE): Likewise.
34480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34481 (__SNSECONDS_T_TYPE): Likewise.
34482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34483 (__SNSECONDS_T_TYPE): Likewise.
34485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34487 * sysdeps/mach/hurd/bits/typesizes.h
34488 (__SYSCALL_SLONG_TYPE): New macro.
34489 (__SYSCALL_ULONG_TYPE): Likewise.
34491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34493 * bits/types.h (__syscall_slong_t): New type.
34494 (__syscall_ulong_t): Likewise.
34496 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34497 (__SYSCALL_ULONG_TYPE): Likewise.
34498 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34499 (__SYSCALL_SLONG_TYPE): Likewise.
34500 (__SYSCALL_ULONG_TYPE): Likewise.
34501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34502 (__SYSCALL_SLONG_TYPE): Likewise.
34503 (__SYSCALL_ULONG_TYPE): Likewise.
34504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34505 (__SYSCALL_SLONG_TYPE): Likewise.
34506 (__SYSCALL_ULONG_TYPE): Likewise.
34508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34510 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34511 Add sigaltstack-offsets.sym.
34512 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34513 <sigaltstack-offsets.h>.
34514 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34515 longjmp_msg pointer.
34516 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34517 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34519 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34521 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34523 * elf/stackguard-macros.h: Remove file.
34524 * sysdeps/generic/stackguard-macros.h: New file.
34525 * sysdeps/i386/stackguard-macros.h: Likewise.
34526 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34527 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34528 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34529 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34530 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34531 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34532 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34533 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34534 <elf/stackguard-macros.h>.
34537 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34538 __aligned__ in attribute.
34539 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34540 (gregset_t): Likewise.
34542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34544 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34545 * sysdeps/x86_64/64/Implies-after: Here. New file.
34546 * sysdeps/x86_64/x32/Implies-after: New file.
34548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34550 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34551 and access return value for _dl_profile_fixup. Use R10_LP to
34554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34556 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34560 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34561 * sysdeps/x86_64/x32/sysdep.h: New file.
34563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34565 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34566 * sysdeps/x86_64/setjmp.S: Likewise.
34568 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34570 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34571 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34572 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34573 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34574 remove unused global constant.
34576 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34578 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34579 include of <not-cancel.h>.
34581 2012-05-15 Roland McGrath <roland@hack.frob.com>
34583 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34585 2012-05-15 Jeff Law <law@redhat.com>
34586 Andreas Jaeger <aj@suse.de>
34589 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34591 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34592 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34593 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34594 code changing __hst_map_handle.map.
34596 2012-05-15 Roland McGrath <roland@hack.frob.com>
34598 * configure.in (sysnames): Look for Implies-before and Implies-after
34600 * configure: Regenerated.
34602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34604 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34605 8-byte data alignment with LP_SIZE alignment.
34607 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34609 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34612 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34614 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34618 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34619 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34620 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34622 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34626 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34627 (stackinfo_sub_sp): Likewise.
34629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34631 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34636 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34639 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34646 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34650 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34651 into R11_LP and load __x86_64_shared_cache_size_half into
34654 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34656 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34659 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34663 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34665 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34667 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34668 powerpc32/power7/fpu/s_logb.c via #include.
34669 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34670 powerpc32/power7/fpu/s_logbf.c via #include.
34671 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34672 powerpc32/power7/fpu/s_logbl.c via #include.
34674 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34676 * README.libm: Remove file.
34678 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34680 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34681 count for x32. Use R*_LP and omit operand-size suffix.
34683 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34685 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34686 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34687 * sysdeps/x86_64/x32/shlib-versions: New file.
34689 2012-05-14 Roland McGrath <roland@hack.frob.com>
34691 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34692 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34693 Use _dl_fatal_printf instead.
34695 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34697 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34698 set if not set by the user. Do not allow for being unset.
34699 * sysdeps/unix/sysv/linux/configure: Regenerated.
34701 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34703 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34704 the `q' suffix from lea and replace .quad with ASM_ADDR.
34706 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34709 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34711 (PTR_DEMANGLE): Likewise.
34713 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34715 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34717 (ASM_ADDR): Likewise.
34718 (RAX_LP): Likewise.
34719 (RBP_LP): Likewise.
34720 (RBX_LP): Likewise.
34721 (RCX_LP): Likewise.
34722 (RDI_LP): Likewise.
34723 (RSI_LP): Likewise.
34724 (RSP_LP): Likewise.
34727 (R10_LP): Likewise.
34728 (R10_LP): Likewise.
34729 (R11_LP): Likewise.
34730 (R12_LP): Likewise.
34731 (R13_LP): Likewise.
34732 (R14_LP): Likewise.
34733 (R15_LP): Likewise.
34735 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34737 * sysdeps/x86_64/x32/dl-machine.h: New file.
34739 2012-05-14 Andreas Jaeger <aj@suse.de>
34741 * manual/Makefile (subdir): Remove export of subdir.
34742 (all): Remove target.
34743 (.PHONY): Remove all from list.
34744 (mkinstalldirs): Remove.
34745 (.PHONY): Remove installdirs from list.
34746 ($(inst_infodir)/libc.info): Use make-target-directory.
34747 (installdirs): Remove.
34748 (subdir_%): Remove.
34749 (glibc-targets): Remove.
34752 ($(objpfx)stubs ../po/manual.pot): Remove.
34753 ($(objpfx)stamp%): Remove.
34754 (make-target-directory): Remove.
34755 (subdir_install): Remove.
34756 (routines): Remove.
34763 * manual/.gitignore: Remove, it's not needed anymore.
34764 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34766 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34768 (texis): Renamed to $(objpfx)texis.
34769 (texis-path): New, contains path to generated files.
34770 (chapters.%): Use texis-path for complete path, add extra argument
34772 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34773 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34774 (summary,texi, stamp-summary): Use complete path of
34775 files. Generate files in build dir.
34776 (dir-add.texi): Build in build dir.
34777 (libm-err.texi,stamp-libm-err): Likewise.
34778 (version.texi, stamp-version): Likewise.
34779 (.%c.texi): Likewise.
34780 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34781 (mostlyclean): Remove target.
34782 (realclean): Remove target.
34783 (generated): Add new variable with contents from mostlyclean and
34784 realclean, remove entries duplicated in common-mostlyclean, add
34785 stamp-libm-err and stamp-version.
34786 (generated-dirs): Add libc directory.
34787 ($(inst_infodir)/libc.info): Install files from build dir.
34789 * manual/install.texi (Configuring and compiling): Adjust since
34790 the info files are not part of the tar ball anymore.
34792 2012-05-14 Andreas Jaeger <aj@suse.de>
34794 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34797 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34801 to 2.2.0 where earlier.
34802 * sysdeps/unix/sysv/linux/configure: Regenerated.
34803 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34804 Remove conditional code.
34805 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34806 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34807 Remove conditional code.
34808 [!__NR_lchown]: Likewise.
34809 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34810 [__NR_lchown]: Likewise.
34811 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34812 comment referencing __ASSUME_LCHOWN_SYSCALL.
34813 * sysdeps/unix/sysv/linux/i386/sigaction.c
34814 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34815 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34816 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34817 Remove conditional code.
34818 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34819 (__protocol_available): Remove #if 0 code.
34820 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34822 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34823 * sysdeps/unix/sysv/linux/kernel-features.h
34824 (__ASSUME_GETCWD_SYSCALL): Don't define.
34825 (__ASSUME_REALTIME_SIGNALS): Likewise.
34826 (__ASSUME_PREAD_SYSCALL): Likewise.
34827 (__ASSUME_PWRITE_SYSCALL): Likewise.
34828 (__ASSUME_POLL_SYSCALL): Likewise.
34829 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34830 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34832 (__ASSUME_SIOCGIFNAME): Don't define.
34833 (__ASSUME_MSG_NOSIGNAL): Likewise.
34834 (__ASSUME_SENDFILE): Define unconditionally.
34835 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34836 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34838 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34839 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34840 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34841 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34842 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34843 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34844 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34846 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34847 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34849 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34852 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34858 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34859 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34861 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34862 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34864 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34867 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34869 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34870 Remove conditional code.
34871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34872 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34873 Remove conditional code.
34874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34875 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34876 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34877 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34878 Remove conditional code.
34879 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34880 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34881 Remove conditional code.
34882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34883 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34884 Remove conditional code.
34885 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34886 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34887 Remove conditional code.
34888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34889 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34890 Remove conditional code.
34891 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34892 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34893 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34895 * sysdeps/unix/sysv/linux/sigaction.c
34896 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34897 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34898 * sysdeps/unix/sysv/linux/sigpending.c
34899 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34900 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34901 * sysdeps/unix/sysv/linux/sigprocmask.c
34902 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34903 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34904 * sysdeps/unix/sysv/linux/sigsuspend.c
34905 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34906 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34907 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34908 (__libc_missing_rt_sigs): Remove.
34909 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34910 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34911 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34912 Remove conditional code.
34913 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34914 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34916 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34917 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34918 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34919 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34921 2012-05-14 Andreas Jaeger <aj@suse.de>
34923 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34924 it's not used in glibc.
34925 (__coshm1): Likewise.
34926 (__acosh1p): Likewise.
34929 * manual/string.texi (Copying and Concatenation): Add missing
34930 variable in concat example.
34931 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34933 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34936 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34937 __builtin_clzl with __builtin_clzll.
34939 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34942 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34945 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34947 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34948 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34949 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34950 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34952 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34954 * NEWS: Update ia64 info.
34956 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34958 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34961 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34963 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34964 * sysdeps/unix/syscalls.list (dup3): Likewise.
34965 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34966 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34968 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34970 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34971 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34973 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34975 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34977 (TLS_IE): Use mov/add instead of movq/addq to load thread
34979 (TLS_GD_PREFIX): New.
34982 2012-05-11 David S. Miller <davem@davemloft.net>
34984 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34985 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34986 (_FPU_SETCW): Likewise.
34988 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34990 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34991 is 32-byte aligned.
34993 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34996 * iconvdata/gb18030.c: Update tables.
34997 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34998 characters specially.
34999 (BODY for TO_LOOP): Add encoding of missing ranges.
35001 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35004 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35005 * sysdeps/mach/hurd/dup3.c: Likewise.
35006 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35007 * sysdeps/powerpc/memmove.c:: Likewise.
35009 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35012 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35014 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35016 * elf/elf.h (R_X86_64_RELATIVE64): New.
35017 (R_X86_64_NUM): Updated.
35018 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35019 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35020 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35021 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35022 tst-quad1pie tst-quad2pie
35023 (modules-names): Add tst-quadmod1 tst-quadmod2.
35024 ($(objpfx)tst-quad1): New dependency.
35025 ($(objpfx)tst-quad2): Likewise.
35026 ($(objpfx)tst-quad1pie): Likewise.
35027 ($(objpfx)tst-quad2pie): Likewise.
35028 * sysdeps/x86_64/tst-quad1.c: New file.
35029 * sysdeps/x86_64/tst-quad1pie.c: New file.
35030 * sysdeps/x86_64/tst-quad2.c: Likewise.
35031 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35032 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35033 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35034 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35035 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35037 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35039 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35040 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35041 * streams/stropts.h (t_scalar_t): Define type.
35043 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35044 (_PATH_PRESERVE): Set to "/var/lib".
35045 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35047 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35050 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35051 if __dir_mkfile succeeded.
35053 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35054 checking for _hurd_dtablesize. Unlock it right after having
35055 finished _hurd_dtable allocation.
35057 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35059 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35060 * sysdeps/mach/hurd/configure: Regenerated.
35061 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35062 special-casing to...
35063 * sysdeps/gnu/configure.in: ... this new file.
35064 * sysdeps/unix/sysv/linux/configure: Regenerated.
35065 * sysdeps/gnu/configure: New generated file.
35067 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35068 for Linux: use nsec instead of usec, as well as:
35069 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35070 members of type struct timespec.
35071 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35073 (struct stat64): Likewise.
35074 (_STATBUF_ST_NSEC): New macro.
35075 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35077 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35078 __strtoul_internal rather than strtoul.
35080 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35082 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35085 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35087 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35088 which preserves existing values.
35089 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35091 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35093 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35094 TIMEOUT values. Return EINVAL for NFDS values either negative or
35095 greater than FD_SETSIZE.
35097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35099 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35100 allocated, call __vm_protect to finish enabling the existing space, and
35101 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35102 allocate the remainder.
35104 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35106 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35107 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35109 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35111 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35112 sysdeps/mach/hurd/readlink.c.
35114 * posix/tst-sysconf.c (posix_options): Only use
35115 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35116 _POSIX_SYNCHRONIZED_IO when they are defined
35117 * sysdeps/mach/hurd/bits/posix_opt.h:
35118 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35119 (_XOPEN_REALTIME): Undefine macro.
35120 (_XOPEN_REALTIME_THREADS): Undefine macro.
35121 (_XOPEN_SHM): Undefine macro.
35122 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35124 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35126 (_POSIX_ASYNC_IO): Undefine macro.
35127 (_POSIX_PRIORITIZED_IO): Undefine macro.
35128 (_POSIX_SPIN_LOCKS): Define macro to -1.
35130 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35131 SA_NODEFER, SA_RESETHAND.
35132 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35133 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35138 * elf/Makefile (pldd-modules): Define unconditionally.
35140 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35142 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35146 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35147 Return ENOENT when name is empty.
35148 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35150 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35152 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35154 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35156 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35158 Fix mlock in all cases except non-readable pages.
35159 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35160 instead of VM_PROT_ALL as parameter to __vm_wire function.
35162 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35163 (__mkdir): When path is `/', just fail with EEXIST.
35164 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35166 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35168 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35169 <sys/uio.h> (for writev).
35170 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35171 and <sys/param.h> (for MIN).
35173 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35175 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35176 REQUESTED_TIME. Properly set the remaining time and return EINTR
35179 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35181 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35182 Depend on against $(link-rpcuserlibs).
35184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35186 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35187 (__libc_stack_end): Do not use attribute_relro.
35188 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35189 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35190 to libthread-provided value.
35191 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35194 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35197 * bits/libc-lock.h (__libc_once_get): New macro.
35198 * sysdeps/mach/bits/libc-lock.h: Likewise.
35199 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35200 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35201 instead of using implementation details.
35203 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35204 * libio/freopen.c: Likewise.
35205 * libio/freopen64.c: Likewise.
35206 * misc/syslog.c: Likewise.
35207 * nscd/connections.c: Likewise.
35208 * nscd/netgroupcache.c: Likewise.
35209 * sysdeps/posix/getcwd.c: Likewise.
35211 2012-05-10 Roland McGrath <roland@hack.frob.com>
35213 * math/w_ilogbf.c: Add #include <limits.h>.
35215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35217 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35218 path instead of returning without unlocking.
35220 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35221 immediate-write ioctls.
35222 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35224 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35226 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35227 __builtin_frame_address instead of making assumptions about the
35228 location of the return address relative to DATA. Force early load of
35229 the return address.
35230 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35231 __builtin_frame_address.
35234 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35235 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35236 implement dup3 and do some further code clean-ups.
35237 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35238 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35240 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35242 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35244 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35245 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35246 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35247 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35248 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35251 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35252 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35253 when handler == SIG_ERR, not when handler != SIG_ERR.
35255 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35257 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35258 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35261 accept4 for GNU Hurd.
35262 * include/sys/socket.h (__libc_accept4): New prototype.
35263 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35264 to implement __libc_accept4.
35265 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35267 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35269 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35270 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35271 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35272 signal-defines.sym.
35274 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35276 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35278 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35280 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35281 assertion on O_CLOEXEC flag.
35282 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35283 * hurd/intern-fd.c: Likewise.
35284 * hurd/port2fd.c: Likewise.
35286 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35289 * bits/in.h (IPV6_PKTINFO): Define new macro.
35290 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35292 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35297 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35298 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35299 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35300 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35301 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35302 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35303 * math/libm-test.inc (logb_test) : Additional logb tests.
35305 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35306 Andreas Jaeger <aj@suse.de>
35308 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35309 * configure: Regenerated.
35310 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35311 * config.make.in (link-obsolete-rpc): New substituted variable.
35312 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35313 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35314 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35315 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35316 so that libc.a contains the symbols.
35317 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35318 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35319 * sunrpc/auth_none.c: Likewise.
35320 * sunrpc/auth_unix.c: Likewise.
35321 * sunrpc/authdes_prot.c: Likewise.
35322 * sunrpc/authuxprot.c: Likewise.
35323 * sunrpc/clnt_gen.c: Likewise.
35324 * sunrpc/clnt_perr.c: Likewise.
35325 * sunrpc/clnt_raw.c: Likewise.
35326 * sunrpc/clnt_simp.c: Likewise.
35327 * sunrpc/clnt_tcp.c: Likewise.
35328 * sunrpc/clnt_udp.c: Likewise.
35329 * sunrpc/clnt_unix.c: Likewise.
35330 * sunrpc/des_crypt.c: Likewise.
35331 * sunrpc/des_soft.c: Likewise.
35332 * sunrpc/get_myaddr.c: Likewise.
35333 * sunrpc/key_call.c: Likewise.
35334 * sunrpc/key_prot.c: Likewise.
35335 * sunrpc/netname.c: Likewise.
35336 * sunrpc/pm_getmaps.c: Likewise.
35337 * sunrpc/pm_getport.c: Likewise.
35338 * sunrpc/pmap_clnt.c: Likewise.
35339 * sunrpc/pmap_prot.c: Likewise.
35340 * sunrpc/pmap_prot2.c: Likewise.
35341 * sunrpc/pmap_rmt.c: Likewise.
35342 * sunrpc/publickey.c: Likewise.
35343 * sunrpc/rpc_cmsg.c: Likewise.
35344 * sunrpc/rpc_common.c: Likewise.
35345 * sunrpc/rpc_dtable.c: Likewise.
35346 * sunrpc/rpc_prot.c: Likewise.
35347 * sunrpc/rpc_thread.c: Likewise.
35348 * sunrpc/rtime.c: Likewise.
35349 * sunrpc/svc.c: Likewise.
35350 * sunrpc/svc_auth.c: Likewise.
35351 * sunrpc/svc_raw.c: Likewise.
35352 * sunrpc/svc_run.c: Likewise.
35353 * sunrpc/svc_tcp.c: Likewise.
35354 * sunrpc/svc_udp.c: Likewise.
35355 * sunrpc/svc_unix.c: Likewise.
35356 * sunrpc/svcauth_des.c: Likewise.
35357 * sunrpc/xcrypt.c: Likewise.
35358 * sunrpc/xdr.c: Likewise.
35359 * sunrpc/xdr_array.c: Likewise.
35360 * sunrpc/xdr_float.c: Likewise.
35361 * sunrpc/xdr_intXX_t.c: Likewise.
35362 * sunrpc/xdr_mem.c: Likewise.
35363 * sunrpc/xdr_rec.c: Likewise.
35364 * sunrpc/xdr_ref.c: Likewise.
35365 * sunrpc/xdr_sizeof.c: Likewise.
35366 * sunrpc/xdr_stdio.c: Likewise.
35368 2012-05-10 Roland McGrath <roland@hack.frob.com>
35370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35371 change. Update copyright years.
35373 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35375 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35377 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35378 Joseph Myers <joseph@codesourcery.com>
35379 Paul Pluzhnikov <ppluzhnikov@google.com>
35382 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35384 [cross-compiling] (extra-libs): Likewise.
35385 [cross-compiling] (extra-libs-others): Likewise.
35386 [cross-compiling] (librpcsvc-routines): Likewise.
35387 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35388 [cross-compiling] (omit-deps): Likewise.
35389 (sunrpc-CPPFLAGS): New variable.
35390 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35391 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35392 (cross-rpcgen-objs): New variable.
35393 (extra-objs): Append $(cross-rpcgen-objs).
35394 ($(cross-rpcgen-objs)): New rule.
35395 ($(objpfx)cross-rpcgen): Likewise.
35396 (rpcgen-cmd): Define to use $(built-program-file). Expand
35398 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35399 ($(objpfx)x%.stmp): Likewise.
35400 * sunrpc/proto.h [IS_IN_build] (_): Define.
35401 [IS_IN_build] (_libc_intl_domainname): Likewise.
35403 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35406 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35407 and R_X86_64_TPOFF64.
35409 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35411 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35412 sysdeps/unix/sysv/syscalls.list.
35415 * sysdeps/unix/sysv/syscalls.list: Remove file.
35417 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35420 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35421 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35422 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35423 (__LC_IDENTIFICATION): Make these macros useful in #if
35424 expressions, as required by C99.
35426 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35428 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35429 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35432 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35434 * stdlib/longlong.h: Updated from GCC.
35436 2012-05-09 Andreas Jaeger <aj@suse.de>
35438 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35439 default is first entry.
35440 (run_mode): Set type.
35441 (main): Remove informal message about syslog.
35442 (options): Fix typo.
35445 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35448 (llrintf): Likewise.
35449 (llrint): Likewise.
35452 (nearbyint): Likewise.
35453 (nearbyintf): Likewise.
35455 2012-05-09 Andreas Jaeger <aj@suse.de>
35456 Pedro Alves <palves@redhat.com>
35458 * nscd/nscd.c (run_mode): Use enum.
35459 (main): Cleanup coding style issue.
35461 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35462 Andreas Jaeger <aj@suse.de>
35464 * nscd/nscd.c (go_background): Replaced with...
35465 (run_mode): ... this.
35466 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35467 (options): Add -F --foreground.
35468 (main): Implement it.
35469 (parse_opt): Parse it.
35471 2012-05-09 Andreas Jaeger <aj@suse.de>
35474 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35475 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35476 -Wconversion warning.
35477 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35480 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35482 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35484 (LC_ALL): Use macro-int-constant.
35485 (LC_COLLATE): Likewise.
35486 (LC_CTYPE): Likewise.
35487 (LC_MESSAGES): Likewise.
35488 (LC_MONETARY): Likewise.
35489 (LC_NUMERIC): Likewise.
35490 (LC_TIME): Likewise.
35491 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35492 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35494 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35496 [C99-based standards] (float_t): Expect type.
35497 [C99-based standards] (double_t): Expect type.
35498 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35500 [C99-based standards] (HUGE_VALL): Likewise.
35501 [C99-based standards] (INFINITY): Likewise.
35502 [C99-based standards] (NAN): Likewise.
35503 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35504 [C99-based standards] (FP_NAN): Likewise.
35505 [C99-based standards] (FP_NORMAL): Likewise.
35506 [C99-based standards] (FP_SUBNORMAL): Likewise.
35507 [C99-based standards] (FP_ZERO): Likewise.
35508 [C99-based standards] (FP_FAST_FMA): Use
35509 optional-macro-int-constant. Specify type. Require == 1.
35510 [C99-based standards] (FP_FAST_FMAF): Likewise.
35511 [C99-based standards] (FP_FAST_FMAL): Likewise.
35512 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35513 [C99-based standards] (FP_ILOGBNAN): Likewise.
35514 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35516 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35517 [C99-based standards] (math_errhandling): Specify type.
35518 [ISO99 || ISO11] (signgam): Do not allow.
35519 [non-C99-based standards] (copysignf): Do not allow.
35520 [non-C99-based standards] (exp2f): Likewise.
35521 [non-C99-based standards] (log2f): Likewise.
35522 [non-C99-based standards] (modff): Allow.
35523 [non-C99-based standards] (erff): Do not allow.
35524 [non-C99-based standards] (erfcf): Likewise.
35525 [non-C99-based standards] (gammaf): Likewise.
35526 [non-C99-based standards] (hypotf): Likewise.
35527 [non-C99-based standards] (j0f): Likewise.
35528 [non-C99-based standards] (j1f): Likewise.
35529 [non-C99-based standards] (jnf): Likewise.
35530 [non-C99-based standards] (lgammaf): Likewise.
35531 [non-C99-based standards] (tgammaf): Likewise.
35532 [non-C99-based standards] (y0f): Likewise.
35533 [non-C99-based standards] (y1f): Likewise.
35534 [non-C99-based standards] (ynf): Likewise.
35535 [non-C99-based standards] (isnanf): Likewise.
35536 [non-C99-based standards] (acoshf): Likewise.
35537 [non-C99-based standards] (asinhf): Likewise.
35538 [non-C99-based standards] (atanhf): Likewise.
35539 [non-C99-based standards] (cbrtf): Likewise.
35540 [non-C99-based standards] (expm1f): Likewise.
35541 [non-C99-based standards] (ilogbf): Likewise.
35542 [non-C99-based standards] (log1pf): Likewise.
35543 [non-C99-based standards] (logbf): Likewise.
35544 [non-C99-based standards] (nextafterf): Likewise.
35545 [non-C99-based standards] (remainderf): Likewise.
35546 [non-C99-based standards] (rintf): Likewise.
35547 [non-C99-based standards] (scalbf): Likewise.
35548 [non-C99-based standards] (copysignl): Likewise.
35549 [non-C99-based standards] (exp2l): Likewise.
35550 [non-C99-based standards] (log2l): Likewise.
35551 [non-C99-based standards] (modfl): Allow.
35552 [non-C99-based standards] (erfl): Do not allow.
35553 [non-C99-based standards] (erfcl): Likewise.
35554 [non-C99-based standards] (gammal): Likewise.
35555 [non-C99-based standards] (hypotl): Likewise.
35556 [non-C99-based standards] (j0l): Likewise.
35557 [non-C99-based standards] (j1l): Likewise.
35558 [non-C99-based standards] (jnl): Likewise.
35559 [non-C99-based standards] (lgammal): Likewise.
35560 [non-C99-based standards] (tgammal): Likewise.
35561 [non-C99-based standards] (y0l): Likewise.
35562 [non-C99-based standards] (y1l): Likewise.
35563 [non-C99-based standards] (ynl): Likewise.
35564 [non-C99-based standards] (isnanl): Likewise.
35565 [non-C99-based standards] (acoshl): Likewise.
35566 [non-C99-based standards] (asinhl): Likewise.
35567 [non-C99-based standards] (atanhl): Likewise.
35568 [non-C99-based standards] (cbrtl): Likewise.
35569 [non-C99-based standards] (expm1l): Likewise.
35570 [non-C99-based standards] (ilogbl): Likewise.
35571 [non-C99-based standards] (log1pl): Likewise.
35572 [non-C99-based standards] (logbl): Likewise.
35573 [non-C99-based standards] (nextafterl): Likewise.
35574 [non-C99-based standards] (remainderl): Likewise.
35575 [non-C99-based standards] (rintl): Likewise.
35576 [non-C99-based standards] (scalbl): Likewise.
35577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35578 [non-C99-based standards] (FP_*): Do not allow.
35579 [C99-based standards] (FP_*): Change to
35580 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35581 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35583 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35584 (SIG_ERR): Likewise.
35585 [X/Open-based standards] (SIG_HOLD): Likewise.
35586 (SIG_IGN): Likewise.
35587 (SIGABRT): Use macro-int-constant. Specify type. Require
35589 (SIGFPE): Likewise.
35590 (SIGILL): Likewise.
35591 (SIGINT): Likewise.
35592 (SIGSEGV): Likewise.
35593 (SIGTER): Likewise.
35594 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35595 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35596 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35597 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35598 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35599 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35600 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35601 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35602 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35603 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35604 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35605 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35606 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35607 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35608 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35609 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35610 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35611 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35612 [X/Open-based standards] (SIGTRAP): Likewise.
35613 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35614 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35615 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35616 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35617 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35620 2012-05-08 Ian Wienand <ianw@vmware.com>
35623 * time/tzset.c (__tzset_parse_tz): Update default rules for
35624 daylight time changes in the Energy Policy Act of 2005.
35626 2012-05-09 Andreas Jaeger <aj@suse.de>
35629 * elf/ldconfig.c (parse_conf): Change string to make clear that
35630 ldconfig only issued a warning if ld.so.conf does not exist.
35632 2012-05-08 David S. Miller <davem@davemloft.net>
35634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35635 movxtod instead of popping the value on the stack.
35637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35639 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35641 * config.h.in: Add HAVE_ARM_PCS_VFP.
35643 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35646 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35647 checking but the checks are disabled for any reason.
35649 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35651 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35652 and ELF64_R_TYPE with ELFW(R_TYPE).
35654 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35656 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35657 (ulimit): Likewise.
35659 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35660 (settimeofday): Likewise.
35662 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35664 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35665 a struct th_u2 inside the union, and move tu_block/tu_code into
35666 a new th_u3 union of tu_block/tu_code inside of that. Move
35667 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35668 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35669 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35670 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35671 (th_stuff): Change to th_u1.tu_stuff.
35673 (th_msg): Change to th_u1.th_u2.tu_data.
35675 2012-05-07 David S. Miller <davem@davemloft.net>
35677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35680 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35681 (SETUP_PIC_REG): Use it.
35682 (SETUP_PIC_REG_LEAF): Use it.
35684 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35688 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35690 (EXPL_FINITE): Likewise.
35691 (FLDLOG): Likewise.
35692 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35693 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35697 (EXPL_FINITE): Likewise.
35698 (FLDLOG): Likewise.
35699 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35700 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35702 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35703 test of -max_value argument for long double.
35704 * sysdeps/i386/fpu/libm-test-ulps: Update.
35705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35707 2012-05-06 David S. Miller <davem@davemloft.net>
35709 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35710 quad soft-float symbols whose references which are compiler
35712 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35714 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35718 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35720 (EXPL_FINITE): Likewise.
35721 (FLDLOG): Likewise.
35724 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35725 Adjust comments for base varying.
35726 (__expl_finite): Change alias to EXPL_FINITE.
35727 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35729 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35730 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35732 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35733 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35735 (EXPL_FINITE): Likewise.
35736 (FLDLOG): Likewise.
35739 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35740 Adjust comments for base varying.
35741 (__expl_finite): Change alias to EXPL_FINITE.
35742 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35747 * math/libm-test.inc (check_float_internal): Correct ulp
35748 calculation for subnormal expected results.
35750 2012-05-06 Andreas Jaeger <aj@suse.de>
35752 * Makeconfig (+math-flags): New, set to -frounding-math.
35753 (+cflags): Add +math-flags so that all of glibc gets compiled with
35756 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35758 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35760 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35766 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35767 (__ieee754_expl): Allow for and saturate large arguments.
35768 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35769 (u_threshold): Likewise.
35770 (__exp): Call __ieee754_exp before checking for overflow and
35772 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35773 (u_threshold): Likewise.
35774 (__expf): Call __ieee754_expf before checking for overflow and
35776 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35777 (u_threshold): Likewise.
35778 (__expl): Call __ieee754_expl before checking for overflow and
35780 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35781 (__ieee754_expl): Allow for and saturate large arguments.
35782 * math/libm-test.inc (exp_test): Add another test. Do not allow
35783 missing overflow exception on overflow.
35784 (expm1_test): Do not allow missing overflow exception on overflow.
35786 * sysdeps/i386/fpu/e_expl.c: Move to ...
35787 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35788 rather than using inline asm.
35789 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35790 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35791 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35793 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35796 (signal): Likewise.
35800 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35802 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35803 sysdeps/unix/common/syscalls.list.
35804 (fchmod): Likewise.
35805 (fchown): Likewise.
35806 (ftruncate): Likewise.
35807 (getrusage): Likewise.
35808 (gettimeofday): Likewise.
35809 (setpgid): Likewise.
35810 (setregid): Likewise.
35811 (setreuid): Likewise.
35812 (sigaction): Likewise.
35813 (truncate): Likewise.
35814 (vhangup): Likewise.
35815 * sysdeps/unix/common/syscalls.list: Remove file.
35816 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35817 * sysdeps/unix/sysv/linux/Implies: Likewise.
35819 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35821 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35823 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35827 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35830 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35833 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35836 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35839 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35842 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35845 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35849 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35853 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35856 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35860 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35864 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35866 * sysdeps/unix/common/bits/dirent.h: Remove file.
35867 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35869 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35870 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35871 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35872 * sysdeps/unix/bsd/isatty.c: Likewise.
35873 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35874 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35875 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35877 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35880 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35881 long double comparison inaccuracies.
35882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35885 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35887 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35890 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35893 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35894 nonzero digits before rounding a hex value.
35895 * stdlib/tst-strtod.c (tests): Add another test.
35897 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35899 * sysdeps/s390/fpu/libm-test-ulps: Update.
35901 2012-05-03 Andreas Jaeger <aj@suse.de>
35903 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35904 does not get optimized out.
35905 (malloc_opt_barrier): New.
35907 2012-05-03 Andreas Jaeger <aj@suse.de>
35908 Roland McGrath <roland@hack.frob.com>
35910 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35911 intermediate file deletion.
35912 (generated): Add .symlist files.
35914 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35917 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35918 Redirect under this condition.
35919 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35920 [__USE_GNU] (__dprintf_chk): Not under this condition.
35921 [__USE_GNU] (__vdprintf_chk): Likewise.
35922 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35923 under this condition.
35924 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35925 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35926 [__USE_XOPEN2K8] (vdprintf): Likewise.
35927 [__USE_GNU] (__dprintf_chk): Not under this condition.
35928 [__USE_GNU] (__vdprintf_chk): Likewise.
35929 [__USE_GNU] (dprintf): Likewise.
35930 [__USE_GNU] (vdprintf): Likewise.
35932 2012-05-03 Roland McGrath <roland@hack.frob.com>
35934 * elf/Makefile (common-generated): Set this instead of generated for
35935 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35936 $(all-built-dso)-derived lists.
35938 2012-05-03 Andreas Jaeger <aj@suse.de>
35940 * sysdeps/i386/fpu/libm-test-ulps: Update.
35943 * FAQ.in: Likewise.
35944 * scripts/gen-FAQ.pl: Likewise.
35945 * manual/install.texi (Installation): Point to online location of
35947 * Makefile (files-for-dist): Remove FAQ.
35950 2012-05-02 Allan McRae <allan@archlinux.org>
35952 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35953 (LDFLAGS-reldepmod5.so): Likewise.
35954 (LDFLAGS-reldep6mod1.so): Likewise.
35955 (LDFLAGS-reldep6mod4.so): Likewise.
35956 (LDFLAGS-reldep8mod3.so): Likewise.
35957 (LDFLAGS-unload4mod1.so): Likewise.
35958 (LDFLAGS-unload4mod2.so): Likewise.
35959 (LDFLAGS-tst-initorder): Likewise.
35960 (LDFLAGS-tst-initordera2.so): Likewise.
35961 (LDFLAGS-tst-initordera3.so): Likewise.
35962 (LDFLAGS-tst-initordera4.so): Likewise.
35963 (LDFLAGS-tst-initorderb2.so): Likewise.
35964 (LDFLAGS-noload): Likewise.
35965 (LDFLAGS-next): Likewise.
35966 (LDFLAGS-order2mod1.so): Likewise.
35967 (LDFLAGS-order2mod2.so): Likewise.
35968 (LDFLAGS-tst-initorder2): Likewise.
35969 (LDFLAGS-tst-initorder2a.so): Likewise.
35970 (LDFLAGS-tst-initorder2b.so): Likewise.
35971 (LDFLAGS-tst-initorder2c.so): Likewise.
35972 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35974 2012-05-02 David S. Miller <davem@davemloft.net>
35976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35978 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35981 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35983 2012-05-02 Andreas Jaeger <aj@suse.de>
35985 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35986 since we manipulate rounding mode.
35987 (CPPFLAGS-test-idouble.c): Likewise.
35988 (CPPFLAGS-test-ifloat.c): Likewise.
35989 (CFLAGS-test-ldouble.c): Likewise.
35990 (CFLAGS-test-double.c): Likewise.
35991 (CFLAGS-test-float.c): Likewise.
35992 (CFLAGS-test-misc.c): Likewise.
35993 (CFLAGS-test-test-fenv.c): Likewise.
35995 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35999 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36000 comparisons to determine direction to adjust input.
36002 2012-05-01 Roland McGrath <roland@hack.frob.com>
36004 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36005 output to the target.
36007 * scripts/localplt.awk: New file.
36008 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36009 (check-localplt-CFLAGS): Variable removed.
36010 ($(all-built-dso:=.jmprel)): New static pattern rule.
36011 (generated): Add those targets.
36012 (localplt-built-dso): New variable.
36013 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36015 * elf/check-localplt.c: File removed.
36017 * scripts/check-execstack.awk: New file.
36018 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36019 (check-execstack-CFLAGS): Variable removed.
36020 ($(objpfx)check-execstack.h): Target removed.
36021 ($(objpfx)execstack-default): New target.
36022 (generated): Add that instead of check-execstack.h.
36023 ($(all-built-dso:=.phdr)): New static pattern rule.
36024 (generated): Add those targets.
36025 * elf/check-execstack.c: File removed.
36027 * scripts/check-textrel.awk: New file.
36028 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36029 (check-textrel-CFLAGS): Variable removed.
36030 (all-built-dso): Use := to define.o
36031 ($(all-built-dso:=.dyn)): New static pattern rule.
36032 (generated): Add those targets.
36033 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36034 * config.make.in (READELF): New substituted variable.
36035 * elf/check-textrel.c: File removed.
36037 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36039 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36041 * conform/data/ctype.h-data [C99-based standards] (isblank):
36043 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36044 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36046 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36047 Specify type. Require positive value.
36048 (EILSEQ): Likewise.
36049 (ERANGE): Likewise.
36050 [ISO || POSIX] (EILSEQ): Do not expect.
36051 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36052 Specify type. Require positive value.
36053 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36054 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36055 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36056 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36057 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36058 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36059 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36060 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36061 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36062 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36063 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36064 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36065 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36066 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36067 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36068 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36069 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36070 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36071 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36072 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36073 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36074 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36075 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36076 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36077 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36078 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36079 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36080 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36081 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36082 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36083 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36084 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36085 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36086 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36087 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36088 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36089 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36090 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36091 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36092 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36093 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36094 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36095 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36096 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36097 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36098 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36099 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36100 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36101 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36102 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36103 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36104 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36105 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36106 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36107 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36108 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36109 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36110 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36111 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36112 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36113 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36114 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36115 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36116 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36117 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36118 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36119 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36120 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36121 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36122 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36123 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36124 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36125 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36126 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36127 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36128 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36129 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36131 (FLT_ROUNDS): Expect as macro, not constant.
36132 (FLT_MANT_DIG): Use macro-int-constant.
36133 (DBL_MANT_DIG): Likewise.
36134 (LDBL_MANT_DIG): Likewise.
36135 (FLT_DIG): Likewise.
36136 (DBL_DIG): Likewise.
36137 (LDBL_DIG): Likewise.
36138 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36139 (DBL_MIN_EXP): Likewise.
36140 (LDBL_MIN_EXP): Likewise.
36141 (FLT_MAX_EXP): Use macro-int-constant.
36142 (DBL_MAX_EXP): Likewise.
36143 (LDBL_MAX_EXP): Likewise.
36144 (FLT_MAX_10_EXP): Likewise.
36145 (DBL_MAX_10_EXP): Likewise.
36146 (LDBL_MAX_10_EXP): Likewise.
36147 (FLT_MAX): Use macro-constant.
36148 (DBL_MAX): Likewise.
36149 (LDBL_MAX): Likewise.
36150 (FLT_EPSILON): Use macro-constant. Give upper bound.
36151 (DBL_EPSILON): Likewise.
36152 (LDBL_EPSILON): Likewise.
36153 (FLT_MIN): Likewise.
36154 (DBL_MIN): Likewise.
36155 (LDBL_MIN): Likewise.
36156 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36157 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36158 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36159 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36160 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36161 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36162 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36163 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36164 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36165 [ISO11] (FLT_TRUE_MIN): Likewise.
36166 [ISO11] (LDBL_TRUE_MIN): Likewise.
36167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36168 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36169 (SCHAR_MIN): Use macro-int-constant. Specify type.
36170 (SCHAR_MAX): Likewise.
36171 (UCHAR_MAX): Likewise.
36172 (CHAR_MIN): Likewise.
36173 (CHAR_MAX): Likewise.
36174 (MB_LEN_MAX): Use macro-int-constant.
36175 (SHRT_MIN): Use macro-int-constant. Specify type.
36176 (SHRT_MAX): Likewise.
36177 (USHRT_MAX): Likewise.
36178 (INT_MAX): Likewise.
36179 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36181 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36183 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36185 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36186 bound negative. Suffix upper bound with "L".
36187 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36189 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36191 [C99-based standards] (LLONG_MAX): Likewise.
36192 [C99-based standards] (ULLONG_MAX): Likewise.
36193 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36195 [ISO11] (max_align_t): Require type.
36196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36198 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36199 from $CFLAGS, without defining away __attribute__ calls.
36200 (checknamespace): Use $CFLAGS_namespace.
36202 * conform/conformtest.pl (@keywords): Only include C99 keywords
36203 for standards based on C99 or C11.
36205 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36207 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36210 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36211 usability of symbols in #if.
36213 * conform/conformtest.pl: If macro or constant types start
36214 "promoted:", expect the symbol to be of the following type
36215 promoted by the integer promotions.
36217 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36218 in one place. Also handle "macro-constant".
36220 * conform/conformtest.pl: Only accept expected macro values with
36221 "==". Parse all "macro" lines in one place.
36222 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36224 * conform/conformtest.pl: Handle braced types on "constant" lines
36225 instead of handling "typed-constant".
36226 * conform/data/signal.h-data: Use "constant" instead of
36229 * conform/conformtest.pl: Handle "optional-" at start of lines in
36230 one place rather than duplicating several cases. Handle each
36231 format of "macro" line with initial "optional-".
36233 * conform/conformtest.pl: Only accept expected constant or
36234 optional-constant values with "==". Parse all "constant" lines in
36235 one place. Parse all "optional-constant" lines in one place.
36236 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36237 * conform/data/fmtmsg.h-data: Likewise.
36238 * conform/data/netinet/in.h-data: Likewise.
36239 * conform/data/tar.h-data: Likewise.
36240 * conform/data/limits.h-data: Use "==" form on "constant" and
36241 "optional-constant" lines.
36243 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36244 Use -std=c99 for XOPEN2K.
36245 (@knownproblems): Remove.
36246 (newtoken): Don't check %isknown.
36248 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36249 Do not expect macro.
36250 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36251 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36252 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36253 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36254 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36255 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36256 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36257 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36258 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36259 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36260 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36261 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36262 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36263 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36264 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36265 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36266 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36267 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36268 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36269 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36270 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36271 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36272 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36273 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36274 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36275 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36276 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36277 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36278 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36279 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36280 [XPG3] (acosh): Likewise.
36281 [XPG3] (asinh): Likewise.
36282 [XPG3] (atanh): Likewise.
36283 [XPG3] (cbrt): Likewise.
36284 [XPG3] (expm1): Likewise.
36285 [XPG3] (ilogb): Likewise.
36286 [XPG3] (log1p): Likewise.
36287 [XPG3] (logb): Likewise.
36288 [XPG3] (nextafter): Likewise.
36289 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36290 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36291 [XPG3] (remainder): Likewise.
36292 [XPG3] (rint): Likewise.
36293 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36294 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36295 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36296 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36297 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36298 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36299 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36300 [UNIX98 || XOPEN2K] (scalb): Expect.
36301 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36302 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36303 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36304 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36305 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36306 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36307 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36308 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36309 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36310 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36311 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36312 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36313 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36314 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36315 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36316 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36317 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36318 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36319 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36320 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36321 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36322 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36323 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36324 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36325 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36326 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36327 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36328 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36329 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36330 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36331 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36332 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36333 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36334 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36335 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36336 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36337 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36338 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36339 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36340 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36341 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36342 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36343 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36344 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36345 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36346 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36347 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36348 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36349 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36350 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36351 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36352 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36353 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36354 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36355 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36356 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36357 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36358 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36359 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36360 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36361 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36362 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36363 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36364 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36365 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36366 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36367 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36368 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36369 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36370 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36371 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36372 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36373 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36374 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36375 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36376 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36377 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36378 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36379 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36380 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36381 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36382 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36383 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36384 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36385 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36386 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36387 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36388 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36389 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36390 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36391 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36392 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36393 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36394 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36395 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36396 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36397 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36398 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36399 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36400 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36401 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36402 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36403 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36404 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36405 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36406 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36407 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36408 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36409 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36410 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36411 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36412 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36413 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36414 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36415 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36416 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36417 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36418 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36419 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36420 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36421 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36422 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36423 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36424 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36425 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36426 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36427 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36428 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36429 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36430 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36431 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36432 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36433 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36434 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36435 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36436 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36437 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36439 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36440 _XOPEN_SOURCE_EXTENDED for XPG4.
36442 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36444 * Makeconfig (localtime): Remove variable.
36445 (inst_localtime-file): Likewise.
36447 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36468 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36472 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36473 comparisons to determine direction to adjust input.
36474 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36475 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36476 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36480 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36482 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36483 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36485 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36487 * math/libm-test.inc (nexttoward_test): Add more tests.
36489 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36492 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36493 in version GLIBC_2.1, not GLIBC_2.0.
36494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36497 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36500 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36502 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36503 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36504 * math/libm-test.inc (acos_test): Add more tests.
36505 (asin_test): Likewise.
36506 * sysdeps/i386/fpu/libm-test-ulps: Update.
36507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36510 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36512 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36513 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36514 * math/libm-test.inc (acos_test_tonearest): New function.
36515 (acos_test_towardzero): Likewise.
36516 (acos_test_downward): Likewise.
36517 (acos_test_upward): Likewise.
36518 (asin_test_tonearest): Likewise.
36519 (asin_test_towardzero): Likewise.
36520 (asin_test_downward): Likewise.
36521 (asin_test_upward): Likewise.
36522 (main): Call the new functions.
36523 * sysdeps/i386/fpu/libm-test-ulps: Update.
36524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36528 * math/e_exp10.c: Include <float.h>.
36529 (__ieee754_exp10): Handle underflow here rather than multiplying
36530 large negative argument by M_LN10.
36531 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36533 * math/e_exp10l.c: Include <float.h>.
36534 (__ieee754_exp10l): Handle underflow here rather than multiplying
36535 large negative argument by M_LN10l.
36536 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36537 spurious overflow exception on underflow.
36539 2012-04-29 Marek Polacek <polacek@redhat.com>
36541 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36542 (__fortify_function): New macro.
36543 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36544 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36545 __extern_always_inline.
36546 * libio/bits/stdio2.h: Likewise.
36547 * libio/bits/stdio.h: Likewise.
36548 * string/string.h: Likewise.
36549 * string/bits/string3.h: Likewise.
36550 * include/stdio.h: Likewise.
36551 * stdlib/bits/stdlib.h: Likewise.
36552 * stdlib/stdlib.h: Likewise.
36553 * rt/bits/mqueue2.h: Likewise.
36554 * rt/mqueue.h: Likewise.
36555 * posix/bits/unistd.h: Likewise.
36556 * posix/unistd.h: Likewise.
36557 * io/bits/poll2.h: Likewise.
36558 * io/bits/fcntl2.h: Likewise.
36559 * io/fcntl.h: Likewise.
36560 * io/sys/poll.h: Likewise.
36561 * misc/bits/syslog.h: Likewise.
36562 * misc/bits/syslog-ldbl.h: Likewise.
36563 * misc/sys/syslog.h: Likewise.
36564 * socket/bits/socket2.h: Likewise.
36565 * socket/sys/socket.h: Likewise.
36566 * debug/tst-chk1.c: Likewise.
36567 * wcsmbs/bits/wchar2.h: Likewise.
36568 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36569 * wcsmbs/wchar.h: Likewise.
36571 2012-04-29 Andreas Jaeger <aj@suse.de>
36573 * Makerules (tests): Remove enable-check-abi protection.
36574 (check-abi-warn): Remove.
36575 (check-abi-%): Remove check-abi-warn usage.
36577 * configure.in: Remove check-abi configure option.
36578 * configure: Regenerated.
36579 * config.make.in (enable-check-abi): Remove.
36581 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36584 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36585 double functions to double *_finite functions.
36588 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36589 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36591 * stdio-common/Makefile (tests): Add tst-sprintf3.
36592 * stdio-common/tst-sprintf3.c: New file.
36594 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36595 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36597 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36599 * conform/conformtest.pl: Remove duplicate typed-constant
36602 2012-04-28 David S. Miller <davem@davemloft.net>
36604 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36605 (check-abi-%): Remove AWK script prerequisite and explicit
36607 (check-abi): Rewrite to just diff the symlist with the abilist.
36608 (config-tls, config-abi-config): Delete, no longer used.
36609 (update-abi-%): Remove AWK script and explicit abilist directory.
36610 (update-abi): Rewrite to simply compare and conditionally copy the
36611 symlist and the sysdep abilist file. Remove update-abi-config
36613 * abilist/ld.abilist: Remove.
36614 * abilist/libBrokenLocale.abilist: Remove.
36615 * abilist/libanl.abilist: Remove.
36616 * abilist/libcrypt.abilist: Remove.
36617 * abilist/libdl.abilist: Remove.
36618 * abilist/librt.abilist: Remove.
36619 * abilist/libthread_db.abilist: Remove.
36620 * abilist/libutil.abilist: Remove.
36621 * scripts/extract-abilist.awk: Remove.
36622 * scripts/merge-abilist.awk: Remove.
36623 * sysdeps/generic/libcidn.abilist: New file.
36624 * sysdeps/generic/libnss_compat.abilist: New file.
36625 * sysdeps/generic/libnss_db.abilist: New file.
36626 * sysdeps/generic/libnss_dns.abilist: New file.
36627 * sysdeps/generic/libnss_files.abilist: New file.
36628 * sysdeps/generic/libnss_hesiod.abilist: New file.
36629 * sysdeps/generic/libnss_nis.abilist: New file.
36630 * sysdeps/generic/libnss_nisplus.abilist: New file.
36631 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36632 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36633 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36635 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36636 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36637 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36638 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36639 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36640 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36641 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36642 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36643 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36645 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36646 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36647 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36648 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36650 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36651 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36652 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36653 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36654 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36655 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36657 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36658 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36659 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36661 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36764 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36765 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36766 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36768 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36769 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36770 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36771 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36772 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36773 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36774 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36775 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36776 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36777 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36829 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36831 * conform/conformtest.pl: Fix typo in handling typed-constant from
36834 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36836 * README: Cut down references to pre-2.6 Linux kernels and
36837 Linuxthreads. Update lists of configurations in libc and ports
36838 and sort alphabetically. Say "or newer" with Linux kernel version
36841 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36843 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36846 * math/libm-test.inc (logb_test_downward): New test to expose
36847 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36850 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36853 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36855 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36856 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36858 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36860 * sysdeps/unix/i386/brk.S: Remove file.
36861 * sysdeps/unix/i386/dl-brk.S: Likewise.
36862 * sysdeps/unix/i386/pipe.S: Likewise.
36863 * sysdeps/unix/i386/sigreturn.S: Likewise.
36864 * sysdeps/unix/i386/syscall.S: Likewise.
36865 * sysdeps/unix/i386/vfork.S: Likewise.
36866 * sysdeps/unix/i386/wait.S: Likewise.
36868 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36869 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36871 * configure.in (arm*-none*): Do not allow without
36872 --enable-hacker-mode.
36873 (netbsd*): Remove case setting base_os.
36874 (386bsd*): Likewise.
36875 (freebsd*): Likewise.
36878 (sunos*): Likewise.
36879 (ultrix*): Likewise.
36880 (newsos*): Likewise.
36881 (dynix*): Likewise.
36887 (minix*): Likewise.
36888 (irix4*): Likewise.
36889 (irix6*): Likewise.
36890 (solaris[2-9]*): Likewise.
36892 * configure: Regenerated.
36894 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36897 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36898 overflow or cancellation in calculating denominator.
36899 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36900 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36901 down expression to avoid unexpected rounding in newer GCCs.
36902 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36904 2012-04-26 David S. Miller <davem@davemloft.net>
36906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36907 long-double compat symbols.
36908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36922 2012-04-25 David S. Miller <davem@davemloft.net>
36924 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36925 HWCAP_* values only after the memory barriers have been defined.
36926 (atomic_full_barrier): Define.
36927 (atomic_read_barrier): Define.
36928 (atomic_write_barrier): Define.
36930 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36932 * shlib-versions: Add libgcc_s version information.
36933 * sysdeps/generic/libgcc_s.h: Remove.
36934 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36936 * sysdeps/gnu/unwind-resume.c: Likewise.
36937 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36939 2012-04-25 David S. Miller <davem@davemloft.net>
36941 * sysdeps/unix/sparc/brk.S: Delete.
36942 * sysdeps/unix/sparc/dl-brk.S: Delete.
36943 * sysdeps/unix/sparc/pipe.S: Delete.
36944 * sysdeps/unix/sparc/sysdep.S: Delete.
36945 * sysdeps/unix/sparc/sysdep.h: Delete.
36946 * sysdeps/unix/sparc/vfork.S: Delete.
36947 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36948 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36949 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36950 (ret_ERRVAL, r0, r1, MOVE): Define.
36951 (JUMPTARGET): Remove.
36952 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36953 sysdeps/unix/sparc/sysdep.h
36954 (ENTRY, END): Remove.
36955 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36957 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36959 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36960 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36963 * timezone/README: Update upstream location and email address for
36965 * timezone/zdump.c: Update from tzcode 2012b.
36966 * timezone/zic.c: Likewise.
36968 * configure.in (libc_cv_as_needed): Remove test.
36969 * configure: Regenerated.
36970 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36971 conditional definition.
36972 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36973 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36974 * config.make.in (have-as-needed): Remove variable.
36976 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36977 Paul Pluzhnikov <ppluzhnikov@google.com>
36979 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36982 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36984 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36985 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36986 * sysdeps/sh/strlen.S: Likewise.
36988 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36990 * sysdeps/unix/fork.S: Remove file.
36991 * sysdeps/unix/i386/fork.S: Likewise.
36992 * sysdeps/unix/sparc/fork.S: Likewise.
36994 * sysdeps/unix/system.c: Remove file.
36995 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36997 * sysdeps/unix/getegid.S: Remove file.
36998 * sysdeps/unix/geteuid.S: Likewise.
37000 2012-04-24 Roland McGrath <roland@hack.frob.com>
37002 * scripts/check-localplt.awk: New file.
37003 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37005 * scripts/data/localplt-generic.data: Add a comment.
37007 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37008 NODE when __dir_mkfile failed.
37009 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37010 Reported by Ludovic Courtès <ludo@gnu.org>.
37012 2012-04-24 Andreas Jaeger <aj@suse.de>
37014 * Makerules (common-clean): Also remove gen-as-const-headers
37017 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37019 * Makerules (native-compile): Do not change working directory for
37020 build. Use $(OUTPUT_OPTION) in command.
37021 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37023 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37026 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37027 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37028 * math/libm-test.inc (floor_test): Add more tests.
37029 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37031 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37033 * sysdeps/unix/getdents.c: Remove file.
37034 * sysdeps/unix/sysv/getdents.c: Likewise.
37035 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37037 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37038 sysdeps/unix/mman/syscalls.list.
37040 (mprotect): Likewise.
37042 (munmap): Likewise.
37043 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37044 * sysdeps/unix/mman/syscalls.list: Remove.
37045 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37047 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37048 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37049 * configure: Regenerated.
37050 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37051 $(libgcc_s_suffix).
37052 * config.make.in (libgcc_s_suffix): Remove variable.
37054 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37056 * sysdeps/unix/sysv/gethostname.c: Move to ...
37057 * sysdeps/posix/gethostname.c: ... here.
37059 * sysdeps/unix/execve.S: Remove file.
37061 * sysdeps/unix/_exit.S: Remove file.
37063 2012-04-23 Andreas Jaeger <aj@suse.de>
37066 * manual/Makefile: Remove make dist support, there's no
37067 need for a stand-alone documentation tar ball.
37068 (TEXI2DVI): Define always, it's not in Makeconfig.
37071 (edition): Removed.
37072 (glibc-doc-$(edition).tar): Removed
37076 (ETAGS): Remove, it's in Makeconfig.
37077 (move-if-change): Remove, it's in Makeconfig.
37079 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37082 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37083 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37084 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37085 (strtod_l, strtof_l, strtold_l): Remove __wur.
37086 It is not necessarily an error to ignore strtol's return value.
37087 One can reliably look at the stored endptr to decide whether
37088 the number had valid syntax.
37090 2012-04-21 Andreas Jaeger <aj@suse.de>
37093 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37095 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37097 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37098 * sysdeps/unix/sysv/Versions: Remove file.
37100 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37105 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37108 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37109 version from __vm86.
37111 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37113 * sysdeps/unix/common/lxstat.c: Remove file.
37114 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37116 * sysdeps/unix/sysv/Makefile: Remove file.
37118 * sysdeps/unix/sysv/direct.h: Remove file.
37120 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37121 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37122 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37123 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37124 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37125 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37126 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37128 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37130 * sysdeps/unix/xmknod.c: Remove file.
37131 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37133 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37135 * sysdeps/unix/sysv/i386/time.S: Remove file.
37137 * sysdeps/unix/fxstat.c: Remove file.
37138 * sysdeps/unix/xstat.c: Likewise.
37139 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37141 * sysdeps/unix/sysv/sigaction.c: Remove file.
37143 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37144 (sysdep_headers): Remove variable.
37145 [termio.h not in sysdep_headers] (generated): Likewise.
37146 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37147 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37148 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37149 * sysdeps/unix/sysv/tcflow.c: Likewise.
37150 * sysdeps/unix/sysv/tcflush.c: Likewise.
37151 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37152 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37153 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37154 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37155 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37157 * sysdeps/unix/siglist.c: Remove file.
37159 * sysdeps/unix/getppid.S: Remove file.
37161 * sysdeps/unix/mkdir.c: Remove file.
37162 * sysdeps/unix/rmdir.c: Likewise.
37164 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37166 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37168 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37169 errlist-compat value.
37171 2012-04-18 David S. Miller <davem@davemloft.net>
37173 * sysdeps/generic/memcopy.h (reg_char): Delete.
37174 * debug/strcat_chk.c: Use char, not reg_char.
37175 * debug/strcpy_chk.c: Likewise.
37176 * debug/strncat_chk.c: Likewise.
37177 * debug/strncpy_chk.c: Likewise.
37178 * string/memchr.c: Likewise.
37179 * string/memrchr.c: Likewise.
37180 * string/rawmemchr.c: Likewise.
37181 * string/strcat.c: Likewise.
37182 * string/strchr.c: Likewise.
37183 * string/strchrnul.c: Likewise.
37184 * string/strcmp.c: Likewise.
37185 * string/strcpy.c: Likewise.
37186 * string/strncat.c: Likewise.
37187 * string/strncmp.c: Likewise.
37188 * string/strncpy.c: Likewise.
37190 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37192 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37193 __builtin_memcopy is called when src and dest ranges are known to not
37196 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37198 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37199 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37200 fwd_align_merge macro call.
37201 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37202 bwd_align_merge macro call.
37203 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37205 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37207 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37208 bwd_align_merge macros.
37209 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37210 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37211 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37213 2012-04-18 David S. Miller <davem@davemloft.net>
37215 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37217 2012-04-18 Andreas Jaeger <aj@suse.de>
37220 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37221 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37222 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37224 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37225 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37226 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37228 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37229 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37230 Adjust for changed ldbl-128 files.
37232 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37233 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37234 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37236 2012-04-17 David S. Miller <davem@davemloft.net>
37238 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37240 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37242 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37243 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37244 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37245 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37246 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37247 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37249 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37252 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37253 * math/libm-test.inc: Add ilogb errno and exception tests.
37254 * math/w_ilogb.c: New file: ilogb wrapper.
37255 * math/w_ilogbf.c: New file: ilogbf wrapper.
37256 * math/w_ilogbl.c: New file: ilogbl wrapper.
37257 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37258 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37259 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37260 exception being thrown with 0.0 as argument.
37261 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37262 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37263 exception being thrown with 0.0 as argument.
37264 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37265 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37266 exception being thrown with 0.0 as argument.
37267 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37268 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37269 exception being thrown with 0.0 as argument.
37270 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37271 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37272 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37273 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37274 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37275 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37276 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37277 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37278 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37280 2012-04-17 Petr Baudis <pasky@ucw.cz>
37282 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37285 2012-04-16 Marek Polacek <polacek@redhat.com>
37287 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37289 2012-04-16 Marek Polacek <polacek@redhat.com>
37291 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37292 operands of fdivp instruction.
37294 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37296 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37297 * elf/tst-auditmod3b.c: Likewise.
37298 * elf/tst-auditmod4b.c: Likewise.
37299 * elf/tst-auditmod5b.c: Likewise.
37300 * elf/tst-auditmod6b.c: Likewise.
37301 * elf/tst-auditmod6c.c: Likewise.
37302 * elf/tst-auditmod7b.c: Likewise.
37303 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37304 * sysdeps/x86_64/preconfigure.in: Likewise.
37305 * sysdeps/x86_64/preconfigure: Regenerated.
37307 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37309 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37312 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37315 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37317 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37320 * locale/iso-639.def: Fix gl language name. Spotted by
37323 2012-04-12 Roland McGrath <roland@hack.frob.com>
37326 * libio/libio.h (__io_write_fn): Update comment.
37328 2012-04-12 Petr Baudis <pasky@ucw.cz>
37331 * stdio.texi (Hook Functions): The user provided writer function
37332 is not allowed to return -1.
37334 2012-04-11 David S. Miller <davem@davemloft.net>
37336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37338 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37340 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37341 Add a leading slash to rtkaio.
37343 2012-04-11 Jim Meyering <meyering@redhat.com>
37346 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37347 It is not necessarily an error to ignore fwrite's return
37348 value. One can reliably use ferror to test for errors after
37351 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37353 * bits/types.h (__snseconds_t): New type.
37354 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37356 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37358 (__SNSECONDS_T_TYPE): Likewise.
37359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37360 (__SNSECONDS_T_TYPE): Likewise.
37361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37362 (__SNSECONDS_T_TYPE): Likewise.
37364 2012-04-10 Andreas Jaeger <aj@suse.de>
37367 * manual/time.texi (Processor Time): Return type of times is
37368 elapsed real time since an arbitrary point in the past.
37369 (CPU Time): Move CLK_TCK from here...
37370 (Processor Time): ...to here. Correct description.
37371 * manual/conf.texi (Constants for Sysconf): Correct description of
37374 2012-04-10 David S. Miller <davem@davemloft.net>
37377 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37378 where the is a gap between DT_REL(A) and DT_JMPREL.
37380 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37382 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37383 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37384 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37386 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37388 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37389 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37390 (dl_main): Handle --inhibit-cache.
37391 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37393 * elf/dl-load.c (_dl_map_object): Use it.
37394 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37396 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37399 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37400 (__ieee754_powl): Saturate large exponents rather than testing for
37401 overflow of y*log2(x).
37402 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37403 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37407 * math/s_ctan.c: Include <float.h>.
37408 (__ctan): Avoid internal overflow or cancellation in calculating
37410 * math/s_ctanf.c: Likewise.
37411 * math/s_ctanl.c: Likewise.
37412 * math/s_ctanh.c: Likewise.
37413 * math/s_ctanhf.c: Likewise.
37414 * math/s_ctanhl.c: Likewise.
37415 * math/libm-test.inc (ctan_test): Add more tests.
37416 (ctanh_test): Likewise.
37417 * sysdeps/i386/fpu/libm-test-ulps: Update.
37418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37420 2012-04-09 Andreas Jaeger <aj@suse.de>
37423 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37424 is an optional BSD extension.
37427 * manual/stdio.texi (Opening Streams): Document additional fopen
37430 2012-04-09 Roland McGrath <roland@hack.frob.com>
37432 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37433 %eax without telling the compiler.
37435 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37438 * manual/install.texi: Use sourceware.org.
37440 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37443 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37444 (__ieee754_pow): Generate overflow and underflow using huge*huge
37445 and tiny*tiny rather than just returning constant infinity or zero
37446 for large exponents.
37447 * math/libm-test.inc (pow_test): Require overflow exceptions for
37448 applicable cases of large exponents.
37451 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37452 (__ieee754_pow): Use iterative multiplication algorithm only for
37453 integer exponents with absolute value below 1024. Check for odd
37454 integer exponents when using algorithm for real exponents.
37455 * math/libm-test.inc (pow_test): Add more tests.
37456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37458 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37461 * math/libm-test.inc (exp_test): Do not allow overflow exception
37464 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37467 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37468 instead of __kernel_standard_f.
37470 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37472 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37473 * sysdeps/x86_64/memset_chk.S: Likewise.
37475 2012-04-08 Andreas Jaeger <aj@suse.de>
37478 * manual/startup.texi (Environment Access): Describe return value
37479 for putenv and setenv.
37482 * manual/filesys.texi (Directory Entries): Add description for
37486 * manual/filesys.texi (Directory Entries): Clarify that it's file
37487 system not operating system in the description of DT_UNKNOWN.
37490 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37492 2012-04-08 Stephen Compall <s11@member.fsf.org>
37495 * manual/llio.texi (Opening and Closing Files): Add cross
37496 reference to explain mode argument.
37498 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37500 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37501 * sysdeps/x86_64/memset_chk.S: Likewise.
37503 2012-04-07 David S. Miller <davem@davemloft.net>
37505 * elf/elf.h (R_SPARC_WDISP10): Define.
37506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37508 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37509 R_SPARC_SIZE64 and R_SPARC_H34.
37511 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37513 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37514 conditions and remove no longer applicable assertion.
37516 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37518 * bits/byteswap.h: Include <features.h>.
37519 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37520 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37522 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37524 * bits/byteswap.h (__bswap_16): Removed.
37525 Include <bits/byteswap-16.h> to get __bswap_16.
37526 * sysdeps/i386/bits/byteswap.h: Likewise.
37527 * sysdeps/s390/bits/byteswap.h: Likewise.
37528 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37529 * bits/byteswap-16.h: New file.
37530 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37531 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37532 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37533 * string/Makefile (headers): Add bits/byteswap-16.h.
37535 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37538 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37540 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37541 * nss/tst-nss-static.c: New.
37543 2012-04-06 Robert Millan <rmh@gnu.org>
37546 * manual/llio.texi (File Position Primitive): lseek
37547 refers to WHENCE when it really means OFFSET.
37549 2012-04-06 Andreas Jaeger <aj@suse.de>
37551 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37552 strncmp declarations.
37554 * abilist/libc.abilist: Add __poll and __ppoll.
37556 2012-04-05 David S. Miller <davem@davemloft.net>
37558 * scripts/check-local-headers.sh: Accept a host triplet in the
37559 path matched by the exclude regexp.
37561 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37563 * sysdeps/powerpc/powerpc32/dl-machine.h
37564 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37565 * sysdeps/s390/s390-32/dl-machine.h
37566 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37567 * sysdeps/sparc/sparc32/dl-machine.h
37568 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37569 * sysdeps/sparc/sparc64/dl-machine.h
37570 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37572 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37574 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37575 undefined symbol errors.
37577 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37580 2012-04-05 Michael Matz <matz@suse.de>
37583 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37585 2012-04-05 Andreas Jaeger <aj@suse.de>
37588 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37591 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37593 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37594 which ROUND is no valid rounding mode.
37596 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37598 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37600 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37602 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37604 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37605 an exception using FPU order intentionally.
37607 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37609 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37610 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37611 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37612 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37614 2012-04-05 Simon Josefsson <simon@josefsson.org>
37617 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37618 EINVAL when BUFLEN is too smal.
37620 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37623 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37624 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37626 2012-04-03 Andreas Jaeger <aj@suse.de>
37629 * manual/setjmp.texi (System V contexts): Fix sentence.
37632 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37633 New macro for this case.
37634 [!__GNUC__] (__bswap_64): New inline function for this case.
37635 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37636 * bits/byteswap.h: Likewise.
37637 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37638 ull, guard with __GLIBC_HAVE_LONG_LONG.
37640 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37641 __GLIBC_HAVE_LONG_LONG.
37643 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37644 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37646 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37649 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37650 inptr and inend, rather than using last_ch.
37652 2012-04-02 David S. Miller <davem@davemloft.net>
37654 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37655 * stdio-common/printf-parse.h (read_int): Change return type to
37656 'int', return -1 on INT_MAX overflow.
37657 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37658 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37659 overflows INT_MAX. Check for overflow of in-format-string precision
37660 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37661 SIZE_MAX not INT_MAX for integer overflow test.
37662 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37663 skip the construct in the format string but do not record anything.
37664 * stdio-common/bug22.c: Adjust to test both width/prevision
37665 INT_MAX overflow as well as total length INT_MAX overflow. Check
37666 explicitly for proper errno values.
37668 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37670 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37672 * string/test-strcmp.c [! WIDE]: Likewise.
37673 * time/tst-mktime2.c: Likewise for INT_MAX.
37674 * string/test-string.h: #include <sys/param.h> for MIN.
37676 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37677 * sysdeps/i386/init-first.c (init): Likewise.
37678 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37679 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37680 * sysdeps/sh/init-first.c (init): Likewise.
37682 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37684 * po/ru.po: Update from translation team.
37685 * po/vi.po: Likewise.
37687 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37689 * resolv/nss_dns/dns-host.c: Merge copyright years.
37691 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37694 Optimize memcpy with prefetch if
37695 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37696 src, dst pointers have unequal 16 byte alignments.
37698 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37701 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37702 from a CNAME entry and return the minimum ttl for the query.
37703 (gaih_getanswer_slice): Likewise.
37705 2012-03-30 Jeff Law <law@redhat.com>
37707 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37709 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37710 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37712 * resolv/nss_dns/dns-host.c: Update copyright year.
37714 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37716 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37717 requests to save a system call. Fix check that all bytes are sent.
37719 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37720 comments for sendmmsg.
37722 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37725 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37726 with only 1 character between 0x0041 and 0x01b0.
37727 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37728 * wcsmbs/tst-mbsnrtowcs.c: New file.
37730 2012-03-29 David S. Miller <davem@davemloft.net>
37732 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37733 small copies by hand.
37735 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37738 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37739 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37742 2012-03-28 David S. Miller <davem@davemloft.net>
37744 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37745 that branches into memcpy.
37746 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37747 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37748 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37749 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37752 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37753 implementation too.
37754 * sysdeps/sparc/mempcpy.S: New file.
37756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37757 the IFUNC routine in the libc case.
37758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37760 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37761 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37762 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37763 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37764 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37765 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37766 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37767 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37769 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37770 loop to 256 bytes instead of 64 bytes and fix test signedness.
37772 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37773 * sysdeps/sparc/sparc32/Makefile: rather than here...
37774 * sysdeps/sparc/sparc64/Makefile: and here.
37776 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37778 * malloc/mallocbug.c: Avoid warnings about unused variables.
37780 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37783 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37784 in the right place. Discard and retry query if response is
37785 larger than input buffer size.
37787 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37792 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37793 x for large integer exponent.
37794 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37795 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37796 sign of result as needed afterwards.
37797 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37798 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37799 result for underflowing pow the same as for overflow.
37800 (__kernel_standard_l): Handle powl overflow and underflow here
37801 rather than calling __kernel_standard.
37802 * math/libm-test.inc (pow_test): Add more tests.
37817 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37818 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37819 (__kernel_standard_l): New function.
37820 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37822 * math/w_acosl.c (__acosl): Likewise.
37823 * math/w_asinl.c (__asinl): Likewise.
37824 * math/w_atan2l.c (__atan2l): Likewise.
37825 * math/w_atanhl.c (__atanhl): Likewise.
37826 * math/w_coshl.c (__coshl): Likewise.
37827 * math/w_exp10l.c (__exp10l): Likewise.
37828 * math/w_exp2l.c (__exp2l): Likewise.
37829 * math/w_fmodl.c (__fmodl): Likewise.
37830 * math/w_hypotl.c (__hypotl): Likewise.
37831 * math/w_j0l.c (__j0l, __y0l): Likewise.
37832 * math/w_j1l.c (__j1l, __y1l): Likewise.
37833 * math/w_jnl.c (__jnl, __ynl): Likewise.
37834 * math/w_lgammal.c (__lgammal): Likewise.
37835 * math/w_log10l.c (__log10l): Likewise.
37836 * math/w_log2l.c (__log2l): Likewise.
37837 * math/w_logl.c (__logl): Likewise.
37838 * math/w_powl.c (__powl): Likewise.
37839 * math/w_remainderl.c (__remainderl): Likewise.
37840 * math/w_scalbl.c (sysv_scalbl): Likewise.
37841 * math/w_sinhl.c (__sinhl): Likewise.
37842 * math/w_sqrtl.c (__sqrtl): Likewise.
37843 * math/w_tgammal.c (__tgammal): Likewise.
37844 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37845 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37846 * math/libm-test.inc (acos_test): Add more tests.
37847 (acosh_test): Likewise.
37848 (asin_test): Likewise.
37849 (atanh_test): Likewise.
37850 (exp_test): Likewise.
37851 (exp10_test): Likewise.
37852 (exp2_test): Likewise.
37853 (expm1_test): Likewise.
37854 (lgamma_test): Likewise.
37855 (log_test): Likewise.
37856 (log10_test): Likewise.
37857 (log1p_test): Likewise.
37858 (log2_test): Likewise.
37859 (pow_test): Do not allow some spurious overflow exceptions.
37860 (sqrt_test): Add more tests.
37861 (tgamma_test): Likewise.
37862 (y0_test): Likewise.
37863 (y1_test): Likewise.
37864 (yn_test): Likewise.
37866 2012-03-27 Anton Blanchard <anton@samba.org>
37868 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37870 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37871 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37872 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37874 2012-03-27 David S. Miller <davem@davemloft.net>
37876 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37878 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37879 have-as-vis3 check.
37881 2012-03-27 Andreas Jaeger <aj@suse.de>
37883 * sysdeps/x86_64/elf/configure.in: Moved to ...
37884 * sysdeps/x86_64/configure.in: ... here.
37885 * sysdeps/x86_64/elf/start.S: Moved to ...
37886 * sysdeps/x86_64/start.S: ... here.
37887 * sysdeps/x86_64/elf/configure: Delete.
37889 * sysdeps/x86_64/configure.in: Merge contents from
37890 sysdeps/i386/configure.in (without i686 check).
37892 * sysdeps/i386/elf/Versions: Merge into ...
37893 * sysdeps/i386/Versions: ... this.
37894 * sysdeps/i386/elf/Versions: Delete file.
37895 * sysdeps/i386/elf/start.S: Moved to ...
37896 * sysdeps/i386/start.S: ...here.
37897 * sysdeps/i386/elf/configure.in: Merge into...
37898 * sysdeps/i386/configure.in: ...here.
37899 * sysdeps/i386/elf/configure.in: Delete file.
37900 * sysdeps/i386/elf/configure: Delete file.
37902 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37903 * debug/backtracesyms.c: ... here.
37904 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37905 * debug/backtracesymsfd.c: ... here.
37906 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37907 * sysdeps/generic/ifunc-sel.h: ... here.
37909 * sysdeps/unix/i386/start.c: Delete file.
37910 * sysdeps/unix/sparc/start.c: Delete file.
37911 * sysdeps/unix/start.c: Delete file.
37913 * sysdeps/sh/elf/configure.in: Moved to ...
37914 * sysdeps/sh/configure.in: ... here.
37915 * sysdeps/sh/elf/start.S: Moved to ...
37916 * sysdeps/sh/start.S: ... here.
37917 * sysdeps/sh/elf/configure: Delete file.
37919 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37920 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37921 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37922 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37923 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37924 * sysdeps/powerpc/powerpc64/start.S: here.
37925 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37926 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37927 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37928 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37929 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37931 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37932 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37933 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37934 * sysdeps/powerpc/powerpc32/start.S: ... here.
37935 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37936 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37937 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37939 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37940 * sysdeps/powerpc/ifunc-sel.h: ... here.
37941 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37942 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37944 * sysdeps/sparc/elf/configure.in: Moved to ...
37945 * sysdeps/sparc/configure.in: ... here.
37946 * sysdeps/sparc/elf/configure: Delete file.
37947 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37948 * sysdeps/sparc/sparc32/start.S: ... here.
37949 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37950 * sysdeps/sparc/sparc64/start.S: ... here.
37951 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37952 * sysdeps/sparc/sparc32/Makefile: ... this.
37953 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37954 * sysdeps/sparc/sparc64/Makefile: ... this.
37956 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37957 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37958 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37959 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37960 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37961 * sysdeps/s390/s390-32/setjmp.S: ... here.
37962 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37963 * sysdeps/s390/s390-32/configure.in: ... here.
37964 * sysdeps/s390/s390-32/elf/configure: Delete file.
37965 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37966 * sysdeps/s390/s390-32/start.S: ... here.
37968 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37969 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37970 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37971 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37972 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37973 * sysdeps/s390/s390-64/setjmp.S: ... here.
37974 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37975 * sysdeps/s390/s390-64/configure.in: ... here
37976 * sysdeps/s390/s390-64/elf/configure: Delete file.
37977 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37978 * sysdeps/s390/s390-64/start.S: ... here.
37979 * sysdeps/s390/s390-64/elf/configure: Delete.
37981 * configure.in: Remove support for elf directories in sysdeps.
37983 * configure: Regenerated.
37984 * sysdeps/i386/configure: Regenerated.
37985 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37986 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37987 * sysdeps/s390/s390-32/configure: Regenerated.
37988 * sysdeps/s390/s390-64/configure: Regenerated.
37989 * sysdeps/sh/configure: Regenerated.
37990 * sysdeps/sparc/configure: Regenerated.
37991 * sysdeps/x86_64/configure: Regenerated.
37993 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37997 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37998 denormal result into account.
38000 2012-03-25 Roland McGrath <roland@hack.frob.com>
38002 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38003 Reported by Allan McRae <allan@archlinux.org>.
38005 2012-03-23 Jeff Law <law@redhat.com>
38007 * nss/getnssent.c (__nss_getent): Fix typo.
38009 2012-03-23 David S. Miller <davem@davemloft.net>
38011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38013 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38015 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38016 to pad to uint64_t for each field.
38017 (dl_tls_index): Replace unsigned long with uint64_t.
38019 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38020 Paul Pluzhnikov <ppluzhnikov@google.com>
38023 * grp/Makefile (otherlibs): Don't set it.
38024 * inet/Makefile (otherlibs): Likewise.
38025 * login/Makefile (otherlibs): Likewise.
38026 * nscd/Makefile (otherlibs): Likewise.
38027 * posix/Makefile (otherlibs): Likewise.
38028 * pwd/Makefile (otherlibs): Likewise.
38029 * rt/Makefile (otherlibs): Likewise.
38030 * sunrpc/Makefile (otherlibs): Likewise.
38031 * nss/Makefile (otherlibs): Likewise.
38032 Add libnss_files to routines and static-only-routines.
38033 ($(objpfx)getent): Remove rule.
38034 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38035 static-only-routines.
38037 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38040 * math/s_cexp.c: Include <float.h>.
38041 (__cexp): Handle exp result overflowing not necessarily
38042 overflowing both real and imaginary parts of result.
38043 * math/s_cexpf.c: Likewise.
38044 * math/s_cexpl.c: Likewise.
38045 * math/libm-test.inc (cexp_test): Add more tests.
38046 * sysdeps/i386/fpu/libm-test-ulps: Update.
38047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38049 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38051 * include/link.h (ELFW): New macro.
38052 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38053 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38055 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38057 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38060 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38062 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38064 (struct La_x32_retval): Likewise.
38066 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38068 * sysdeps/x86_64/preconfigure.in: New file.
38069 * sysdeps/x86_64/preconfigure: New generated file.
38071 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38074 * math/e_exp2l.c: Include <float.h>.
38075 (__ieee754_exp2l): Handle overflow and underflow cases
38076 separately. Only pass fractional part of argument to
38078 * math/libm-test.inc (exp2_test): Add more tests.
38080 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38081 negating x to take absolute value.
38082 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38084 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38085 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38087 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38088 computing low part if x was negated.
38089 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38091 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38093 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38094 la_x32_gnu_pltexit.
38095 (pltexit): Cast int_retval to ptrdiff_t.
38096 * elf/tst-auditmod3b.c: Likewise.
38097 * elf/tst-auditmod4b.c: Likewise.
38098 * elf/tst-auditmod5b.c: Likewise.
38099 * elf/tst-auditmod6b.c: Likewise.
38100 * elf/tst-auditmod6c.c: Likewise.
38101 * elf/tst-auditmod7b.c: Likewise.
38103 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38104 and x32_gnu_pltexit.
38106 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38107 __ELF_NATIVE_CLASS.
38108 (La_x32_regs): New macro.
38109 (La_x32_retval): Likewise.
38110 (la_x32_gnu_pltenter): New function prototype.
38111 (la_x32_gnu_pltexit): Likewise.
38113 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38120 * configure.in (libc_cv_cc_nofma): Check for option to disable
38121 generation of FMA instructions.
38122 * configure: Regenerate.
38123 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38124 * sysdeps/ieee754/dbl-64/Makefile: New file.
38125 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38126 Remove brandred-fma4.
38127 (CFLAGS-brandred-fma4.c): Remove.
38128 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38129 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38131 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38134 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38136 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38137 LLONG_MAX != LONG_MAX.
38138 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38139 (_fitoa_word): Likewise.
38140 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38141 LLONG_MAX != LONG_MAX.
38142 * stdio-common/_itowa.h: Include <_itoa.h>.
38143 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38144 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38145 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38146 only if not defined.
38147 (_ITOA_WORD_TYPE): Likewise.
38148 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38149 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38151 2012-03-21 David S. Miller <davem@davemloft.net>
38153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38155 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38157 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38158 of x86_64 when setting libc_cv_slibdir, libdir and
38160 * sysdeps/unix/sysv/linux/configure: Regenerated.
38162 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38164 * manual/lang.texi (Old Varargs): Remove section.
38165 (How Variadic): Update menu.
38166 (va_start): Do not mention varargs.h.
38168 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38169 Joseph Myers <joseph@codesourcery.com>
38171 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38173 * configure: Regenerated.
38175 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38177 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38178 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38181 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38184 * Makefile (files-for-dist): Remove NOTES.
38185 (NOTES): Remove rule.
38186 * README: Don't refer to NOTES.
38187 * manual/creature.texi: Don't include macros.texi.
38188 * manual/intro.texi (creature.texi): Remove comment referring to
38191 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38192 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38193 * configure: Regenerated.
38194 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38195 LIBC_TRY_CC_OPTION.
38196 (libc_cv_as_i686): Likewise.
38197 (libc_cv_cc_avx): Likewise.
38198 (libc_cv_cc_sse2avx): Likewise.
38199 (libc_cv_cc_fma4): Likewise.
38200 (libc_cv_cc_novzeroupper): Likewise.
38201 * sysdeps/i386/configure: Regenerated.
38204 * sysdeps/i386/fpu/s_cexp.S: Remove.
38205 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38206 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38207 * math/libm-test.inc (cexp_test): Add more tests.
38208 * sysdeps/i386/fpu/libm-test-ulps: Update.
38209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38211 2012-03-21 Allan McRae <allan@archlinux.org>
38213 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38215 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38218 * math/w_exp2.c: Do not include <float.h>.
38219 (o_threshold, u_threshold): Remove.
38220 (__exp2): Calculate result before checking finiteness and calling
38222 * math/w_exp2f.c: Likewise.
38223 * math/w_exp2l.c: Likewise.
38224 * math/libm-test.inc (exp2_test): Require overflow exception for
38228 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38229 range of signed 64-bit integers before using fistpll. Remove
38230 checks for whether integers fit in mantissa bits.
38231 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38232 the range of signed 32-bit integers before using fistpl. Remove
38233 checks for whether integers fit in mantissa bits.
38234 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38235 (__ieee754_powl): Test for y outside the range of signed 64-bit
38236 integers before using fistpll. Reduce 64-bit values to 63-bit
38238 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38239 divide-by-zero is raised for zero to large negative powers.
38240 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38241 (__ieee754_powl): Test for y outside the range of signed 64-bit
38242 integers before using fistpll. Reduce 64-bit values to 63-bit
38244 * math/libm-test.inc (pow_test): Add more tests.
38246 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38248 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38249 <stdio-common/_itoa.h>.
38250 * debug/segfault.c: Likewise.
38251 * elf/dl-cache.c: Likewise.
38252 * elf/dl-minimal.c: Likewise.
38253 * elf/dl-misc.c: Likewise.
38254 * elf/dl-sysdep.c: Likewise.
38255 * elf/dl-version.c: Likewise.
38256 * elf/rtld.c: Likewise.
38257 * hurd/hurdsock.c: Likewise.
38258 * hurd/lookup-retry.c: Likewise.
38259 * malloc/malloc.c: Likewise.
38260 * malloc/mtrace.c: Likewise.
38261 * nscd/nscd_getgr_r.c: Likewise.
38262 * nscd/nscd_getpw_r.c: Likewise.
38263 * nscd/nscd_getserv_r.c: Likewise.
38264 * posix/getopt_init.c: Likewise.
38265 * posix/wordexp.c: Likewise.
38266 * stdio-common/_itoa.c: Likewise.
38267 * stdio-common/printf_fphex.c: Likewise.
38268 * stdio-common/vfprintf.c: Likewise.
38269 * string/_strerror.c: Likewise.
38270 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38271 * sysdeps/i386/i686/hp-timing.h: Likewise.
38272 * sysdeps/mach/_strerror.c: Likewise.
38273 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38274 * sysdeps/mach/hurd/sethostid.c: Likewise.
38275 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38276 * sysdeps/mach/xpg-strerror.c: Likewise.
38277 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38278 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38279 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38280 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38281 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38282 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38283 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38284 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38285 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38286 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38287 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38288 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38289 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38290 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38291 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38292 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38293 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38294 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38295 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38296 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38297 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38299 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38301 * stdio-common/_itoa.h: Moved to ...
38302 * sysdeps/generic/_itoa.h: Here.
38304 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38306 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38307 instead of "_itoa.h" and "_itowa.h".
38308 * stdio-common/vfprintf.: Likewise.
38310 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38312 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38314 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38315 (__signbit): Likwise.
38316 (llrintf): Likwise.
38319 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38321 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38324 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38326 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38327 OVERFLOW_EXCEPTION_OK.
38328 * math/libm-test.inc ("Philosophy"): Update comment about
38330 (OVERFLOW_EXCEPTION): Define.
38331 (OVERFLOW_EXCEPTION_OK): Likewise.
38332 (INVALID_EXCEPTION_OK): Renumber.
38333 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38334 (IGNORE_ZERO_INF_SIGN): Likewise.
38335 (test_exceptions): Handle FE_OVERFLOW.
38336 (exp10_test): Expect overflow exceptions.
38337 (exp2_test): Likewise.
38338 (expm1_test): Likewise.
38339 (nextafter_test): Likewise.
38340 (pow_test): Likewise.
38341 (scalbn_test): Likewise.
38342 (scalbln_test): Likewise.
38344 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38346 * sysdeps/x86_64/bits/atomic.h
38347 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38349 (atomic_exchange_acq): Likewise.
38350 (__arch_exchange_and_add_body): Likewise.
38351 (__arch_add_body): Likewise.
38352 (atomic_add_negative): Likewise.
38353 (atomic_add_zero): Likewise.
38355 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38357 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38358 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38360 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38362 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38363 Check __x86_64__ instead of __WORDSIZE.
38365 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38367 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38369 2012-03-19 David S. Miller <davem@davemloft.net>
38371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38373 * sysdeps/sparc/fpu/fenv_private.h: New file.
38374 * sysdeps/sparc/fpu/math_private.h: Use it.
38375 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38377 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38378 (libc_feholdexcept_setroundl): Remove.
38379 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38381 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38382 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38384 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38386 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38387 int64_t instead of long int.
38388 (INSERT_WORDS64): Likwise.
38390 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38392 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38393 _Unwind_GetCFA return to _Unwind_Ptr first.
38395 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38398 * math/s_clog.c: Include <float.h>.
38399 (__clog): Scale large or subnormal inputs.
38400 * math/s_clogf.c: Likewise.
38401 * math/s_clogl.c: Likewise.
38402 * math/s_clog10.c: Include <float.h>.
38403 (M_LOG10_2): Define.
38404 (__clog10): Scale large or subnormal inputs.
38405 * math/s_clog10f.c: Likewise.
38406 * math/s_clog10l.c: Likewise.
38407 * math/libm-test.inc (clog_test): Add more tests.
38408 (clog10_test): Likewise.
38409 * sysdeps/i386/fpu/libm-test-ulps: Update.
38410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38413 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38415 * math/libm-test.inc (atan2_test): Add another test.
38417 * Makerules (common-objdir-compile): Remove.
38418 * sysdeps/unix/Makefile (config-generated): Do not add
38419 $(unix-generated) to variable.
38420 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38421 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38423 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38425 [generic bits/local_lim.h] (before-compile): Do not append to
38427 [generic bits/local_lim.h] (common-generated): Likewise.
38428 [generic sys/param.h] (before-compile): Do not append to variable.
38429 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38430 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38431 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38432 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38434 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38435 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38436 [generic sys/param.h] ($(addprefix
38437 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38438 [generic sys/param.h] (common-generated): Do not append to
38440 [generic sys/param.h] (sysdep_headers): Likewise.
38441 [generic bits/errno.h] (before-compile): Do not append to
38443 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38445 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38446 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38447 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38448 [generic bits/errno.h] (common-generated): Do not append to
38450 [generic bits/ioctls.h] (before-compile): Do not append to
38452 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38454 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38455 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38456 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38458 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38459 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38460 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38461 [generic bits/ioctls.h] (common-generated): Do not append to
38463 [generic sys/syscall.h] (syscall.h): Remove variable.
38464 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38466 [generic sys/syscall.h] (before-compile): Do not append to
38468 [generic sys/syscall.h] (common-generated): Likewise.
38469 * sysdeps/unix/errnos-tmpl.c: Remove file.
38470 * sysdeps/unix/errnos.awk: Likewise.
38471 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38472 * sysdeps/unix/ioctls.awk: Likewise.
38473 * sysdeps/unix/mk-local_lim.c: Likewise.
38474 * sysdeps/unix/snarf-ioctls: Likewise.
38476 2012-03-19 Richard Henderson <rth@twiddle.net>
38478 * sysdeps/i386/fpu/fenv_private.h: New file.
38479 * sysdeps/i386/fpu/math_private.h: Use it.
38480 (math_opt_barrier, math_force_eval): Remove.
38481 (libc_feholdexcept_setround_53bit): Remove.
38482 (libc_feupdateenv_53bit): Remove.
38483 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38484 (math_opt_barrier, math_force_eval): Remove.
38485 (libc_feholdexcept): Remove.
38486 (libc_feholdexcept_setround): Remove.
38487 (libc_fetestexcept, libc_fesetenv): Remove.
38488 (libc_feupdateenv_test): Remove.
38489 (libc_feupdateenv, libc_feholdsetround): Remove.
38490 (libc_feresetround): Remove.
38492 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38493 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38495 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38496 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38497 (libc_feupdateenv_testl): New.
38498 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38499 (libc_feupdateenv_testf): New.
38500 (libc_feupdateenv): Use libc_feupdateenv_test.
38501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38502 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38504 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38505 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38506 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38507 (libc_feresetround_noex): New.
38508 (libc_feresetround_noexf): New.
38509 (libc_feresetround_noexl): New.
38510 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38511 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38512 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38513 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38515 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38518 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38519 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38520 SET_RESTORE_ROUND_NOEX.
38521 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38522 SET_RESTORE_ROUND_NOEXF.
38523 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38524 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38525 (libc_feholdsetroundf): New.
38526 (libc_feresetround, libc_feresetroundf): New.
38528 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38529 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38530 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38532 * sysdeps/generic/math_private.h: Include <fenv.h>.
38533 (default_libc_feholdexcept): New.
38534 (default_libc_feholdexcept_setround): New.
38535 (default_libc_fesetenv, default_libc_feupdateenv): New.
38536 (libc_feholdexcept): Only define if undefined.
38537 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38538 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38539 (libc_feholdexcept_setroundl): Likewise.
38540 (libc_feholdexcept_setround_53bit): Likewise.
38541 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38542 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38543 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38544 (libc_feupdateenv_53bit): Likewise.
38545 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38546 (libc_feholdexcept): Convert from macro to inline function.
38547 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38548 (libc_fesetenv, libc_feupdateenv): Likewise.
38550 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38551 not previously defined.
38552 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38553 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38554 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38555 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38556 * sysdeps/ieee754/flt-32/math_private.h: New file.
38557 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38558 math_private.h below SET_FLOAT_WORD.
38559 (__isnan, __isinf_ns, __finite): Remove.
38560 (__isnanf, __isinf_nsf, __finitef): Remove.
38562 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38566 2012-03-17 David S. Miller <davem@davemloft.net>
38569 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38572 2012-03-16 David S. Miller <davem@davemloft.net>
38574 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38578 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38580 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38581 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38582 sysdep_routines when subdir is sysvipc.
38583 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38584 __getshmlba helper.
38586 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38588 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38590 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38593 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38595 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38596 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38597 (__lround): Renamed to ...
38598 (__llround): This. Replace long int with long long int.
38599 Define lround functions as aliases of llround functions.
38600 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38602 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38604 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38605 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38606 adresses to uintptr_t. Replace "long int" and "unsigned long
38607 int" with "greg_t" on va_arg.
38609 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38611 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38612 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38614 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38615 Move e_machine check before EI_CLASS check. Handle x32
38616 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38617 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38618 SKIP_EM_IA_64 and include
38619 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38621 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38622 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38623 (add_system_dir): New macro.
38625 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38626 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38628 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38639 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38641 * math/w_j0f.c (j0f): Likewise.
38643 * math/w_j0l.c (__j0l): Likewise.
38645 * math/w_j1.c (j1): Likewise.
38647 * math/w_j1f.c (j1f): Likewise.
38649 * math/w_j1l.c (__j1l): Likewise.
38651 * math/w_jn.c (jn): Likewise.
38653 * math/w_jnf.c (jnf): Likewise.
38655 * math/w_jnl.c (__jnl): Likewise.
38657 * math/libm-test.inc (j0_test): Add more tests.
38658 (j1_test): Likewise.
38659 (jn_test): Likewise. Add trailing semicolon to existing test.
38660 (y0_test): Likewise.
38661 (y1_test): Likewise.
38662 * sysdeps/i386/fpu/libm-test-ulps: Update.
38663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38667 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38668 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38669 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38670 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38671 (__tanl): Set errno for infinite argument.
38672 * sysdeps/i386/fpu/mptan.c: Remove.
38673 * sysdeps/i386/fpu/s_tan.S: Likewise.
38674 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38675 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38676 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38677 * math/libm-test.inc (tan_test): Add more tests and enable more
38678 tests for double and long double.
38679 * sysdeps/i386/fpu/libm-test-ulps: Update.
38680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38682 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38684 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38685 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38687 2012-03-16 Roland McGrath <roland@hack.frob.com>
38689 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38690 * configure.in: Use it for both main tree and add-ons.
38691 * configure: Regenerated.
38693 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38695 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38697 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38699 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38703 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38704 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38705 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38706 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38707 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38709 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38711 != 0 for prec == 2.
38712 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38713 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38714 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38715 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38716 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38717 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38718 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38719 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38720 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38721 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38722 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38723 * math/libm-test.inc (cos_test): Add more tests and enable more
38724 tests for long double.
38725 (sin_test): Likewise.
38726 (sincos_test): Likewise.
38727 * sysdeps/i386/fpu/libm-test-ulps: Update.
38728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38730 2012-03-16 David S. Miller <davem@davemloft.net>
38732 * sysdeps/sparc/fpu/math_private.h: New file.
38734 2012-03-15 David S. Miller <davem@davemloft.net>
38736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38746 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38750 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38751 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38753 * sysdeps/sparc/sparc-ifunc.h: New file.
38754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38794 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38797 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38799 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38801 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38805 2012-03-15 Andreas Jaeger <aj@suse.de>
38808 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38809 ieee754/flt-32 implementation for sin, cos and sincos.
38810 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38811 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38812 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38813 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38814 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38815 ieee754/flt-32 implementation for tan.
38817 * math/libm-test.inc (cos_test): Enable some large input tests for
38819 (sin_test): Likewise.
38820 (sincos_test): Likewise.
38821 (tan_test): Add tests for large input.
38823 * sysdeps/i386/fpu/libm-test-ulps: Update.
38825 2012-03-15 Andreas Jaeger <aj@suse.de>
38828 * math/libm-test.inc (cos_test): Add more test cases.
38829 (sin_test): Likewise.
38830 (sincos_test): Likewise.
38832 2012-03-15 Andreas Jaeger <aj@suse.de>
38835 * math/libm-test.inc (cos_test): Add a test case for large input
38837 (sin_test): Likewise.
38838 (sincos_test): Likewise.
38840 2012-03-15 Andreas Jaeger <aj@suse.de>
38841 Joseph Myers <joseph@codesourcery.com>
38844 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38845 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38846 * sysdeps/i386/fpu/branred.c: Likewise.
38847 * sysdeps/i386/fpu/dosincos.c: Likewise.
38848 * sysdeps/i386/fpu/mpa.c: Likewise.
38849 * sysdeps/i386/fpu/s_cos.S: Likewise.
38850 * sysdeps/i386/fpu/s_sin.S: Likewise.
38851 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38852 * sysdeps/i386/fpu/sincos32.c: Likewise.
38854 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38856 (libc_feupdateenv_53bit): Define.
38857 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38859 (libc_feupdateenv_53bit): Define.
38861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38862 53 bit (without extend i386 double precision).
38864 * math/libm-test.inc (sincos_test): Add tests for large input.
38868 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38870 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38874 2012-03-15 David S. Miller <davem@davemloft.net>
38876 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38877 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38878 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38879 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38904 fmin/fmax sysdep routines.
38905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38907 2012-03-14 David S. Miller <davem@davemloft.net>
38909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38913 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38914 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38915 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38929 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38930 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38931 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38933 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38934 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38981 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38986 * sysdeps/sparc/configure.in: New file.
38987 * sysdeps/sparc/configure: Generate.
38988 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38989 * configure: Regenerate.
38990 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38991 * config.make.in (have-as-vis3): New.
38992 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38993 available use -Av9d instead of -Av9a.
38994 * sysdeps/sparc/sparc64/Makefile: Likewise.
38995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39005 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39006 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39007 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39010 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39011 fzeros/fnegs to load 0x80000000 into a float register instead of
39013 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39015 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39019 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39020 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39021 ($(inst_includedir)/bits/syscall.h): Remove rule.
39022 ($(objpfx)bits/syscall.d): Include instead of
39023 $(objpfx)syscall-list.d.
39024 (generated): Change syscall-list.h and syscall-list.d to
39025 bits/syscall.h and bits/syscall.d.
39027 2012-03-14 Roland McGrath <roland@hack.frob.com>
39030 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39032 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39035 * math/s_csqrt.c: Include <float.h>.
39036 (__csqrt): Scale large or subnormal inputs.
39037 * math/s_csqrtf.c: Likewise.
39038 * math/s_csqrtl.c: Likewise.
39039 * math/libm-test.inc (csqrt_test): Add more tests.
39040 * sysdeps/i386/fpu/libm-test-ulps: Update.
39041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39044 * math/libm-test.inc (hypot_test): Add more tests.
39046 2012-03-13 David S. Miller <davem@davemloft.net>
39049 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39050 double-precision for the calculation instead of scaling.
39052 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39054 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39055 manipulate bits before adding and subtracting TWO52[sx].
39056 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39057 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39059 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39061 2012-03-13 David S. Miller <davem@davemloft.net>
39063 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39064 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39065 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39066 rtld-global-offsets.h
39067 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39069 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39072 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39074 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39075 'err' in the ifdef scope in which it is actually used.
39077 * nss/nss_db/db-init.c: Include string.h
39079 2012-03-12 David S. Miller <davem@davemloft.net>
39081 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39082 masking out of the most significant byte of random value used.
39083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39084 Fix coding style in previous change.
39086 * sysdeps/unix/sysv/linux/kernel-features.h
39087 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39088 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39090 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39093 2012-03-11 David S. Miller <davem@davemloft.net>
39095 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39096 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39097 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39098 for 'resultvar' otherwise things get truncated on 64-bit.
39100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39101 Fix masking out of the most significant byte of random value used.
39103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39105 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39109 2012-03-09 David S. Miller <davem@davemloft.net>
39111 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39112 variables with appropriate CPP guards.
39113 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39114 from the frame pointer, not the stack pointer. Correct layout
39115 comments. Fix test on resulting framesize and the management of
39116 the outregs buffer for pltexit. Preserve floating point return
39117 values across _dl_call_pltexit call.
39118 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39119 framesize and the management of the outregs buffer for pltexit.
39120 Preserve floating point return values across _dl_call_pltexit
39122 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39123 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39124 (la_sparc64_gnu_pltexit): New functions.
39125 (print_exit): Fix format string for return register value.
39127 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39129 * sunrpc/Makefile (others): Add rpcgen.
39130 ($(objpfx)rpcgen): Remove special build rule and dependency on
39132 * sunrpc/rpcgen.c: New file.
39134 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39137 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39138 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39139 * sysdeps/i386/crti.S: Likewise.
39140 * sysdeps/i386/crtn.S: Likewise.
39141 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39142 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39143 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39144 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39145 * sysdeps/sh/crti.S: Likewise.
39146 * sysdeps/sh/crtn.S: Likewise.
39147 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39150 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39152 * locale/programs/locfile-kw.gperf: Likewise.
39153 * locale/programs/charmap-kw.h: Regenerated.
39154 * locale/programs/locfile-kw.h: Likewise.
39157 * intl/plural.y: Replace FSF snail mail address with URL.
39158 * intl/plural.c: Regenerated.
39160 2012-03-09 Richard Henderson <rth@twiddle.net>
39162 * include/math_private.h: Remove file.
39163 * math/math_private.h: Move file ...
39164 * sysdeps/generic/math_private.h: ... here.
39166 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39167 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39168 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39170 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39171 and <math_private.h>.
39172 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39173 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39174 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39175 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39176 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39177 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39178 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39179 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39180 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39181 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39182 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39183 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39184 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39185 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39186 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39187 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39188 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39189 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39190 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39191 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39193 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39194 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39195 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39196 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39198 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39199 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39201 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39202 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39203 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39204 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39205 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39206 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39207 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39208 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39209 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39210 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39211 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39212 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39213 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39214 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39215 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39216 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39217 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39218 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39219 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39220 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39221 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39222 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39223 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39224 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39225 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39226 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39227 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39228 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39229 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39230 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39231 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39237 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39238 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39239 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39240 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39241 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39242 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39243 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39245 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39246 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39247 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39248 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39251 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39252 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39253 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39254 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39255 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39256 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39257 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39259 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39260 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39261 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39262 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39263 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39264 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39265 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39266 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39267 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39268 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39269 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39270 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39271 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39272 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39273 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39274 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39275 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39276 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39277 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39278 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39279 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39280 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39281 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39282 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39283 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39284 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39285 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39287 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39288 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39289 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39290 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39291 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39292 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39293 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39294 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39295 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39296 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39297 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39298 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39299 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39300 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39301 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39302 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39303 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39304 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39305 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39306 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39307 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39308 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39309 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39310 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39311 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39312 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39313 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39314 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39315 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39316 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39317 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39318 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39319 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39320 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39321 * sysdeps/ieee754/k_standard.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39344 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39349 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39350 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39353 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39354 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39355 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39357 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39362 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39363 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39364 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39367 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39368 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39369 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39370 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39371 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39372 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39373 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39374 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39375 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39376 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39377 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39378 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39379 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39380 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39381 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39382 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39383 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39384 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39385 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39386 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39387 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39388 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39389 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39390 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39391 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39392 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39393 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39394 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39395 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39396 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39397 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39398 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39399 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39400 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39401 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39402 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39403 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39404 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39405 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39406 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39407 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39408 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39409 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39410 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39411 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39412 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39413 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39414 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39415 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39416 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39417 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39418 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39419 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39420 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39421 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39422 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39423 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39424 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39425 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39426 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39427 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39428 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39429 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39430 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39431 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39432 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39433 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39434 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39435 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39436 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39437 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39438 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39439 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39440 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39441 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39442 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39443 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39444 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39445 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39446 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39447 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39448 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39449 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39450 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39451 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39452 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39453 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39454 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39455 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39456 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39457 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39458 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39459 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39460 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39461 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39462 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39463 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39464 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39465 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39466 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39467 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39468 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39469 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39470 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39471 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39472 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39473 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39474 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39475 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39476 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39477 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39478 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39479 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39480 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39481 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39482 * sysdeps/ieee754/s_lib_version.c: Likewise.
39483 * sysdeps/ieee754/s_matherr.c: Likewise.
39484 * sysdeps/ieee754/s_signgam.c: Likewise.
39485 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39486 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39487 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39488 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39489 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39490 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39491 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39492 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39493 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39494 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39495 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39496 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39497 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39498 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39499 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39500 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39501 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39502 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39503 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39504 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39507 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39509 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39510 * sunrpc/rpc_main.c: Likewise.
39511 * sunrpc/rpc_svcout.c: Likewise.
39513 2012-03-09 David S. Miller <davem@davemloft.net>
39515 * include/math_private.h: New file.
39517 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39519 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39520 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39521 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39522 from <bits/socket_type.h>.
39523 (enum __socket_type): Don't define here.
39524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39526 bits/socket_type.h.
39529 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39530 checking __USE_GNU.
39532 * Makerules ($(inst_includedir)/%.h): New rule.
39533 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39534 (install-others): Remove variable setting.
39535 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39537 2012-03-08 Richard Henderson <rth@twiddle.net>
39539 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39540 from macro to inline function; merge with the
39541 !__LIBC_INTERNAL_MATH_INLINES version.
39542 (__ieee754_sqrtf): Likewise.
39544 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39545 to inline function.
39546 (__rintf, __floor, __floorf): Likewise.
39548 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39549 macro to inline function.
39550 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39552 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39553 not <math/math_private.h>.
39555 2012-03-08 David S. Miller <davem@davemloft.net>
39557 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39559 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39561 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39563 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39565 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39566 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39568 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39570 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39571 be defined individually, they must be defined as a block. Define
39572 S for printing a string instead of hidint the different by using a
39573 macro for adding the 'l'.
39574 * stdio-common/tst-fphex-wide.c: Adjust.
39576 2012-03-07 Marek Polacek <polacek@redhat.com>
39578 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39580 2012-03-08 Marek Polacek <polacek@redhat.com>
39583 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39584 * stdio-common/tst-fphex.c: Define a few macros to make the
39585 test reusable. Use them.
39586 * stdio-common/tst-fphex-wide.c: New file.
39588 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39591 * manual/macros.texi (gnusystems): New macro.
39592 (nongnusystems): Likewise.
39593 (gnulinuxhurdsystems): Likewise.
39594 (gnuhurdsystems): Likewise..
39595 (gnulinuxsystems): Likewise.
39596 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39597 variants of the GNU system, not "GNU system".
39598 * manual/conf.texi: Likewise.
39599 * manual/errno.texi: Likewise. Update example of errno macro
39601 * manual/filesys.texi: Likewise.
39602 (getumask): Document as specific to GNU/Hurd.
39603 * manual/install.texi: Likewise. Reword some references to
39605 * manual/intro.texi: Likewise.
39606 * manual/io.texi: Likewise.
39607 (File Name Portability): Detail which constraints are inapplicable
39608 to all GNU systems and which are only inapplicable to GNU/Hurd.
39609 * manual/job.texi: Likewise.
39610 * manual/llio.texi: Likewise.
39611 (O_NOCTTY): Document as present on GNU/Linux.
39612 * manual/maint.texi: Likewise.
39613 * manual/memory.texi: Likewise.
39614 * manual/pattern.texi: Likewise.
39615 * manual/pipe.texi: Likewise.
39616 * manual/process.texi: Likewise.
39617 * manual/resource.texi: Likewise.
39618 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39620 * manual/setjmp.texi: Likewise.
39621 * manual/signal.texi: Likewise.
39622 * manual/startup.texi: Likewise.
39623 * manual/stdio.texi: Likewise.
39624 * manual/terminal.texi: Likewise.
39625 (ONLCR): Document as POSIX.
39626 (OXTABS): Document availability on GNU/Linux as XTABS.
39627 (ONOEOT): Document availability separately from other bits.
39628 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39629 * manual/time.texi: Likewise.
39630 * manual/users.texi: Likewise.
39631 * INSTALL: Regenerated.
39632 * sysdeps/gnu/errlist.c: Regenerated.
39634 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39635 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39636 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39638 * configure: Regenerated.
39640 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39642 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39643 default includes instead of AC_HEADER_CHECK.
39644 * sysdeps/i386/configure: Regenerated.
39647 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39648 * math/s_cacoshf.c (__cacoshf): Likewise.
39649 * math/s_cacoshl.c (__cacoshl): Likewise.
39650 * math/s_casinh.c (__casinh): Set signs of result from argument.
39651 * math/s_casinhf.c (__casinhf): Likewise.
39652 * math/s_casinhl.c (__casinhl): Likewise.
39653 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39654 (casinh_test): Add more tests.
39655 * sysdeps/i386/fpu/libm-test-ulps: Update.
39656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39658 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39660 * po/zh_TW.po: Update from translation team.
39662 * login/Makefile (distribute): Remove variable.
39663 * catgets/Makefile: Likewise.
39664 * mach/Makefile: Likewise.
39665 * malloc/Makefile: Likewise.
39666 * misc/Makefile: Likewise.
39667 * iconv/Makefile: Likewise.
39668 * nscd/Makefile: Likewise.
39669 * hurd/Makefile: Likewise.
39670 * manual/Makefile: Likewise.
39671 * locale/Makefile: Likewise.
39672 * intl/Makefile: Likewise.
39673 * conform/Makefile: Likewise.
39674 * nss/Makefile: Likewise.
39675 * time/Makefile: Likewise.
39676 * soft-fp/Makefile: Likewise.
39677 * dirent/Makefile: Likewise.
39678 * gmon/Makefile: Likewise.
39679 * po/Makefile: Likewise.
39680 * rt/Makefile: Likewise.
39681 * socket/Makefile: Likewise.
39682 * math/Makefile: Likewise.
39683 * signal/Makefile: Likewise.
39684 * debug/Makefile: Likewise.
39685 * elf/Makefile: Likewise.
39686 * timezone/Makefile: Likewise.
39687 * stdlib/Makefile: Likewise.
39688 * iconvdata/Makefile: Likewise.
39689 * sunrpc/Makefile: Likewise.
39690 * io/Makefile: Likewise.
39691 * argp/Makefile: Likewise.
39692 * inet/Makefile: Likewise.
39693 * hesiod/Makefile: Likewise.
39694 * grp/Makefile: Likewise.
39695 * csu/Makefile: Likewise.
39696 * wctype/Makefile: Likewise.
39697 * crypt/Makefile: Likewise.
39698 * libio/Makefile: Likewise.
39699 * string/Makefile: Likewise.
39700 * nis/Makefile: Likewise.
39701 * resolv/Makefile: Likewise.
39702 * stdio-common/Makefile: Likewise.
39703 * wcsmbs/Makefile: Likewise.
39704 * dlfcn/Makefile: Likewise.
39705 * posix/Makefile: Likewise.
39708 * timezone/Makefile: Don't install timezone files, just the programs
39711 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39713 * nss/databases.def: Add missing gshadow entry.
39715 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39717 2012-03-06 Marek Polacek <polacek@redhat.com>
39720 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39721 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39722 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39723 * stdio-common/tst-long-dbl-fphex.c: New file.
39725 2012-03-06 David S. Miller <davem@davemloft.net>
39727 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39728 (set_obp_int): New function.
39729 (get_obp_int): New function.
39730 (__get_clockfreq_via_dev_openprom): Likewise.
39731 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39732 Avoid unused variable warnings on 'val' and use builtin_expect.
39733 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39735 (INLINE_CLONE_SYSCALL): Likewise.
39737 2012-03-05 David S. Miller <davem@davemloft.net>
39739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39741 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39745 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39746 only for |x| >= 40.
39747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39749 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39751 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39752 Replace gettimeofday with __vdso_gettimeofday.
39754 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39755 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39756 __vdso_clock_gettime and __vdso_getcpu.
39758 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39759 time with __vdso_time.
39761 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39763 * manual/lang.texi (size_t): Note types to which size_t may be
39764 equivalent with the GNU C Library, but do not describe when
39765 differences between them are significant.
39767 2012-03-05 Andreas Jaeger <aj@suse.de>
39769 * sysdeps/i386/fpu/libm-test-ulps: Update.
39771 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39774 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39775 (__ieee754_pow): Save and restore rounding mode and use
39776 round-to-nearest for main computations.
39777 * math/libm-test.inc (pow_test_tonearest): New function.
39778 (pow_test_towardzero): Likewise.
39779 (pow_test_downward): Likewise.
39780 (pow_test_upward): Likewise.
39781 (main): Call the new functions.
39782 * sysdeps/i386/fpu/libm-test-ulps: Update.
39783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39786 * math/libm-test.inc (cosh_test_tonearest): New function.
39787 (cosh_test_towardzero): Likewise.
39788 (cosh_test_downward): Likewise.
39789 (cosh_test_upward): Likewise.
39790 (sinh_test_tonearest): Likewise.
39791 (sinh_test_towardzero): Likewise.
39792 (sinh_test_downward): Likewise.
39793 (sinh_test_upward): Likewise.
39794 (main): Call the new functions.
39795 * sysdeps/i386/fpu/libm-test-ulps: Update.
39796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39798 2012-03-05 Tom de Vries <tom@codesourcery.com>
39800 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39801 default stack guard is set in last bytes.
39802 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39804 2012-03-05 Kees Cook <keescook@chromium.org>
39806 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39809 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39810 possibly allocate from heap instead of stack.
39811 * stdio-common/bug-vfprintf-nargs.c: New file.
39812 * stdio-common/Makefile (tests): Add nargs overflow test.
39814 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39818 2012-03-03 Marek Polacek <polacek@redhat.com>
39820 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39821 * math/math_private.h: Likewise.
39822 * stdlib/tst-strtod.c: Likewise.
39823 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39824 * sysdeps/x86_64/bits/atomic.h: Likewise.
39826 2012-03-02 David S. Miller <davem@davemloft.net>
39828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39832 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39833 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39834 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39835 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39837 2012-03-02 Roland McGrath <roland@hack.frob.com>
39840 * manual/examples/README: New file, says the example source files
39841 can be used under GPL>=2.
39842 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39843 line containing just "*/".
39844 * manual/examples/add.c: Add copyright header (GPL>=2).
39845 * manual/examples/argp-ex1.c: Likewise.
39846 * manual/examples/argp-ex2.c: Likewise.
39847 * manual/examples/argp-ex3.c: Likewise.
39848 * manual/examples/argp-ex4.c: Likewise.
39849 * manual/examples/atexit.c: Likewise.
39850 * manual/examples/db.c: Likewise.
39851 * manual/examples/dir.c: Likewise.
39852 * manual/examples/dir2.c: Likewise.
39853 * manual/examples/execinfo.c: Likewise.
39854 * manual/examples/filecli.c: Likewise.
39855 * manual/examples/filesrv.c: Likewise.
39856 * manual/examples/fmtmsgexpl.c: Likewise.
39857 * manual/examples/genpass.c: Likewise.
39858 * manual/examples/inetcli.c: Likewise.
39859 * manual/examples/inetsrv.c: Likewise.
39860 * manual/examples/isockad.c: Likewise.
39861 * manual/examples/longopt.c: Likewise.
39862 * manual/examples/memopen.c: Likewise.
39863 * manual/examples/memstrm.c: Likewise.
39864 * manual/examples/mkfsock.c: Likewise.
39865 * manual/examples/mkisock.c: Likewise.
39866 * manual/examples/mygetpass.c: Likewise.
39867 * manual/examples/pipe.c: Likewise.
39868 * manual/examples/popen.c: Likewise.
39869 * manual/examples/rprintf.c: Likewise.
39870 * manual/examples/search.c: Likewise.
39871 * manual/examples/select.c: Likewise.
39872 * manual/examples/setjmp.c: Likewise.
39873 * manual/examples/sigh1.c: Likewise.
39874 * manual/examples/sigusr.c: Likewise.
39875 * manual/examples/stpcpy.c: Likewise.
39876 * manual/examples/strdupa.c: Likewise.
39877 * manual/examples/strftim.c: Likewise.
39878 * manual/examples/strncat.c: Likewise.
39879 * manual/examples/subopt.c: Likewise.
39880 * manual/examples/swapcontext.c: Likewise.
39881 * manual/examples/termios.c: Likewise.
39882 * manual/examples/testopt.c: Likewise.
39883 * manual/examples/testpass.c: Likewise.
39884 * manual/examples/timeval_subtract.c: Likewise.
39887 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39889 * manual/timeval_subtract.c.texi: ... here, new file.
39891 2012-03-02 David S. Miller <davem@davemloft.net>
39893 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39895 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39898 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39899 (__sin): Save and restore rounding mode and use round-to-nearest
39900 for all computations.
39901 (__cos): Save and restore rounding mode and use round-to-nearest
39902 for all computations.
39903 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39905 (tan): Save and restore rounding mode and use round-to-nearest for
39907 * math/libm-test.inc (cos_test_tonearest): New function.
39908 (cos_test_towardzero): Likewise.
39909 (cos_test_downward): Likewise.
39910 (cos_test_upward): Likewise.
39911 (sin_test_tonearest): Likewise.
39912 (sin_test_towardzero): Likewise.
39913 (sin_test_downward): Likewise.
39914 (sin_test_upward): Likewise.
39915 (tan_test_tonearest): Likewise.
39916 (tan_test_towardzero): Likewise.
39917 (tan_test_downward): Likewise.
39918 (tan_test_upward): Likewise.
39919 (main): Call the new functions.
39920 * sysdeps/i386/fpu/libm-test-ulps: Update.
39921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39924 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39925 small n, then large n, before computing and testing k+n.
39926 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39931 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39932 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39933 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39934 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39935 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39936 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39937 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39938 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39939 * math/libm-test.inc (scalbn_test): Add more tests.
39940 (scalbln_test): Likewise.
39942 * manual/filesys.texi (mode_t): Describe constraints on size and
39943 signedness, not exact equivalence to a particular type.
39945 (ino64_t): Likewise.
39947 (nlink_t): Likewise.
39948 (blkcnt_t): Likewise.
39949 (blkcnt64_t): Likewise.
39950 * manual/llio.texi (off_t): Likewise.
39953 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39954 (__ieee754_exp): Save and restore rounding mode and use
39955 round-to-nearest for all computations.
39956 * math/libm-test.inc (exp_test_tonearest): New function.
39957 (exp_test_towardzero): Likewise.
39958 (exp_test_downward): Likewise.
39959 (exp_test_upward): Likewise.
39960 (main): Call the new functions.
39961 * sysdeps/i386/fpu/libm-test-ulps: Update.
39962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39964 2012-03-01 Chris Demetriou <cgd@google.com>
39966 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39967 have predictable order.
39969 2012-03-01 David S. Miller <davem@davemloft.net>
39971 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39973 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39974 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39975 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39976 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39978 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39979 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39980 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39982 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39983 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39984 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39985 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39986 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39990 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39991 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39992 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39994 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39995 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39996 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39997 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39998 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39999 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40001 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40002 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40003 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40004 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40005 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40006 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40007 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40008 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40010 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40011 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40012 * sysdeps/sparc/elf/configure: Regenerated.
40014 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40016 * configure.in (AS, LD): Require binutils 2.20 or later.
40017 * configure: Regenerated.
40018 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40019 as required minimum version.
40020 * INSTALL: Regenerated.
40024 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40025 before squaring exponent.
40026 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40027 bottom long double and 27 bits of top long double before squaring
40029 * math/libm-test.inc (erfc_test): Add more tests.
40030 * sysdeps/i386/fpu/libm-test-ulps: Update.
40031 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40034 2012-03-01 Kai Tietz <ktietz@redhat.com>
40036 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40037 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40038 containing bit-fields.
40039 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40040 * soft-fp/single.h (_FP_UNION_S): Likewise.
40041 * soft-fp/double.h (_FP_UNION_D): Likewise.
40043 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40046 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40047 not include ../strcmp.S.
40048 [USE_AS_STRNCASECMP_L]: Likewise.
40049 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40050 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40051 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40052 (__strncasecmp_l_ia32): Define as alias to
40053 __strncasecmp_l_nonascii.
40056 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40057 * sysdeps/i386/fpu/libm-test-ulps: Update.
40058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40060 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40063 2012-02-29 Jeff Law <law@redhat.com>
40065 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40066 out of bounds read.
40068 2012-02-29 Marek Polacek <polacek@redhat.com>
40071 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40072 * elf/Makefile: Add rules to run tst-unused-dep.out.
40074 2012-02-28 David S. Miller <davem@davemloft.net>
40076 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40077 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40078 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40079 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40080 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40081 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40083 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40085 * math/libm-test.inc (llround_test): Move one test from
40086 lround_test. Use TEST_f_L in moved test.
40087 (lround_test): Move misplaced test to llround_test. Add testcase
40090 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40092 * sysdeps/x86_64/fpu/e_expf.S: New file.
40093 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40095 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40098 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40099 of remain_len that may cause incomplete multi-byte character and
40101 * posix/bug-regex33.c: New file.
40102 * posix/Makefile (tests): Add bug-regex33.
40104 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40106 * manual/macros.texi: New file.
40107 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40108 * manual/libc.texinfo: Include macros.texi.
40109 * manual/creatute.texi: Likewise.
40110 * manual/install.texi: Likewise.
40111 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40112 @glibcadj{} in references to the GNU C Library.
40113 * manual/charset.texi: Likewise.
40114 * manual/conf.texi: Likewise.
40115 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40116 when not using those macros.
40117 * manual/creature.texi: Likewise.
40118 * manual/crypt.texi: Likewise.
40119 * manual/errno.texi: Likewise.
40120 * manual/filesys.texi: Likewise.
40121 * manual/header.texi: Likewise.
40122 * manual/install.texi: Likewise.
40123 * manual/intro.texi: Likewise.
40124 * manual/io.texi: Likewise.
40125 * manual/job.texi: Likewise.
40126 * manual/lang.texi: Likewise.
40127 * manual/libc.texiinfo: Likewise.
40128 * manual/llio.texi: Likewise.
40129 * manual/locale.texi: Likewise.
40130 * manual/maint.texi: Likewise.
40131 * manual/math.texi: Likewise.
40132 * manual/memory.texi: Likewise.
40133 * manual/message.texi: Likewise.
40134 * manual/nss.texi: Likewise.
40135 * manual/pattern.texi: Likewise.
40136 * manual/process.texi: Likewise.
40137 * manual/resource.texi: Likewise.
40138 * manual/search.texi: Likewise.
40139 * manual/setjmp.texi: Likewise.
40140 * manual/signal.texi: Likewise.
40141 * manual/socket.texi: Likewise.
40142 * manual/startup.texi: Likewise.
40143 * manual/stdio.texi: Likewise.
40144 * manual/string.texi: Likewise.
40145 * manual/sysinfo.texi: Likewise.
40146 * manual/syslog.texi: Likewise.
40147 * manual/terminal.texi: Likewise.
40148 * manual/time.texi: Likewise.
40149 * manual/users.texi: Likewise.
40150 * INSTALL: Regenerated.
40151 * NOTES: Regenerated.
40152 * sysdeps/gnu/errlist.c: Regenerated.
40154 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40156 * include/dirent.h: Include <dirstream.h> before
40159 2012-02-28 David S. Miller <davem@davemloft.net>
40161 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40162 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40163 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40164 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40166 2012-02-27 David S. Miller <davem@davemloft.net>
40168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40170 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40171 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40174 frame pointer instead of stack pointer relative arg slot.
40175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40176 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40177 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40179 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40182 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40184 2012-02-27 David S. Miller <davem@davemloft.net>
40186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40190 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40191 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40192 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40193 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40195 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40197 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40198 later. Allow versions 5-9.
40199 * configure: Regenerated.
40200 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40201 required minimum version and 4.6 as recommended version. Do not
40202 mention bugs in GCC 2.7 and 2.8.
40203 * INSTALL: Regenerated.
40205 2012-02-27 David S. Miller <davem@davemloft.net>
40207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40211 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40212 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40213 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40214 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40216 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40217 manipulate bits before adding and subtracting TWO112[sx].
40218 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40220 2012-02-27 Roland McGrath <roland@hack.frob.com>
40223 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40224 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40225 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40226 being in POSIX, because they are in 1003.1-2008.
40228 * rt/tst-aio.c: Include <fcntl.h>.
40229 * rt/tst-aio7.c: Likewise.
40230 * rt/tst-aio64.c: Likewise.
40232 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40234 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40236 * manual/install.texi (--with-headers): Describe headers as
40237 interface headers, not private headers.
40238 (Specific advice for GNU/Linux systems): Describe use of headers
40239 from "make headers_install", not private headers from older
40241 * INSTALL: Regenerated.
40242 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40244 * sysdeps/unix/sysv/linux/configure: Regenerated.
40246 * manual/llio.texi (fclean): Remove documentation.
40248 * manual/Makefile (libc-texi-generated): New variable. Include
40250 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40251 $(libc-texi-generated), not duplicated list of files.
40252 (version.texi, stamp-version): New rules.
40253 (realclean): Remove $(libc-texi-generated), not individual files
40254 from that list. Do not remove dir-add.texinfo.
40255 * manual/libc.texinfo: Comment out uses of edition numbers and
40256 references to printed manual. Remove last-updated dates.
40257 (EDITION): Comment out.
40259 (VERSION, UPDATED): Remove.
40260 (version.texi): Include.
40262 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40264 * sysdeps/posix/spawni.c: Include <signal.h>.
40265 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40266 * sysdeps/pthread/aio_fsync.c: Likewise.
40268 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40270 * conform/Makefile (tests): Run only when not cross-compiling and
40271 when fast-check is not defined.
40273 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40274 * conform/data/limits.h-data: Fixes for POSIX2008.
40275 * conform/run-conformtest.sh: Run all tests.
40276 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40278 * include/bits/dlfcn.h: Likewise.
40279 * include/langinfo.h: Likewise.
40280 * include/monetary.h: Likewise.
40281 * include/sys/poll.h: Likewise.
40283 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40285 * posix/spawn.h: Define __need_sigset_t.
40286 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40287 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40288 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40289 to get sigevent_t only.
40290 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40291 only for __USE_GNU.
40292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40293 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40294 process_vm_writev only for __USE_GNU.
40295 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40297 * conform/Makefile: For now ignore errors from run-conformtest.
40298 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40299 POSIX to avoid namespace pollution. Don't prepend headers.
40300 * conform/data/aio.h-data: Fixes for POSIX testing.
40301 * conform/data/fcntl.h-data: Likewise.
40302 * conform/data/glob.h-data: Likewise.
40303 * conform/data/grp.h-data: Likewise.
40304 * conform/data/pthread.h-data: Likewise.
40305 * conform/data/pwd.h-data: Likewise.
40306 * conform/data/signal.h-data: Likewise.
40307 * conform/data/spawn.h-data: Likewise.
40308 * conform/data/stdio.h-data: Likewise.
40309 * conform/data/stdlib.h-data: Likewise.
40310 * conform/data/stropts.h-data: Likewise.
40311 * conform/data/sys/mman.h-data: Likewise.
40312 * conform/data/sys/stat.h-data: Likewise.
40313 * conform/data/sys/types.h-data: Likewise.
40314 * conform/data/sys/wait.h-data: Likewise.
40315 * conform/data/time.h-data: Likewise.
40316 * conform/data/unistd.h-data: Likewise.
40317 * conform/data/utime.h-data: Likewise.
40319 * io/sys/stat.h: fchmod was always in POSIX.
40320 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40321 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40322 * rt/aio.h: Define __need_timespec before including <time.h>.
40323 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40324 struct. Add forward declaration of pthread_attr_t and use it in
40326 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40328 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40329 always remove CLK_TCK definition.
40331 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40333 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40335 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40337 * conform/run-conformtest.sh: New file.
40338 * conform/Makefile: Run run-conformtest for tests.
40339 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40342 * conform/data/uchar.h-data: New file.
40343 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40344 * conform/data/arpa/inet.h-data: Likewise.
40345 * conform/data/assert.h-data: Likewise.
40346 * conform/data/complex.h-data: Likewise.
40347 * conform/data/cpio.h-data: Likewise.
40348 * conform/data/ctype.h-data: Likewise.
40349 * conform/data/dirent.h-data: Likewise.
40350 * conform/data/dlfcn.h-data: Likewise.
40351 * conform/data/errno.h-data: Likewise.
40352 * conform/data/fcntl.h-data: Likewise.
40353 * conform/data/float.h-data: Likewise.
40354 * conform/data/fmtmsg.h-data: Likewise.
40355 * conform/data/fnmatch.h-data: Likewise.
40356 * conform/data/ftw.h-data: Likewise.
40357 * conform/data/glob.h-data: Likewise.
40358 * conform/data/grp.h-data: Likewise.
40359 * conform/data/iconv.h-data: Likewise.
40360 * conform/data/inttypes.h-data: Likewise.
40361 * conform/data/langinfo.h-data: Likewise.
40362 * conform/data/libgen.h-data: Likewise.
40363 * conform/data/limits.h-data: Likewise.
40364 * conform/data/locale.h-data: Likewise.
40365 * conform/data/math.h-data: Likewise.
40366 * conform/data/monetary.h-data: Likewise.
40367 * conform/data/mqueue.h-data: Likewise.
40368 * conform/data/ndbm.h-data: Likewise.
40369 * conform/data/net/if.h-data: Likewise.
40370 * conform/data/netdb.h-data: Likewise.
40371 * conform/data/netinet/in.h-data: Likewise.
40372 * conform/data/nl_types.h-data: Likewise.
40373 * conform/data/poll.h-data: Likewise.
40374 * conform/data/pthread.h-data: Likewise.
40375 * conform/data/pwd.h-data: Likewise.
40376 * conform/data/regex.h-data: Likewise.
40377 * conform/data/sched.h-data: Likewise.
40378 * conform/data/search.h-data: Likewise.
40379 * conform/data/semaphore.h-data: Likewise.
40380 * conform/data/setjmp.h-data: Likewise.
40381 * conform/data/signal.h-data: Likewise.
40382 * conform/data/spawn.h-data: Likewise.
40383 * conform/data/stdarg.h-data: Likewise.
40384 * conform/data/stdio.h-data: Likewise.
40385 * conform/data/stdlib.h-data: Likewise.
40386 * conform/data/string.h-data: Likewise.
40387 * conform/data/strings.h-data: Likewise.
40388 * conform/data/stropts.h-data: Likewise.
40389 * conform/data/sys/ipc.h-data: Likewise.
40390 * conform/data/sys/mman.h-data: Likewise.
40391 * conform/data/sys/msg.h-data: Likewise.
40392 * conform/data/sys/resource.h-data: Likewise.
40393 * conform/data/sys/select.h-data: Likewise.
40394 * conform/data/sys/sem.h-data: Likewise.
40395 * conform/data/sys/shm.h-data: Likewise.
40396 * conform/data/sys/socket.h-data: Likewise.
40397 * conform/data/sys/stat.h-data: Likewise.
40398 * conform/data/sys/statvfs.h-data: Likewise.
40399 * conform/data/sys/time.h-data: Likewise.
40400 * conform/data/sys/timeb.h-data: Likewise.
40401 * conform/data/sys/times.h-data: Likewise.
40402 * conform/data/sys/types.h-data: Likewise.
40403 * conform/data/sys/uio.h-data: Likewise.
40404 * conform/data/sys/un.h-data: Likewise.
40405 * conform/data/sys/utsname.h-data: Likewise.
40406 * conform/data/sys/wait.h-data: Likewise.
40407 * conform/data/syslog.h-data: Likewise.
40408 * conform/data/tar.h-data: Likewise.
40409 * conform/data/termios.h-data: Likewise.
40410 * conform/data/utime.h-data: Likewise.
40411 * conform/data/utmpx.h-data: Likewise.
40412 * conform/data/varargs.h-data: Likewise.
40413 * conform/data/wchar.h-data: Likewise.
40414 * conform/data/wctype.h-data: Likewise.
40415 * conform/data/wordexp.h-data: Likewise.
40417 * include/stropts.h: New file.
40418 * include/uchar.h: New file.
40419 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40420 * include/assert.h: Likewise.
40421 * include/ctype.h: Likewise.
40422 * include/dirent.h: Likewise.
40423 * include/dlfcn.h: Likewise.
40424 * include/fcntl.h: Likewise.
40425 * include/fnmatch.h: Likewise.
40426 * include/glob.h: Likewise.
40427 * include/grp.h: Likewise.
40428 * include/libio.h: Likewise.
40429 * include/locale.h: Likewise.
40430 * include/math.h: Likewise.
40431 * include/net/if.h: Likewise.
40432 * include/netdb.h: Likewise.
40433 * include/netinet/in.h: Likewise.
40434 * include/pthread.h: Likewise.
40435 * include/pwd.h: Likewise.
40436 * include/regex.h: Likewise.
40437 * include/sched.h: Likewise.
40438 * include/search.h: Likewise.
40439 * include/setjmp.h: Likewise.
40440 * include/signal.h: Likewise.
40441 * include/stdio.h: Likewise.
40442 * include/stdlib.h: Likewise.
40443 * include/string.h: Likewise.
40444 * include/sys/cdefs.h: Likewise.
40445 * include/sys/mman.h: Likewise.
40446 * include/sys/msg.h: Likewise.
40447 * include/sys/resource.h: Likewise.
40448 * include/sys/select.h: Likewise.
40449 * include/sys/socket.h: Likewise.
40450 * include/sys/stat.h: Likewise.
40451 * include/sys/statvfs.h: Likewise.
40452 * include/sys/time.h: Likewise.
40453 * include/sys/times.h: Likewise.
40454 * include/sys/uio.h: Likewise.
40455 * include/sys/utsname.h: Likewise.
40456 * include/sys/wait.h: Likewise.
40457 * include/termios.h: Likewise.
40458 * include/time.h: Likewise.
40459 * include/ulimit.h: Likewise.
40460 * include/unistd.h: Likewise.
40461 * include/utime.h: Likewise.
40462 * include/wchar.h: Likewise.
40463 * include/wctype.h: Likewise.
40464 * include/wordexp.h: Likewise.
40466 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40468 * time/time.h: TIME_UTC must be a macro.
40469 Make timespec_get available for ISO C11 only as well.
40471 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40473 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40474 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40476 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40478 * configure.in: Use -o not -a in test for unsupported multi-arch.
40480 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40482 * manual/texinfo.tex: Update to version 2012-01-19.16.
40484 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40486 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40488 2012-02-24 Roland McGrath <roland@hack.frob.com>
40491 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40492 * manual/fdl-1.3.texi: New file.
40493 * manual/fdl-1.1.texi: File removed.
40496 * manual/libc.texinfo (FDL_VERSION): New @set.
40497 Use it for mention of FDL in cover text.
40498 (Documentation License): Use it in @include file name.
40500 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40501 Roland McGrath <roland@hack.frob.com>
40504 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40505 (not LONG_LONG_MAX and LONG_LONG_MIN.
40506 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40507 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40509 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40511 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40515 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40516 manipulate bits before adding and subtracting TWO23[sx].
40517 * math/libm-test.inc (nearbyint_test): Add more tests.
40519 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40522 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40523 bits before adding and subtracting TWO23[sx].
40524 * math/libm-test.inc (rint_test): Add more tests.
40525 (rint_test_tonearest): Likewise.
40526 (rint_test_towardzero): Likewise.
40527 (rint_test_downward): Likewise.
40528 (rint_test_upward: Likewise.
40530 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40533 * include/stdc-predef.h: New file. Extracted from features.h.
40534 * include/features.h: Include stdc-predef.h.
40535 * Makefile (headers): Add stdc-predef.h.
40536 * CONFORMANCE (Compiler limitations): Update.
40538 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40540 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40542 2012-02-21 David S. Miller <davem@davemloft.net>
40544 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40545 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40547 2012-02-20 David S. Miller <davem@davemloft.net>
40549 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40550 using a normal save/restore sequence, rather than allocating a
40551 dummy stack frame just to store a frame pointer and restore.
40552 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40554 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40556 * manual/install.texi: Fix stray word in line-wrapped comment.
40558 2012-02-20 David S. Miller <davem@davemloft.net>
40560 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40561 both binutils and gcc support GOTDATA.
40563 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40564 "rd %pc" in the PIC register setup sequences.
40566 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40567 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40568 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40569 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40570 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40571 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40572 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40573 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40574 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40575 (SYSCALL_ERROR_HANDLER): Likewise.
40576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40577 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40579 (SYSCALL_ERROR_HANDLER): Likewise.
40581 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40582 (HAVE_GCC_GOTDATA): New.
40583 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40584 relocation support in both binutils and gcc.
40585 * sysdeps/sparc/elf/configure: Regenerate.
40587 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40588 * sysdeps/sparc/sparc32/elf/configure: Delete.
40589 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40590 * sysdeps/sparc/sparc64/elf/configure: Delete.
40591 * sysdeps/sparc/elf/configure.in: New file.
40592 * sysdeps/sparc/elf/configure: Generate.
40594 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40595 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40596 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40597 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40598 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40600 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40602 * manual/install.texi: Do not mention specific glibc version
40604 * manual/libc.texinfo (VERSION, UPDATED): Update.
40605 (@copying): Use @copyright{} and range of years.
40607 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40610 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40611 [crti.S not in sysdirs] (generated): Do not append.
40612 [crti.S not in sysdirs] (omit-deps): Likewise.
40613 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40614 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40615 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40616 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40617 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40619 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40620 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40621 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40622 * csu/defs.awk: Remove file.
40623 * sysdeps/generic/initfini.c: Likewise.
40624 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40626 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40629 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40631 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40632 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40633 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40634 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40635 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40636 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40638 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40639 (__EPOLL_PACKED): Define to empty if not defined by
40641 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40645 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40647 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40648 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40649 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40650 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40652 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40656 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40658 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40660 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40661 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40662 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40665 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40667 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40668 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40670 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40672 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40673 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40675 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40677 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40680 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40682 * math/w_acos.c: Use non-signaling floating-point comparisons.
40683 * math/w_acosf.c: Likewise.
40684 * math/w_acosh.c: Likewise.
40685 * math/w_acoshf.c: Likewise.
40686 * math/w_acoshl.c: Likewise.
40687 * math/w_acosl.c: Likewise.
40688 * math/w_asin.c: Likewise.
40689 * math/w_asinf.c: Likewise.
40690 * math/w_asinl.c: Likewise.
40691 * math/w_atanh.c: Likewise.
40692 * math/w_atanhf.c: Likewise.
40693 * math/w_atanhl.c: Likewise.
40694 * math/w_exp2.c: Likewise.
40695 * math/w_exp2f.c: Likewise.
40696 * math/w_exp2l.c: Likewise.
40697 * math/w_j0.c: Likewise.
40698 * math/w_j0f.c: Likewise.
40699 * math/w_j0l.c: Likewise.
40700 * math/w_j1.c: Likewise.
40701 * math/w_j1f.c: Likewise.
40702 * math/w_j1l.c: Likewise.
40703 * math/w_jn.c: Likewise.
40704 * math/w_jnf.c: Likewise.
40705 * math/w_log.c: Likewise.
40706 * math/w_log10.c: Likewise.
40707 * math/w_log10f.c: Likewise.
40708 * math/w_log10l.c: Likewise.
40709 * math/w_log2.c: Likewise.
40710 * math/w_log2f.c: Likewise.
40711 * math/w_log2l.c: Likewise.
40712 * math/w_logf.c: Likewise.
40713 * math/w_logl.c: Likewise.
40714 * math/w_sqrt.c: Likewise.
40715 * math/w_sqrtf.c: Likewise.
40716 * math/w_sqrtl.c: Likewise.
40717 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40718 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40719 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40720 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40721 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40723 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40726 * manual/string.texi (strnlen): Use correct parameter name in
40727 equivalent expression.
40729 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40732 * manual/users.texi (seteuid): Consistently use neweuid for
40735 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40738 * manual/nss.texi (Services in the NSS configuration): Correct
40739 list of services in example configuration file.
40741 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40744 * manual/arith.texi: Remove statements about negative zero
40745 behaving identically to zero.
40747 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40750 * manual/install.texi: Do not document upgrading from libc5.
40752 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40755 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40757 2012-02-18 David S. Miller <davem@davemloft.net>
40759 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40760 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40761 %o7 across the call.
40762 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40765 SETUP_PIC_REG_LEAF.
40766 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40767 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40768 * sysdeps/sparc/crtn.S: Likewise.
40770 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40772 * aout/Makefile: Remove.
40774 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40777 * manual/examples/argp-ex1.c (main): Format definition in GNU
40779 * manual/examples/argp-ex2.c (main): Likewise.
40780 * manual/examples/argp-ex3.c (main): Likewise.
40781 * manual/examples/argp-ex4.c (main): Likewise.
40782 * manual/examples/longopt.c (main): Use new-style prototype
40784 * manual/examples/strncat.c (main): Specify return type and use
40785 (void) for arguments.
40786 * manual/examples/subopt.c (main): Use char **argv argument.
40788 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40791 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40794 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40797 * manual/string.texi (strchr): Change when strchrnul is
40800 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40803 * manual/locale.texi (setlocale): Document LOCPATH.
40805 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40808 * manual/process.texi (execle): Move @dots{} before last argument.
40810 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40813 * manual/charset.texi (Generic Charset Conversion): Fix typo
40814 (LC_TYPE -> LC_CTYPE).
40816 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40819 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40820 (scalbnf): Likewise.
40821 (scalbnl): Likewise.
40822 (scalbln): Likewise.
40823 (scalblnf): Likewise.
40824 (scalblnl): Likewise.
40825 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40826 (vwarnx): Likewise.
40829 * manual/filesys.texi (telldir): Use braces around return type.
40830 * manual/llio.texi (mmap): Add space after comma.
40831 (mmap64): Likewise.
40832 * manual/math.texi (jn): Use @var{} on parameter names.
40838 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40840 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40842 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40843 (sched_get_priority_max): Likewise.
40844 * manual/signal.texi (sigvec): Add space after comma.
40845 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40847 (if_indextoname): Likewise.
40848 (if_freenameindex): Likewise.
40849 (sendto): Use ',' instead of '.' in prototype.
40850 * manual/startup.texi (syscall): Use @dots{} instead of literal
40852 * manual/stdio.texi (__fpending): Separate initial words of
40853 paragraph from @deftypefun line.
40854 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40856 (vsyslog): Use @var{} on parameter names.
40857 * manual/terminal.texi (stty): Use @var{} on parameter names.
40858 * manual/users.texi (getutmp): Use @var{} on parameter names.
40859 (getutmpx): Likewise.
40861 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40864 * manual/stdio.texi (fopen): Fix typos in description of
40867 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40870 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40871 get clock_id definition.
40873 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40876 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40877 (madvise): Cast every argument to void on its own.
40879 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40882 * manual/startup.texi (Exit Status): Fix typo.
40884 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40887 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40888 * manual/examples/argp-ex2.c: Likewise.
40889 * manual/examples/argp-ex3.c: Likewise.
40891 2012-02-16 Richard Henderson <rth@redhat.com>
40893 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40894 * sysdeps/s390/s390-32/initfini.c: Remove.
40895 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40896 * sysdeps/s390/s390-64/initfini.c: Remove.
40898 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40900 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40901 compiler output for sysdeps/generic/initfini.c.
40902 * sysdeps/sh/elf/initfini.c: Remove file.
40904 2012-02-16 David S. Miller <davem@davemloft.net>
40907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40909 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40910 * sysdeps/sparc/crti.S: New file.
40911 * sysdeps/sparc/crtn.S: New file.
40912 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40913 * sysdeps/sparc/sparc64/Makefile: Likewise.
40915 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40918 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40920 2012-02-15 Roland McGrath <roland@hack.frob.com>
40923 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40925 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40926 (write, read, close): Likewise.
40927 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40929 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40931 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40932 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40933 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40934 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40936 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40940 2012-02-14 Marek Polacek <polacek@redhat.com>
40942 * sysdeps/x86_64/crti.S: New file.
40943 * sysdeps/x86_64/crtn.S: New file.
40944 * sysdeps/x86_64/elf/initfini.c: Remove file.
40946 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40948 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40949 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40950 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40951 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40953 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40957 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40959 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40960 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40961 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40962 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40964 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40968 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40970 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40971 __feraiseexcept instead of feraiseexcept.
40973 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40974 nanosleep invocations.
40975 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40976 strings, and add error checking for a nanosleep invocations.
40978 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40980 Replace FSF snail mail address with URLs, as per GNU coding standards.
40981 Most of the snail mail addresses were wrong anyway, and omitting
40982 them makes the source code easier to maintain. Almost all of the
40983 changes are to license notices and to locale LC_IDENTIFICATION
40984 addresses, except for this one:
40985 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40986 not its snail mail address.
40988 2012-02-09 Richard Henderson <rth@twiddle.net>
40990 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40991 of kernel-features.h.
40993 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40995 2012-02-08 Marek Polacek <polacek@redhat.com>
40997 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40998 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40999 * sysdeps/gnu/_G_config.h: Likewise.
41000 * sysdeps/generic/_G_config.h: Likewise.
41002 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41004 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41008 * sysdeps/powerpc/powerpc32/crti.S: New file.
41009 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41010 * sysdeps/powerpc/powerpc64/crti.S: New file.
41011 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41013 * Makeconfig (have-initfini): Don't set.
41014 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41015 * configure.in (nopic_initfini): Don't substitute.
41016 * config.h.in (HAVE_INITFINI): Don't #undef.
41017 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41018 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41020 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41022 Support crti.S and crtn.S provided directly by architectures.
41023 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41024 [crti.S in sysdirs] (omit-deps): Likewise.
41025 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41026 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41027 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41028 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41029 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41030 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41031 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41032 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41033 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41034 compiler output for sysdeps/generic/initfini.c.
41035 * sysdeps/i386/elf/Makefile: Remove file.
41036 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41038 2012-02-07 Marek Polacek <polacek@redhat.com>
41040 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41041 * sysdeps/gnu/_G_config.h: Likewise.
41042 * sysdeps/mach/hurd/_G_config.h: Likewise.
41044 2012-02-07 Marek Polacek <polacek@redhat.com>
41046 * math/Makefile (tests): Add tst-CMPLX2.
41047 * math/tst-CMPLX2.c: New file.
41049 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41051 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41053 * math/libm-test.inc (jn_test): Add missing L suffix.
41055 2012-02-06 Marek Polacek <polacek@redhat.com>
41057 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41058 * sysdeps/i386/fpu/e_powf.S: Likewise.
41059 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41060 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41061 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41062 * sysdeps/i386/fpu/e_pow.S: Likewise.
41063 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41064 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41065 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41066 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41067 * sysdeps/i386/fpu/e_log2.S: Likewise.
41068 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41069 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41070 * sysdeps/i386/fpu/e_powl.S: Likewise.
41071 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41072 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41073 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41074 * sysdeps/i386/fpu/e_logl.S: Likewise.
41075 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41076 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41077 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41078 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41079 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41080 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41081 * sysdeps/i386/fpu/e_log.S: Likewise.
41082 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41083 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41084 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41085 * sysdeps/i386/fpu/e_logf.S: Likewise.
41086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41087 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41088 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41089 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41090 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41091 * sysdeps/i386/fpu/e_log10.S: Likewise.
41092 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41093 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41094 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41095 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41096 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41097 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41098 * sysdeps/i386/asm-syntax.h: Likewise.
41099 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41100 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41101 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41102 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41103 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41104 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41105 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41106 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41107 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41108 * sysdeps/powerpc/sysdep.h: Likewise.
41109 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41110 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41112 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41115 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41117 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41119 * sysdeps/i386/sysdep.h: Include <features.h>.
41120 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41123 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41125 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41127 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41130 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41132 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41133 (SETUP_PIC_REG): Use GET_PC_THUNK.
41134 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41137 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41139 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41140 for non-PIC compilation.
41141 (SETUP_PIC_REG): Add .p2align directive.
41142 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41143 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41144 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41145 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41146 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41147 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41148 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41149 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41150 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41151 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41152 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41153 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41154 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41155 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41156 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41157 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41158 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41159 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41160 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41161 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41162 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41164 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41165 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41166 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41168 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41170 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41171 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41172 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41174 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41175 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41176 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41177 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41178 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41179 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41180 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41181 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41182 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41184 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41186 * math/tst-CMPLX.c: Include <stdio.h>.
41188 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41190 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41192 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41193 * sysdeps/sparc/bits/mathdef.h: Likewise.
41195 2012-01-31 Marek Polacek <polacek@redhat.com>
41197 * libio/libio.h: Don't define _PARAMS.
41198 * locale/programs/config.h: Don't define PARAMS.
41199 * stdlib/strtol_l.c: Likewise.
41200 (__strtol_l): Remove PARAMS from the prototype.
41202 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41204 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41205 names. Just use the correct names. Remove unnecessary wrapper
41207 * malloc/arena.c: Likewise.
41208 * malloc/hooks.c: Likewise.
41210 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41211 ARENA_TEST says not to. Simplify test for creation of a new arena.
41212 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41214 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41216 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41218 (update_get_addr): New function.
41219 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41220 GET_ADDR_MODULE parameter.
41222 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41224 * crypt/cert.c: Remove __STDC__ conditionals.
41225 * crypt/crypt-entry.c: Likewise.
41226 * crypt/crypt_util.c: Likewise.
41227 * libio/filedoalloc.c: Likewise.
41228 * libio/fileops.c: Likewise.
41229 * libio/genops.c: Likewise.
41230 * libio/iofclose.c: Likewise.
41231 * libio/iofdopen.c: Likewise.
41232 * libio/iofopen.c: Likewise.
41233 * libio/iofopen64.c: Likewise.
41234 * libio/iogetdelim.c: Likewise.
41235 * libio/iopopen.c: Likewise.
41236 * libio/obprintf.c: Likewise.
41237 * libio/oldfileops.c: Likewise.
41238 * libio/oldiofclose.c: Likewise.
41239 * libio/oldiofdopen.c: Likewise.
41240 * libio/oldiofopen.c: Likewise.
41241 * libio/oldiopopen.c: Likewise.
41242 * libio/wfiledoalloc.c: Likewise.
41243 * libio/wgenops.c: Likewise.
41244 * locale/programs/xmalloc.c: Likewise.
41245 * misc/syslog.c: Likewise.
41246 * stdio-common/xbug.c: Likewise.
41247 * string/memchr.c: Likewise.
41248 * string/memcmp.c: Likewise.
41249 * string/memrchr.c: Likewise.
41250 * string/rawmemchr.c: Likewise.
41251 * sysdeps/posix/getcwd.c: Likewise.
41252 * time/strftime_l.c: Likewise.
41254 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41256 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41257 * config.make.in (config-cflags-sse2avx): Define.
41258 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41261 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41263 * scripts/config.guess: Update from upstream config git repository.
41264 * scripts/config.sub: Likewise.
41266 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41268 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41270 (R_TILEPRO_*, R_TILEGX_*): New macros.
41272 * scripts/firstversions.awk: Fix bug in version range handling.
41274 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41276 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41278 * include/sys/epoll.h: New file.
41279 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41282 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41284 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41285 Avoid unnecessary __WORDSIZE == 64 test.
41286 (fmaxf): Use VEX format if possible.
41291 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41292 * math/math_private.h: Remove libc_fegetround* and
41294 * sysdeps/i386/configure.in: Check for -msse2avx.
41295 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41296 also if SSE2AVX is defined.
41297 Remove libc_fegetround* and libc_fesetround*.
41298 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41299 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41303 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41308 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41310 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41312 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41314 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41316 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41319 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41321 * Makeconfig (libm): Define.
41322 * elf/Makefile: Add rules to build and run tst-relsort1.
41323 * elf/tst-relsort1.c: New file.
41324 * elf/tst-relsort1mod1.c: New file.
41325 * elf/tst-relsort1mod2.c: New file.
41327 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41329 * math/s_ldexp.c: Remove __STDC__ conditionals.
41330 * math/s_ldexpf.c: Likewise.
41331 * math/s_ldexpl.c: Likewise.
41332 * math/s_nextafter.c: Likewise.
41333 * math/s_nexttowardf.c: Likewise.
41334 * math/s_significand.c: Likewise.
41335 * math/s_significandf.c: Likewise.
41336 * math/s_significandl.c: Likewise.
41337 * math/w_jnl.c: Likewise.
41338 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41339 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41340 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41341 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41342 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41344 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41345 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41346 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41347 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41348 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41349 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41350 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41351 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41352 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41353 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41354 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41355 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41356 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41357 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41358 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41359 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41360 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41361 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41362 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41363 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41364 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41365 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41366 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41367 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41368 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41369 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41370 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41371 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41372 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41373 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41374 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41375 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41376 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41377 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41378 * sysdeps/ieee754/k_standard.c: Likewise.
41379 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41380 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41381 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41382 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41383 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41384 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41385 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41386 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41387 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41388 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41389 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41390 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41391 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41392 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41393 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41394 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41395 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41396 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41397 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41398 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41399 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41400 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41401 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41402 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41403 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41404 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41405 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41406 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41408 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41409 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41410 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41411 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41412 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41414 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41415 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41416 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41417 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41418 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41419 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41420 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41421 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41422 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41423 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41424 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41425 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41426 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41427 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41428 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41429 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41430 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41431 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41432 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41433 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41434 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41435 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41436 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41437 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41438 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41439 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41440 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41441 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41442 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41443 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41444 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41445 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41446 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41447 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41448 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41449 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41450 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41451 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41452 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41453 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41454 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41455 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41456 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41457 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41458 * sysdeps/ieee754/s_matherr.c: Likewise.
41459 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41460 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41461 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41464 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41466 * crypt/md5.h: Remove __STDC__ conditionals.
41467 * libio/libioP.h: Likewise.
41468 * locale/programs/config.h: Likewise.
41469 * sysdeps/generic/sysdep.h: Likewise.
41470 * sysdeps/i386/asm-syntax.h: Likewise.
41471 * sysdeps/s390/asm-syntax.h: Likewise.
41472 * sysdeps/unix/sysdep.h: Likewise.
41473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41476 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41478 * libio/libio.h: Remove __STDC__ conditionals.
41479 * malloc/obstack.h: Likewise.
41480 * math/complex.h: Likewise.
41481 * math/math.h: Likewise.
41482 * sysdeps/generic/_G_config.h: Likewise.
41483 * sysdeps/gnu/_G_config.h: Likewise.
41484 * sysdeps/mach/hurd/_G_config.h: Likewise.
41485 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41486 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41487 * sysdeps/sparc/bits/mathdef.h: Likewise.
41489 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41492 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41493 Clean up HAS_* macros.
41494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41495 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41497 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41499 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41500 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41501 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41503 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41505 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41507 * elf/tst-unique3.cc (gets): Remove declaration.
41508 * elf/tst-unique3lib.cc (gets): Likewise.
41509 * elf/tst-unique3lib2.cc (gets): Likewise.
41510 * elf/tst-unique4.cc (gets): Likewise.
41512 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41514 * include/stdio.h: Add C++ protection. Add gets declarations and
41516 * debug/tst-chk1.c: Don't declare gets here.
41517 * stdio-common/tst-gets.c: Likewise.
41519 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41521 * posix/glob: Remove directory.
41523 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41525 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41527 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41529 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41530 of the non-standard EPFNOSUPPORT.
41532 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41534 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41535 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41536 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41538 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41540 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41542 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41544 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41546 * nscd/grpcache.c (cache_addgr): Likewise.
41547 * nscd/hstcache.c (cache_addhst): Likewise.
41548 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41549 * nscd/pwdcache.c (cache_addpw): Likewise.
41550 * nscd/servicescache.c (cache_addserv): Likewise.
41552 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41554 * malloc/malloc.c: Various cleanups.
41555 * malloc/hooks.c: Likewise.
41557 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41558 * stdlib/bug-fmtmsg1.c: New file.
41560 * stdlib/fmtmsg.c (init): Add missing unlock.
41561 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41563 2012-01-12 Marek Polacek <polacek@redhat.com>
41565 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41568 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41570 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41571 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41572 macro to ensure uniqueness of label name.
41573 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41574 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41576 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41578 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41580 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41581 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41582 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41585 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41587 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41589 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41590 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41591 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41593 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41595 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41596 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41597 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41600 * math/bits/math-finite.h: Add ldexp support.
41602 2012-01-10 Marek Polacek <polacek@redhat.com>
41604 * locale/programs/localedef.h (show_archive_content): Add noreturn
41607 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41609 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41611 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41613 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41615 * io/Makefile (headers): Add bits/poll2.h.
41617 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41620 typo #include statement.
41622 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41624 * include/sys/cdefs.h: Define __attribute_alloc_size.
41625 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41626 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41627 * elf/pldd.c: Likewise.
41628 * iconv/iconv_charmap.c: Likewise.
41629 * iconv/iconvconfig.c: Likewise.
41630 * iconv/strtab.c: Likewise.
41631 * locale/programs/locale.c: Likewise.
41632 * locale/programs/localedef.h: Likewise.
41633 * locale/programs/simple-hash.c: Likewise.
41634 * nscd/nscd.h: Likewise.
41635 * nss/makedb.c: Likewise.
41636 * sysdeps/generic/ldconfig.h: Likewise.
41637 * locale/programs/localedef.c: Remove xmalloc prototype.
41638 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41640 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41642 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41645 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41647 * math/Makefile (tests): Add tst-CMPLX.
41648 * math/tst-CMPLX.c: New file.
41650 * math/complex.h (CMPLXL): Fix typo.
41652 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41653 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41655 * debug/tst-chk1.c: Add poll and ppoll tests.
41656 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41657 * include/sys/poll.h: Add hidden proto for ppoll.
41658 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41659 * sysdeps/mach/hurd/ppoll.c: Likewise.
41660 * io/ppoll.c: Likewise.
41661 * debug/poll_chk.c: New file.
41662 * debug/ppoll_chk.c: New file.
41663 * include/bits/poll2.h: New file.
41664 * io/bits/poll2.h: New file.
41667 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41669 * configure.in: static is always set to yes. Remove.
41670 * config.make.in: Don't set build-static.
41671 * Makeconfig: Remove use of build-static.
41672 * dlfcn/Makefile: Likewise.
41673 * elf/Makefile: Likewise.
41674 * math/Makefile: Likewise.
41675 * misc/Makefile: Likewise.
41676 * nptl/Makefile: Likewise.
41677 * sysdeps/mach/hurd/Makefile: Likewise.
41679 * configure.in: PWD_P is not used anymore.
41680 * config.make.in: Remove PWD_P entry.
41682 * configure.in: Remove last remnants of RANLIB.
41683 No need to check for signed size_t anymore.
41684 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41686 Remove __builtin_expect test because we require at least gcc 3.4.
41687 * aclocal.m4: Likewise.
41689 * wcsmbs/mbrtoc16.c: Implement using towc function.
41690 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41691 * wcsmbs/wcsmbsload.c: Likewise.
41692 * iconv/gconv_simple.c: Likewise.
41693 * iconv/gconv_int.h: Likewise.
41694 * iconv/gconv_builtin.h: Likewise.
41695 * iconv/iconv_prog.c: Remove CHAR16 handling.
41697 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41699 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41701 * configure.in: Remove --with-elf and --enable-bounded options.
41702 Dont set base_machine for ia64. More non-ELF conditions removed.
41703 Remove testing and setting of leading underscore information.
41704 * config.make.in (build-bounded): Set to no.
41705 * config.h.in: Remove NO_UNDERSCORES entry.
41706 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41708 * csu/start.c: Remove !NO_UNDERSCORE code.
41709 * locale/localeinfo.h: Likewise.
41710 * sysdeps/generic/machine-gmon.h: Likewise.
41711 * sysdeps/generic/sysdep.h: Likewise.
41712 * sysdeps/i386/sysdep.h: Likewise.
41713 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41714 * sysdeps/mach/sysdep.h: Likewise.
41715 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41716 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41717 * sysdeps/sh/sysdep.h: Likewise.
41718 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41719 * sysdeps/unix/i386/sysdep.S: Likewise.
41720 * sysdeps/unix/sparc/start.c: Likewise.
41721 * sysdeps/unix/sparc/sysdep.S: Likewise.
41722 * sysdeps/unix/sparc/sysdep.h: Likewise.
41723 * sysdeps/unix/start.c: Likewise.
41724 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41725 * sysdeps/x86_64/sysdep.h: Likewise.
41727 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41730 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41732 * argp/argp-fmtstream.h: Use const instead __const.
41733 * argp/argp.h: Likewise.
41734 * assert/assert.h: Likewise.
41735 * bits/fenv.h: Likewise.
41736 * bits/sched.h: Likewise.
41737 * bits/sigset.h: Likewise.
41738 * bits/sigthread.h: Likewise.
41739 * catgets/nl_types.h: Likewise.
41740 * conform/data/pthread.h-data: Likewise.
41741 * crypt/crypt-private.h: Likewise.
41742 * crypt/crypt.h: Likewise.
41743 * crypt/crypt_util.c: Likewise.
41744 * ctype/ctype.h: Likewise.
41745 * debug/execinfo.h: Likewise.
41746 * debug/mbsnrtowcs_chk.c: Likewise.
41747 * debug/mbsrtowcs_chk.c: Likewise.
41748 * debug/wcsnrtombs_chk.c: Likewise.
41749 * debug/wcsrtombs_chk.c: Likewise.
41750 * debug/wcstombs_chk.c: Likewise.
41751 * dirent/dirent.h: Likewise.
41752 * dlfcn/dlfcn.h: Likewise.
41753 * elf/neededtest4.c: Likewise.
41754 * grp/grp.h: Likewise.
41755 * gshadow/gshadow.h: Likewise.
41756 * iconv/gconv.h: Likewise.
41757 * iconv/gconv_int.h: Likewise.
41758 * iconv/gconv_simple.c: Likewise.
41759 * iconv/iconv.h: Likewise.
41760 * iconv/loop.c: Likewise.
41761 * iconv/skeleton.c: Likewise.
41762 * include/aio.h: Likewise.
41763 * include/aliases.h: Likewise.
41764 * include/argz.h: Likewise.
41765 * include/arpa/inet.h: Likewise.
41766 * include/assert.h: Likewise.
41767 * include/dirent.h: Likewise.
41768 * include/dlfcn.h: Likewise.
41769 * include/execinfo.h: Likewise.
41770 * include/fcntl.h: Likewise.
41771 * include/fenv.h: Likewise.
41772 * include/glob.h: Likewise.
41773 * include/grp.h: Likewise.
41774 * include/libintl.h: Likewise.
41775 * include/mntent.h: Likewise.
41776 * include/netdb.h: Likewise.
41777 * include/pwd.h: Likewise.
41778 * include/rpc/netdb.h: Likewise.
41779 * include/sched.h: Likewise.
41780 * include/search.h: Likewise.
41781 * include/shadow.h: Likewise.
41782 * include/signal.h: Likewise.
41783 * include/stdio.h: Likewise.
41784 * include/stdlib.h: Likewise.
41785 * include/string.h: Likewise.
41786 * include/sys/socket.h: Likewise.
41787 * include/sys/stat.h: Likewise.
41788 * include/sys/statfs.h: Likewise.
41789 * include/sys/statvfs.h: Likewise.
41790 * include/sys/syslog.h: Likewise.
41791 * include/sys/time.h: Likewise.
41792 * include/sys/uio.h: Likewise.
41793 * include/time.h: Likewise.
41794 * include/unistd.h: Likewise.
41795 * include/utmp.h: Likewise.
41796 * include/wchar.h: Likewise.
41797 * include/wctype.h: Likewise.
41798 * inet/aliases.h: Likewise.
41799 * inet/arpa/inet.h: Likewise.
41800 * inet/netinet/ether.h: Likewise.
41801 * inet/netinet/in.h: Likewise.
41802 * intl/libintl.h: Likewise.
41803 * io/bits/fcntl2.h: Likewise.
41804 * io/fcntl.h: Likewise.
41805 * io/ftw.h: Likewise.
41806 * io/sys/poll.h: Likewise.
41807 * io/sys/stat.h: Likewise.
41808 * io/sys/statfs.h: Likewise.
41809 * io/sys/statvfs.h: Likewise.
41810 * io/utime.h: Likewise.
41811 * libio/bits/stdio.h: Likewise.
41812 * libio/bits/stdio2.h: Likewise.
41813 * libio/libio.h: Likewise.
41814 * libio/libioP.h: Likewise.
41815 * libio/stdio.h: Likewise.
41816 * locale/lc-ctype.c: Likewise.
41817 * locale/locale.h: Likewise.
41818 * login/utmp.h: Likewise.
41819 * malloc/arena.c: Likewise.
41820 * malloc/malloc.c: Likewise.
41821 * malloc/malloc.h: Likewise.
41822 * malloc/mcheck.c: Likewise.
41823 * malloc/mtrace.c: Likewise.
41824 * math/bits/mathcalls.h: Likewise.
41825 * math/fenv.h: Likewise.
41826 * math/math_private.h: Likewise.
41827 * misc/bits/error.h: Likewise.
41828 * misc/bits/syslog.h: Likewise.
41829 * misc/err.h: Likewise.
41830 * misc/error.h: Likewise.
41831 * misc/fstab.h: Likewise.
41832 * misc/mntent.h: Likewise.
41833 * misc/regexp.h: Likewise.
41834 * misc/search.h: Likewise.
41835 * misc/sgtty.h: Likewise.
41836 * misc/sys/mman.h: Likewise.
41837 * misc/sys/syslog.h: Likewise.
41838 * misc/sys/uio.h: Likewise.
41839 * misc/sys/xattr.h: Likewise.
41840 * misc/ttyent.h: Likewise.
41841 * nis/rpcsvc/ypclnt.h: Likewise.
41842 * nss/nss.h: Likewise.
41843 * posix/bits/unistd.h: Likewise.
41844 * posix/fnmatch.h: Likewise.
41845 * posix/glob.h: Likewise.
41846 * posix/sched.h: Likewise.
41847 * posix/spawn.h: Likewise.
41848 * posix/sys/wait.h: Likewise.
41849 * posix/unistd.h: Likewise.
41850 * posix/wordexp.h: Likewise.
41851 * pwd/pwd.h: Likewise.
41852 * resolv/netdb.h: Likewise.
41853 * resource/sys/resource.h: Likewise.
41854 * rt/aio.h: Likewise.
41855 * rt/bits/mqueue2.h: Likewise.
41856 * rt/mqueue.h: Likewise.
41857 * shadow/shadow.h: Likewise.
41858 * signal/signal.h: Likewise.
41859 * socket/send.c: Likewise.
41860 * socket/sendto.c: Likewise.
41861 * socket/sys/socket.h: Likewise.
41862 * stdio-common/printf.h: Likewise.
41863 * stdlib/bits/stdlib.h: Likewise.
41864 * stdlib/fmtmsg.h: Likewise.
41865 * stdlib/monetary.h: Likewise.
41866 * stdlib/stdlib.h: Likewise.
41867 * stdlib/ucontext.h: Likewise.
41868 * streams/stropts.h: Likewise.
41869 * string/argz.h: Likewise.
41870 * string/bits/string2.h: Likewise.
41871 * string/string.h: Likewise.
41872 * string/strings.h: Likewise.
41873 * sunrpc/rpc/auth.h: Likewise.
41874 * sunrpc/rpc/auth_des.h: Likewise.
41875 * sunrpc/rpc/clnt.h: Likewise.
41876 * sunrpc/rpc/netdb.h: Likewise.
41877 * sunrpc/rpc/pmap_clnt.h: Likewise.
41878 * sunrpc/rpc/xdr.h: Likewise.
41879 * sysdeps/generic/inttypes.h: Likewise.
41880 * sysdeps/generic/net/if.h: Likewise.
41881 * sysdeps/generic/sys/swap.h: Likewise.
41882 * sysdeps/gnu/net/if.h: Likewise.
41883 * sysdeps/gnu/utmpx.h: Likewise.
41884 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41885 * sysdeps/i386/i486/bits/string.h: Likewise.
41886 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41887 * sysdeps/s390/bits/string.h: Likewise.
41888 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41889 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41890 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41891 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41892 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41893 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41894 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41895 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41896 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41897 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41898 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41899 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41900 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41901 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41902 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41903 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41904 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41906 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41907 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41908 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41909 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41910 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41911 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41912 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41913 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41914 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41915 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41916 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41917 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41918 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41919 * sysvipc/sys/ipc.h: Likewise.
41920 * sysvipc/sys/msg.h: Likewise.
41921 * sysvipc/sys/sem.h: Likewise.
41922 * sysvipc/sys/shm.h: Likewise.
41923 * termios/termios.h: Likewise.
41924 * time/sys/time.h: Likewise.
41925 * time/time.h: Likewise.
41926 * wcsmbs/bits/wchar2.h: Likewise.
41927 * wcsmbs/uchar.h: Likewise.
41928 * wcsmbs/wchar.h: Likewise.
41929 * wctype/wctype.h: Likewise.
41932 * Makeconfig: Remove all but ELF support including AIX support.
41933 * Makerules: Likewise.
41934 * config.h.in: Likewise.
41935 * config.make.in: Likewise.
41936 * configure: Likewise.
41937 * configure.in: Likewise.
41938 * csu/Makefile: Likewise.
41939 * csu/version.c: Likewise.
41940 * debug/Makefile: Likewise.
41941 * dlfcn/Makefile: Likewise.
41942 * elf/Makefile: Likewise.
41943 * extra-lib.mk: Likewise.
41944 * iconv/Makefile: Likewise.
41945 * include/libc-symbols.h: Likewise.
41946 * include/shlib-compat.h: Likewise.
41947 * resolv/Makefile: Likewise.
41948 * resolv/res_libc.c: Likewise.
41949 * rt/Makefile: Likewise.
41950 * sysdeps/i386/asm-syntax.h: Likewise.
41951 * sysdeps/i386/sysdep.h: Likewise.
41952 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41953 * sysdeps/mach/sysdep.h: Likewise.
41954 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41955 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41956 * sysdeps/s390/asm-syntax.h: Likewise.
41957 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41958 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41959 * sysdeps/sh/sysdep.h: Likewise.
41960 * sysdeps/unix/sparc/sysdep.h: Likewise.
41961 * sysdeps/wordsize-32/divdi3.c: Likewise.
41962 * sysdeps/x86_64/sysdep.h: Likewise.
41964 * argp/Versions: Remove _argp_unlock_xxx.
41967 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41968 * abilist/libBrokenLocale.abilist: Likewise.
41969 * abilist/libanl.abilist: Likewise.
41970 * abilist/libc.abilist: Likewise.
41971 * abilist/libcrypt.abilist: Likewise.
41972 * abilist/libdl.abilist: Likewise.
41973 * abilist/libm.abilist: Likewise.
41974 * abilist/libnsl.abilist: Likewise.
41975 * abilist/libpthread.abilist: Likewise.
41976 * abilist/libresolv.abilist: Likewise.
41977 * abilist/librt.abilist: Likewise.
41978 * abilist/libthread_db.abilist: Likewise.
41979 * abilist/libutil.abilist: Likewise.
41980 * abilist/libnss_db.abilist: New file.
41982 * scripts/abilist.awk: Add support for indirect functions.
41984 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41986 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41988 * shlib-versions: Remove entries for ports architectures.
41990 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41992 * elf/stackguard-macros.h: Remove support for IA-64.
41993 * elf/tst-auditmod1.c: Likewise.
41994 * sysdeps/generic/ldsodefs.h: Likewise.
41996 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41997 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42001 * configure.in: Remove --enable-omitfp support.
42003 * config.make.in: Likewise.
42004 * Makeconfig: Likewise.
42005 * manual/install.texi: Likewise.
42007 In case anyone cares, the IA-64 architecture could move to ports.
42008 * sysdeps/ia64/*: Removed.
42009 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42010 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42013 * configure.in: Remove entries for unsupported architectures.
42016 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42017 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42019 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42020 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42021 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42022 fall back to using wcrtomb.
42023 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42024 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42026 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42027 * wcsmbs/tst-c16c32-1.c: New file.
42029 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42032 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42034 * elf/tst-unique3.cc: Add explicit declaration of gets.
42035 * elf/tst-unique3lib.cc: Likewise.
42036 * elf/tst-unique3lib2.cc: Likewise.
42037 * elf/tst-unique4.cc: Likewise.
42039 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42041 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42044 * assert/assert.h (static_assert): Don't define for C++.
42045 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42046 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42048 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42050 * iconv/loop.c (single loop): Fix assertion in storing of
42053 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42055 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42057 * posix/getconf.c: Update copyright year.
42058 * nss/getent.c: Likewise.
42059 * nss/makedb.c: Likewise.
42060 * iconv/iconvconfig.c: Likewise.
42061 * iconv/iconv_prog.c: Likewise.
42062 * elf/ldconfig.c: Likewise.
42063 * elf/pldd.c: Likewise.
42064 * elf/sotruss.ksh: Likewise.
42065 * catgets/gencat.c: Likewise.
42066 * csu/version.c: Likewise.
42067 * elf/ldd.bash.in: Likewise.
42068 * elf/sprof.c (print_version): Likewise.
42069 * locale/programs/locale.c: Likewise.
42070 * locale/programs/localedef.c: Likewise.
42071 * login/programs/pt_chown.c: Likewise.
42072 * nscd/nscd.c (print_version): Likewise.
42073 * debug/xtrace.sh: Likewise.
42074 * malloc/memusage.sh: Likewise.
42075 * malloc/mtrace.pl: Likewise.
42076 * debug/catchsegv.sh: Likewise.
42078 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42080 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42083 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42086 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42087 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42089 * iconv/gconv_int.h: Likewise.
42090 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42091 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42092 from libc for GLIBC_2.16.
42093 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42094 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42095 * wcsmbs/uchar.h: Really define mbstate_t.
42096 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42097 * wcsmbs/c16rtomb.c: New file.
42098 * wcsmbs/mbrtoc16.c: New file.
42099 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42100 for C/POSIX locale.
42101 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42102 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42104 * wcsmbs/wchar.h: Add missing __restrict.
42106 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42109 * time/Makefile (routines): Add timespec_get.
42110 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42111 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42112 timespec for ISO C11.
42113 * time/timespec_get.c: New file.
42114 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42115 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42118 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42119 * stdlib/stdlib.h: Declare aligned_alloc.
42120 * Versions.def: Add GLIBC_2.16 for libc.
42121 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42124 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42127 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42131 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42134 * assert/assert.h (static_assert): Define.
42136 * version.h: Update for 2.16 development version.
42139 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42142 * version.h (RELEASE): Bump for 2.15 release.
42143 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42145 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42146 Patch by Marek Polacek <mpolacek@redhat.com>.
42148 * bits/byteswap.h: Protect long long constants with __extension__.
42149 * sysdeps/i386/bits/byteswap.h: Likewise.
42150 * sysdeps/ia64/bits/byteswap.h: Likewise.
42151 * sysdeps/s390/bits/byteswap.h: Likewise.
42152 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42154 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42157 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42158 destination buffer.
42159 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42161 2011-12-23 Marek Polacek <polacek@redhat.com>
42163 * elf/dl-addr.c (determine_info): Add inline keyword.
42164 * elf/tst-auditmod4b.c (check_avx): Likewise.
42165 * elf/tst-auditmod6b.c (check_avx): Likewise.
42166 * elf/tst-auditmod6c.c (check_avx): Likewise.
42167 * elf/tst-auditmod7b.c (check_avx): Likewise.
42169 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42171 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42174 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42177 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42178 processing for last bytes.
42180 2011-08-06 Bruno Haible <bruno@clisp.org>
42183 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42184 U+0385, not to U+1FEE.
42187 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42188 entry for U+00A5 U+0301.
42190 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42193 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42194 buffer for the output is too small.
42196 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42200 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42201 SSE flags if possible.
42203 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42207 processing for last bytes.
42209 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42211 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42212 (syscall-list-default-options, syscall-list-default-condition)
42213 (syscall-list-includes): Define.
42214 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42215 list of ABIs and options and #if conditions for each ABI. Do not
42216 handle common syscalls between ABIs specially.
42217 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42219 (syscall-list-variants, syscall-list-32bit-options)
42220 (syscall-list-32bit-condition, syscall-list-64bit-options)
42221 (syscall-list-64bit-condition): Define.
42222 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42223 (syscall-list-variants, syscall-list-32bit-options)
42224 (syscall-list-32bit-condition, syscall-list-64bit-options)
42225 (syscall-list-64bit-condition): Define.
42226 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42228 (syscall-list-variants, syscall-list-32bit-options)
42229 (syscall-list-32bit-condition, syscall-list-64bit-options)
42230 (syscall-list-64bit-condition): Define.
42231 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42233 (syscall-list-variants, syscall-list-32bit-options)
42234 (syscall-list-32bit-condition, syscall-list-64bit-options)
42235 (syscall-list-64bit-condition): Define.
42237 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42239 * locale/iso-639.def: Add brx entry.
42242 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42243 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42245 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42246 __feraiseexcept_renamed.
42248 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42251 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42252 EPOLLET with unsigned values.
42253 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42254 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42256 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42257 to large cancellation.
42258 * math/s_cacoshf.c: Likewise.
42259 * math/s_cacoshl.c: Likewise.
42261 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42265 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42266 * math/s_cacoshf.c: Likewise.
42267 * math/s_cacoshl.c: Likewise.
42269 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42272 * iconv/gconv.h: Define __GCONV_SWAP.
42273 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42274 * iconvdata/utf-16.c: Likewise.
42275 * iconvdata/utf-32.c: Likewise.
42277 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42280 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42281 numerator after shifting it by one limb.
42283 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42285 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42286 under [__USE_EXTERN_INLINES].
42288 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42291 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42293 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42295 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42296 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42298 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42299 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42300 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42301 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42302 for strncasecmp/strncasecmp_l compilation.
42303 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42304 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42306 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42309 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42312 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42315 * time/tzfile.c (__tzfile_read): Check values from file header.
42317 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42319 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42320 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42321 * powerpc/powerpc32/dl-start.S: Likewise.
42322 * powerpc/powerpc32/elf/start.S: Likewise.
42323 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42324 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42325 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42326 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42327 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42328 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42329 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42330 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42331 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42332 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42333 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42334 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42335 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42336 * powerpc/powerpc32/memset.S: Likewise.
42337 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42338 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42339 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42340 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42341 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42342 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42343 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42344 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42345 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42346 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42347 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42348 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42349 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42351 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42353 * math/libm-test.inc: Added more nearbyint tests.
42354 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42355 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42356 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42357 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42359 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42361 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42364 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42366 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42367 Add wcscpy-ssse3 wcscpy-c.
42368 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42369 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42370 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42371 * sysdeps/x86_64/wcschr.S: New file.
42372 * sysdeps/x86_64/wcsrchr.S: New file.
42373 * string/test-strcmp.c: Remove checking of wcscmp function for
42375 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42376 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42377 wcsrchr-sse2 wcsrchr-c.
42378 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42379 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42380 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42381 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42382 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42383 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42384 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42385 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42386 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42387 * wcsmbc/wcschr.c (WCSCHR): New macro.
42389 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42391 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42392 * wcsmbs/test-wcsrchr.c: New file.
42393 * string/test-strrchr.c: Add wcsrchr support.
42395 * wcsmbs/test-wcscpy.c: New file.
42396 * string/test-strcpy.c: Add wcscpy support.
42399 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42401 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42404 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42407 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42409 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42411 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42412 Minor optimizations.
42414 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42415 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42416 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42418 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42420 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42421 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42422 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42423 for gcc to avoid warnings.
42424 * inet/Makefile (tests): Add tst-checks.
42425 * inet/tst-checks.c: New file.
42427 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42430 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42433 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42434 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42436 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42438 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42440 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42443 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42445 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42447 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42448 conditional on GCC version.
42449 (__arch_compare_and_exchange_val_8_acq)
42450 (__arch_compare_and_exchange_val_16_acq)
42451 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42452 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42453 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42455 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42457 * sysdeps/sh/backtrace.c: New file.
42459 2011-12-02 Andreas Schwab <schwab@redhat.com>
42461 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42464 2011-12-01 Andreas Schwab <schwab@redhat.com>
42466 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42467 falling back to utime.
42469 2011-11-30 Andreas Schwab <schwab@redhat.com>
42471 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42472 expectations for float.
42474 2011-11-29 Andreas Schwab <schwab@redhat.com>
42476 * locale/weight.h (findidx): Add parameter len.
42477 * locale/weightwc.h (findidx): Likewise.
42478 * posix/fnmatch_loop.c (FCT): Adjust caller.
42479 * posix/regcomp.c (build_equiv_class): Likewise.
42480 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42481 * posix/regexec.c (check_node_accept_bytes): Likewise.
42482 * string/strcoll_l.c (STRCOLL): Likewise.
42483 * string/strxfrm_l.c (STRXFRM): Likewise.
42485 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42487 * Makefile.in: Remove CVSOPT handling.
42488 * configure.in: Remove use of AC_REVISION.
42489 * iconvdata/Makefile (distribute): No need to filter out CVS.
42490 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42493 2011-11-16 Andreas Schwab <schwab@redhat.com>
42495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42496 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42497 [USE_AS_STRNCASECMP_L]: Likewise.
42498 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42499 NO_TLS_DIRECT_SEG_REFS.
42500 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42501 Fix argument offsets for non-PIC.
42502 [USE_AS_STRNCASECMP_L]: Likewise.
42503 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42504 NO_TLS_DIRECT_SEG_REFS.
42506 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42508 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42510 * locale/loadlocale.c (_nl_load_locale): Likewise.
42512 2011-11-15 Andreas Schwab <schwab@redhat.com>
42514 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42515 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42516 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42517 (SYSCALL_GETTIME): Set errno on error.
42519 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42520 count references to noai6ai_cached.
42522 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42524 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42526 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42527 FD_CLOEXEC for /proc/self/maps.
42529 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42530 FD_CLOEXEC for /proc/meminfo.
42532 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42535 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42536 FD_CLOEXEC for given file.
42538 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42540 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42541 FD_CLOEXEC for /etc/hosts.
42542 (_gethtent): Likewise.
42544 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42546 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42547 cancellation and set FD_CLOEXEC for /etc/netgroup.
42549 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42550 reading /etc/publickey.
42552 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42553 allow cancellation when reading /etc/group.
42555 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42557 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42559 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42560 when using data file.
42562 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42564 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42565 (write_nis_obj): Use "c" and "e" in fopen.
42567 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42569 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42571 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42573 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42575 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42578 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42580 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42582 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42584 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42585 file parsing and set FD_CLOEXEC.
42587 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42589 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42591 2011-11-14 Andreas Schwab <schwab@redhat.com>
42593 * malloc/arena.c (arena_get2): Don't call reused_arena when
42594 _int_new_arena failed.
42596 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42598 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42599 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42600 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42601 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42602 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42603 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42604 to compile strcasecmp and strncasecmp.
42605 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42606 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42608 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42610 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42612 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42613 locale-defines.sym to gen-as-const-headers.
42614 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42615 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42617 to compile strcasecmp and strncasecmp.
42618 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42619 strcasecmp_l and strncasecmp_l.
42620 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42621 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42622 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42623 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42624 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42625 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42626 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42627 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42628 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42629 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42630 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42632 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42634 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42635 result of SYSDEP_GETTIME_CPU to retval.
42636 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42637 parameter list to macro. Remove trailing semicolon. Adjust users.
42639 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42642 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42644 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42646 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42647 from unused variable.
42649 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42651 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42654 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42657 * sunrpc/rpc_prot.c (rejected): Fix case value.
42659 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42660 unsigned long long int to avoid warnings in shift.
42662 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42664 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42667 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42668 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42669 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42671 * nis/nis_table.c (nis_list): Use variable of correct type for
42672 result of __follow_path call.
42674 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42676 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42677 of math functions ceil, trunc, floor, round, and sqrt, when
42678 avaliable on the platform.
42679 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42681 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42682 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42683 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42685 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42687 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42688 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42690 2011-11-11 Roland McGrath <roland@hack.frob.com>
42692 * include/unistd.h: Fix __readlink return type.
42693 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42695 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42697 * stdlib/ucontext.h: Undo last change for makecontext.
42699 2011-11-11 Andreas Schwab <schwab@redhat.com>
42701 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42703 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42704 * setjmp/setjmp.h: Mark functions as non-leaf.
42705 * setjmp/bits/setjmp2.h: Likewise.
42706 * stdlib/ucontext.h: Likewise.
42708 2011-11-10 Andreas Schwab <schwab@redhat.com>
42710 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42711 (reused_arena): Don't check arena limit.
42712 (arena_get2): Atomically check arena limit.
42714 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42716 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42717 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42722 2011-11-07 Andreas Schwab <schwab@redhat.com>
42724 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42725 handler when locking.
42727 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42728 Fix size of allocated buffer.
42730 2011-11-04 Andreas Schwab <schwab@redhat.com>
42733 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42734 declarations for long double functions.
42735 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42737 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42739 2011-11-03 Andreas Schwab <schwab@redhat.com>
42741 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42744 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42747 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42749 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42751 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42753 * include/alloca.h (stackinfo_alloca_round): Define.
42754 (extend_alloca): Use it.
42755 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42756 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42759 * scripts/check-local-headers.sh: Ignore libaudit.h.
42761 * nscd/Makefile (extra-objs): Make recursively expanded.
42763 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42765 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42766 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42768 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42769 * posix/tst-rfc3484-2.c: Likewise.
42770 * posix/tst-rfc3484-3.c: Likewise.
42772 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42774 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42776 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42777 process_vm_writev from libc using GLIBC_2.15 version.
42779 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42781 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42783 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42786 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42789 * nss/getent.c (initgroups_keys): Show error message in case no group
42792 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42793 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42794 __bump_nl_timestamp.
42795 * nscd/connections (nscd_init): When host database is served open
42796 netlink socket and request notification about configuration changes.
42797 (main_loop_poll): Track netlink file descriptor and bump timestamp
42798 in case data becomes available.
42799 (main_loop_epoll): Likewise.
42800 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42801 (database_pers_head): Add extra_data fileds.
42802 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42803 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42804 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42806 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42807 in6ai data, call __free_in6ai.
42808 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42809 Add -DHAVE_NETLINK.
42810 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42811 interface information. Reuse previous data if netlink timestamp
42813 (__bump_nl_timestamp): New function.
42814 (__free_in6ai): New function.
42816 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42818 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42819 close_not_cancel_no_status here.
42820 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42822 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42825 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42828 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42829 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42830 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42832 2011-07-03 Andreas Jaeger <aj@suse.de>
42835 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42836 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42837 * math/libm-test.inc (sin_test): Add test case.
42839 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42842 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42843 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42845 * elf/chroot_canon.c (chroot_canon): Cleanups.
42847 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42850 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42851 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42853 * string/test-strchr.c: Make usable for strchrnul testing.
42854 * string/test-strchrnul.c: New file.
42855 * string/Makefile (strop-tests): Add strchrnul.
42857 * po/it.po: Update from translation team.
42858 * po/es.po: Likewise.
42860 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42863 the three constants needed as parameters. Drop the others.
42864 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42865 __m128i_strloadu_tolower.
42866 Create and initialize variable zero and use it in all the places
42867 where _mm_setzero_si128 was used.
42869 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42870 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42871 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42872 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42874 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42875 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42876 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42877 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42878 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42879 __mpranred, __mptan.
42880 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42881 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42882 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42883 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42884 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42885 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42886 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42887 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42888 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42890 2011-10-28 Andreas Schwab <schwab@redhat.com>
42892 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42893 redefine if SHARED.
42894 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42897 wide char related routines to wcsmbs subdir.
42899 2011-10-27 Andreas Schwab <schwab@redhat.com>
42902 * misc/sys/cdefs.h (__THROWNL): Define.
42903 * posix/unistd.h: Use __THREADNL instead of __THREAD
42904 for memory synchronization functions.
42906 2011-10-26 Roland McGrath <roland@hack.frob.com>
42909 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42911 * manual/stdio.texi (Obstack Streams): Node removed.
42913 2011-10-26 Andreas Schwab <schwab@redhat.com>
42915 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42916 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42917 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42919 * math/math_private.h (math_force_eval): Allow non-addressable
42921 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42923 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42925 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42926 file is not needed.
42928 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42929 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42930 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42931 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42932 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42933 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42934 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42935 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42937 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42938 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42939 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42940 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42941 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42942 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42943 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42944 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42945 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42946 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42947 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42948 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42949 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42950 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42951 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42952 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42953 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42954 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42955 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42957 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42958 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42960 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42961 place. Use VEX encoding when compiling for AVX.
42963 2011-10-25 Andreas Schwab <schwab@redhat.com>
42965 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42966 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42968 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42970 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42972 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42973 useless if() expression.
42974 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42975 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42976 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42977 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42978 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42980 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42983 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42984 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42985 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42986 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42987 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42988 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42989 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42990 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42992 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42994 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42996 2011-10-25 Andreas Schwab <schwab@redhat.com>
42998 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43000 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43002 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43004 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43005 .text section. Avoid duplicate constants.
43006 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43016 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43018 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43021 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43023 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43025 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43026 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43027 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43028 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43029 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43030 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43031 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43032 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43033 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43034 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43035 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43036 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43037 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43038 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43039 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43040 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43041 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43042 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43043 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43044 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43045 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43046 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43047 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43048 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43049 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43050 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43052 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43054 * sysdeps/x86_64/dla.h: Move to ...
43055 * sysdeps/x86_64/fpu/dla.h: ...here.
43056 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43057 situations. Use __builtin_fma only for gcc 4.6 and up.
43059 * config.make.in: Add have-mfma4 entry.
43060 * configure.in: Substitute libc_cv_cc_fma4.
43061 * math/Makefile (dbl-only-routines): Add sincostab.
43062 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43063 Use __sincostab not sincos.
43064 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43066 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43067 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43068 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43071 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43072 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43073 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43074 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43076 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43077 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43079 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43080 define aliases when function name is a macro.
43081 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43082 sysdeps/ieee754/dbl-64/sincos.tbl.
43083 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43084 fma4-enabled routines.
43085 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43086 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43087 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43088 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43089 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43090 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43091 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43092 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43093 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43094 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43095 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43096 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43097 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43098 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43099 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43100 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43101 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43102 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43103 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43104 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43105 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43106 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43107 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43108 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43109 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43110 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43111 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43112 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43113 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43114 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43116 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43118 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43125 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43127 2011-10-24 Andreas Schwab <schwab@redhat.com>
43129 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43131 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43133 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43135 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43137 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43139 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43140 Remove unused variable magic_bits.
43141 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43143 * string/strnlen.c: Define and use STRNLEN macro.
43144 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43145 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43146 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43147 * wcsmbs/wcslen.c: Define and use WCSLEN.
43148 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43149 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43150 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43151 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43152 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43153 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43154 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43156 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43159 strnlen-sse2-no-bsf.
43160 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43161 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43162 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43163 Add strnlen support.
43164 (USE_AS_STRNLEN): New macro.
43165 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43166 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43167 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43168 * sysdeps/x86_64/wcslen.S: New file.
43170 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43173 XMM-moves are used for copying on small sizes.
43175 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43177 * wcsmbs/Makefile (strop-tests): Add wcschr.
43178 * wcsmbs/test-wcschr.c: New file.
43179 * string/test-strchr.c: Update.
43180 Add wcschr support.
43183 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43185 * wcsmbs/Makefile (strop-tests): Add wcslen.
43186 * wcsmbs/test-wcslen.c: New file.
43187 * string/test-strlen.c: Update.
43188 Add wcslen support.
43191 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43193 * po/it.po: Update from translation team.
43195 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43197 * sysdeps/x86_64/wcscmp.S: Update.
43198 Fix wrong comparison semantics.
43199 wcscmp shall use signed comparison not unsigned.
43200 Don't use substraction to avoid overflow bug.
43201 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43202 * wcsmbc/wcscmp.c: Likewise.
43203 * string/test-strcmp.c: Likewise.
43204 Add new tests to check cases with negative values.
43206 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43208 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43209 * sysdeps/x86_64/dla.h: ...here. New file.
43210 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43211 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43215 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43216 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43217 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43220 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43223 __ynl_finite aliases.
43225 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43229 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43231 [DLA_FMA] (EMULV): Use DLA_FMA.
43232 [DLA_FMA] (MUL12): Use EMULV.
43233 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43234 that are not needed.
43235 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43236 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43243 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43245 * math/s_nan.c: Undef __nan.
43246 * math/s_nanf.c: Undef __nanf.
43247 * math/s_nanl.c: Undef __nanl.
43248 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43251 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43253 * math/s_catan.c: Add branch predictions.
43254 * math/s_catanf.c: Likewise.
43255 * math/s_catanh.c: Likewise.
43256 * math/s_catanhf.c: Likewise.
43257 * math/s_catanhl.c: Likewise.
43258 * math/s_catanl.c: Likewise.
43259 * math/s_cexp.c: Likewise.
43260 * math/s_cexpf.c: Likewise.
43261 * math/s_cexpl.c: Likewise.
43262 * math/s_clog.c: Likewise.
43263 * math/s_clog10.c: Likewise.
43264 * math/s_clog10f.c: Likewise.
43265 * math/s_clog10l.c: Likewise.
43266 * math/s_clogf.c: Likewise.
43267 * math/s_clogl.c: Likewise.
43268 * math/s_csqrt.c: Likewise.
43269 * math/s_csqrtf.c: Likewise.
43270 * math/s_csqrtl.c: Likewise.
43271 * math/s_ctanf.c: Likewise.
43272 * math/s_ctanh.c: Likewise.
43273 * math/s_ctanhf.c: Likewise.
43274 * math/s_ctanhl.c: Likewise.
43275 * math/s_ctanl.c: Likewise.
43277 * math/math_private.h: Define __nan, __nanf, __nanl.
43278 * math/s_cacosh.c: Include <math_private.h>.
43279 * math/s_cacoshl.c: Likewise.
43280 * math/s_casinh.c: Likewise.
43281 * math/s_casinhf.c: Likewise.
43282 * math/s_casinhl.c: Likewise.
43283 * math/s_ccos.c: Rely entire on ccosh.
43284 * math/s_ccosf.c: Rely entire on ccoshf.
43285 * math/s_ccosl.c: Rely entirely on ccoshl.
43286 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43287 Remove tests for FE_INVALID.
43288 * math/s_ccoshf.c: Likewise.
43289 * math/s_ccoshl.c: Likewise.
43290 * math/s_csin.c: Likewise.
43291 * math/s_csinf.c: Likewise.
43292 * math/s_csinh.c Likewise.
43293 * math/s_csinhf.c: Likewise.
43294 * math/s_csinhl.c: Likewise.
43295 * math/s_csinl.c: Likewise.
43296 * math/s_ctan.c: Likewise.
43297 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43298 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43299 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43301 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43304 compilation problems.
43306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43309 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43311 * sysdeps/i386/configure.in: Test for -mfma4 option.
43312 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43313 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43314 COMMON_CPUID_INDEX_80000001.
43315 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43316 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43317 use it if FMA3 is not supported.
43318 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43320 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43321 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43323 2011-10-20 Andreas Schwab <schwab@redhat.com>
43326 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43327 it would create a cycle with a link time dependency.
43329 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43331 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43333 * string/Makefile (strop-tests): Add rawmemchr.
43334 * string/test-rawmemchr.c: New file.
43336 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43338 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43339 when compiling str{,n}casecmp and when AVX is available. Hook up
43340 new optimized code in initializers.
43342 2011-10-19 Andreas Schwab <schwab@redhat.com>
43344 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43345 __feraiseexcept instead of feraiseexcept.
43347 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43349 * math/math_private.h: Define defaults for libc_fetestexcept and
43351 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43352 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43353 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43354 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43355 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43356 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43357 libc_fetestexcept and libc_feupdateenv.
43359 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43360 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43361 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43362 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43363 libc_feholdexcept_setround.
43365 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43366 Add s_nearbyint-c and s_nearbyintf-c.
43367 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43368 nearbyintf inlines.
43369 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43370 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43371 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43372 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43374 * math/math_private.h: Define defaults for libc_fegetround,
43375 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43376 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43377 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43378 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43379 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43380 standard functions.
43381 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43382 Remove comments and hacks for old compiler versions.
43383 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43384 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43385 libc_feholdexceptl.
43387 2011-10-18 Andreas Schwab <schwab@redhat.com>
43389 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43390 (__feraiseexcept_renamed): Add __NTH.
43391 (feraiseexcept): Add __NTH. Rename local variables to fix
43392 namespace violations.
43394 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43396 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43398 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43400 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43401 recently added interfaces.
43402 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43404 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43405 about macro parameter expansion.
43407 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43408 __NO_MATH_INLINES is defined. Cleanups.
43410 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43411 and __floorf is target has SSE4.1.
43412 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43413 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43414 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43415 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43417 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43419 (floorf): Likewise.
43421 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43423 2011-10-17 Andreas Schwab <schwab@redhat.com>
43425 * misc/sys/cdefs.h: Fix last change.
43427 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43430 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43432 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43434 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43435 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43436 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43437 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43438 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43439 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43440 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43441 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43442 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43443 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43444 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43445 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43446 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43447 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43448 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43449 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43450 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43451 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43452 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43453 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43454 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43455 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43457 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43458 ceil, ceilf, floor, floorf.
43460 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43461 Perform IRELATIVE relocations last.
43463 * elf/do-rel.h: Add another parameter nrelative, replacing the
43464 local variable with the same name. Change name of the function
43465 to end in Rel or Rela (uppercase).
43466 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43467 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43468 elf_dynamic_do_##reloc function.
43470 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43472 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43473 is sufficient, at least on modern CPUs.
43475 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43477 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43478 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43480 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43482 * math/bits/math-finite.h: Add entries for exp.
43483 * math/e_expl.c: Add __*_finite alias.
43484 * sysdeps/i386/fpu/e_exp.S: Likewise.
43485 * sysdeps/i386/fpu/e_expf.S: Likewise.
43486 * sysdeps/i386/fpu/e_expl.c: Likewise.
43487 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43488 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43489 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43491 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43492 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43493 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43495 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43496 is sufficient, at least on modern CPUs.
43498 * ctype/ctype-info.c (__ctype_init): Define.
43499 * include/ctype.h (__ctype_init): Declare.
43500 (__ctype_b_loc): The variable is always initialized.
43501 (__ctype_toupper_loc): Likewise.
43502 (__ctype_tolower_loc): Likewise.
43503 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43504 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43506 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43508 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43510 * configure.in: Also look in $cxxmachine/include for C++ system
43513 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43515 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43516 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43517 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43518 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43519 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43520 (USE_AS_WMEMCMP): New macro.
43522 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43523 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43524 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43525 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43527 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43528 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43529 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43530 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43531 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43532 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43533 (USE_AS_WMEMCMP): New macro.
43534 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43535 * sysdeps/string/test-memcmp.c: Update.
43536 Fix simple_wmemcmp.
43538 * wcsmbs/wmemcmp.c: Update.
43539 (WMEMCMP): New macro.
43542 2011-10-12 Andreas Jaeger <aj@suse.de>
43545 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43547 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43549 * libio/iofwide.c (do_length): Avoid warning.
43551 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43553 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43555 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43557 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43558 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43559 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43560 * sysdeps/i386/i686/fpu/e_log.S: New file.
43561 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43562 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43564 * ctype/ctype.h: Add support for inlined isXXX functions when
43565 compiling C++ code.
43567 2011-10-14 Andreas Schwab <schwab@redhat.com>
43569 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43571 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43573 2011-10-13 Roland McGrath <roland@hack.frob.com>
43576 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43578 2011-10-13 Andreas Schwab <schwab@redhat.com>
43580 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43581 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43584 * sysdeps/x86_64/memrchr.S: Check for zero size.
43586 * string/stratcliff.c: Add memrchr tests.
43588 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43591 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43592 rawmemchr-sse2 rawmemchr-sse2-bsf.
43593 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43594 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43595 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43596 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43597 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43598 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43599 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43600 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43601 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43602 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43603 * string/memrchr.c (MEMRCHR): New macro.
43605 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43607 Add integration with gcc's -ffinite-math-only and optimize wrapper
43609 * Versions.def: Define GLIBC_2.15 version for libm.
43610 * math/Makefile (headers): Add bits/math-finite.h.
43611 * math/bits/math-finite.h: New file.
43612 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43613 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43614 * math/e_acoshl.c: Add __*_finite alias.
43615 * math/e_acosl.c: Likewise.
43616 * math/e_asinl.c: Likewise.
43617 * math/e_atan2l.c: Likewise.
43618 * math/e_atanhl.c: Likewise.
43619 * math/e_coshl.c: Likewise.
43620 * math/e_exp10.c: Likewise.
43621 * math/e_exp10f.c: Likewise.
43622 * math/e_exp10l.c: Likewise.
43623 * math/e_exp2l.c: Likewise.
43624 * math/e_fmodl.c: Likewise.
43625 * math/e_gammal_r.c: Likewise.
43626 * math/e_hypotl.c: Likewise.
43627 * math/e_j0l.c: Likewise.
43628 * math/e_j1l.c: Likewise.
43629 * math/e_jnl.c: Likewise.
43630 * math/e_lgammal_r.c: Likewise.
43631 * math/e_log10l.c: Likewise.
43632 * math/e_log2l.c: Likewise.
43633 * math/e_logl.c: Likewise.
43634 * math/e_powl.c: Likewise.
43635 * math/e_sinhl.c: Likewise.
43636 * math/e_sqrtl.c: Likewise.
43637 * math/e_scalb.c: Completely rewritten and optimized.
43638 * math/e_scalbf.c: Likewise.
43639 * math/e_scalbl.c: Likewise.
43640 * math/w_acos.c: Likewise.
43641 * math/w_acosf.c: Likewise.
43642 * math/w_acosl.c: Likewise.
43643 * math/w_acosh.c: Likewise.
43644 * math/w_acoshf.c: Likewise.
43645 * math/w_acoshl.c: Likewise.
43646 * math/w_asin.c: Likewise.
43647 * math/w_asinf.c: Likewise.
43648 * math/w_asinl.c: Likewise.
43649 * math/w_atan2.c: Likewise.
43650 * math/w_atan2f.c: Likewise.
43651 * math/w_atan2l.c: Likewise.
43652 * math/w_atanh.c: Likewise.
43653 * math/w_atanhf.c: Likewise.
43654 * math/w_atanhl.c: Likewise.
43655 * math/w_exp10.c: Likewise.
43656 * math/w_exp10f.c: Likewise.
43657 * math/w_exp10l.c: Likewise.
43658 * math/w_fmod.c: Likewise.
43659 * math/w_fmodf.c: Likewise.
43660 * math/w_fmodl.c: Likewise.
43661 * math/w_j0.c: Likewise.
43662 * math/w_j0f.c: Likewise.
43663 * math/w_j0l.c: Likewise.
43664 * math/w_j1.c: Likewise.
43665 * math/w_j1f.c: Likewise.
43666 * math/w_j1l.c: Likewise.
43667 * math/w_jn.c: Likewise.
43668 * math/w_jnf.c: Likewise.
43669 * math/w_log.c: Likewise.
43670 * math/w_logf.c: Likewise.
43671 * math/w_logl.c: Likewise.
43672 * math/w_log10.c: Likewise.
43673 * math/w_log10f.c: Likewise.
43674 * math/w_log10l.c: Likewise.
43675 * math/w_log2.c: Likewise.
43676 * math/w_log2f.c: Likewise.
43677 * math/w_log2l.c: Likewise.
43678 * math/w_pow.c: Likewise.
43679 * math/w_powf.c: Likewise.
43680 * math/w_powl.c: Likewise.
43681 * math/w_remainder.c: Likewise.
43682 * math/w_remainderf.c: Likewise.
43683 * math/w_remainderl.c: Likewise.
43684 * math/w_scalb.c: Likewise.
43685 * math/w_scalbf.c: Likewise.
43686 * math/w_scalbl.c: Likewise.
43687 * math/w_sqrt.c: Likewise.
43688 * math/w_sqrtf.c: Likewise.
43689 * math/w_sqrtl.c: Likewise.
43690 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43691 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43693 * math/math_private.h: Declare __kernel_standard_f.
43694 * math/w_cosh.c: Remove cruft and optimize a bit.
43695 * math/w_coshf.c: Likewise.
43696 * math/w_coshl.c: Likewise.
43697 * math/w_exp2.c: Likewise.
43698 * math/w_exp2f.c: Likewise.
43699 * math/w_exp2l.c: Likewise.
43700 * math/w_hypot.c: Likewise.
43701 * math/w_hypotf.c: Likewise.
43702 * math/w_hypotl.c: Likewise.
43703 * math/w_lgamma.c: Likewise.
43704 * math/w_lgamma_r.c: Likewise.
43705 * math/w_lgammaf.c: Likewise.
43706 * math/w_lgammaf_r.c: Likewise.
43707 * math/w_lgammal.c: Likewise.
43708 * math/w_lgammal_r.c: Likewise.
43709 * math/w_sinh.c: Likewise.
43710 * math/w_sinhf.c: Likewise.
43711 * math/w_sinhl.c: Likewise.
43712 * math/w_tgamma.c: Likewise.
43713 * math/w_tgammaf.c: Likewise.
43714 * math/w_tgammal.c: Likewise.
43715 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43716 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43717 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43718 Minor optimizations. Pretty printing. Remove cruft.
43719 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43720 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43721 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43722 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43723 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43724 * sysdeps/i386/fpu/e_asin.S: Likewise.
43725 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43726 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43727 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43728 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43729 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43730 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43731 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43732 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43733 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43734 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43735 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43736 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43737 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43738 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43739 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43740 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43741 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43742 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43743 * sysdeps/i386/fpu/e_log.S: Likewise.
43744 * sysdeps/i386/fpu/e_log10.S: Likewise.
43745 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43746 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43747 * sysdeps/i386/fpu/e_log2.S: Likewise.
43748 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43749 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43750 * sysdeps/i386/fpu/e_logf.S: Likewise.
43751 * sysdeps/i386/fpu/e_logl.S: Likewise.
43752 * sysdeps/i386/fpu/e_pow.S: Likewise.
43753 * sysdeps/i386/fpu/e_powf.S: Likewise.
43754 * sysdeps/i386/fpu/e_powl.S: Likewise.
43755 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43756 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43757 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43758 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43759 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43760 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43761 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43762 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43763 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43764 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43765 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43767 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43768 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43769 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43770 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43771 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43772 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43773 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43774 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43775 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43777 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43778 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43779 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43780 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43781 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43782 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43784 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43785 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43786 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43787 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43788 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43789 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43790 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43791 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43792 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43793 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43794 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43795 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43796 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43797 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43798 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43799 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43800 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43801 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43802 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43803 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43804 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43805 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43806 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43807 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43808 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43809 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43810 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43811 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43812 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43813 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43814 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43815 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43816 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43817 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43818 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43819 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43820 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43821 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43822 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43823 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43824 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43825 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43827 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43828 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43829 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43830 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43831 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43832 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43833 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43834 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43835 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43836 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43837 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43838 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43839 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43840 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43841 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43842 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43843 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43844 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43845 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43846 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43848 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43849 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43850 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43851 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43852 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43853 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43854 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43855 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43856 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43857 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43858 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43859 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43860 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43861 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43862 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43863 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43864 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43865 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43866 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43867 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43868 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43869 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43870 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43871 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43872 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43873 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43874 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43875 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43876 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43877 (__isnanf): Likewise.
43878 (__isinf_ns): Likewise.
43879 (__isinf_nsf): Likewise.
43880 (__finite): Likewise.
43881 (__finitef): Likewise.
43882 (__ieee754_sqrt): Define as macro.
43883 (__ieee754_sqrtf): Define as macro.
43884 (__ieee754_sqrtl): Define as macro.
43885 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43887 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43888 __FINITE_MATH_ONLY__ consistent.
43889 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43891 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43893 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43896 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43898 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43900 * po/ja.po: Update from translation team.
43902 2011-10-08 Roland McGrath <roland@hack.frob.com>
43904 * locale/programs/locarchive.c (prepare_address_space): New function.
43905 (create_archive, enlarge_archive, open_archive): Use it.
43907 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43908 inside [SHARED], where it is used.
43910 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43912 * nss/getent.c (netgroup_keys): Remove unused variable.
43913 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43915 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43917 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43918 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43919 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43920 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43921 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43922 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43923 * math/Makefile (libm-calls): Add s_isinf_ns.
43924 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43925 * math/multc3.c: Likewise.
43926 * math/s_casin.c: Likewise.
43927 * math/s_casinf.c: Likewise.
43928 * math/s_casinl.c: Likewise.
43929 * math/s_ccos.c: Likewise.
43930 * math/s_ccosf.c: Likewise.
43931 * math/s_ccosl.c: Likewise.
43932 * math/s_ctan.c: Likewise.
43933 * math/s_ctanf.c: Likewise.
43934 * math/s_ctanh.c: Likewise.
43935 * math/s_ctanhf.c: Likewise.
43936 * math/s_ctanhl.c: Likewise.
43937 * math/s_ctanl.c: Likewise.
43938 * math/w_fmod.c: Likewise.
43939 * math/w_fmodf.c: Likewise.
43940 * math/w_fmodl.c: Likewise.
43941 * math/w_remainder.c: Likewise.
43942 * math/w_remainderf.c: Likewise.
43943 * math/w_remainderl.c: Likewise.
43944 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43945 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43946 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43948 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43949 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43950 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43951 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43953 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43955 * stdio-common/printf_fphex.c: Likewise.
43956 * stdio-common/printf_size.c: Likewise.
43958 * math/e_exp10.c: Include math_private.h using <...> not "...".
43959 * math/e_exp10f.c: Likewise.
43960 * math/e_exp10l.c: Likewise.
43961 * math/e_exp2l.c: Likewise.
43962 * math/e_j0l.c: Likewise.
43963 * math/e_j1l.c: Likewise.
43964 * math/e_jnl.c: Likewise.
43965 * math/e_lgammal_r.c: Likewise.
43966 * math/e_rem_pio2l.c: Likewise.
43967 * math/e_scalb.c: Likewise.
43968 * math/e_scalbf.c: Likewise.
43969 * math/e_scalbl.c: Likewise.
43970 * math/k_cosl.c: Likewise.
43971 * math/k_sinl.c: Likewise.
43972 * math/k_tanl.c: Likewise.
43973 * math/s_cacoshf.c: Likewise.
43974 * math/s_catan.c: Likewise.
43975 * math/s_catanf.c: Likewise.
43976 * math/s_catanh.c: Likewise.
43977 * math/s_catanhf.c: Likewise.
43978 * math/s_catanhl.c: Likewise.
43979 * math/s_catanl.c: Likewise.
43980 * math/s_ccosh.c: Likewise.
43981 * math/s_ccoshf.c: Likewise.
43982 * math/s_ccoshl.c: Likewise.
43983 * math/s_cexp.c: Likewise.
43984 * math/s_cexpf.c: Likewise.
43985 * math/s_cexpl.c: Likewise.
43986 * math/s_clog.c: Likewise.
43987 * math/s_clog10.c: Likewise.
43988 * math/s_clog10f.c: Likewise.
43989 * math/s_clog10l.c: Likewise.
43990 * math/s_clogf.c: Likewise.
43991 * math/s_clogl.c: Likewise.
43992 * math/s_csin.c: Likewise.
43993 * math/s_csinf.c: Likewise.
43994 * math/s_csinh.c: Likewise.
43995 * math/s_csinhf.c: Likewise.
43996 * math/s_csinhl.c: Likewise.
43997 * math/s_csinl.c: Likewise.
43998 * math/s_csqrt.c: Likewise.
43999 * math/s_csqrtf.c: Likewise.
44000 * math/s_csqrtl.c: Likewise.
44001 * math/s_ctan.c: Likewise.
44002 * math/s_ctanf.c: Likewise.
44003 * math/s_ctanh.c: Likewise.
44004 * math/s_ctanhf.c: Likewise.
44005 * math/s_ctanhl.c: Likewise.
44006 * math/s_ctanl.c: Likewise.
44007 * math/s_ldexp.c: Likewise.
44008 * math/s_ldexpf.c: Likewise.
44009 * math/s_ldexpl.c: Likewise.
44010 * math/s_significand.c: Likewise.
44011 * math/s_significandf.c: Likewise.
44012 * math/s_significandl.c: Likewise.
44013 * math/w_acos.c: Likewise.
44014 * math/w_acosf.c: Likewise.
44015 * math/w_acosh.c: Likewise.
44016 * math/w_acoshf.c: Likewise.
44017 * math/w_acoshl.c: Likewise.
44018 * math/w_acosl.c: Likewise.
44019 * math/w_asin.c: Likewise.
44020 * math/w_asinf.c: Likewise.
44021 * math/w_asinl.c: Likewise.
44022 * math/w_atan2.c: Likewise.
44023 * math/w_atan2f.c: Likewise.
44024 * math/w_atan2l.c: Likewise.
44025 * math/w_atanh.c: Likewise.
44026 * math/w_atanhf.c: Likewise.
44027 * math/w_atanhl.c: Likewise.
44028 * math/w_cosh.c: Likewise.
44029 * math/w_coshf.c: Likewise.
44030 * math/w_coshl.c: Likewise.
44031 * math/w_dremf.c: Likewise.
44032 * math/w_exp10.c: Likewise.
44033 * math/w_exp10f.c: Likewise.
44034 * math/w_exp10l.c: Likewise.
44035 * math/w_exp2.c: Likewise.
44036 * math/w_exp2f.c: Likewise.
44037 * math/w_fmod.c: Likewise.
44038 * math/w_fmodf.c: Likewise.
44039 * math/w_fmodl.c: Likewise.
44040 * math/w_hypot.c: Likewise.
44041 * math/w_hypotf.c: Likewise.
44042 * math/w_hypotl.c: Likewise.
44043 * math/w_j0.c: Likewise.
44044 * math/w_j0f.c: Likewise.
44045 * math/w_j0l.c: Likewise.
44046 * math/w_j1.c: Likewise.
44047 * math/w_j1f.c: Likewise.
44048 * math/w_j1l.c: Likewise.
44049 * math/w_jn.c: Likewise.
44050 * math/w_jnf.c: Likewise.
44051 * math/w_jnl.c: Likewise.
44052 * math/w_lgamma.c: Likewise.
44053 * math/w_lgamma_r.c: Likewise.
44054 * math/w_lgammaf.c: Likewise.
44055 * math/w_lgammaf_r.c: Likewise.
44056 * math/w_lgammal.c: Likewise.
44057 * math/w_lgammal_r.c: Likewise.
44058 * math/w_log.c: Likewise.
44059 * math/w_log10.c: Likewise.
44060 * math/w_log10f.c: Likewise.
44061 * math/w_log10l.c: Likewise.
44062 * math/w_log2.c: Likewise.
44063 * math/w_log2f.c: Likewise.
44064 * math/w_log2l.c: Likewise.
44065 * math/w_logf.c: Likewise.
44066 * math/w_logl.c: Likewise.
44067 * math/w_pow.c: Likewise.
44068 * math/w_powf.c: Likewise.
44069 * math/w_powl.c: Likewise.
44070 * math/w_remainder.c: Likewise.
44071 * math/w_remainderf.c: Likewise.
44072 * math/w_remainderl.c: Likewise.
44073 * math/w_scalb.c: Likewise.
44074 * math/w_scalbf.c: Likewise.
44075 * math/w_scalbl.c: Likewise.
44076 * math/w_sinh.c: Likewise.
44077 * math/w_sinhf.c: Likewise.
44078 * math/w_sinhl.c: Likewise.
44079 * math/w_sqrt.c: Likewise.
44080 * math/w_sqrtf.c: Likewise.
44081 * math/w_sqrtl.c: Likewise.
44082 * math/w_tgamma.c: Likewise.
44083 * math/w_tgammaf.c: Likewise.
44084 * math/w_tgammal.c: Likewise.
44086 * po/ja.po: Update from translation team.
44088 2011-09-29 Andreas Jaeger <aj@suse.de>
44091 * sunrpc/netname.c (netname2host): Fix logic.
44095 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44097 * math/w_remainder.c (__remainder): Likewise.
44098 * math/w_remainderf.c (__remainderf): Likewise.
44099 * math/libm-test.inc (remainder_test): Add test cases.
44101 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44103 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44106 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44108 * string/test-memcmp.c: Avoid unncessary #defines.
44109 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44111 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44113 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44114 Use new sse2 version for core i3 - i7 as it's faster
44115 than sse42 version.
44116 (bit_Prefer_PMINUB_for_stringop): New.
44117 * sysdeps/x86_64/rawmemchr.S: Update.
44118 Replace with faster SSE2 version.
44119 * sysdeps/x86_64/memrchr.S: New file.
44120 * sysdeps/x86_64/memchr.S: Update.
44121 Replace with faster SSE2 version.
44123 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44125 * elf/dl-load.c (lose): Add cast to avoid warning.
44127 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44129 * po/ca.po: Update from translation team.
44131 * inet/getnetgrent_r.c: Hook up nscd.
44132 * nscd/Makefile (routines): Add nscd_netgroup.
44133 (nscd-modules): Add netgroupcache.
44134 (CFLAGS-netgroupcache.c): Define.
44135 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44136 (cache_search): Add const to second parameter.
44137 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44139 (dbs): Add netgrdb entry.
44140 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44141 (verify_persistent_db): Handle netgrdb.
44142 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44143 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44145 (netgroup_response_header): Define.
44146 (innetgroup_response_header): Define.
44147 (datahead): Add netgroup_response_header and innetgroup_response_header
44149 * nscd/nscd.conf: Add entries for netgroup cache.
44150 * nscd/nscd.h (dbtype): Add netgrdb.
44151 (_PATH_NSCD_NETGROUP_DB): Define.
44152 (netgroup_iov_disabled): Declare.
44153 (xmalloc, xcalloc, xrealloc): Move declarations here.
44154 (cache_search): Adjust prototype.
44155 Add netgroup-related prototypes.
44156 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44157 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44158 (__nscd_innetgr): Declare.
44159 * nscd/selinux.c (perms): Use access_vector_t as element type and
44160 add netgroup-related initializers.
44161 * nscd/netgroupcache.c: New file.
44162 * nscd/nscd_netgroup.c: New file.
44163 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44164 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44165 For four parameters use innetgr.
44166 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44167 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44168 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44169 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44171 * nscd/connections.c (register_traced_file): Don't register file
44172 for disabled databases.
44174 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44176 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44178 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44179 from tree and freeing node.
44181 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44183 * nss/nsswitch.c (__nss_database_lookup): Handle
44184 nss_parse_service_list out of memory case.
44186 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44188 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44189 out of memory case.
44191 2011-10-04 Andreas Schwab <schwab@redhat.com>
44193 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44194 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44196 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44197 elf_machine_rela, elf_machine_lazy_rel.
44198 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44199 (ELF_DYNAMIC_DO_REL): Likewise.
44200 (ELF_DYNAMIC_DO_RELA): Likewise.
44201 (ELF_DYNAMIC_RELOCATE): Likewise.
44202 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44203 to ELF_DYNAMIC_DO_REL.
44204 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44205 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44206 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44208 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44209 skip_ifunc, don't call ifunc function if non-zero.
44210 (elf_machine_rela): Likewise.
44211 (elf_machine_lazy_rel): Likewise.
44212 (elf_machine_lazy_rela): Likewise.
44213 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44214 (elf_machine_lazy_rel): Likewise.
44215 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44217 (elf_machine_lazy_rel): Likewise.
44218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44220 (elf_machine_lazy_rel): Likewise.
44221 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44222 (elf_machine_lazy_rel): Likewise.
44223 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44224 (elf_machine_lazy_rel): Likewise.
44225 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44226 (elf_machine_lazy_rel): Likewise.
44227 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44228 (elf_machine_lazy_rel): Likewise.
44229 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44230 (elf_machine_lazy_rel): Likewise.
44231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44232 (elf_machine_lazy_rel): Likewise.
44234 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44236 * nss/nss_files/files-init.c (_nss_files_init): Use static
44237 initialization for all the *_traced_file variables.
44239 2011-09-28 Andreas Schwab <schwab@redhat.com>
44241 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44243 2011-09-27 Roland McGrath <roland@hack.frob.com>
44246 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44248 2011-09-27 Andreas Schwab <schwab@redhat.com>
44250 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44251 Reread the line before reparsing it.
44253 2011-09-26 Andreas Schwab <schwab@redhat.com>
44255 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44257 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44258 Maxim Kuvyrkov <maxim@codesourcery.com>
44259 Joseph Myers <joseph@codesourcery.com>
44261 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44262 if needed for __stack_chk_guard.
44264 2011-09-19 Roland McGrath <roland@hack.frob.com>
44266 * sysdeps/posix/spawni.c (script_execute): Always define it.
44267 It will be optimized away if unused.
44268 (maybe_script_execute): New function.
44269 (__spawni): Call it.
44271 * Makerules: Don't include tls.make.
44272 (config-tls): Always set to thread.
44273 * tls.make.c: File removed.
44275 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44277 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44278 * config.make.in (CPPFLAGS-config): New substituted variable.
44280 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44282 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44285 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44286 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44288 2011-09-15 Roland McGrath <roland@hack.frob.com>
44290 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44291 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44293 (CALL_FAIL): Likewise.
44294 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44295 (CALL_FAIL): Macro removed.
44296 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44298 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44300 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44301 for __FINITE_MATH_ONLY__ == 1.
44303 2011-09-15 Andreas Schwab <schwab@redhat.com>
44305 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44306 __ieee754_sqrt instead of sqrt.
44307 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44308 __ieee754_sqrtf instead of sqrtf.
44309 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44310 __floorf instead of floorf.
44311 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44312 __floorf, __truncf instead of floorf, truncf.
44314 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44316 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44318 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44319 __extern_always_inline.
44320 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44323 2011-09-14 Andreas Schwab <schwab@redhat.com>
44325 * elf/rtld.c (dl_main): Also relocate in dependency order when
44326 doing symbol dependency testing.
44328 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44330 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44331 Always define `refsym'.
44333 2011-09-13 Andreas Schwab <schwab@redhat.com>
44335 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44336 (__FD_ELT): Renamed from __FDELT.
44337 * misc/bits/select2.h (__FD_ELT): Likewise.
44338 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44339 __FD_MASK instead of __FDELT, __FDMASK.
44340 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44342 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44345 * elf/Makefile (gen-ldd): Fix pattern.
44347 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44348 (init_tls): Likewise.
44350 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44352 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44354 2011-09-12 Andreas Schwab <schwab@redhat.com>
44356 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44357 `struct cmsghdr *' instead of `void *'.
44358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44361 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44363 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44365 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44366 ldd_rewrite_script.
44368 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44370 * configure.in: Remove --with-tls option.
44371 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44372 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44373 out in case it is missing.
44374 * sysdeps/ia64/elf/configure.in: Likewise.
44375 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44376 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44377 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44378 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44379 * sysdeps/sh/elf/configure.in: Likewise.
44380 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44381 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44382 * sysdeps/x86_64/elf/configure.in: Likewise.
44383 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44384 * sysdeps/mach/hurd/tls.h: Likewise.
44387 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44390 * configure.in: Fix use of AC_INIT.
44392 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44394 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44396 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44398 * malloc/hooks.c: Likewise.
44401 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44402 variables statically.
44403 (narenas): Initialize.
44404 (list_lock): Initialize.
44405 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44406 initializtion of main_arena and list_lock. Small cleanups.
44407 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44408 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44409 Add initializers to main_arena and mp_.
44410 (malloc_state): Remove pagesize member. Change all users to use
44413 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44414 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44415 is always initialized.
44417 * malloc/malloc.c: Removed unused configurations and dead code.
44418 * malloc/arena.c: Likewise.
44419 * malloc/hooks.c: Likewise.
44420 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44422 * include/tls.h: Removed. USE___THREAD must always be defined.
44423 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44424 * elf/dl-libc.c: Likewise.
44425 * elf/dl-tsd.c: Likewise.
44426 * include/errno.h: Likewise.
44427 * include/netdb.h: Likewise.
44428 * include/resolv.h: Likewise.
44429 * inet/herrno-loc.c: Likewise.
44430 * inet/herrno.c: Likewise.
44431 * malloc/arena.c: Likewise.
44432 * malloc/hooks.c: Likewise.
44433 * malloc/malloc.c: Likewise.
44434 * resolv/res-state.c: Likewise.
44435 * resolv/res_libc.c: Likewise.
44436 * sysdeps/i386/dl-machine.h: Likewise.
44437 * sysdeps/ia64/dl-machine.h: Likewise.
44438 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44439 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44440 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44441 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44442 * sysdeps/sh/dl-machine.h: Likewise.
44443 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44444 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44445 * sysdeps/unix/i386/sysdep.S: Likewise.
44446 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44447 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44448 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44449 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44450 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44452 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44456 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44457 * sysdeps/x86_64/dl-machine.h: Likewise.
44458 * tls.make.c: Likewise.
44460 * configure.in: Remove --with-__thread option. Make tests for
44461 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44462 tls_model attribute fail if no support is available. Remove
44464 * Makeconfig: Adjust for dropped configure option. All features are
44466 * Makerules: Likewise.
44467 * Versions.def: Likewise.
44468 * argp/argp-fmtstream.c: Likewise.
44469 * argp/argp-fmtstream.h: Likewise.
44470 * argp/argp-help.c: Likewise.
44471 * assert/assert.c: Likewise.
44472 * config.h.in: Likewise.
44473 * config.make.in: Likewise.
44474 * configure: Likewise.
44475 * configure.in: Likewise.
44476 * csu/Versions: Likewise.
44477 * csu/init.c: Likewise.
44478 * elf/tst-audit2.c: Likewise.
44479 * elf/tst-tls10.c: Likewise.
44480 * elf/tst-tls10.h: Likewise.
44481 * elf/tst-tls11.c: Likewise.
44482 * elf/tst-tls12.c: Likewise.
44483 * elf/tst-tls14.c: Likewise.
44484 * elf/tst-tlsmod11.c: Likewise.
44485 * elf/tst-tlsmod12.c: Likewise.
44486 * elf/tst-tlsmod13.c: Likewise.
44487 * elf/tst-tlsmod13a.c: Likewise.
44488 * elf/tst-tlsmod14a.c: Likewise.
44489 * elf/tst-tlsmod15b.c: Likewise.
44490 * elf/tst-tlsmod16a.c: Likewise.
44491 * elf/tst-tlsmod16b.c: Likewise.
44492 * elf/tst-tlsmod7.c: Likewise.
44493 * elf/tst-tlsmod8.c: Likewise.
44494 * elf/tst-tlsmod9.c: Likewise.
44495 * gmon/gmon.c: Likewise.
44496 * grp/fgetgrent_r.c: Likewise.
44497 * grp/putgrent.c: Likewise.
44498 * hurd/fopenport.c: Likewise.
44499 * include/libc-symbols.h: Likewise.
44500 * include/tls.h: Likewise.
44501 * intl/gettextP.h: Likewise.
44502 * intl/loadinfo.h: Likewise.
44503 * locale/global-locale.c: Likewise.
44504 * locale/localeinfo.h: Likewise.
44505 * mach/devstream.c: Likewise.
44506 * malloc/arena.c: Likewise.
44507 * malloc/set-freeres.c: Likewise.
44508 * misc/err.c: Likewise.
44509 * misc/getttyent.c: Likewise.
44510 * misc/mntent_r.c: Likewise.
44511 * posix/getopt.c: Likewise.
44512 * posix/wordexp.c: Likewise.
44513 * pwd/fgetpwent_r.c: Likewise.
44514 * resolv/Versions: Likewise.
44515 * resolv/res_hconf.c: Likewise.
44516 * shadow/fgetspent_r.c: Likewise.
44517 * shadow/putspent.c: Likewise.
44518 * stdio-common/printf_fphex.c: Likewise.
44519 * stdio-common/tmpfile.c: Likewise.
44520 * stdlib/abort.c: Likewise.
44521 * stdlib/fmtmsg.c: Likewise.
44522 * sunrpc/auth_unix.c: Likewise.
44523 * sunrpc/clnt_perr.c: Likewise.
44524 * sunrpc/clnt_tcp.c: Likewise.
44525 * sunrpc/clnt_udp.c: Likewise.
44526 * sunrpc/clnt_unix.c: Likewise.
44527 * sunrpc/openchild.c: Likewise.
44528 * sunrpc/svc_simple.c: Likewise.
44529 * sunrpc/svc_tcp.c: Likewise.
44530 * sunrpc/svc_udp.c: Likewise.
44531 * sunrpc/svc_unix.c: Likewise.
44532 * sunrpc/xdr.c: Likewise.
44533 * sunrpc/xdr_array.c: Likewise.
44534 * sunrpc/xdr_rec.c: Likewise.
44535 * sunrpc/xdr_ref.c: Likewise.
44536 * sunrpc/xdr_stdio.c: Likewise.
44538 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44540 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44542 2011-07-03 Andreas Jaeger <aj@suse.de>
44544 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44545 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44546 regenerate with gen-libm-tests.pl.
44548 2010-05-12 Petr Baudis <pasky@suse.cz>
44551 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44552 around j0() zero points by switching to j1().
44553 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44554 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44556 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44558 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44560 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44562 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44565 Patch in part by Pavel Roskin <proski@gnu.org>.
44568 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44570 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44571 Free memory block if necessary.
44574 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44575 be NULL. Don't lock in this case.
44577 2011-09-09 Roland McGrath <roland@hack.frob.com>
44579 * elf/elf.h (ELFOSABI_GNU): New macro.
44580 (ELFOSABI_LINUX): Define to that.
44582 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44584 * string/strncat.c (strncat): Undef the symbol in case it has been
44585 defined in bits/string.h.
44587 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44589 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44591 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44594 2011-08-17 Andreas Jaeger <aj@suse.de>
44596 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44598 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44599 Ian Lance Taylor <iant@google.com>
44601 * math/libm-test.inc (lround_test): New testcase.
44602 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44604 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44606 * Makefile: Remove support for automatic cvs check-ins.
44607 * Makerules: Likewise.
44608 * config.make.in: Likewise.
44609 * configure.in: Likewise.
44610 * intl/Makefile: Likewise.
44611 * locale/Makefile: Likewise.
44612 * po/Makefile: Likewise.
44613 * posix/Makefile: Likewise.
44614 * sysdeps/gnu/Makefile: Likewise.
44615 * sysdeps/mach/hurd/Makefile: Likewise.
44616 * sysdeps/sparc/sparc32/Makefile: Likewise.
44619 * posix/Makefile (bug-regex32-ENV): Define.
44620 Patch by John Stanley <jpsinthemix@verizon.net>.
44622 * misc/Makefile (headers): Add bits/select2.h.
44623 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44624 * misc/bits/select2.h: New file.
44625 * include/bits/select2.h: New file.
44626 * debug/Makefile (routines): Add fdelt_chk.
44627 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44628 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44630 * debug/fdelt_chk.c: New file.
44632 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44633 * wcsmbs/test-wmemcmp.c: Likewise.
44634 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44635 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44637 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44639 * string/Makefile (strop-tests): Add memcmp.
44640 * string/test-wmemcmp.c: New file.
44641 * string/test-memcmp.c: Add wmemcmp support.
44643 2011-09-08 Roland McGrath <roland@hack.frob.com>
44646 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44649 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44650 garbage value in a __mach_port_mod_refs call in the cases of the
44651 task-self and thread-self ports.
44653 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44655 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44657 2011-09-08 Andreas Schwab <schwab@redhat.com>
44659 * elf/dl-load.c (lose): Check for non-null L.
44661 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44663 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44665 * elf/dl-libc.c (dlerror_run): Pass back error code from
44669 * elf/dl-load.c (lose): Free l_origin if it is valid.
44671 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44673 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44674 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44675 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44676 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44677 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44678 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44680 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44682 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44683 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44684 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44685 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44686 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44687 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44688 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44689 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44690 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44691 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44693 2011-08-15 Alan Modra <amodra@gmail.com>
44696 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44697 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44698 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44699 ppc_mcount to static-only-routines.
44700 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44702 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44703 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44705 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44707 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44708 for finite and infinity parameters.
44710 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44712 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44713 and add nop instructions for throughput optimization.
44714 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44716 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44718 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44719 aligned copy for power7 with vector-scalar instructions.
44720 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44722 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44724 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44727 2011-09-07 Andreas Schwab <schwab@redhat.com>
44730 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44733 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44735 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44736 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44737 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44738 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44741 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44743 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44744 Forgot to demangle the pointer.
44746 * sysdeps/i386/sysdep.h: Define atom_text_section.
44747 * sysdeps/x86_64/sysdep.h: Likewise.
44748 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44749 section with atom_text_section.
44750 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44751 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44752 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44754 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44756 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44757 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44758 already be defined. Change to take two parameters and don't assign
44759 result to variable. Adjust all users.
44760 Define INTERNAL_GETTIME if not already defined.
44761 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44764 HAVE_CLOCK_GETTIME_VSYSCALL.
44765 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44767 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44768 gettimeofday vsyscall, just use time.
44770 2011-09-06 Andreas Schwab <schwab@redhat.com>
44772 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44775 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44777 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44781 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44782 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44783 syscall if possible.
44785 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44787 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44788 e_ident. Don't pass to find_mapsXX.
44789 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44791 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44794 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44795 * sysdeps/x86_64/multiarch/strchr.S: Update.
44796 Check bit_slow_BSF bit.
44797 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44798 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44799 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44801 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44804 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44806 (tryshell): Define.
44807 (__spawni): Change last parameter to be flag. Test
44808 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44809 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44810 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44811 * posix/spawni.c: Likewise.
44812 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44813 * posix/spawnp.c: Likewise. Change normal version to use
44814 SPAWN_XFLAGS_USE_PATH.
44815 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44816 SPAWN_XFLAGS_TRY_SHELL.
44819 * posix/glob.h: Remove gcc 1.x support.
44822 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44824 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44827 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44829 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44830 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44831 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44832 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44833 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44834 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44836 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44838 * sysdeps/x86_64/wcscmp.S: New file.
44840 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44841 wcscmp-c wcscmp-sse2
44842 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44843 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44844 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44845 * wcsmbs/wcscmp.c: Allow renaming.
44847 2011-09-05 David S. Miller <davem@davemloft.net>
44849 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44850 stack slot, rather than the struct return pointer slot.
44851 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44852 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44854 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44856 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44858 * po/ja.po: Update from translation team.
44861 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44862 kernel in 64-bit binaries.
44864 2011-09-01 David S. Miller <davem@davemloft.net>
44866 * elf/elf.h (HWCAP_SPARC_*): Move to..
44867 * sysdeps/sparc/sysdep.h: this new file and add new values.
44868 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44869 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44870 _DL_HWCAP_COUNT to 24.
44871 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44873 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44874 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44875 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44877 instead of magic constants.
44878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44880 2011-08-31 David S. Miller <davem@davemloft.net>
44882 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44884 Reimplement to do errno handling inline.
44885 (SYSCALL_ERROR_HANDLER): New macro.
44886 (__SYSCALL_STRING): Do not do errno handling in asm.
44887 (__CLONE_SYSCALL_STRING): Delete.
44888 (__INTERNAL_SYSCALL_STRING): Delete.
44889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44890 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44891 (PSEUDO): Reimplement to do errno handling inline.
44892 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44893 (SYSCALL_ERROR_HANDLER): New macro.
44894 (__SYSCALL_STRING): Do not do errno handling in asm.
44895 (__CLONE_SYSCALL_STRING): Delete.
44896 (__INTERNAL_SYSCALL_STRING): Delete.
44897 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44898 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44900 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44901 (inline_syscall*): Add 'err' argument.
44902 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44903 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44904 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44905 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44907 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44908 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44910 2011-08-30 Andreas Schwab <schwab@redhat.com>
44912 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44914 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44916 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44919 2011-08-24 David S. Miller <davem@davemloft.net>
44921 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44923 2011-08-24 Andreas Schwab <schwab@redhat.com>
44925 * elf/Makefile: Add rules to build and run unload8 test.
44926 * elf/unload8.c: New file.
44927 * elf/unload8mod1.c: New file.
44928 * elf/unload8mod1x.c: New file.
44929 * elf/unload8mod2.c: New file.
44930 * elf/unload8mod3.c: New file.
44932 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44935 2011-08-23 David S. Miller <davem@davemloft.net>
44937 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44938 subtract stack bias.
44939 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44940 %sp not %fp in calculations.
44941 (_JMPBUF_UNWINDS_ADJ): Likewise.
44943 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44944 (aio_suspend): Call it to force an exception region around the
44945 AIO_MISC_WAIT() invocation.
44947 2011-08-23 Andreas Schwab <schwab@redhat.com>
44949 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44952 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44954 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44956 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44957 and <dl-machine.h>.
44958 (Elf64_FuncDesc): Remove.
44960 2011-08-22 David S. Miller <davem@davemloft.net>
44962 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44963 sigaltstack check, add missing cfi directives.
44964 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44965 missing cfi directives, and sigaltstack handling.
44967 2011-08-16 Andreas Schwab <schwab@redhat.com>
44970 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44971 object is seen twice.
44972 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44974 * elf/Makefile (distribute): Add tst-initorder2.c.
44975 (tests): Add tst-initorder2.
44976 (modules-names): Add tst-initorder2a tst-initorder2b
44977 tst-initorder2c tst-initorder2d. Add rules to build them.
44978 ($(objpfx)tst-initorder2.out): New rule.
44979 * elf/tst-initorder2.c: New file.
44980 * elf/tst-initorder2.exp: New file.
44982 2011-08-22 Andreas Schwab <schwab@redhat.com>
44984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44986 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44987 dependencies back to end of function.
44989 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44990 $(elfobjdir)/ld.so.
44992 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44994 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44995 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44996 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44997 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44998 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44999 of __vdso_gettimeofday.
45000 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45001 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45003 (_libc_vdso_platform_setup): Remove initialization of
45004 __vdso_gettimeofday and __vdso_time.
45006 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45008 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45009 and fgetc_unlocked.
45010 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45013 * elf/dl-open.c (add_to_global): Report additions to the global scope
45014 for LD_DEBUG=scopes.
45015 (dl_open_worker): Also print scope of newly loaded dependencies.
45016 (_dl_show_scope): Indicate if there is no scope.
45019 * stdio-common/Makefile (tests): Add bug24.
45020 * stdio-common/bug24.c: New file.
45022 2011-08-19 Andreas Jaeger <aj@suse.de>
45025 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45026 non-existant file when using close-on-exec mode.
45028 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45031 the very first instruction.
45033 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45034 the CFI state in the end.
45035 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45036 inclusion of dl-trampoline.h.
45037 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45039 2011-08-19 Andreas Schwab <schwab@redhat.com>
45041 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45042 expectations for long double.
45044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45045 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45047 2011-08-14 David S. Miller <davem@davemloft.net>
45049 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45050 artificual limit depends upon the system page size.
45052 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45054 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45055 * resolv/Makefile: Define CFLAGS-libresolv.
45057 2011-08-17 Andreas Schwab <schwab@redhat.com>
45059 * nss/makedb.c (compute_tables): Make variables used in nested
45062 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45064 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45065 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45066 if buffer was too small.
45068 * elf/pldd.c (main): Attach to all threads in the process.
45069 Rewrite /proc handling to use *at functions.
45071 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45073 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45074 specifies first scope to show.
45075 (dl_open_worker): Update callers. Move printing scope of new
45076 object to before the relocation.
45077 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45078 * sysdeps/generic/ldsodefs.h: Update declaration.
45080 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45081 string for the scope number.
45083 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45085 * nscd/servicescache.c (cache_addserv): Make sure written is always
45088 2011-08-14 Roland McGrath <roland@hack.frob.com>
45090 * sysdeps/i386/i486/bits/atomic.h
45091 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45092 statement expression, so as to suppress "set but not used" warning.
45093 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45095 * string/strncat.c (STRNCAT): Use prototype definition.
45097 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45098 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45100 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45101 (localedef-modules): Add localedef.
45102 (locale-modules): Add locale.
45104 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45105 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45106 to avoid a warning.
45108 2011-08-14 David S. Miller <davem@davemloft.net>
45110 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45111 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45113 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45115 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45116 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45117 * elf/rtld.c (dl_main): Set l_name of vDSO.
45118 Call _dl_show_scope when DL_DEBUG_SCOPES.
45119 (process_dl_debug): Recognize scopes flag and also set it for all.
45120 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45121 Declare _dl_show_scope.
45123 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45124 (do_dlopen): Pass caller_dlopen to dl_open.
45125 (__libc_dlopen_mode): Initialize caller_dlopen.
45127 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45128 of libc. Make tolower call locale-independent. Optimize a bit by
45129 using isdigit instead of isalnum.
45130 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45132 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45134 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45135 was a dependency or dynamically loaded.
45137 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45139 * intl/l10nflist.c: Allow architecture-specific pop function.
45140 * sysdeps/x86_64/l10nflist.c: New file.
45142 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45145 2011-08-10 Andreas Schwab <schwab@redhat.com>
45147 * include/dirent.h: Add libc_hidden_proto for scandirat and
45148 scandirat64. Don't declare __scandirat64.
45149 * dirent/scandirat.c: Add libc_hidden_def.
45150 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45151 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45153 2011-08-10 David S. Miller <davem@davemloft.net>
45155 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45157 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45158 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45159 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45161 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45163 * Versions.def [libc]: Add GLIBC_2.15.
45164 * dirent/Makefile (routines): Add scandirat and scandirat64.
45165 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45167 * dirent/dirent.h: Declare scandirat and scandirat64.
45168 * dirent/scandirat.c: New file.
45169 * dirent/scandirat64.c: New file.
45170 * sysdeps/wordsize-64/scandirat.c: New file.
45171 * sysdeps/wordsize-64/scandirat64.c: New file.
45172 * dirent/opendir.c: Define opendirat.
45173 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45175 * dirent/scandir64.c: Adjust for scandir.c change.
45176 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45177 __scandirat64, and __scandir_cancel_handler.
45178 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45179 additional parameter and use openat instead of open (outside of ld.so).
45180 Add new __opendir as wrapper around __opendirat.
45181 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45182 here without requiring old scandirat implementation.
45184 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45186 * dirent/scandir.c (cancel_handler): Renamed to
45187 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45188 defined. Adjust users.
45189 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45190 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45192 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45194 * string/test-string.h (IMPL): Use __STRING to expand name and then
45197 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45200 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45202 * string/Makefile: Update.
45203 (strop-tests): Append strncat.
45204 * string/test-wcscmp.c: New file.
45205 New comprehensive test for wcscmp.
45206 * string/test-strcmp.c: Update.
45207 (WIDE): New define.
45209 2011-07-22 Andreas Schwab <schwab@redhat.com>
45211 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45214 2011-07-26 Andreas Schwab <schwab@redhat.com>
45216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45217 encoding to ACE if AI_IDN.
45219 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45221 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45222 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45224 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45226 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45227 Fix overflow bug in strncat.
45228 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45230 * string/test-strncat.c: Update.
45231 Add new tests for checking overflow bugs.
45233 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45236 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45237 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45238 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45239 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45240 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45241 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45242 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45243 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45246 (USE_AS_STRCAT): Define.
45247 Add strcat and strncat support.
45248 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45250 2011-07-25 Andreas Schwab <schwab@redhat.com>
45252 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45253 __n bigger than INT_MAX+1.
45254 (__strncmp_g): Likewise.
45256 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45258 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45259 * libio/stido.h: Likewise.
45261 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45266 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45267 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45268 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45269 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45270 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45273 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45278 (_dl_x86_64_save_sse): Likewise.
45280 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45284 (_dl_x86_64_save_sse): Likewise.
45286 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45288 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45290 2011-07-21 Andreas Schwab <schwab@redhat.com>
45292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45294 (_dl_x86_64_save_sse): Use correct AVX check.
45296 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45298 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45299 bug in strncpy/strncat.
45300 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45302 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45304 * string/tester.c (test_strcat): Add tests for different alignments
45305 of source and destination.
45306 (test_strncat): Likewise.
45308 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45311 * posix/glob.c (glob): Check passed in values before using them in
45312 expressions to avoid some overflows.
45313 (glob_in_dir): Likewise.
45316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45317 check for AVX enablement so that we don't crash with old kernels and
45319 * elf/tst-audit4.c: Add same checks here.
45320 * elf/tst-audit6.c: Likewise.
45322 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45324 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45326 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45328 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45330 * po/cs.po: Update from translation team.
45331 * po/bg.po: Likewise.
45333 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45335 * misc/sys/cdefs.h: Add support for const attribute.
45336 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45337 to gnu_dev_{major,minor,makedev} functions.
45339 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45341 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45343 2011-07-20 Andreas Schwab <schwab@redhat.com>
45345 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45348 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45351 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45352 register in order to avoid conflicts with the soft frame pointer
45353 being held in r11 when necessary.
45354 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45355 (INTERNAL_VSYSCALL_NCS): Likewise.
45357 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45359 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45360 * elf/dl-fini.c (_dl_fini): Adjust caller.
45361 * elf/dl-close.c (_dl_close_worker): Likewise.
45362 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45364 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45366 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45367 "aux_cache->nlibs < 0".
45369 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45370 in the reload-count case.
45372 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45374 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45375 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45376 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45377 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45378 * sysdeps/x86_64/multiarch/strcat.S: New file.
45379 * sysdeps/x86_64/multiarch/strncat.S: New file.
45380 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45381 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45382 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45383 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45384 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45385 (USE_AS_STRCAT): Define.
45386 Add strcat and strncat support.
45387 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45388 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45389 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45390 * string/strncat.c: Update.
45391 (USE_AS_STRNCAT): Define.
45392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45393 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45395 * sysdeps/x86_64/multiarch/init-arch.h
45396 (bit_Prefer_PMINUB_for_stringop): New.
45397 (index_Prefer_PMINUB_for_stringop): Likewise.
45398 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45399 bit_Prefer_PMINUB_for_stringop.
45401 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45403 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45405 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45406 of casting of buffer.
45407 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45408 buffer32 and buffer64.
45409 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45410 writes instead of casting of buffer.
45411 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45413 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45416 2011-07-19 Andreas Schwab <schwab@redhat.com>
45418 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45420 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45422 * nscd/nscd.c (termination_handler): Don't do anything for a database
45423 if it has not yet been initialized.
45425 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45427 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45429 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45431 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45433 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45435 * po/nl.po: Update from translation team.
45436 * po/sv.po: Likewise.
45438 2011-07-16 Roland McGrath <roland@hack.frob.com>
45440 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45441 now disallowed by GCC.
45443 * configure.in (use-default-link): Default to yes if a test -shared
45444 link meets our qualifications.
45445 * configure: Regenerated.
45447 * config.make.in (output-format): New variable.
45448 * configure.in: Check for ld --print-output-format support.
45449 * configure: Regenerated.
45450 * Makerules ($(common-objpfx)format.lds)
45451 [$(output-format) != unknown]: Just use $(output-format),
45452 instead of the linker-script munging.
45454 2011-07-14 Roland McGrath <roland@hack.frob.com>
45456 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45457 of $(common-objpfx)shlib.lds.
45458 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45460 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45461 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45463 * configure.in (-z relro check): Adjust test code to add a large
45464 writable data section after it.
45465 * configure: Regenerated.
45467 2011-07-11 Roland McGrath <roland@hack.frob.com>
45469 * configure.in (-z relro check): Fix test code to make the variable
45471 * configure: Regenerated.
45473 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45475 * nscd/nscd.h (struct traced_file): Define.
45476 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45477 elements. Add traced_files.
45478 (inotify_fd): Declare.
45479 (register_traced_file): Declare.
45480 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45481 (inotify_fd): Export.
45482 (resolv_conf_descr): Remove.
45483 (nscd_init): Move inotify descriptor creation to main.
45484 Don't register files for notification here.
45485 (register_traced_file): New function.
45486 (invalidate_cache): Don't use reset_res to determine whether to call
45487 res_init, go through the list of registered files.
45488 (main_loop_poll): The inotify descriptors are now stored in the
45489 structures for the traced files.
45490 (main_loop_epoll): Likewise
45491 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45492 to __nss_disable_nscd.
45493 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45494 for a database anymore. Check the records for all the registered
45496 * nss/Makefile (libnss_files-routines): Add files-init.
45497 (libnss_db-routines): Add db-init.
45498 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45499 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45500 * nss/nss_db/db-init.c: New file.
45501 * nss/nss_files/files-init.c: New file.
45502 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45503 __nss_lookup_function.
45504 (__nss_lookup_function): Call nss_load_library.
45505 (nss_load_all_libraries): New function.
45506 (__nss_disable_nscd): Take parameter with callback function for files
45507 to register. Set is_nscd. Load all the DSOs for the NSS modules
45508 used for the cached services.
45509 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45510 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45511 options for features to all the files in nscd.
45513 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45515 2011-07-10 Roland McGrath <roland@hack.frob.com>
45517 * csu/elf-init.c (__libc_csu_init): Comment typo.
45519 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45521 * po/pl.po: Update from translation team.
45522 * po/ja.po: Likewise.
45523 * po/ru.po: Likewise.
45524 * po/ko.po: Likewise.
45525 * po/fr.po: Likewise.
45527 2011-07-09 Roland McGrath <roland@hack.frob.com>
45529 * configure.in (.ctors/.dtors header and trailer check):
45530 Use an empirical test on a built program.
45531 * configure: Regenerated.
45533 * configure.in (-z relro check): Use an empirical test on a built DSO.
45534 Detect, but do not require, on ia64.
45535 * configure: Regenerated.
45537 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45538 Update tests that use readelf to use $READELF instead.
45539 * configure: Regenerated.
45541 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45543 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45544 if the result is not used.
45546 2011-07-05 Andreas Jaeger <aj@suse.de>
45549 * stdlib/tst-strtod.c: Add testcase.
45551 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45553 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45554 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45555 The latter has a higher limit. Take additional parameter to pass to
45557 (__pathconf): Pass file to __statfs_link_max.
45558 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45560 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45564 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45565 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45567 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45568 (__statfs_filesize_max): Likewise.
45569 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45571 2011-07-05 Andreas Jaeger <aj@suse.de>
45573 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45575 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45577 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45579 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45582 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45584 * Makefile (strop-tests): Add strncat.
45585 * string/test-strncat.c: New file.
45587 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45589 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45591 2011-06-21 Andreas Jaeger <aj@suse.de>
45593 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45594 Copy rule from iconvdata/Makefile.
45596 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45599 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45600 but no long options are defined, just return 'W'.
45602 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45605 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45607 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45609 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45611 (innetgr): Likewise.
45613 2011-07-05 Roland McGrath <roland@hack.frob.com>
45615 * config.make.in (install_root): Default to $(DESTDIR).
45617 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45619 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45621 2011-07-02 Roland McGrath <roland@hack.frob.com>
45623 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45625 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45626 containing directory rather than embedding absolute directory names.
45628 * scripts/check-local-headers.sh: Rewritten using awk.
45629 Match by word, not by line. Print error messages for matches.
45630 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45632 * Makerules [shlib-lds-flags empty]:
45633 ($(common-objpfx)libc_pic.opts): New target.
45634 ($(common-objpfx)libc_pic.os.clean): New target.
45635 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45637 * config.make.in (OBJCOPY): New variable.
45638 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45639 * configure: Regenerated.
45641 * config.make.in (use-default-link): New variable.
45642 * configure.in (use_default_link): Grok --with-default-link to set it.
45643 * configure: Regenerated.
45644 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45645 (shlib-lds, shlib-lds-flags): Define to empty.
45647 * Makerules (shlib-lds): New variable.
45648 (shlib-lds-flags): New variable.
45649 (build-shlib, build-moduile, build-module-asneeded): Use it.
45650 ($(common-objpfx)libc.so): Use $(shlib-lds).
45651 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45652 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45654 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45655 DT_FLAGS/DT_FLAGS_1 with zero flags.
45657 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45658 linker script munging.
45660 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45662 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45664 * crypt/sha512.c (sha512_process_block): Perform total addition using
45665 128-bit if possible.
45666 (__sha512_finish_ctx): Likewise.
45667 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45669 * crypt/sha256.c (SWAP64): Define.
45670 (sha256_process_block): Perform total addition using 64-bit if
45672 (__sha256_finish_ctx): Likewise.
45674 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45676 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45677 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45678 * nscd/hstcache.c (cache_addhst): Likewise.
45679 * nscd/grpcache.c (cache_addgr): Likewise.
45680 * nscd/aicache.c (addhstaiX): Likewise
45681 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45683 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45685 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45686 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45687 * nscd/hstcache.c (cache_addhst): Likewise.
45688 * nscd/grpcache.c (cache_addgr): Likewise.
45689 * nscd/aicache.c (addhstaiX): Likewise
45691 2011-07-01 Andreas Schwab <schwab@redhat.com>
45693 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45694 domain only when needed.
45696 2011-06-30 Andreas Schwab <schwab@redhat.com>
45698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45699 is always restored.
45701 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45703 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45704 are re-adding the entry.
45705 * nscd/servicescache.c (cache_addserv): Likewise.
45707 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45709 * sysdeps/generic/dl-irel.h: fix protection against multiple
45711 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45713 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45716 * malloc/memusage.sh: Fix quoting in message.
45717 * debug/xtrace.sh: Likewise.
45719 * configure.in: Remove support for --experimental-malloc option, make
45721 * config.make.in: Likewise.
45722 * malloc/Makefile: Likewise.
45724 2011-06-27 Andreas Schwab <schwab@redhat.com>
45726 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45727 two-byte characters.
45729 2011-06-27 Roland McGrath <roland@hack.frob.com>
45731 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45732 AC_CACHE_CHECK invocation.
45733 * configure: Regenerated.
45735 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45737 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45740 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45741 bit from old_res_options.
45743 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45745 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45746 value type for setfct.
45748 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45750 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45751 __gettimeofday instead of gettimeofday.
45753 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45755 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45757 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45759 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45764 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45767 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45768 strcpy-sse2-unaligned strncpy-sse2-unaligned
45769 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45770 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45771 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45772 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45773 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45774 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45775 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45776 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45777 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45778 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45779 (STRCPY): Support SSE2 and SSSE3 versions.
45781 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45784 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45785 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45786 kernels which artificially limit size of requests.
45788 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45791 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45792 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45793 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45794 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45795 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45796 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45797 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45798 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45799 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45800 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45801 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45802 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45803 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45804 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45806 Enable unaligned load optimization for Intel Core i3, i5 and i7
45808 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45810 (index_Fast_Unaligned_Load): Define.
45811 (HAS_FAST_UNALIGNED_LOAD): Define.
45813 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45815 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45817 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45820 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45821 until it is clear that the information is realy needed.
45822 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45824 2011-06-22 Andreas Schwab <schwab@redhat.com>
45826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45828 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45830 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45831 /sys/devices/system/cpu/online if it is usable.
45833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45834 reading the information from the /proc filesystem to once a second.
45836 2011-06-21 Andreas Jaeger <aj@suse.de>
45838 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45839 NULL after inclusion of kernel headers.
45841 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45843 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45844 calls to internal_setent.
45847 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45848 addresses using gethostbyname4_r ignore IPv4 addresses.
45850 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45851 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45853 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45855 2011-06-20 David S. Miller <davem@davemloft.net>
45857 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45859 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45861 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45862 (elf_irel): Use it.
45863 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45864 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45865 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45866 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45867 * sysdeps/x86_64/dl-irel.h: Likewise.
45869 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45870 * elf/dl-sym.c: Likewise.
45872 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45874 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45875 need to dereference resplen2.
45877 2011-06-14 Andreas Schwab <schwab@redhat.com>
45879 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45881 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45883 * Makeconfig: Define vardbdir and inst_vardbdir.
45884 * nss/Makefile: Add rules to install db-Makefile.
45886 * nss/nss_db/db-XXX.c: Cleanup.
45888 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45889 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45891 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45892 * nss/makedb.c: Implement -g option to specify that value strings
45893 are generated and should not be added to table iterated over for
45895 * nss/nss_db/db-initgroups.c: New file.
45897 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45900 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45901 (internal_getgrouplist): Adjust to name change.
45902 Update use_initgroups_entry if this is not the first call.
45903 * nss/databases.def: Add initgroups entry.
45905 * nss/makedb.c (compute_tables): Check result of multiple hash table
45906 sizes to minimize maximum chain length.
45908 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45910 * Versions.def: Add entry for libnss_db.
45911 * shlib-versions: Likewise.
45912 * nss/Makefile: Add rules to build libnss_db.
45913 * nss/Versions: Add libnss_db information. Organize libnss_files
45915 * nss/db-Makefile: Add gshadow support. Change rules for the new
45916 makedb progra. Some minor improvements to generate smaller files.
45917 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45919 * nss/makedb.c: ...here.
45920 Improve database format to be smaller and require less memory at
45922 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45924 * nss/nss_db/db-netgrp.c: Likewise.
45925 * nss/nss_db/db-open.c: Likewise.
45926 * nss/nss_files/flies-XXX.x: Adjust comments.
45927 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45928 * nss/nss_files/files-grp.c: Likewise.
45929 * nss/nss_files/files-hosts.c: Likewise.
45930 * nss/nss_files/files-network.c: Likewise.
45931 * nss/nss_files/files-proto.c: Likewise.
45932 * nss/nss_files/files-pwd.c: Likewise.
45933 * nss/nss_files/files-rpc.c: Likewise.
45934 * nss/nss_files/files-service.c: Likewise.
45935 * nss/nss_files/files-sgrp.c: Likewise.
45936 * nss/nss_files/files-spwd.c: Likewise.
45937 * nss/nss_db/db-alias.c: Removed.
45938 * nss/nss_db/dummy-db.h: Removed.
45940 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45942 * nss/makedb.c: Rewritten to not use database library.
45943 * nss/Makefile: Update to build new makedb program.
45945 2011-06-14 Andreas Jaeger <aj@suse.de>
45947 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45948 memset declaration.
45950 2011-06-10 Andreas Schwab <schwab@redhat.com>
45952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45955 2011-06-10 Roland McGrath <roland@hack.frob.com>
45957 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45958 * elf/Makefile ($(objpfx)ld.so): Likewise.
45960 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45961 Don't list ld.so twice in dependencies.
45963 * posix/bug-regex31.c: Include <stdlib.h>.
45965 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45967 * nis/nss_compat/compat-spwd.c
45968 (getspent_next_nss_netgr): Remove unused variable.
45969 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45971 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45972 nonmembers" output to use the right array.
45974 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45976 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45978 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45979 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45980 * catgets/gencat.c (read_input_file): Likewise.
45981 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45983 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45984 variable definition inside #if's controlling its use.
45986 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45988 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45990 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45992 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45995 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45997 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45998 * configure: Regenerated.
46000 * Makerules: Revert last change.
46001 * elf/Makefile: Likewise.
46003 2011-06-09 Roland McGrath <roland@hack.frob.com>
46005 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46006 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46007 (reloc-link): Likewise.
46009 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46011 * elf/Makefile: Add rules to build pldd.
46012 * elf/pldd.c: New file.
46013 * elf/pldd-xx.c: New file.
46015 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46017 * version.h: Update for 2.15 development version.
46019 2011-06-07 David S. Miller <davem@davemloft.net>
46021 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46023 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46024 elf_machine_lazy_rel): Likewise.
46025 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46026 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46027 elf_machine_lazy_rel): Likewise.
46028 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46029 dl_hwcap via passed in argument.
46030 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46033 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46035 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46037 2011-06-06 Roland McGrath <roland@hack.frob.com>
46040 * manual/fdl-1.1.texi: New file, verbatim from:
46041 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46042 * manual/lgpl-2.1.texi: New file, verbatim from:
46043 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46044 * manual/Makefile (licenses): New variable, list those new file names.
46046 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46048 * manual/fdl.texi: File removed.
46049 * manual/lesser.texi: File removed.
46050 * manual/libc.texinfo (Copying, Documentation License):
46051 Use new @include file names, put @appendix directive before @include.
46053 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46056 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46057 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46058 (mq_open): Add __NTH.
46060 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46063 Assume Intel Core i3/i5/i7 processor if AVX is available.
46065 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46070 2011-05-31 Andreas Schwab <schwab@redhat.com>
46072 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46073 memory. Use alloca_account. Fix memory leak when retrying.
46075 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46077 * version.h (RELEASE): Bump for 2.14 release.
46078 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46080 * config.make.in (RANLIB): Remove entry.
46082 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46084 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46085 (libc.pot): Work around missing support for .ksh extension in xgettext.
46088 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46089 if both request failed.
46090 (send_dg): In case of server errors clear resplen or *resplen2.
46093 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46094 when there are multiple maps.
46095 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46096 (_dl_fini): Remove test here.
46098 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46100 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46103 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46104 bit from old_res_options.
46105 (gaih_inet): Likewise.
46108 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46111 * resolv/res_init.c (res_setoptions): Make the code more compact.
46114 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46118 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46120 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46123 * malloc/malloc.h: Declare malloc hook variables as volatile.
46125 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46129 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46130 raise in the comment.
46131 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46132 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46133 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46135 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46138 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46139 grow the buffers more if it already has to be sufficient.
46140 (build_wcs_upper_buffer): Likewise.
46141 * posix/regexec.c (check_matching): Likewise.
46142 (clean_state_log_if_needed): Likewise.
46143 (extend_buffers): Don't enlarge buffers beyond size of the input
46145 Patches mostly by Emil Wojak <emil@wojak.eu>.
46146 * posix/bug-regex32.c: New file.
46147 * posix/Makefile (tests): Add bug-regex32.
46149 * locale/findlocale.c (_nl_find_locale): Return right away if
46150 _nl_explode_name failed.
46151 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46153 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46155 * debug/xtrace.sh: Unify messages.
46156 * malloc/memusage.sh: Likewise.
46159 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46160 time symbol from vDSO. Substitute with vsyscall if not available.
46161 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46164 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46165 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46166 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46167 Add sendmmsg and internal_sendmmsg.
46168 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46169 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46172 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46173 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46174 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46176 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46179 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46180 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46182 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46186 * iconvdata/Makefile (tests): Add bug-iconv9.
46187 * iconvdata/bug-iconv9.c: New file.
46189 2011-05-27 Andreas Schwab <schwab@redhat.com>
46192 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46194 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46196 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46197 (struct user_regs_struct): Change intcs field back to cs.
46199 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46201 * po/ja.po: Update from translation team.
46203 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46206 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46207 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46209 2011-05-20 Andreas Schwab <schwab@redhat.com>
46211 * stdlib/longlong.h: Update from GCC.
46213 2011-05-23 Andreas Schwab <schwab@redhat.com>
46215 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46217 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46218 Add parameter name.
46219 (__sysconf): Pass it down.
46221 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46224 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46226 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46227 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46228 add in in __libc_use_alloca calls. Adjust callers.
46229 (glob): Use malloc in some situations.
46231 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46232 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46235 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46237 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46238 and CLOCK_BOOTTIME_ALARM.
46241 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46244 * string/_strerror.c (__strerror_r): Print negative errors as signed
46248 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46249 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46250 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46252 * configure.in: Fix typo in redirection and correct removal of test
46253 files in two cases.
46256 * locale/setlocale.c (new_composite_name): Fix test to check for
46257 identical name of all categories.
46260 * libio/filedoalloc.c (local_isatty): New function.
46261 (_IO_file_doallocate): Use local_isatty.
46262 * stdio-common/perror.c (perror): In case a new stream is used
46263 forward the stream error.
46264 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46267 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46272 * include/alloca.h (extend_alloca_account): Define.
46275 * posix/regex.h: Fix comments with documentation of user-accessible
46276 fields after compilation and describe correct free'ing of pattern
46277 after re_compile_pattern.
46278 Patch by Reuben Thomas <rrt@sc3d.org>.
46280 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46282 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46283 and -mno-altivec to prevent the compiler from using Altivec and/or
46284 VSX instructions when the corresponding registers are not available.
46286 2011-05-19 Andreas Schwab <schwab@redhat.com>
46288 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46290 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46292 * libio/freopen.c (freopen): Use __dup2, not dup2.
46293 * libio/freopen64.c (freopen64): Likewise.
46295 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46298 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46299 * math/Makefile (tests): Add test-powl.
46300 (CFLAGS-test-powl.c): Define.
46301 * math/test-powl.c: New file.
46303 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46305 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46307 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46310 * iconvdata/gb18030.c: Update to GB18020-2005.
46312 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46314 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46315 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46316 Patch by Aharon Robbins <arnold@skeeve.com>.
46319 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46323 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46324 through underflows.
46327 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46328 point to strings before performing equality test for error_one_per_line
46332 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46336 (struct user_fpregs_struct): Avoid __uint*_t types.
46339 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46340 symbol info. Use it instead of calling _dl_addr locally.
46341 (lock_and_info): New function.
46342 (tr_freehook): Call lock_and_info and pass symbol info as additional
46343 parameter to tr_where.
46344 (tr_mallochook): Likewise.
46345 (tr_reallochook): Likewise.
46346 (tr_memalignhook): Likewise.
46348 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46349 used and couldn't be at all thread-safe.
46351 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46353 * libio/freopen.c (freopen): Don't close old file descriptor
46354 before the new one is opened. Instead dup the new file descriptor
46355 to the old one after the new stream is created.
46356 * libio/freopen64.c (freopen64): Likewise.
46357 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46358 * libio/fileops.c (_IO_new_file_close_it): Handle new
46359 _IO_FLAGS2_NOCLOSE flag.
46360 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46361 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46362 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46363 _IO_FLAGS2_NOCLOSE flag.
46364 * include/unistd.h: Add hidden_proto for dup3.
46365 Define __have_dup3.
46366 * io/dup3.c: Define hidden symbol.
46367 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46370 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46371 when an incomplete long option is used.
46372 * posix/tst-getopt_long1.c: New file.
46373 * posix/Makefile (tests): Add tst-getopt_long1.
46376 * scripts/config.guess: Update from autoconf-2.68.
46377 * scripts/config.sub: Likewise.
46380 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46382 (has_cpuclock): ...this. New function.
46383 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46384 macro here based on has_cpuclock code.
46387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46388 First byte (not low byte) is now always NUL.
46389 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46391 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46392 Use non-cancelable interfaces.
46395 * locale/iso-639.def: Add entry for Sorani.
46398 * include/stdlib.h: Move include protection to the right place.
46399 Define abort_msg_s. Declare __abort_msg with it.
46400 * stdlib/abort.c (__abort_msg): Adjust type.
46401 * assert/assert.c (__assert_fail_base): New function. Majority
46402 of code from __assert_fail. Allocate memory for __abort_msg with
46404 (__assert_fail): Now call __assert_fail_base.
46405 * assert/assert-perr.c: Remove bulk of implementation. Use
46406 __assert_fail_base.
46407 * include/assert.hL Declare __assert_fail_base.
46408 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46410 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46412 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46416 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46417 until all modules are registered in the DTV.
46418 * elf/Makefile: Add rules to build and run tst-tls19.
46419 * elf/tst-tls19.c: New file.
46420 * elf/tst-tls19mod1.c: New file.
46421 * elf/tst-tls19mod2.c: New file.
46422 * elf/tst-tls19mod3.c: New file.
46423 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46426 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46430 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46431 two-byte sequence errors.
46432 * iconvdata/Makefile (tests): Add bug-iconv8.
46433 * iconvdata/bug-iconv8.c: New file.
46436 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46439 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46442 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46443 (dummy_getcfa): New function.
46444 (init): Get _Unwind_GetCFA address, use dummy if not found.
46445 (backtrace_helper): In recursion check, also check whether CFA changes.
46446 (__backtrace): Completely initialize arg.
46448 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46449 storing incomplete byte sequence in state object. Avoid testing for
46450 guaranteed too small input if we know there is enough data available.
46452 2011-05-11 Andreas Schwab <schwab@redhat.com>
46454 * Makeconfig (+link-pie): Indent.
46455 * Rules (binaries-pie): Define if $(have-fpie) and
46457 (binaries-shared): Also filter out $(binaries-pie).
46458 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46459 * nscd/Makefile (others-pie): Add nscd.
46460 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46461 ($(objpfx)nscd): Remove command override.
46462 * login/Makefile (others-pie): Add pt_chown.
46463 ($(objpfx)pt_chown): Remove command override.
46464 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46465 remove command overrides.
46467 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46469 * libio/tst_putwc.c: Fix error messages.
46472 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46473 currently writing and seek to current position when not.
46474 * libio/Makefile (tests): Add bug-fclose1.
46475 * libio/bug-fclose1.c: New file.
46477 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46480 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46481 don't set DF_1_NODELETE here.
46482 (do_lookup_x): When entering new entry test for copy relocation
46483 and if necessary set DF_1_NODELETE flag.
46484 * elf/tst-unique4.cc: New file.
46485 * elf/tst-unique4.h: New file.
46486 * elf/tst-unique4lib.cc: New file.
46487 * elf/Makefile: Add rules to build and run tst-unique4.
46488 Patch by Piotr Bury <pbury@goahead.com>.
46490 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46493 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46496 * misc/mntent_r.c (addmntent): Flush the stream after the output
46499 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46500 (is_trusted_path_normalize): Skip initial colon. Append slash
46501 to empty buffer. Duplicate is_trusted_path code but allow
46502 constructed patch to be prefix.
46503 (is_dst): Allow $ORIGIN followed by /.
46504 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46505 Correct testing of result of is_trusted_path_normalize
46506 (decompose_rpath): Fix warning.
46508 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46511 * grp/initgroups.c (internal_getgrouplist): When we found the service
46512 list through the initgroups entry in nsswitch.conf do not always
46513 continue on a successful lookup. Don't always use the
46514 __nss_group_database value if it is set.
46515 * nss/nsswitch.conf (initgroups): Change action for successful db
46516 lookup to continue for compatibility.
46518 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46521 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46523 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46525 * iconvdata/tst-tables.sh: Likewise.
46526 * iconvdata/cp770.c: New file.
46527 * iconvdata/cp771.c: New file.
46528 * iconvdata/cp772.c: New file.
46529 * iconvdata/cp773.c: New file.
46530 * iconvdata/cp774.c: New file.
46531 * iconvdata/testdata/CP770: New file.
46532 * iconvdata/testdata/CP770..UTF8: New file.
46533 * iconvdata/testdata/CP771: New file.
46534 * iconvdata/testdata/CP771..UTF8: New file.
46535 * iconvdata/testdata/CP772: New file.
46536 * iconvdata/testdata/CP772..UTF8: New file.
46537 * iconvdata/testdata/CP773: New file.
46538 * iconvdata/testdata/CP773..UTF8: New file.
46539 * iconvdata/testdata/CP774: New file.
46540 * iconvdata/testdata/CP774..UTF8: New file.
46542 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46544 * iconvdata/gen-8bit-gap.sh: Likewise.
46545 * iconvdata/gen-8bit.sh: Likewise.
46547 * locale/iso-639.def: Add ary entry.
46550 * locale/C-translit.h.in: Add U20A1 transliteration.
46553 * locale/iso-639.def: Add wae entry.
46554 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46557 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46561 * locale/C-translit.h.in: Add entry for U20B9.
46562 Patch by pravin.d.s@gmail.com.
46564 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46567 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46568 ENAMETOOLONG use generic getcwd.
46569 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46570 in rtld. Use *stat64.
46571 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46572 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46573 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46574 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46575 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46576 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46577 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46578 __fstatat64 macros.
46579 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46580 * dirent/rewinddir.c: Add libc_hidden_def.
46581 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46582 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46584 * include/dirent.h (__alloc_dir): Add flags parameter.
46585 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46586 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46588 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46589 from fdopendir if O_CLOEXEC is already set.
46591 2011-03-15 Alan Modra <amodra@gmail.com>
46593 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46594 l_tls_firstbyte_offset non-zero. Save padding offset in
46595 l_tls_firstbyte_offset for later use.
46596 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46597 freeing static tls block.
46599 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46601 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46602 where #ifdef was intended. The intent is to prevent ARG_MAX from
46603 being defined by the kernel headers.
46605 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46608 * resolv/resolv.h: Define RES_NOTLDQUERY.
46609 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46610 no-tld-query and set RES_NOTLDQUERY.
46611 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46612 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46613 modern BIND to search name as TLD unless forbidden.
46615 2011-05-07 Petr Baudis <pasky@suse.cz>
46616 Ulrich Drepper <drepper@gmail.com>
46619 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46620 (is_trusted_path): ...to here.
46621 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46622 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46623 using is_trusted_path_normalize() in setuid scripts.
46625 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46627 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46628 __BEGIN/__END_DECLS.
46630 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46632 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46633 NSS_STATUS_NOTFOUND if no record was found.
46635 2011-05-05 Andreas Schwab <schwab@redhat.com>
46637 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46638 (headers-not-in-tirpc): Remove rpc/netdb.h
46639 * resolv/netdb.h: Revert last change.
46641 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46643 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46644 circular dependency between libgcc.a and libc.a.
46646 2011-05-05 Andreas Schwab <schwab@redhat.com>
46648 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46649 * nis/Makefile: Don't install rpcsvc/*.
46650 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46651 instead of <rpc/types.h>.
46652 (MAXHOSTNAMELEN): Define.
46654 2011-05-03 Andreas Schwab <schwab@redhat.com>
46656 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46658 2011-04-28 Maciej Babinski <mbabinski@google.com>
46661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46662 gethostbyname4_r when IPv6 results are possible.
46664 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46667 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46668 _PC_PIPE_BUF handling.
46670 2011-04-30 Bruno Haible <bruno@clisp.org>
46673 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46674 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46676 * inet/getnameinfo.c (getnameinfo): Likewise.
46678 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46680 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46681 to groups setting in database lookup.
46682 * nss/nsswitch.conf: Add initgroups entry.
46684 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46687 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46689 Patch by Eric Blake <eblake@redhat.com>.
46691 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46693 * sunrpc/Makefile (need-export-routines): Add svc_run.
46694 (routines): Remove svc_run.
46695 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46696 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46697 * sunrpc/svc_run.c (svc_run): Likewise.
46698 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46700 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46703 problem in reallocation in last patch.
46705 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46707 * sunrpc/Makefile: Move inclusion of Rules.
46709 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46711 * nss/nss_files/files-initgroups.c: New file.
46712 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46713 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46714 _nss_files_initgroups_dyn.
46716 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46718 * elf/elf.h (R_ARM_IRELATIVE): Define.
46720 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46722 * po/ru.po: Update from translation team.
46724 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46726 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46729 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46732 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46733 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46735 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46736 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46738 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46740 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46742 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46743 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46744 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46746 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46749 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46751 * stdlib/bug-getcontext.c: New file.
46752 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46754 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46756 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46757 instructions into .machine "z9-109".
46758 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46759 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46761 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46763 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46764 between environment variables and auxiliary vector.
46766 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46768 * Makefile: Add rules to build linkobj/libc.so.
46769 * include/libc-symbols.h: Define libc_hidden_nolink.
46770 * include/rpc/auth.h: Mark functions which are to be hidden.
46771 * include/rpc/auth_des.h: Likewise.
46772 * include/rpc/auth_unix.h: Likewise.
46773 * include/rpc/clnt.h: Likewise.
46774 * include/rpc/des_crypt.h: Likewise.
46775 * include/rpc/key_prot.h: Likewise.
46776 * include/rpc/pmap_clnt.h: Likewise.
46777 * include/rpc/pmap_prot.h: Likewise.
46778 * include/rpc/pmap_rmt.h: Likewise.
46779 * include/rpc/rpc_msg.h: Likewise.
46780 * include/rpc/svc.h: Likewise.
46781 * include/rpc/svc_auth.h: Likewise.
46782 * include/rpc/xdr.h: Likewise.
46783 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46784 * nss/Makefile: Likewise.
46785 * sunrpc/Makefile: Don't install headers. Build library with normal
46786 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46787 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46788 for the compat linking library. Remove use of INTDEF/INTUSE.
46789 * sunrpc/auth_none.c: Likewise.
46790 * sunrpc/auth_unix.c: Likewise.
46791 * sunrpc/authdes_prot.c: Likewise.
46792 * sunrpc/authuxprot.c: Likewise.
46793 * sunrpc/clnt_gen.c: Likewise.
46794 * sunrpc/clnt_perr.c: Likewise.
46795 * sunrpc/clnt_raw.c: Likewise.
46796 * sunrpc/clnt_simp.c: Likewise.
46797 * sunrpc/clnt_tcp.c: Likewise.
46798 * sunrpc/clnt_udp.c: Likewise.
46799 * sunrpc/clnt_unix.c: Likewise.
46800 * sunrpc/des_crypt.c: Likewise.
46801 * sunrpc/des_soft.c: Likewise.
46802 * sunrpc/get_myaddr.c: Likewise.
46803 * sunrpc/key_call.c: Likewise.
46804 * sunrpc/key_prot.c: Likewise.
46805 * sunrpc/netname.c: Likewise.
46806 * sunrpc/pm_getmaps.c: Likewise.
46807 * sunrpc/pm_getport.c: Likewise.
46808 * sunrpc/pmap_clnt.c: Likewise.
46809 * sunrpc/pmap_prot.c: Likewise.
46810 * sunrpc/pmap_prot2.c: Likewise.
46811 * sunrpc/pmap_rmt.c: Likewise.
46812 * sunrpc/publickey.c: Likewise.
46813 * sunrpc/rpc_cmsg.c: Likewise.
46814 * sunrpc/rpc_common.c: Likewise.
46815 * sunrpc/rpc_dtable.c: Likewise.
46816 * sunrpc/rpc_prot.c: Likewise.
46817 * sunrpc/rpc_thread.c: Likewise.
46818 * sunrpc/rtime.c: Likewise.
46819 * sunrpc/svc.c: Likewise.
46820 * sunrpc/svc_auth.c: Likewise.
46821 * sunrpc/svc_authux.c: Likewise.
46822 * sunrpc/svc_raw.c: Likewise.
46823 * sunrpc/svc_run.c: Likewise.
46824 * sunrpc/svc_simple.c: Likewise.
46825 * sunrpc/svc_tcp.c: Likewise.
46826 * sunrpc/svc_udp.c: Likewise.
46827 * sunrpc/svc_unix.c: Likewise.
46828 * sunrpc/svcauth_des.c: Likewise.
46829 * sunrpc/xcrypt.c: Likewise.
46830 * sunrpc/xdr.c: Likewise.
46831 * sunrpc/xdr_array.c: Likewise.
46832 * sunrpc/xdr_float.c: Likewise.
46833 * sunrpc/xdr_intXX_t.c: Likewise.
46834 * sunrpc/xdr_mem.c: Likewise.
46835 * sunrpc/xdr_rec.c: Likewise.
46836 * sunrpc/xdr_ref.c: Likewise.
46837 * sunrpc/xdr_sizeof.c: Likewise.
46838 * sunrpc/xdr_stdio.c: Likewise.
46840 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46843 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46844 * sysdeps/ia64/dl-tls.h: Likewise.
46845 * sysdeps/powerpc/dl-tls.h: Likewise.
46846 * sysdeps/s390/dl-tls.h: Likewise.
46847 * sysdeps/sh/dl-tls.h: Likewise.
46848 * sysdeps/sparc/dl-tls.h: Likewise.
46849 * sysdeps/x86_64/dl-tls.h: Likewise.
46850 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46852 2011-03-14 Andreas Schwab <schwab@redhat.com>
46854 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46855 rpath element also skip the following colon.
46856 (expand_dynamic_string_token): Add is_path parameter and pass
46857 down to DL_DST_REQUIRED and _dl_dst_substitute.
46858 (decompose_rpath): Call expand_dynamic_string_token with
46859 non-zero is_path. Ignore empty rpaths.
46860 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46863 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46868 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46871 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46872 Patch by Filipe David Manana <fdmanana@apache.org>.
46874 2011-04-07 Andreas Schwab <schwab@redhat.com>
46876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46877 Maintain aligned stack.
46878 (CHECK_RSP): Remove unused macro.
46880 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46882 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46883 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46885 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46887 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46889 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46891 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46894 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46895 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46896 * sysdeps/x86_64/memmove.c: New file.
46897 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46898 (memcpy): Renamed to ...
46899 (__new_memcpy): This.
46900 (memcpy): Provide GLIBC_2_14 memcpy.
46901 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46902 (memcpy): Provide GLIBC_2_2_5 memcpy.
46904 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46907 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46909 2011-03-30 Andreas Schwab <schwab@redhat.com>
46911 * misc/syncfs.c: New file.
46912 * misc/Makefile (routines): Add syncfs.
46913 * posix/unistd.h: Declare syncfs.
46914 * sysdeps/unix/syscalls.list: Add syncfs.
46916 2011-04-01 Andreas Schwab <schwab@redhat.com>
46918 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46920 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46923 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46925 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46928 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46930 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46931 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46932 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46934 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46936 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46938 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46939 sync_file_range.c with -fexceptions.
46940 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46941 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46942 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46943 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46944 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46945 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46946 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46947 sync_file_range as cancellation point
46948 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46949 now a wrapper around __call_sync_file_range with cancellation handling.
46950 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46951 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46952 function name to __call_sync_file_range.
46953 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46954 Add call_sync_file_range.
46956 2011-04-01 Andreas Schwab <schwab@redhat.com>
46958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46961 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46963 * iconv/iconv.h: Fix typo in comment.
46964 * io/fcntl.h: Likewise.
46965 * libio/stdio.h: Likewise.
46966 * posix/spawn.h: Likewise.
46967 * posix/unistd.h: Likewise.
46968 * stdlib/stdlib.h: Likewise.
46969 * time/time.h: Likewise.
46970 * wcsmbs/wchar.h: Likewise.
46972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46973 open_by_handle): Add.
46974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46975 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46976 Augment a few comments.
46977 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46978 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46979 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46982 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46985 * io/fcntl.h (AT_EMPTY_PATH): Define.
46987 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46989 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46990 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46991 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46993 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46994 * Versions.def: Add GLIBC_2.14.
46995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46998 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47000 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47002 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47004 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47007 * string/test-strncmp.c (do_page_test): New function.
47008 (check2): Likewise.
47009 (test_main): Call check2.
47010 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47012 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47015 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47016 Handle cache information in CPU leaf 4.
47017 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47019 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47022 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47023 character representation.
47024 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47026 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47028 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47029 END(__isnan) to END(__isnanf) to match function entry point/label
47030 EALIGN(__isnanf,...).
47032 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47034 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47036 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47039 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47040 copy from the symbol referenced in the relocation to initialize the
47042 Patch by Piotr Bury <pbury@goahead.com>.
47043 * elf/Makefile: Add rules to build and tst-unique3.
47044 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47045 * elf/tst-unique3.cc: New file.
47046 * elf/tst-unique3.h: New file.
47047 * elf/tst-unique3lib.cc: New file.
47048 * elf/tst-unique3lib2.cc: New file.
47050 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47052 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47054 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47055 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47058 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47060 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47061 to-be-loaded object along a path to loader is ld.so.
47063 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47064 Ulrich Drepper <drepper@gmail.com>
47066 * sysdeps/x86_64/memset.S: After aligning destination, code
47067 branches to different locations depending on the value of
47068 misalignment, when multiarch is enabled. Fix this.
47070 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47072 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47073 Set _x86_64_preferred_memory_instruction for AMD processsors.
47074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47075 Set bit_Prefer_SSE_for_memop for AMD processors.
47077 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47079 * libio/fmemopen.c (fmemopen): Optimize a bit.
47081 2011-03-03 Andreas Schwab <schwab@redhat.com>
47083 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47085 2011-03-03 Roland McGrath <roland@redhat.com>
47087 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47089 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47091 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47092 __bzero_ultra1 instead of __memset_ultra1.
47094 2011-02-23 Andreas Schwab <schwab@redhat.com>
47095 Ulrich Drepper <drepper@gmail.com>
47098 * include/link.h (struct link_map): Add l_orig_initfini.
47099 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47100 returning unsuccessfully.
47101 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47102 close of a file loaded at startup, restore the original l_initfini
47104 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47105 list, store the pointer.
47106 * elf/Makefile ($(objpfx)noload-mem): New rule.
47107 (noload-ENV): Define.
47108 (tests): Add $(objpfx)noload-mem.
47109 * elf/noload.c: Include <memcheck.h>.
47110 (main): Call mtrace. Close all opened handles.
47112 2011-02-17 Andreas Schwab <schwab@redhat.com>
47115 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47116 dependencies are missing.
47118 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47120 Fix __if_freereq crash: Unlike the generic version which uses free,
47122 * sysdeps/mach/hurd/ifreq.h: New file.
47124 2011-01-27 Petr Baudis <pasky@suse.cz>
47125 Ulrich Drepper <drepper@gmail.com>
47128 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47129 to extend_alloca().
47130 * stdio-common/bug23.c: New file.
47131 * stdio-common/Makefile (tests): Add bug23.
47133 2010-09-28 Andreas Schwab <schwab@redhat.com>
47134 Ulrich Drepper <drepper@gmail.com>
47137 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47138 before performing relro protection. At old place add assertion
47139 to make sure nothing changed.
47141 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47142 Glauber de Oliveira Costa <glommer@gmail.com>
47144 * elf/elf.h: Add new ARM TLS relocs.
47146 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47149 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47151 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47153 * sysdeps/wordsize-64/tst-writev.c: New file.
47155 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47157 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47158 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47159 insns in _dl_start to prevent a TOC reference before relocs are
47162 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47165 * Makeconfig: Remove RANLIB definition.
47166 * Makerules: Don't use RANLIB.
47167 * aclocal.m4: Remove ranlib test.
47168 * configure.in: No need to check for ranlib.
47169 * elf/rtld-Rules: Don't use RANLIB.
47171 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47173 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47175 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47176 inclusion protection macro.
47178 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47179 SIGRTMIN and SIGRTMAX and print information in that case only when
47180 SIGRTMIN is defined.
47182 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47184 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47185 arginfo fn returning -1.
47187 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47188 and thousands string is zero terminated.
47190 2011-02-03 Andreas Schwab <schwab@redhat.com>
47192 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47193 sysdeps/unix/sysv/linux/bits/socket.h.
47195 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47197 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47198 (__CPU_COUNT): Remove old macros.
47199 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47200 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47201 (__CPU_ALLOC, __CPU_FREE): Add macros.
47202 (__sched_cpualloc, __sched_cpufree): Add declarations.
47204 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47206 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47207 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47208 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47209 (readdhstai): Return value of addhstaiX call.
47210 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47211 (addgrbyX): Return value returned by cache_addgr.
47212 (readdgrbyname): Return value returned by addgrbyX.
47213 (readdgrbygid): Likewise.
47214 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47215 (addpwbyX): Return value returned by cache_addpw.
47216 (readdpwbyname): Return value returned by addhstbyX.
47217 (readdpwbyuid): Likewise.
47218 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47219 (addservbyX): Return value returned by cache_addserv.
47220 (readdservbyname): Return value returned by addservbyX:
47221 (readdservbyport): Likewise.
47222 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47223 (addhstbyX): Return value returned by cache_addhst.
47224 (readdhstbyname): Return value returned by addhstbyX.
47225 (readdhstbyaddr): Likewise.
47226 (readdhstbynamev6): Likewise.
47227 (readdhstbyaddrv6): Likewise.
47228 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47229 (readdinitgroups): Return value returned by addinitgroupsX.
47230 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47231 (prune_cache): Keep track of timeout value of re-added entries.
47232 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47233 * nscd/nscd.h: Adjust prototypes of readd* functions.
47235 2011-02-04 Roland McGrath <roland@redhat.com>
47237 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47238 (nis_stats): Likewise.
47239 * nis/nis_modify.c (nis_modify): Likewise.
47240 * nis/nis_remove.c (nis_remove): Likewise.
47241 * nis/nis_add.c (nis_add): Likewise.
47243 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47245 * posix/fnmatch_loop.c: Add some consts.
47247 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47249 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47252 * config.make.in (config-cflags-novzeroupper): Define.
47253 * configure.in: Substitute libc_cv_cc_novzeroupper.
47254 * elf/Makefile (AVX-CFLAGS): Define.
47255 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47256 (CFLAGS-tst-auditmod4a.c): Likewise.
47257 (CFLAGS-tst-auditmod4b.c): Likewise.
47258 (CFLAGS-tst-auditmod6b.c): Likewise.
47259 (CFLAGS-tst-auditmod6c.c): Likewise.
47260 (CFLAGS-tst-auditmod7b.c): Likewise.
47261 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47263 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47265 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47266 function to the callback.
47267 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47269 2011-02-02 Andreas Schwab <schwab@redhat.com>
47271 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47274 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47277 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47279 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47281 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47284 * elf/Makefile: Add rules to build and run new test.
47285 * elf/tst-initorder.c: New file.
47286 * elf/tst-initorder.exp: New file.
47287 * elf/tst-initordera1.c: New file.
47288 * elf/tst-initordera2.c: New file.
47289 * elf/tst-initordera3.c: New file.
47290 * elf/tst-initordera4.c: New file.
47291 * elf/tst-initorderb1.c: New file.
47292 * elf/tst-initorderb2.c: New file.
47293 * elf/tst-order-a1.c: New file.
47294 * elf/tst-order-a2.c: New file.
47295 * elf/tst-order-a3.c: New file.
47296 * elf/tst-order-a4.c: New file.
47297 * elf/tst-order-b1.c: New file.
47298 * elf/tst-order-b2.c: New file.
47299 * elf/tst-order-main.c: New file.
47300 New test case by George Gensure <werkt0@gmail.com>.
47302 2010-10-01 Andreas Schwab <schwab@redhat.com>
47304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47305 decoding ACE if AI_CANONIDN.
47307 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47309 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47311 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47313 * version.h (RELEASE): Bump for 2.13 release.
47314 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47316 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47318 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47320 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47321 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47322 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47323 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47324 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47325 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47327 * posix/getconf.c: Update copyright year.
47328 * catgets/gencat.c: Likewise.
47329 * csu/version.c: Likewise.
47330 * debug/catchsegv.sh: Likewise.
47331 * debug/xtrace.sh: Likewise.
47332 * elf/ldconfig.c: Likewise.
47333 * elf/ldd.bash.in: Likewise.
47334 * elf/sprof.c (print_version): Likewise.
47335 * iconv/iconv_prog.c: Likewise.
47336 * iconv/iconvconfig.c: Likewise.
47337 * locale/programs/locale.c: Likewise.
47338 * locale/programs/localedef.c: Likewise.
47339 * malloc/memusage.sh: Likewise.
47340 * malloc/mtrace.pl: Likewise.
47341 * nscd/nscd.c (print_version): Likewise.
47342 * nss/getent.c: Likewise.
47344 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47345 PF_CAIF, and PF_ALG.
47346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47348 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47350 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47351 (modules-names): Use them.
47352 (ifunc-test-modules, ifunc-pie-tests): Define.
47353 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47354 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47355 (test-extras): Likewise.
47356 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47357 $(compile-command.c).
47358 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47359 (all-built-dso): Define.
47360 (check-textrel.out, check-execstack.out): Depend on it.
47362 * configure.in: Don't override --enable-multi-arch.
47364 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47367 * nscd/hstcache.c (tryagain): Define.
47368 (cache_addhst): Return tryagain not notfound for temporary errors.
47369 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47372 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47375 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47376 to make the syscall.
47377 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47380 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47381 and fall back to matching as normal character if the string ends before
47382 the matching ']' is found. This is what POSIX requires.
47383 * posix/testfnm.c: Adjust test result.
47384 * posix/globtest.sh: Adjust test result. Add new test.
47385 * posix/tst-fnmatch.input: Likewise.
47386 * posix/tst-fnmatch2.c: Add new test.
47388 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47390 * elf/Makefile (check-execstack): Revert last change. Depend on
47392 (check-execstack.h): New target.
47393 (generated): Add check-execstack.h.
47394 * elf/check-execstack.c: Include "check-execstack.h".
47395 (main): Revert last change.
47396 (handle_file): Return zero if GNU_STACK is absent and
47397 DEFAULT_STACK_PERMS doesn't include PF_X.
47399 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47401 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47402 in child fails because the descriptor is already closed.
47403 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47404 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47405 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47408 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47412 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47413 temporary buffer used to handle multi lookups locally.
47414 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47416 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47418 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47421 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47423 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47424 alignment for SSE2.
47426 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47429 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47430 characters. When rounding increased number of integer digits recompute
47432 * stdio-common/tst-grouping.c: New file.
47433 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47435 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47437 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47438 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47440 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47442 * bits/select.h: Likewise.
47444 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47446 * po/ja.po: Update from translation team.
47448 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47451 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47452 implementation just like for lxstat, fxstatat, et al.
47454 2010-12-27 Jim Meyering <meyering@redhat.com>
47457 * posix/regexec.c (build_trtable): Return failure indication upon
47458 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47460 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47463 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47464 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47465 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47466 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47469 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47472 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47473 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47475 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47477 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47478 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47479 script has SORT_BY_INIT_PRIORITY.
47480 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47481 NO_CTORS_DTORS_SECTIONS is defined.
47482 * elf/soinit.c: Likewise.
47483 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47484 NO_CTORS_DTORS_SECTIONS is defined.
47485 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47486 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47487 * sysdeps/sh/init-first.c: Likewise.
47488 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47490 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47492 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47493 always use the slow path.
47495 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47497 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47498 similar rule which adds the sysdep directories to the header search in
47499 order to pick up the correct platform stackinfo.h.
47500 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47501 perform test if it is, otherwise return successfully without testing.
47502 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47503 DEFAULT_STACK_PERMS define in stackinfo.h.
47504 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47505 defined in stackinfo.h.
47506 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47507 DEFAULT_STACK_PERMS defined in stackinfo.h.
47508 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47509 * sysdeps/ia64/stackinfo.h: Likewise.
47510 * sysdeps/s390/stackinfo.h: Likewise.
47511 * sysdeps/sh/stackinfo.h: Likewise.
47512 * sysdeps/sparc/stackinfo.h: Likewise.
47513 * sysdeps/x86_64/stackinfo.h: Likewise.
47514 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47515 PF_X for powerpc64. Retain PF_X for powerpc32.
47517 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47519 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47521 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47522 GETDENTS_64BIT_ALIGNED.
47524 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47526 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47528 2010-12-10 Andreas Schwab <schwab@redhat.com>
47530 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47533 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47534 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47536 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47537 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47539 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47542 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47545 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47547 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47549 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47551 * po/it.po: Update from translation team.
47553 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47558 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47560 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47562 2010-11-24 Andreas Schwab <schwab@redhat.com>
47564 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47566 (gaih_getanswer_slice): Likewise.
47568 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47572 2010-05-31 Petr Baudis <pasky@suse.cz>
47575 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47576 silently even in the chroot mode.
47578 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47580 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47581 last patch a bit. Pretty printing
47583 2010-05-31 Petr Baudis <pasky@suse.cz>
47586 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47587 initialization of skip_initgroups_dyn.
47589 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47591 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47594 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47596 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47598 2010-11-11 Andreas Schwab <schwab@redhat.com>
47600 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47601 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47602 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47603 ($(objpfx)tst-fnmatch-mem): New rule.
47604 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47605 * posix/tst-fnmatch.c (main): Call mtrace.
47607 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47610 Support Intel processor model 6 and model 0x2c.
47612 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47614 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47617 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47620 * string/test-strncasecmp.c (check_result): New function.
47621 (do_one_test): Use it.
47622 (check1): New function.
47623 (test_main): Use it.
47624 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47625 Support strcasecmp and strncasecmp.
47627 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47630 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47633 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47635 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47639 * sysdeps/x86_64/multiarch/bzero.S: New file.
47640 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47641 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47642 * sysdeps/x86_64/multiarch/memset.S: New file.
47643 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47645 Set bit_Prefer_SSE_for_memop for Intel processors.
47646 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47648 (index_Prefer_SSE_for_memop): Define.
47649 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47651 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47653 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47654 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47656 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47659 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47660 (__x86_64_raw_data_cache_size_half): Likewise.
47661 (__x86_64_raw_shared_cache_size): Likewise.
47662 (__x86_64_raw_shared_cache_size_half): Likewise.
47664 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47665 (__x86_64_raw_data_cache_size_half): Likewise.
47666 (__x86_64_raw_shared_cache_size): Likewise.
47667 (__x86_64_raw_shared_cache_size_half): Likewise.
47668 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47669 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47670 and __x86_64_raw_shared_cache_size_half. Round
47671 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47672 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47673 to multiple of 256 bytes.
47675 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47678 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47679 of inacessible symlinks. Verify result of symlink before returning it.
47680 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47681 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47683 2010-10-28 Erich Ritz <erichritz@gmail.com>
47685 * math/math.h (isinf): Fix typo in comment.
47687 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47689 * po/da.po: Update from translation team.
47691 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47693 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47694 is added to the list.
47696 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47697 Ulrich Drepper <drepper@gmail.com>
47699 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47700 the global list here. Move code to...
47701 (_dl_add_to_namespace_list): ...here. New function.
47702 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47703 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47704 * elf/dl-load.c (lose): Don't remove the element from the list.
47705 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47706 (_dl_map_object): Likewise.
47708 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47711 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47712 into all bytes of SSE register.
47713 Patch by Richard Li <richardpku@gmail.com>.
47715 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47718 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47721 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47723 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47724 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47725 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47726 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47731 2010-10-22 Andreas Schwab <schwab@redhat.com>
47733 * include/dlfcn.h (__RTLD_SECURE): Define.
47734 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47735 mode & __RTLD_SECURE instead.
47736 (open_path): Rename preloaded parameter to secure.
47737 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47738 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47739 * elf/dl-deps.c (openaux): Likewise.
47740 * elf/rtld.c (struct map_args): Remove is_preloaded.
47741 (map_doit): Don't use it.
47742 (dl_main): Likewise.
47743 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47744 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47746 2010-09-09 Andreas Schwab <schwab@redhat.com>
47748 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47749 (sysd-rules-targets): Remove duplicates.
47750 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47751 rtld-%.$o dependency.
47753 2010-10-18 Andreas Schwab <schwab@redhat.com>
47755 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47756 _dl_map_object do it.
47758 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47760 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47761 fast fma builtins, define the macros in the C99 standard.
47762 (FP_FAST_FMAF): Likewise.
47763 (FP_FAST_FMAL): Likewise.
47764 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47766 * bits/mathdef.h: Update copyright year.
47767 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47769 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47771 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47772 builtins, define the macros in the C99 standard.
47773 (FP_FAST_FMAF): Likewise.
47774 (FP_FAST_FMAL): Likewise.
47775 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47777 (FP_FAST_FMAF): Likewise.
47779 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47782 * math/libm-test.inc (fma_test): Some new testcases.
47783 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47784 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47785 y and infinite z. Do multiplication by C already in long double.
47786 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47788 y and infinite z. Do bitwise or of inexact bit into u.d.
47789 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47790 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47791 * sysdeps/i386/fpu/s_fma.S: Removed.
47792 * sysdeps/i386/fpu/s_fmal.S: Removed.
47794 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47797 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47799 computation is not scheduled after fetestexcept. Fix value
47800 of minimum denormal long double.
47802 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47805 * math/libm-test.inc (fma_test): Add some more tests.
47806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47809 2010-10-15 Andreas Schwab <schwab@redhat.com>
47811 * scripts/data/localplt-s390-linux-gnu.data: New file.
47812 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47814 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47817 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47818 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47820 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47822 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47824 if one of x and y is very large and the other is subnormal.
47825 * sysdeps/s390/fpu/s_fmaf.c: New file.
47826 * sysdeps/s390/fpu/s_fma.c: New file.
47827 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47828 * sysdeps/powerpc/fpu/s_fma.S: New file.
47829 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47830 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47831 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47833 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47836 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47838 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47839 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47840 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47841 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47842 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47843 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47844 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47846 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47849 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47850 * posix/bug-regex31.input: Add test case.
47852 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47854 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47855 * posix/bug-regex31.input: New file.
47858 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47859 (parse_sub_exp): Fix last change, use postorder.
47861 * posix/bug-regex31.c: New file.
47862 * posix/Makefile: Add rules to build and run bug-regex31.
47864 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47867 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47870 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47871 to have entries in sys_siglist.
47874 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47877 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47880 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47881 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47882 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47883 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47884 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47885 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47886 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47887 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47888 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47889 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47890 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47891 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47892 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47893 * math/ftestexcept.c (fetestexcept): Likewise.
47894 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47895 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47896 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47897 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47898 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47899 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47900 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47902 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47905 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47908 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47910 * string/bug-strstr1.c: New file.
47911 * string/Makefile: Add rules to build and run bug-strstr1.
47913 2010-10-05 Eric Blake <eblake@redhat.com>
47916 * string/str-two-way.h (two_way_long_needle): Always clear memory
47917 when skipping input due to the shift table.
47919 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47922 * malloc/mcheck.c: Handle large requests.
47925 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47926 for strncmp and strncasecmp.
47927 * string/stratcliff.c: Add tests for strcmp and strncmp.
47928 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47930 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47932 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47935 2010-09-30 Andreas Jaeger <aj@suse.de>
47937 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47938 (CGROUP_SUPER_MAGIC): Define.
47939 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47940 Handle btrfs and cgroup file systems.
47941 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47944 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47946 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47947 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47949 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47952 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47953 trying to locate the ELF header.
47955 2010-09-27 Andreas Schwab <schwab@redhat.com>
47958 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47959 Mask out sign-bit copies when constructing f_fsid.
47961 2010-09-24 Petr Baudis <pasky@suse.cz>
47963 * debug/stack_chk_fail_local.c: Add missing licence exception.
47964 * debug/warning-nop.c: Likewise.
47966 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47968 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47969 implementing getdents64 using getdents syscall, set d_type if
47970 __ASSUME_GETDENTS32_D_TYPE.
47972 2010-09-16 Andreas Schwab <schwab@redhat.com>
47974 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47975 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47977 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47980 * posix/unistd.h: Undo change of feature selection for ftruncate from
47983 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47985 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47988 2010-09-20 Andreas Schwab <schwab@redhat.com>
47990 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47992 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47994 2010-09-14 Andreas Schwab <schwab@redhat.com>
47996 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47997 variables after CHECK_SP call.
47998 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48000 2010-09-13 Andreas Schwab <schwab@redhat.com>
48001 Ulrich Drepper <drepper@redhat.com>
48003 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48004 re-relocationg ld.so.
48005 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48006 _dl_init_paths call.
48007 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48010 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48012 * resolv/res_init.c (__res_vinit): Count the default server we added.
48014 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48015 Ulrich Drepper <drepper@redhat.com>
48018 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48019 (____longjmp_chk): Use %ebx for saving value across system call.
48022 2010-09-06 Andreas Schwab <schwab@redhat.com>
48024 * manual/Makefile: Don't mix pattern rules with normal rules.
48026 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48028 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48030 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48031 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48032 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48033 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48037 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48040 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48041 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48043 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48045 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48046 * sysdeps/x86_64/addmul_1.S: Likewise.
48047 * sysdeps/x86_64/lshift.S: Likewise.
48048 * sysdeps/x86_64/mul_1.S: Likewise.
48049 * sysdeps/x86_64/rshift.S: Likewise.
48050 * sysdeps/x86_64/sub_n.S: Likewise.
48051 * sysdeps/x86_64/submul_1.S: Likewise.
48053 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48055 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48056 Define __sched_param instead of SCHED_* and sched_param when
48057 <bits/sched.h> is included with __need_schedparam defined.
48058 * bits/sched.h [__need_schedparam]
48059 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48060 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48061 (__defined_schedparam): Define to 1.
48062 (__sched_param): New structure, identical to sched_param.
48063 (__need_schedparam): Undefine.
48065 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48067 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48068 (epoll_create1): Declare.
48070 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48072 2010-08-31 Andreas Schwab <schwab@redhat.com>
48075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48076 shifting retval into place.
48078 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48080 * nis/rpcsvc/nis.h: Update copyright notice.
48081 * nis/rpcsvc/nis.x: Likewise.
48082 * nis/rpcsvc/nis_callback.h: Likewise.
48083 * nis/rpcsvc/nis_callback.x: Likewise.
48084 * nis/rpcsvc/nis_object.x: Likewise.
48085 * nis/rpcsvc/nis_tags.h: Likewise.
48086 * nis/rpcsvc/yp.h: Likewise.
48087 * nis/rpcsvc/yp.x: Likewise.
48088 * nis/rpcsvc/ypupd.h: Likewise.
48089 * nis/yp_xdr.c: Likewise.
48090 * nis/ypupdate_xdr.c: Likewise.
48092 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48093 mainly the body of pmap_getport. Add parameters to specify timeouts.
48094 (pmap_getport): Use __libc_rpc_getport.
48095 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48096 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48097 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48099 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48104 2010-08-27 Roland McGrath <roland@redhat.com>
48106 * sysdeps/i386/i686/multiarch/Makefile
48107 (CFLAGS-varshift.c): New variable.
48109 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48111 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48112 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48114 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48116 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48118 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48120 * sysdeps/x86_64/strlen.S: Unroll the loop.
48121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48122 strlen-sse2 strlen-sse2-bsf.
48123 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48124 __strlen_no_bsf if bit_Slow_BSF is set.
48125 (__strlen_sse42): Removed.
48126 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48127 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48129 2010-08-25 Roland McGrath <roland@redhat.com>
48131 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48132 * sysdeps/x86_64/multiarch/varshift.c: New file.
48133 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48134 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48135 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48136 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48138 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48141 strlen-sse2 strlen-sse2-bsf.
48142 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48143 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48144 (__strlen_sse2): Removed.
48145 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48146 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48148 bit_Slow_BSF for Atom.
48149 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48150 (index_Slow_BSF): Define.
48151 (HAS_SLOW_BSF): Define.
48153 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48156 * resolv/res_init.c (__res_vinit): When no server address at all
48157 is given default to loopback.
48159 2010-08-24 Roland McGrath <roland@redhat.com>
48161 * configure.in: Remove config-name.h generation.
48162 * configure: Regenerated.
48163 * config-name.in: File removed.
48164 * scripts/config-uname.sh: New file.
48165 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48166 ($(objdir)config-name.h): New target.
48168 * sunrpc/rpc_parse.h: Avoid nested comment.
48170 2010-08-24 Richard Henderson <rth@redhat.com>
48171 Ulrich Drepper <drepper@redhat.com>
48172 H.J. Lu <hongjiu.lu@intel.com>
48174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48176 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48177 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48178 _mm_alignr_epi8 with _mm_loadu_si128.
48179 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48180 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48181 (__m128i_shift_right): Removed.
48182 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48183 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48184 * sysdeps/x86_64/multiarch/varshift.h: New file.
48185 * sysdeps/x86_64/multiarch/varshift.S: New file.
48187 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48189 * configure.in: Move assembler checks to before sysdep dir checking.
48191 2010-08-20 Petr Baudis <pasky@suse.cz>
48193 * LICENSES: Sync the sunrpc license.
48195 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48197 * sunrpc/auth_des.c: Update copyright notice once again.
48198 * sunrpc/auth_none.c: Likewise.
48199 * sunrpc/auth_unix.c: Likewise.
48200 * sunrpc/authdes_prot.c: Likewise.
48201 * sunrpc/authuxprot.c: Likewise.
48202 * sunrpc/bindrsvprt.c: Likewise.
48203 * sunrpc/clnt_gen.c: Likewise.
48204 * sunrpc/clnt_perr.c: Likewise.
48205 * sunrpc/clnt_raw.c: Likewise.
48206 * sunrpc/clnt_simp.c: Likewise.
48207 * sunrpc/clnt_tcp.c: Likewise.
48208 * sunrpc/clnt_udp.c: Likewise.
48209 * sunrpc/clnt_unix.c: Likewise.
48210 * sunrpc/des_crypt.c: Likewise.
48211 * sunrpc/des_soft.c: Likewise.
48212 * sunrpc/get_myaddr.c: Likewise.
48213 * sunrpc/getrpcport.c: Likewise.
48214 * sunrpc/key_call.c: Likewise.
48215 * sunrpc/key_prot.c: Likewise.
48216 * sunrpc/openchild.c: Likewise.
48217 * sunrpc/pm_getmaps.c: Likewise.
48218 * sunrpc/pm_getport.c: Likewise.
48219 * sunrpc/pmap_clnt.c: Likewise.
48220 * sunrpc/pmap_prot.c: Likewise.
48221 * sunrpc/pmap_prot2.c: Likewise.
48222 * sunrpc/pmap_rmt.c: Likewise.
48223 * sunrpc/rpc/auth.h: Likewise.
48224 * sunrpc/rpc/auth_unix.h: Likewise.
48225 * sunrpc/rpc/clnt.h: Likewise.
48226 * sunrpc/rpc/des_crypt.h: Likewise.
48227 * sunrpc/rpc/key_prot.h: Likewise.
48228 * sunrpc/rpc/netdb.h: Likewise.
48229 * sunrpc/rpc/pmap_clnt.h: Likewise.
48230 * sunrpc/rpc/pmap_prot.h: Likewise.
48231 * sunrpc/rpc/pmap_rmt.h: Likewise.
48232 * sunrpc/rpc/rpc.h: Likewise.
48233 * sunrpc/rpc/rpc_des.h: Likewise.
48234 * sunrpc/rpc/rpc_msg.h: Likewise.
48235 * sunrpc/rpc/svc.h: Likewise.
48236 * sunrpc/rpc/svc_auth.h: Likewise.
48237 * sunrpc/rpc/types.h: Likewise.
48238 * sunrpc/rpc/xdr.h: Likewise.
48239 * sunrpc/rpc_clntout.c: Likewise.
48240 * sunrpc/rpc_cmsg.c: Likewise.
48241 * sunrpc/rpc_common.c: Likewise.
48242 * sunrpc/rpc_cout.c: Likewise.
48243 * sunrpc/rpc_dtable.c: Likewise.
48244 * sunrpc/rpc_hout.c: Likewise.
48245 * sunrpc/rpc_main.c: Likewise.
48246 * sunrpc/rpc_parse.c: Likewise.
48247 * sunrpc/rpc_parse.h: Likewise.
48248 * sunrpc/rpc_prot.c: Likewise.
48249 * sunrpc/rpc_sample.c: Likewise.
48250 * sunrpc/rpc_scan.c: Likewise.
48251 * sunrpc/rpc_scan.h: Likewise.
48252 * sunrpc/rpc_svcout.c: Likewise.
48253 * sunrpc/rpc_tblout.c: Likewise.
48254 * sunrpc/rpc_util.c: Likewise.
48255 * sunrpc/rpc_util.h: Likewise.
48256 * sunrpc/rpcinfo.c: Likewise.
48257 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48258 * sunrpc/rpcsvc/key_prot.x: Likewise.
48259 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48260 * sunrpc/rpcsvc/mount.x: Likewise.
48261 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48262 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48263 * sunrpc/rpcsvc/rex.x: Likewise.
48264 * sunrpc/rpcsvc/rstat.x: Likewise.
48265 * sunrpc/rpcsvc/rusers.x: Likewise.
48266 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48267 * sunrpc/rpcsvc/spray.x: Likewise.
48268 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48269 * sunrpc/rtime.c: Likewise.
48270 * sunrpc/svc.c: Likewise.
48271 * sunrpc/svc_auth.c: Likewise.
48272 * sunrpc/svc_authux.c: Likewise.
48273 * sunrpc/svc_raw.c: Likewise.
48274 * sunrpc/svc_run.c: Likewise.
48275 * sunrpc/svc_simple.c: Likewise.
48276 * sunrpc/svc_tcp.c: Likewise.
48277 * sunrpc/svc_udp.c: Likewise.
48278 * sunrpc/svc_unix.c: Likewise.
48279 * sunrpc/svcauth_des.c: Likewise.
48280 * sunrpc/xcrypt.c: Likewise.
48281 * sunrpc/xdr.c: Likewise.
48282 * sunrpc/xdr_array.c: Likewise.
48283 * sunrpc/xdr_float.c: Likewise.
48284 * sunrpc/xdr_mem.c: Likewise.
48285 * sunrpc/xdr_rec.c: Likewise.
48286 * sunrpc/xdr_ref.c: Likewise.
48287 * sunrpc/xdr_sizeof.c: Likewise.
48288 * sunrpc/xdr_stdio.c: Likewise.
48290 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48293 2010-08-19 Andreas Schwab <schwab@redhat.com>
48295 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48297 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48299 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48300 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48301 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48302 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48303 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48304 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48305 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48306 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48307 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48308 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48309 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48310 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48311 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48312 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48314 2010-07-26 Anton Blanchard <anton@samba.org>
48316 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48317 * malloc/arena.c (heap_trim): Likewise.
48319 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48321 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48324 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48326 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48328 * sysdeps/i386/elf/Makefile: New file.
48330 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48332 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48333 from fanotify_init.
48334 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48335 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48337 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48339 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48341 * sysdeps/multiarch/strcmp.S: Likewise.
48343 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48345 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48346 strncase_l-nonascii.
48347 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48348 Add strncase_l-ssse3.
48349 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48350 * sysdeps/x86_64/strcmp.S: Likewise.
48351 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48352 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48353 * sysdeps/x86_64/strncase.S: New file.
48354 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48355 * sysdeps/x86_64/strncase_l.S: New file.
48356 * string/Makefile (strop-tests): Add strncasecmp.
48357 * string/test-strncasecmp.c: New file.
48359 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48362 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48363 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48365 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48367 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48369 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48371 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48372 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48373 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48375 2010-05-01 Alan Modra <amodra@gmail.com>
48377 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48378 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48379 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48380 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48381 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48382 tidying. Don't tail-call __sigjmp_save for static lib.
48383 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48385 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48386 (CALL_MCOUNT): Add eh info, and nop after bl.
48387 (TAIL_CALL_SYSCALL_ERROR): New macro.
48388 (PSEUDO_RET): Use it.
48389 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48390 Correct save location of integer regs and cr.
48391 (_dl_profile_resolve): Correct cr save location. Delete nops
48392 after bl when SHARED. Reduce cfi size a little by better
48393 placement of cfi directives.
48394 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48395 make a stack frame. Instead use parm save area as a temp.
48396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48397 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48399 Don't make a stack frame for parent, use parm save area.
48400 Increase child stack frame to 112 bytes. Don't save unused reg,
48401 and adjust reg usage. Set up cfi on error recovery and
48402 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48404 (__makecontext): Add dummy nop after jump to exit.
48405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48406 Use correct parm save area and cr save, reduce stack frame.
48407 Correct cfi for possible PSEUDO_RET frame setup.
48408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48409 Branch to local label emitted by PSEUDO_RET rather than
48412 2010-08-12 Andreas Schwab <schwab@redhat.com>
48415 * locale/programs/locale.c (print_assignment): New function.
48416 (show_locale_vars): Use it.
48418 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48420 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48422 (struct statfs64): Likewise.
48423 (_STATFS_F_FLAGS): Define.
48424 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48425 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48426 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48427 (ST_VALID): Define locally.
48428 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48429 __statvfs_getflags, use the provided value.
48430 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48431 __ASSUME_STATFS_F_FLAGS.
48433 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48435 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48436 Add sys/fanotify.h.
48437 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48438 fanotify_mask for GLIBC_2.13.
48439 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48440 fanotify_init and fanotify_mark.
48441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48442 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48444 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48446 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48447 prlimit64 for GLIBC_2.13.
48448 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48453 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48454 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48455 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48456 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48458 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48461 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48462 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48464 * nss/Makefile: Add rules to build and run tst-nss-test1.
48465 * shlib-versions: Add entry for libnss_test1.
48466 * nss/nss_test1.c: New file.
48467 * nss/tst-nss-test1.c: New file.
48469 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48470 (__nss_configure_lookup): Set appropriate entry in
48471 __nss_configure_lookup to true.
48472 * nss/nsswitch.h: Define enum with indeces of databases in
48473 databases and __nss_database_custom arrays. Declare
48474 __nss_database_custom.
48475 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48476 to avoid using nscd when custom rules are installed.
48477 * nss/getXXbyYY_r.c: Likewise.
48478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48480 * nss/nss_files/files-parse.c: Whitespace fixes.
48482 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48485 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48486 * posix/fnmatch_loop.c: Likewise.
48488 2010-07-17 Andi Kleen <ak@linux.intel.com>
48490 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48491 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48492 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48493 * Versions.def [GLIBC_2.13]: Add.
48495 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48497 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48498 Also fail if tpwd after pwuid call is NULL.
48500 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48502 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48503 when converting to ms.
48505 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48507 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48508 EOPNOTSUPP errors with ENOTTY.
48509 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48510 EOPNOTSUPP errors with ENOTTY.
48512 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48514 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48515 Add strcasecmp_l-ssse3.
48516 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48518 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48519 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48520 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48522 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48524 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48526 * string/Makefile (strop-tests): Add strcasecmp.
48527 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48528 strcasecmp_l-nonascii.
48529 (gen-as-const-headers): Add locale-defines.sym.
48530 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48531 * sysdeps/x86_64/strcasecmp.S: New file.
48532 * sysdeps/x86_64/strcasecmp_l.S: New file.
48533 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48534 * sysdeps/x86_64/locale-defines.sym: New file.
48535 * string/test-strcasecmp.c: New file.
48537 * string/test-strcasestr.c: Test both ends of the range of characters.
48538 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48540 2010-07-29 Roland McGrath <roland@redhat.com>
48543 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48545 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48547 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48550 2010-07-27 Andreas Schwab <schwab@redhat.com>
48552 * manual/memory.texi (Malloc Tunable Parameters): Document
48555 2010-07-26 Roland McGrath <roland@redhat.com>
48558 * configure.in (-fgnu89-inline check): Set and substitute
48559 gnu89_inline, not libc_cv_gnu89_inline.
48560 * configure: Regenerated.
48561 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48563 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48565 * string/test-strnlen.c: New file.
48566 * string/Makefile (strop-tests): Add strnlen.
48567 * string/tester.c (test_strnlen): Add a few more test cases.
48568 * string/tst-strlen.c: Better error reporting.
48570 * sysdeps/x86_64/strnlen.S: New file.
48572 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48574 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48575 lower-latency instructions.
48577 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48579 * string/test-strcasestr.c: New file.
48580 * string/test-strstr.c: New file.
48581 * string/Makefile (strop-tests): Add strstr and strcasestr.
48582 * string/str-two-way.h: Don't undefine MAX.
48583 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48585 2010-07-21 Andreas Schwab <schwab@redhat.com>
48587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48588 strcasestr-nonascii.
48589 (CFLAGS-strcasestr-nonascii.c): Define.
48590 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48591 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48592 Remove unused attribute.
48594 2010-07-20 Roland McGrath <roland@redhat.com>
48596 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48597 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48598 ld.so.cache was broken. With it, there is no way to disable dsocaps
48599 like LD_HWCAP_MASK can disable hwcaps.
48601 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48603 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48605 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48607 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48608 call in strcasestr.
48609 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48610 __strcasestr_sse42_nonascii.
48611 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48612 strcasestr-nonascii.c.
48613 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48615 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48617 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48618 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48619 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48620 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48622 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48624 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48627 2010-07-06 Andreas Schwab <schwab@redhat.com>
48630 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48633 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48635 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48636 _PC_PIPE_BUF using F_GETPIPE_SZ.
48638 2010-07-05 Roland McGrath <roland@redhat.com>
48640 * manual/arith.texi (Rounding Functions): Fix rint description
48641 implicit in round description.
48643 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48645 * elf/Makefile: Fix linking for a few tests to make recent linker
48648 2010-06-30 Andreas Schwab <schwab@redhat.com>
48650 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48651 $(common-objpfx)libc_nonshared.a.
48653 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48655 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48656 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48657 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48658 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48659 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48660 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48661 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48662 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48677 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48678 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48679 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48680 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48681 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48682 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48683 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48684 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48685 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48686 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48687 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48688 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48704 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48706 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48707 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48708 * string/memmove.c (memmove): Renamed to ...
48709 (MEMMOVE): ...this. Default to memmove.
48710 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48711 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48714 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48715 mempcpy-ssse3-back memmove-ssse3-back.
48716 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48717 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48718 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48719 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48720 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48721 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48722 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48723 * sysdeps/x86_64/multiarch/memmove.c: New file.
48724 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48725 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48726 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48727 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48728 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48729 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48731 (index_Fast_Copy_Backward): Define.
48732 (HAS_ARCH_FEATURE): Define.
48733 (HAS_FAST_REP_STRING): Define.
48734 (HAS_FAST_COPY_BACKWARD): Define.
48736 2010-06-21 Andreas Schwab <schwab@redhat.com>
48738 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48739 Restore proper fallback handling.
48741 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48744 * posix/group_member.c (__group_member): Correct checking loop.
48746 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48747 OOM in getpwuid_r correctly. Return error number when the caller
48748 should return, otherwise -1.
48749 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48750 call returning > 0 value.
48751 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48753 2010-06-07 Andreas Schwab <schwab@redhat.com>
48755 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48756 libc_nonshared.a from targets in modules-names.
48758 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48760 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48763 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48765 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48766 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48767 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48768 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48770 2010-06-02 Andreas Schwab <schwab@redhat.com>
48772 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48774 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48776 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48783 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48785 2010-06-14 Roland McGrath <roland@redhat.com>
48787 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48789 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48791 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48792 __REDIRECT followed by __THROW.
48793 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48794 * posix/getopt.h (getopt): Likewise.
48796 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48798 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48799 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48800 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48802 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48803 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48805 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48807 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48809 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48813 Properly check family and model.
48815 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48817 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48819 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48821 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48823 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48825 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48828 2010-05-19 Andreas Schwab <schwab@redhat.com>
48830 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48833 2010-05-21 Andreas Schwab <schwab@redhat.com>
48835 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48836 and internal_recvmmsg.
48837 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48838 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48839 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48840 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48842 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48843 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48844 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48846 2010-05-20 Andreas Schwab <schwab@redhat.com>
48848 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48850 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48852 POWER7 optimizations.
48853 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48854 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48856 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48858 * version.h: Update for 2.13 development version.
48860 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48862 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48863 exceptions. Return 0.
48865 2010-05-07 Roland McGrath <roland@redhat.com>
48867 * elf/ldconfig.c (main): Add a const.
48869 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48871 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48872 (args_options): Add no-idn option.
48873 (ahosts_keys_int): Add idn_flags to ai_flags.
48874 (parse_option): Handle 'i' option to clear idn_flags.
48876 * malloc/malloc.c (_int_free): Possible race in the most recently
48877 added check. Only act on the data if no current modification
48880 See ChangeLog.17 for earlier changes.