1 2014-07-07 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/nptl/lowlevellock.h: File removed.
5 * NEWS: NPTL is no longer an add-on!
6 * nptl/internaltypes.h: Moved ...
7 * sysdeps/nptl/internaltypes.h: ... here.
8 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9 * sysdeps/nptl/fork.c: Likewise.
10 * sysdeps/nptl/gai_misc.h: Likewise.
11 * sysdeps/nptl/librt-cancellation.c: Likewise.
12 * sysdeps/nptl/jmp-unwind.c: Likewise.
13 * sysdeps/nptl/setxid.h: Likewise.
14 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
18 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
19 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
20 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23 * sysdeps/unix/sysv/linux/mips/Implies: New file.
24 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
25 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26 * sysdeps/unix/sysv/linux/sh/Implies: New file.
27 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28 * sysdeps/unix/sysv/linux/tile/Implies: New file.
29 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31 * nptl/Makeconfig: Moved ...
32 * sysdeps/nptl/Makeconfig: ... here.
33 * nptl/configure: File removed.
34 * nptl/ANNOUNCE: File removed.
35 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36 * sysdeps/unix/sysv/linux/configure: Regenerated.
38 * nptl/Makefile (routines): Add libc_pthread_init,
39 libc_multiple_threads, register-atfork and unregister-atfork.
40 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
42 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
43 pthread-pi-defines.sym, structsem.sym.
44 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
45 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46 [$(subdir) = nptl] (tests): Add tst-setgetname.
47 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
48 * sysdeps/unix/sysv/linux/sigaction.c: Just include
49 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
50 [!LIBC_SIGACTION]: Remove aliases.
51 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
52 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
53 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
54 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
55 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
56 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
57 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
60 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
61 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
62 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
63 __libc_allocate_rtsig_private.
64 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
65 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
66 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
67 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
68 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
69 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
70 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
71 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
72 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
73 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
74 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
75 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
76 * nptl/internaltypes.h: ... here.
77 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
78 * sysdeps/nptl/jmp-unwind.c: ... here.
79 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
80 * nptl/libc-lowlevellock.c: ... here.
81 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
82 * nptl/libc_multiple_threads.c: ... here.
83 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
84 * nptl/libc_pthread_init.c: ... here.
85 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
86 * nptl/lowlevelbarrier.sym: ... here.
87 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
88 * nptl/lowlevelcond.sym: ... here.
89 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
90 * nptl/lowlevellock.c: ... here.
91 * nptl/lowlevellock.h: Moved ...
92 * sysdeps/nptl/lowlevellock.h: ... here.
93 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
94 * nptl/lowlevelrobustlock.c: ... here.
95 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
96 * nptl/lowlevelrobustlock.sym: ... here.
97 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
98 * nptl/lowlevelrwlock.sym: ... here.
99 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
100 * nptl/pt-fork.c: ... here.
101 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
102 * nptl/pthread-pi-defines.sym: ... here.
103 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
104 * nptl/pthread_attr_getaffinity.c: ... here.
105 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
106 * nptl/pthread_attr_setaffinity.c: ... here.
107 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
108 * nptl/pthread_mutex_cond_lock.c: ... here.
109 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
111 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
112 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
113 * nptl/pthread_once.c: ... here, replacing old file.
114 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
115 * nptl/pthread_yield.c: ... here.
116 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
117 * nptl/register-atfork.c: ... here.
118 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
119 * nptl/sem_post.c: ... here.
120 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
121 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
122 * nptl/sem_timedwait.c: ... here.
123 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
124 * nptl/sem_trywait.c: ... here.
125 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
126 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
127 * nptl/sem_wait.c: ... here.
128 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
129 * nptl/structsem.sym: ... here.
130 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
131 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
132 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
133 * nptl/unregister-atfork.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
135 * nptl/unwindbuf.sym: ... here.
136 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
137 * sysdeps/nptl/fork.c: ... here.
138 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
139 * sysdeps/nptl/fork.h: ... here.
140 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
141 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
142 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
143 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
144 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
145 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
146 * sysdeps/unix/sysv/linux/getpid.c: ... here.
147 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
148 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
149 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
150 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
151 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
152 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
153 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
154 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
155 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
156 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
157 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
158 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
159 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
160 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
161 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
162 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
163 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
164 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
165 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
166 * sysdeps/unix/sysv/linux/raise.c: ... here.
167 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
168 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
169 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
170 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
171 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
172 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
173 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
174 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
175 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
176 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
177 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
178 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
179 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
180 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
181 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
183 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
185 * sysdeps/generic/memcopy.h: Add comment for
186 MEMCPY_OK_FOR_FWD_MEMMOVE.
188 2014-07-04 Will Newton <will.newton@linaro.org>
190 * string/memchr.c: Merge from gnulib.
191 [_LIBC]: Remove conditionals.
192 (__ptr_t): Remove define.
193 (LONG_MAX_32_BITS): Likewise.
194 (LONG_MAX): Likewise.
195 (MEMCHR): Use ANSI prototype and optimize algorithm.
197 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
199 2014-07-03 Roland McGrath <roland@hack.frob.com>
201 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
202 (lll_futex_timed_wait_bitset): Fix syscall argument count.
204 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
205 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
206 in a bare environment with no <stdlib.h> installed.
207 * sysdeps/nptl/configure: Regenerated.
209 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
211 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
212 AC_EGREP_CPP for kernel header checks, so they only succeed if
213 including <linux/version.h> actually works right.
214 * sysdeps/unix/sysv/linux/configure: Regenerated.
216 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
217 value so it's not diagnosed as unused.
219 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
220 thing) with "ifeq ($(subdir),rt)".
222 2014-07-03 Richard Henderson <rth@redhat.com>
224 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
225 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
226 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
228 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
229 (math_force_eval): New.
231 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
232 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
234 * sysdeps/alpha/fpu/s_round.c: Remove file.
235 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
237 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
238 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
239 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
240 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
241 (_dl_start, print_statistics): Likewise.
242 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
243 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
245 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
246 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
247 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
248 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
249 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
250 (HP_SMALL_TIMING_AVAIL): Define.
251 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
252 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
253 (HP_SMALL_TIMING_AVAIL): Define.
254 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
255 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
257 * sysdeps/aarch64/hp-timing.h: New file.
259 * sysdeps/generic/hp-timing.h: Remove dead comment.
260 * sysdeps/generic/hp-timing-common.h: New file.
261 * sysdeps/alpha/hp-timing.h: Include it.
262 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
263 * sysdeps/i386/i686/hp-timing.h: Likewise.
264 * sysdeps/ia64/hp-timing.h: Likewise.
265 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
266 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
267 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
268 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
269 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
270 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
273 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
274 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
275 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
276 * elf/rtld.c (_dl_start_final): Likewise.
277 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
278 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
279 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
280 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
281 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
282 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
283 (HP_TIMING_DIFF_INIT): Remove.
284 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
285 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
286 (HP_TIMING_DIFF_INIT): Remove.
287 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
288 * sysdeps/i386/i686/hp-timing.c: Remove file.
289 * sysdeps/x86_64/hp-timing.c: Remove file.
290 * sysdeps/ia64/hp-timing.c: Remove file.
291 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
292 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
293 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
294 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
296 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
297 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
298 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
299 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
300 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
301 (HP_TIMING_ACCUM): Remove.
302 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
303 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
304 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
306 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
307 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
308 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
309 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
310 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
311 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
312 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
313 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
315 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
317 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
319 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
321 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
323 Sync up with gettext.
324 * intl/loadmsgcat.c: Define O_BINARY if not defined.
325 [_MSC_VER]: Include malloc.h
326 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
327 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
328 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
329 TEMP_FAILURE_RETRY. Cast return of alloca.
330 [!_LIBC] Call gl_rwlock_init.
331 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
333 2014-07-02 Roland McGrath <roland@hack.frob.com>
335 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
336 before checking its value.
338 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
340 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
342 * debug/memcpy_chk.c: Don't include pagecopy.h.
343 * debug/mempcpy_chk.c: Likewise.
344 * string/memcpy.c: Likewise.
345 * string/memmove.c: Likewise.
346 * sysdeps/powerpc/memmove.c: Likewise.
347 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
348 definition of PAGE_COPY_FWD_MAYBE here...
349 * sysdeps/generic/pagecopy.h: ... from here.
350 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
352 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
353 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
355 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
359 (__libc_ifunc_impl_list): Likewise.
360 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
361 multiarch strcat for PPC64.
362 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
363 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
365 2014-07-02 Roland McGrath <roland@hack.frob.com>
367 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
369 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
371 * intl/loadmsgcat.c: Remove declaration of
372 get_sysdep_segment_value.
373 (get_sysdep_segment_value): Use ISO C style.
374 (_nl_load_domain): Use ISO C style. Get rid of redundant
375 semicolon. Fix typo and formatting in comment.
376 (_nl_unload_domain): Use ISO C style.
378 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
380 2014-07-02 Will Newton <will.newton@linaro.org>
382 * malloc/obstack.c: Merge from gnulib master.
383 [HAVE_CONFIG_H]: Remove conditional code.
384 [!_LIBC]: Include config.h.
385 [!ELIDE_CODE]: Don't include inttypes.h, include
386 stdint.h unconditionally.
387 (print_and_abort): Mark as _Noreturn.
388 (_obstack_allocated_p): Mark as __attribute_pure__.
389 (obstack_free): Rename to __obstack_free.
390 [!__attribute__]: Remove conditional code.
391 * malloc/obstack.h: Merge from gnulib master.
392 [__cplusplus]: Move conditional down.
393 [!__attribute_pure__]: Define __attribute_pure__ here
394 if it is not already defined.
395 (_obstack_memory_used): Mark as __attribute_pure__.
396 [!__obstack_free]: Define as obstack_free.
397 [__GNUC__]: Remove check for ancient NeXT gcc.
399 2014-07-02 Will Newton <will.newton@linaro.org>
400 Paul Eggert <eggert@cs.ucla.edu>
402 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
404 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
406 * resolv/gethnamaddr.c: Add comment warning that the file is
409 2014-07-01 Carlos O'Donell <carlos@redhat.com>
411 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
414 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
415 entry for aio_cancel and aio_cancel64.
416 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
417 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
418 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
419 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
420 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
421 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
422 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
423 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
424 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
425 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
426 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
427 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
428 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
430 2014-07-01 Roland McGrath <roland@hack.frob.com>
432 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
433 * nptl/pthread_mutex_lock.c: Likewise.
434 * nptl/pthread_mutex_timedlock.c: Likewise.
435 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
437 2014-07-01 Richard henderson <rth@redhat.com>
439 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
440 (__isnan, __isnanl): Remove.
441 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
443 * sysdeps/alpha/fpu/libm-test-ulps: Update.
445 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
447 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
449 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
451 * resolv/nss_dns/dns-host.c (getanswer_r)
452 [MULTI_PTRS_ARE_ALIASES]: Remove code.
454 2014-07-01 Joseph Myers <joseph@codesourcery.com>
456 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
457 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
459 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
460 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
462 2014-07-01 Roland McGrath <roland@hack.frob.com>
464 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
465 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
467 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
468 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
470 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
471 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
473 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
474 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
476 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
477 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
478 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
479 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
481 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
482 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
483 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
484 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
485 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
487 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
489 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
490 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
491 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
492 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
493 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
494 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
495 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
497 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
499 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
500 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
501 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
503 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
504 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
505 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
506 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
507 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
508 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
510 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
511 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
512 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
513 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
514 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
515 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
516 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
517 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
519 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
521 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
522 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
523 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
526 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
530 2014-06-30 Joseph Myers <joseph@codesourcery.com>
532 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
533 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
535 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
537 * sysdeps/arm/libm-test-ulps: Regenerated.
539 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
540 Roland McGrath <roland@hack.frob.com>
542 * test-skeleton.c (signal_handler): Kill the whole process group
543 before killing the child individually.
544 (main): Report any failure on `setpgid'.
546 2014-06-30 Roland McGrath <roland@hack.frob.com>
548 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
549 from _TLS_H to _ARM_NPTL_TLS_H.
550 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
551 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
553 2014-06-30 Joseph Myers <joseph@codesourcery.com>
556 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
557 (__expm1l): Return argument unchanged when small but not
560 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
562 (_FP_UNPACK_RAW_1_P): Likewise.
563 (_FP_PACK_RAW_1): Likewise.
564 (_FP_PACK_RAW_1_P): Likewise.
565 (_FP_MUL_MEAT_1_wide): Likewise.
566 (_FP_MUL_MEAT_DW_1_hard): Likewise.
567 (_FP_MUL_MEAT_1_hard): Likewise.
568 (_FP_DIV_MEAT_1_imm): Likewise.
569 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
570 (_FP_DIV_MEAT_1_udiv): Likewise.
571 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
572 (_FP_UNPACK_RAW_2): Likewise.
573 (_FP_UNPACK_RAW_2_P): Likewise.
574 (_FP_PACK_RAW_2): Likewise.
575 (_FP_PACK_RAW_2_P): Likewise.
576 (_FP_MUL_MEAT_DW_2_wide): Likewise.
577 (_FP_MUL_MEAT_2_wide): Likewise.
578 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
579 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
580 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
581 (_FP_MUL_MEAT_2_gmp): Likewise.
582 (_FP_DIV_MEAT_2_udiv): Likewise.
583 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
584 (_FP_FRAC_SRL_4): Likewise.
585 (_FP_FRAC_SRST_4): Likewise.
586 (_FP_FRAC_SRS_4): Likewise.
587 (_FP_UNPACK_RAW_4): Likewise.
588 (_FP_UNPACK_RAW_4_P): Likewise.
589 (_FP_PACK_RAW_4): Likewise.
590 (_FP_PACK_RAW_4_P): Likewise.
591 (_FP_MUL_MEAT_DW_4_wide): Likewise.
592 (_FP_MUL_MEAT_4_wide): Likewise.
593 (_FP_MUL_MEAT_4_gmp): Likewise.
594 (umul_ppppmnnn): Likewise.
595 (_FP_DIV_MEAT_4_udiv): Likewise.
596 (__FP_FRAC_ADD_4): Likewise.
597 (__FP_FRAC_SUB_3): Likewise.
598 (__FP_FRAC_SUB_4): Likewise.
599 (__FP_FRAC_DEC_3): Likewise.
600 (__FP_FRAC_DEC_4): Likewise.
601 (__FP_FRAC_ADDI_4): Likewise.
602 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
603 (_FP_FRAC_SRL_8): Likewise.
604 (_FP_FRAC_SRS_8): Likewise.
606 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
608 (FP_UNPACK_RAW_EP): Likewise.
609 (FP_PACK_RAW_E): Likewise.
610 (FP_PACK_RAW_EP): Likewise.
611 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
612 (_FP_ISSIGNAN): Likewise.
613 (_FP_ADD_INTERNAL): Likewise.
616 (_FP_SQRT): Likewise.
617 (_FP_TO_INT): Likewise.
618 (_FP_FROM_INT): Likewise.
619 (FP_EXTEND): Likewise.
620 (_FP_DIV_MEAT_N_loop): Likewise.
622 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
624 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
627 2014-06-29 Joseph Myers <joseph@codesourcery.com>
630 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
631 result with correct sign in case of exponents that produce
632 overflow except for X very close to 1.
634 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
636 mktime: merge #if/#ifdef usage from glibc
637 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
638 as that works with both Glibc's and Gnulib's style.
639 See thread starting at Siddhesh Poyarekar's bug report at:
640 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
642 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
644 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
645 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
646 * sysdeps/tile/tilegx/memmove.c: Remove file.
648 2014-06-27 Joseph Myers <joseph@codesourcery.com>
650 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
652 * scripts/soversions.awk: Do not handle or generate ABI lines.
653 * shlib-versions: Remove ABI entries.
654 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
655 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
657 2014-06-27 Roland McGrath <roland@hack.frob.com>
659 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
660 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
661 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
662 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
663 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
664 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
665 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
667 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
670 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
671 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
673 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
674 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
675 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
676 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
677 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
678 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
679 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
680 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
681 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
683 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
684 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
686 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
688 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
690 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
691 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
693 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
694 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
695 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
696 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
698 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
699 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
700 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
701 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
703 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
705 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
707 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
709 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
710 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
712 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
713 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
715 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
716 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
717 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
718 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
720 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
722 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
723 Identical file removed.
724 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
726 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
727 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
728 Identical file removed.
729 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
730 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
731 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
733 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
734 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
735 Identical file removed.
736 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
738 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
739 Identical file removed.
740 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
742 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
743 Identical file removed.
744 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
746 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
747 Identical file removed.
748 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
750 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
751 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
752 Identical file removed.
753 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
755 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
756 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
758 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
759 Identical file removed.
760 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
762 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
764 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
765 Identical file removed.
766 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
768 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
769 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
770 Identical file removed.
771 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
773 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
774 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
776 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
777 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
778 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
780 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
781 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
782 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
784 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
785 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
786 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
787 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
788 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
790 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
793 * nscd/nscd.c (monitor_child): Return exit status of child
794 instead of return value from wait syscall.
796 2014-06-27 Joseph Myers <joseph@codesourcery.com>
798 * configure.ac (libc_commonpagesize): Remove variable.
799 (libc_relro_required): Likewise.
800 (libc_cv_z_relro): Remove configure test.
801 * configure: Regenerated.
802 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
804 (libc_relro_required): Likewise.
805 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
806 (libc_relro_required): Likewise.
807 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
808 (libc_relro_required): Likewise.
809 * sysdeps/arm/preconfigure: Regenerated.
810 * sysdeps/ia64/preconfigure: Remove file.
811 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
813 (libc_relro_required): Likewise.
817 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
818 (__ieee754_yn): Set FE_TONEAREST mode internally and then
819 recompute overflowing results in original rounding mode.
820 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
821 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
822 recompute overflowing results in original rounding mode.
823 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
824 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
825 recompute overflowing results in original rounding mode.
826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
827 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
828 recompute overflowing results in original rounding mode.
829 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
830 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
831 recompute overflowing results in original rounding mode.
832 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
833 (libc_feholdsetround_ctx): New macro.
834 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
835 * sysdeps/i386/fpu/libm-test-ulps: Update.
836 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
838 2014-06-26 Joseph Myers <joseph@codesourcery.com>
840 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
841 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
842 corresponding .cpsetup call.
844 2014-06-26 Roland McGrath <roland@hack.frob.com>
846 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
847 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
848 * sysdeps/arm/Makefile [$(subdir) = csu]
849 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
850 (static-only-routines): Add aeabi_read_tp here.
851 (shared-only-routines): Add libc-aeabi_read_tp here.
852 (CFLAGS-libc-start.c): Add -fexceptions here.
853 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
854 (sysdep_routines, static-only-routines, shared-only-routines):
855 Don't add to these here.
856 (CFLAGS-libc-start.c): Likewise.
858 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
859 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
860 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
861 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
862 * sysdeps/arm/Makefile [$(subdir) = rt]
863 (librt-sysdep_routines, librt-shared-only-routines):
864 Append rt-aeabi_unwind_cpp_pr1 here.
865 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
866 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
867 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
868 (libpthread-sysdep_routines, libpthread-shared-only-routines):
869 Append nptl-aeabi_unwind_cpp_pr1 here.
870 (tests): Filter out tst-cleanupx4 here.
871 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
872 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
875 2014-06-26 Joseph Myers <joseph@codesourcery.com>
877 * scripts/list-sources.sh: Do not handle ports specially.
879 2014-06-26 Roland McGrath <roland@hack.frob.com>
881 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
882 * sysdeps/arm/feupdateenv.c: Likewise.
884 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
886 2014-06-26 Joseph Myers <joseph@codesourcery.com>
888 * manual/texinfo.tex: Update to version 2014-05-05.10 with
889 trailing whitespace removed.
890 * scripts/config.guess: Update to version 2014-03-23.
891 * scripts/config.sub: Update to version 2014-05-01
892 * scripts/install-sh: Update to version 2013-12-25.23.
893 * scripts/move-if-change: Update from gnulib.
895 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
897 * debug/memmove_chk.c: Remove pagecopy.h include.
899 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
901 * time/mktime.c (leapyear): Remove inline keyword. The code is now
902 identical to gnulib mktime.
904 2014-06-26 Joseph Myers <joseph@codesourcery.com>
906 * configure.ac: Do not test for machine being rs6000. Do not test
908 * configure: Regenerated.
910 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
912 * configure: Regenerated.
913 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
914 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
915 Remove configure test.
916 * sysdeps/arm/configure: Regenerated.
917 * sysdeps/nptl/configure.ac: Do not check
918 libc_cv_asm_cfi_directives.
919 * sysdeps/nptl/configure: Regenerated.
920 * sysdeps/x86_64/nptl/configure.ac: Remove file.
921 * sysdeps/x86_64/nptl/configure: Remove generated file.
922 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
924 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
926 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
928 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
929 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
930 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
933 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
934 instead of whether it is defined.
935 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
936 * sysdeps/hppa/dl-machine.h: Likewise.
937 * sysdeps/ia64/dl-machine.h: Likewise.
938 * sysdeps/m68k/dl-machine.h: Likewise.
939 * sysdeps/microblaze/dl-machine.h: Likewise.
940 * sysdeps/mips/dl-machine.: Likewise.
941 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
942 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
943 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
944 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
945 * sysdeps/sh/dl-machine.h: Likewise.
946 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
947 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
948 * sysdeps/tile/dl-machine.h: Likewise.
949 * sysdeps/x86_64/dl-machine.h: Likewise.
951 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
953 (verify_persistent_db): Likewise.
955 2014-06-26 Roland McGrath <roland@hack.frob.com>
957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
958 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
960 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
963 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
966 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
968 Identical file removed.
969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
970 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
972 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
974 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
976 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
978 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
981 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
985 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
988 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
992 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
994 Identical file removed.
995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
996 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
998 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1001 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1004 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1006 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1008 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1010 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1012 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1015 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1018 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1020 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1023 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1025 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1027 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1029 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1030 * sysdeps/unix/sysv/linux/s390/Versions
1031 (libpthread: GLIBC_2.19): New version set.
1032 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1033 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1034 (librt: GLIBC_2.3.3): New version set.
1035 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1036 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1037 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1038 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1039 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1040 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1041 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1042 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1043 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1044 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1045 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1047 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1049 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1050 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1051 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1052 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1053 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1054 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1055 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1056 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1057 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1058 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1059 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1060 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1061 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1062 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1063 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1064 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1065 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1066 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1067 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1070 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1071 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1072 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1073 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1074 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1075 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1076 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1077 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1078 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1079 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1081 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1082 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1083 (__libc_vfork): Define the function under this name.
1084 [!NOT_IN_libc] (__vfork): Make this an alias.
1085 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1086 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1087 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1088 (__libc_vfork): Define the function under this name.
1089 [!NOT_IN_libc] (__vfork): Make this an alias.
1090 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1091 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1092 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1093 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1094 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1095 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1097 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1098 code that was previously under [RESET_PID].
1099 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1100 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1101 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1103 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1104 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1105 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1106 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1107 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1108 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1109 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1110 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1111 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1112 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1113 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1115 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1117 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1118 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1119 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1123 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1124 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1125 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1126 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1131 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1132 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1135 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1136 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1137 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1139 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1140 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1141 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1142 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1143 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1145 2014-06-25 Roland McGrath <roland@hack.frob.com>
1147 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1148 that was previously under [RESET_PID].
1149 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1151 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1153 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1154 not undefine and redefine.
1155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1156 [O_CLOEXEC]: Make code unconditional.
1157 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1158 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1159 <kernel-features.h>.
1160 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1161 conditional variable definition.
1162 (shm_open) [O_CLOEXEC]: Make code unconditional.
1163 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1166 * configure.ac (USE_REGPARMS): Don't define here.
1167 * configure: Regenerated.
1168 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1169 * sysdeps/i386/configure: Regenerated.
1171 * nptl/createthread.c: Don't include kernel-features.h.
1172 * nptl/pthread_cancel.c: Likewise.
1173 * nptl/pthread_condattr_setclock.c: Likewise.
1174 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1175 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1176 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1177 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1178 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1179 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1180 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1181 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1182 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1183 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1184 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1185 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1186 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1187 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1188 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1189 * nscd/gai.c: Likewise.
1190 * nss/nss_db/db-open.c: Likewise.
1191 * sysdeps/generic/ldsodefs.h: Likewise.
1192 * sysdeps/sh/nptl/tls.h: Likewise.
1193 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1194 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1195 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1196 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1197 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1198 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1199 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1200 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1201 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1202 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1203 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1204 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1205 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1206 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1207 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1208 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1209 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1210 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1211 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1212 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1213 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1214 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1215 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1216 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1217 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1218 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1219 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1220 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1221 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1222 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1223 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1224 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1225 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1226 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1227 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1228 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1229 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1230 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1231 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1232 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1233 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1234 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1235 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1236 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1237 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1238 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1239 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1240 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1241 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1242 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1243 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1244 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1245 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1246 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1247 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1248 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1249 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1250 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1273 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1274 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1275 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1276 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1277 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1278 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1279 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1280 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1281 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1282 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1283 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1284 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1285 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1286 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1287 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1288 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1289 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1290 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1291 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1292 * sysdeps/unix/sysv/linux/system.c: Likewise.
1293 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1294 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1295 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1296 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1297 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1298 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1299 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1301 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1302 * configure: Regenerated.
1303 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1305 * configure.ac (base_machine): Do not set specially for particular
1307 * configure: Regenerated.
1308 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1309 settings from configure.ac.
1310 * sysdeps/i386/preconfigure: New file.
1311 * sysdeps/s390/preconfigure: Likewise.
1312 * sysdeps/sh/preconfigure: Likewise.
1313 * sysdeps/sparc/preconfigure: Likewise.
1315 2014-06-25 Roland McGrath <roland@hack.frob.com>
1317 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1318 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1319 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1320 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1321 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1322 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1323 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1324 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1325 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1326 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1327 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1328 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1329 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1330 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1331 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1332 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1333 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1334 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1335 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1337 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1338 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1339 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1340 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1341 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1342 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1343 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1344 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1345 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1346 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1347 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1348 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1349 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1350 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1351 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1352 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1353 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1354 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1355 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1356 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1357 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1358 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1359 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1360 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1361 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1362 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1363 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1364 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1365 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1366 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1367 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1368 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1369 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1370 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1371 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1372 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1373 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1374 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1377 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1382 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1385 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1390 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1392 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1396 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1399 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1402 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1404 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1407 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1411 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1415 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1418 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1421 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1423 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1426 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1428 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1430 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1432 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1435 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1443 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1445 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1447 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1449 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1451 * timezone/checktab.awk: Update from tzcode 2014e.
1452 * timezone/private.h: Likewise.
1453 * timezone/tzfile.h: Likewise.
1454 * timezone/zdump.c: Likewise.
1455 * timezone/zic.c: Likewise.
1457 * sysdeps/unix/sysv/linux/kernel-features.h
1458 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1459 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1460 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1461 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1462 Remove conditional code.
1464 2014-06-25 Will Newton <will.newton@linaro.org>
1466 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1467 (_dl_arm_cap_flags): Add HWCAP2 values.
1468 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1469 (_DL_HWCAP_COUNT): Increase to 37.
1470 (_DL_HWCAP_LAST): New define.
1471 (_DL_HWCAP2_LAST): New define.
1472 (_dl_procinfo): Add support for printing
1474 (_dl_string_hwcap): Use _dl_hwcap_string.
1476 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1480 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1482 * README: Do not mention ports directory.
1484 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1486 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1487 <kernel-features.h>.
1488 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1489 conditional variable definition.
1490 (__futimes): Update comment.
1491 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1492 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1495 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1496 arguments close to 0.
1497 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1499 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1501 * math/auto-libm-test-in: Add more tests of exp10.
1502 * math/auto-libm-test-out: Regenerated.
1503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1505 * sysdeps/unix/sysv/linux/kernel-features.h
1506 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1507 * sysdeps/unix/sysv/linux/readv.c: Do not include
1508 <kernel-features.h>.
1509 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1510 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1511 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1513 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1515 * sysdeps/unix/sysv/linux/writev.c: Do not include
1516 <kernel-features.h>.
1517 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1518 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1519 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1521 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1524 2014-06-25 Will Newton <will.newton@linaro.org>
1526 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1527 comment changes throughout the file. Remove checks
1528 for HAVE_*_H definitions that are not required.
1529 (__gen_tempname): Call abort if an unknown kind value is
1532 2014-06-25 Andreas Schwab <schwab@suse.de>
1535 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1536 scalbln, scalblnf, scalblnl in libc.
1538 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1541 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1542 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1543 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1545 2014-06-24 Roland McGrath <roland@hack.frob.com>
1547 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1548 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1549 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1550 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1552 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1553 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1555 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1556 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1557 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1558 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1559 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1560 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1561 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1562 * sysdeps/x86/bits/semaphore.h: ... here.
1563 * sysdeps/x86/nptl/elide.h: Moved ...
1564 * sysdeps/x86/elide.h: ... here.
1565 * sysdeps/x86_64/nptl/Implies: File removed.
1566 * sysdeps/i386/nptl/Implies: File removed.
1568 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1571 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1572 return the argument for normal arguments with exponent below -64.
1573 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1575 * math/auto-libm-test-in: Add another test of expm1.
1576 * math/auto-libm-test-out: Regenerated.
1579 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1580 calling __erfcl for arguments at least 16.
1581 * math/auto-libm-test-in: Add more tests of erf.
1582 * math/auto-libm-test-out: Regenerated.
1584 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1585 individual architectures.
1586 * sysdeps/unix/sysv/linux/configure: Regenerated.
1587 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1588 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1589 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1590 (ldd_rewrite_script): Define variable.
1591 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1596 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1597 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1598 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1599 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1600 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1601 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1602 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1603 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1605 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1608 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1609 Rename member __data.d to __data.__elision_data.
1611 2014-06-24 Wilco <wdijkstr@arm.com>
1613 * NEWS: Add 16918 to fixed bug list.
1615 2014-06-24 Wilco <wdijkstr@arm.com>
1617 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1619 2014-06-24 Wilco <wdijkstr@arm.com>
1621 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1622 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1623 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1624 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1625 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1626 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1627 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1630 2014-06-24 Wilco <wdijkstr@arm.com>
1632 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1634 2014-06-24 Wilco <wdijkstr@arm.com>
1636 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1637 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1638 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1639 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1641 2014-06-24 Wilco <wdijkstr@arm.com>
1644 * sysdeps/arm/feupdateenv.c (feupdateenv):
1645 Rewrite to reduce FPSCR accesses and fix return value.
1647 2014-06-24 Wilco <wdijkstr@arm.com>
1649 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1650 Optimize to avoid unnecessary FPSCR writes.
1651 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1652 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1653 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1654 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1656 2014-06-24 Wilco <wdijkstr@arm.com>
1658 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1659 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1660 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1661 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1662 Call libc_fetestexcept_vfp.
1663 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1664 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1665 __SOFTFP__ ifdef so that they can be built for softfp.
1667 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1669 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1670 argument type signed char.
1672 * Makerules (check-abi): Dump diff of symlist if the test
1675 2014-06-23 Roland McGrath <roland@hack.frob.com>
1677 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1680 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1681 Remove unused variable ST.
1683 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1687 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1688 small arguments before calling __expm1.
1689 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1690 small arguments before calling __expm1f.
1691 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1692 small arguments before calling __expm1l.
1693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1695 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1696 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1697 spurious underflow for some cosh tests.
1698 * math/auto-libm-test-out: Regenerated.
1699 * sysdeps/i386/fpu/libm-test-ulps: Update.
1702 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1703 (__ieee754_y1): Set errno if return value overflows.
1704 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1705 (__ieee754_y1f): Set errno if return value overflows.
1706 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1707 (__ieee754_y1l): Set errno if return value overflows.
1708 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1709 (__ieee754_y1l): Set errno if return value overflows.
1710 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1711 * math/auto-libm-test-out: Regenerated.
1713 * math/gen-auto-libm-tests.c: Document use of
1714 ignore-zero-inf-sign.
1715 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1716 (input_flags): Add ignore-zero-inf-sign.
1717 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1718 * math/gen-libm-test.pl (generate_testfile): Handle
1719 ignore-zero-inf-sign.
1720 * math/auto-libm-test-in: Mark some cpow tests with
1721 ignore-zero-inf-sign and some with xfail-rounding.
1722 * math/auto-libm-test-out: Regenerated.
1723 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1724 * sysdeps/i386/fpu/libm-test-ulps: Update.
1725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1728 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1729 overflowing or underflowing operations take place with sign of
1731 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1732 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1733 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1734 (__ieee754_pow): Recompute overflowing and underflowing results in
1735 original rounding mode.
1736 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1737 (__powl_helper): Allow negative argument X and scale negated value
1738 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1739 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1740 overflowing or underflowing operations take place with sign of
1742 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1744 * math/auto-libm-test-in: Add more tests of pow.
1745 * math/auto-libm-test-out: Regenerated.
1746 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1747 (pow_tonearest_test_data): Remove.
1748 (pow_test_tonearest): Likewise.
1749 (pow_towardzero_test_data): Likewise.
1750 (pow_test_towardzero): Likewise.
1751 (pow_downward_test_data): Likewise.
1752 (pow_test_downward): Likewise.
1753 (pow_upward_test_data): Likewise.
1754 (pow_test_upward): Likewise.
1755 (main): Don't call removed functions.
1756 * sysdeps/i386/fpu/libm-test-ulps: Update.
1757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1759 2014-06-23 Roland McGrath <roland@hack.frob.com>
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1935 2014-06-23 Will Newton <will.newton@linaro.org>
1936 Wilco <wdijkstr@arm.com>
1938 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1939 implementation. Include get-rounding-mode.h.
1940 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1941 [!libc_feholdsetround_noex_ctx]: Define
1942 libc_feholdsetround_noex_ctx.
1943 [!libc_feholdsetround_noexf_ctx]: Define
1944 libc_feholdsetround_noexf_ctx.
1945 [!libc_feholdsetround_noexl_ctx]: Define
1946 libc_feholdsetround_noexl_ctx.
1947 (libc_feholdsetround_ctx): New function.
1948 (libc_feresetround_ctx): New function.
1949 (libc_feholdsetround_noex_ctx): New function.
1950 (libc_feresetround_noex_ctx): New function.
1952 2014-06-23 Roland McGrath <roland@hack.frob.com>
1954 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1955 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1956 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1957 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1958 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1959 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1961 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1962 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1963 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1964 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1965 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1966 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1967 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1968 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1969 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1973 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1975 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1976 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1978 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1979 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1981 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1983 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1984 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1985 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1990 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1991 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1993 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1998 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2000 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2001 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2002 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2003 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2004 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2005 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2006 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2007 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2009 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2011 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2012 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2013 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2014 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2015 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2016 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2017 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2018 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2020 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2021 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2022 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2023 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2025 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2027 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2028 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2029 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2030 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2032 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2034 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2035 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2036 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2038 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2039 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2040 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2041 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2042 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2043 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2044 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2045 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2047 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2048 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2049 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2050 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2051 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2052 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2053 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2057 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2058 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2059 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2063 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2064 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2065 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2067 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2070 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2071 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2072 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2073 (IPV6_PMTUDISC_INTERFACE): Likewise.
2074 (IPV6_PMTUDISC_OMIT): Likewise.
2076 2014-06-23 Andreas Schwab <schwab@suse.de>
2078 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2079 Remove unused errout label.
2081 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2083 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2084 macro: hardware supports Vector Crypto instructions.
2086 2014-06-23 Will Newton <will.newton@linaro.org>
2088 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2089 rather than __builtin_expect.
2091 * elf/dl-lookup.c (undefined_msg): Remove variable.
2092 (_dl_lookup_symbol_x): Replace undefined_msg with string
2095 * elf/dl-lookup.c (do_lookup_unique): New function.
2096 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2097 to a separate function.
2099 2014-06-23 Andreas Schwab <schwab@suse.de>
2102 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2103 before reading the next line.
2105 2014-06-23 Will Newton <will.newton@linaro.org>
2107 * test-skeleton.c (signal_handler): Use printf and %m
2108 rather than perror. Use printf rather than fprintf to
2109 stderr. Use puts rather than fputs to stderr.
2112 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2114 * nscd/nscd.c (thread_info_t): Remove typedef.
2115 (thread_info): Remove variable.
2117 2014-06-21 Allan McRae <allan@archlinux.org>
2119 * NEWS: Mention CVE-2014-4043.
2121 2014-06-20 Roland McGrath <roland@hack.frob.com>
2123 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2124 * nptl/smp.h: ... here.
2126 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2128 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2129 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2130 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2131 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2133 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2134 * nptl/stack-aliasing.h: New file.
2135 * sysdeps/i386/i686/stack-aliasing.h: New file.
2136 * sysdeps/i386/i686/nptl/Makefile: File removed.
2137 * sysdeps/x86_64/stack-aliasing.h: New file.
2138 * sysdeps/x86_64/nptl/Makefile
2139 (CFLAGS-pthread_create.c): Variable removed.
2141 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2142 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2144 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2145 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2148 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2150 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2151 (__ASSUME_SIGFRAME_V2): Remove macro.
2152 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2153 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2154 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2155 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2156 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2157 Declare as function. Remove conditional macro definitions.
2158 (__default_rt_sa_restorer): Likewise.
2159 (__default_sa_restorer_v1): Remove declaration.
2160 (__default_sa_restorer_v2): Likewise.
2161 (__default_rt_sa_restorer_v1): Likewise.
2162 (__default_rt_sa_restorer_v2): Likewise.
2163 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2164 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2165 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2167 2014-06-20 Roland McGrath <roland@hack.frob.com>
2169 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2170 (libpthread-routines): Add sysdep.
2171 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2172 * sysdeps/unix/sysv/linux/sparc/Versions
2173 (libpthread: GLIBC_2.3.3): New version set.
2174 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2175 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2176 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2177 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2178 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2179 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2181 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2182 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2183 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2184 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2185 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2186 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2187 * sysdeps/sparc/nptl/sem_init.c: ... here.
2188 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2189 * sysdeps/sparc/nptl/sem_post.c: ... here.
2190 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2191 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2192 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2193 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2194 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2195 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2196 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2197 (libpthread-routines): Add cpu_relax.
2198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2200 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2201 (librt: GLIBC_2.3.3): New version set.
2202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2203 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2205 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2208 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2211 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2213 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2214 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2215 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2216 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2217 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2218 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2219 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2222 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2226 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2230 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2234 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2238 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2242 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2245 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2253 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2256 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2258 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2259 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2260 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2262 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2264 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2265 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2266 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2267 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2268 * nscd/nscd.c: Likewise.
2269 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2270 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2271 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2272 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2274 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2275 <kernel-features.h>.
2276 (init_mq_netlink): Remove conditional have_sock_cloexec
2277 definitions. Remove code conditional on have_sock_cloexec < 0.
2278 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2279 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2280 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2281 <kernel-features.h>.
2282 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2283 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2285 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2287 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2288 Add tests for memset_chk and memset.
2290 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2293 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2296 * elf/tst-dl-iter-static.c: New file.
2297 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2299 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2302 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2304 * sysdeps/unix/sysv/linux/kernel-features.h
2305 (__ASSUME_F_GETOWN_EX): Remove macro.
2306 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2307 <kernel-features.h>.
2308 (miss_F_GETOWN_EX): Remove variable or macro.
2309 (do_fcntl): Do not check miss_F_GETOWN_EX.
2310 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2312 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2315 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2316 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2318 * sysdeps/unix/sysv/linux/kernel-features.h
2319 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2320 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2321 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2322 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2324 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2327 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2328 Fix calculation of the symbol's value.
2329 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2330 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2331 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2332 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2333 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2334 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2335 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2336 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2337 (modules-names): Add `tst-armtlsdescmod',
2338 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2339 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2340 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2341 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2342 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2343 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2344 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2345 ($(objpfx)tst-armtlsdescloc): New dependency.
2346 ($(objpfx)tst-armtlsdescextnow): Likewise.
2347 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2348 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2350 * sysdeps/arm/configure: Regenerate.
2352 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2354 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2355 (__atfct_seterrno_2): Likewise.
2356 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2357 <kernel-features.h>.
2358 (__ASSUME_ATFCTS): Do not undefine and redefine.
2359 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2360 (__have_atfcts): Remove conditional definition.
2361 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2362 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2363 unreachable if [__ASSUME_ATFCTS].
2364 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2365 not undefine and redefine.
2366 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2367 <kernel-features.h>.
2368 (faccessat) [__NR_faccessat]: Make code unconditional.
2369 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2370 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2371 <kernel-features.h>.
2372 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2373 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2374 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2375 <kernel-features.h>.
2376 (fchownat) [__NR_fchownat]: Make code unconditional.
2377 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2378 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2379 <kernel-features.h>.
2380 (futimesat) [__NR_futimesat]: Make code unconditional.
2381 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2382 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2383 <kernel-features.h>.
2384 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2385 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2386 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2387 <kernel-features.h>.
2388 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2389 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2390 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2391 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2392 <kernel-features.h>.
2393 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2394 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2395 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2396 <kernel-features.h>.
2397 (linkat) [__NR_linkat]: Make code unconditional.
2398 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2399 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2400 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2401 <kernel-features.h>.
2402 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2403 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2404 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2405 <kernel-features.h>.
2406 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2407 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2408 * sysdeps/unix/sysv/linux/openat.c: Do not include
2409 <kernel-features.h>.
2410 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2411 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2412 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2413 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2414 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2415 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2416 <kernel-features.h>.
2417 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2418 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2419 result of INLINE_SYSCALL directly, not via int variable.
2420 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2421 <kernel-features.h>.
2422 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2423 (renameat) [__NR_renameat]: Make code unconditional.
2424 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2425 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2426 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2427 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2428 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2429 (__ASSUME_ATFCTS): Do not undefine and redefine.
2430 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2431 <kernel-features.h>.
2432 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2433 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2434 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2435 <kernel-features.h>.
2436 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2437 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2438 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2439 (__ASSUME_ATFCTS): Do not undefine and redefine.
2440 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2441 <kernel-features.h>.
2442 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2443 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2444 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2445 <kernel-features.h>.
2446 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2447 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2449 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2451 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2453 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2456 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2457 constructed tree before returning error.
2458 * posix/bug-regexp36.c: Expand test case.
2460 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2463 * math/libm-test.inc (scalbln_test_date):
2464 Add errno expectations.
2465 * math/w_scalblnf.c: New File.
2466 Add wrapper which checks for setting errno to ERANGE.
2467 Add weak_alias for corresponding scalbln function.
2468 * math/w_scalbln.c: Likewise.
2469 * math/w_scalblnl.c: Likewise.
2470 * math/Makefile (libm-calls): Add w_scalbln.
2471 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2472 Remove weak_alias for corresponding scalbln function.
2473 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2474 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2476 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2477 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2478 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2479 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2480 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2481 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2482 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2483 Remove long_double_symbol for scalblnl function in libm, libc.
2484 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2485 Add wrapper which checks for setting errno to ERANGE.
2486 Add long_double_symbol for scalblnl function in libm, libc.
2487 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2488 Remove long_double_symbol for scalblnl in libm.
2489 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2490 Add wrapper which checks for setting errno to ERANGE.
2491 Add long_double_symbol for scalblnl function in libm.
2492 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2493 Do not use wrapper because of own implementation.
2495 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2497 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2498 3 bytes for __pad1 for x32.
2499 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2501 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2502 H.J. Lu <hongjiu.lu@intel.com>
2504 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2505 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2506 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2507 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2508 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2510 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2513 * posix/regcomp.c (parse_expression): Deallocate partially
2514 constructed tree before returning error.
2515 * posix/Makefile.c (tests): Add bug-regex36.
2516 (generated): Add bug-regex36.mtrace.
2517 (tests-special): Add $(objpfx)bug-regex36-mem.out
2518 (bug-regex36-ENV): New variable.
2519 ($(objpfx)bug-regex36-mem.out): New rule.
2520 * posix/bug-regex36.c: New file.
2522 2014-06-19 Will Newton <will.newton@linaro.org>
2524 * malloc/malloc.c (systrim): If extra is zero then return
2527 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2529 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2531 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2533 * sysdeps/aarch64/strchr.S: New file.
2535 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2538 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2539 from arguments -2 or below.
2540 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2541 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2543 2014-06-18 Andreas Schwab <schwab@suse.de>
2546 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2547 of a bracket expr not to run off the end of the string.
2548 * posix/Makefile (tests): Add tst-fnmatch3.
2549 * posix/tst-fnmatch3.c: New file.
2551 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2553 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2554 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2555 [$(cross-compiling) = no]: Likewise.
2556 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2557 [$(cross-compiling) = no]: Likewise.
2559 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2562 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2563 double, adjusted for any remainder from the high double.
2564 * math/libm-test.inc (nearbyint): Add tests.
2567 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2569 * nptl/sysdeps/powerpc/Makefile: Moved ...
2570 * sysdeps/powerpc/nptl/Makefile: ... here.
2571 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2572 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2573 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2574 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2575 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2576 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2577 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2578 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2579 * nptl/sysdeps/powerpc/tls.h: Moved ...
2580 * sysdeps/powerpc/nptl/tls.h: ... here.
2582 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2585 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2586 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2587 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2588 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2589 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2590 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2591 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2592 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2593 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2595 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2597 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2599 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2601 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2604 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2607 2014-06-16 Florian Weimer <fweimer@redhat.com>
2610 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2611 non-executed part of the test.
2613 2014-06-16 Andreas Schwab <schwab@suse.de>
2615 * string/bits/string2.h (strdup, strndup): Update feature guard.
2617 2014-06-14 David S. Miller <davem@davemloft.net>
2619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2621 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2623 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2624 that was previously under [RESET_PID].
2625 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2627 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2628 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2629 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2630 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2631 (__libc_vfork): New strong alias.
2632 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2634 2014-06-14 Andi Kleen <ak@linux.intel.com>
2636 * sysdeps/generic/elide.h: New file.
2638 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2640 * Makefile (installed-headers): Adjust path of pthread.h header.
2642 2014-06-13 Roland McGrath <roland@hack.frob.com>
2644 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2645 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2647 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2649 * nptl/sysdeps/s390/Makefile: Moved ...
2650 * sysdeps/s390/nptl/Makefile: ... here.
2651 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2652 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2653 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2654 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2655 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2656 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2657 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2658 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2659 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2660 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2661 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2662 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2663 * nptl/sysdeps/s390/tls.h: Moved ...
2664 * sysdeps/s390/nptl/tls.h: ... here.
2666 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2667 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2669 2014-06-13 David S. Miller <davem@davemloft.net>
2671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2674 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2678 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2679 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2680 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2681 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2682 Remove RESET_PID cpp guards.
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2684 Remove RESET_PID cpp guards.
2685 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2687 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2689 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2692 2014-06-13 Andi Kleen <ak@linux.intel.com>
2694 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2695 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2696 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2697 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2698 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2699 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2700 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2701 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2702 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2703 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2704 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2705 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2706 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2707 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2708 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2709 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2710 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2711 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2712 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2713 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2715 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2716 (pthread_rwlock_rdlock): Add elision.
2717 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2718 (pthread_rwlock_wrlock): Add elision.
2719 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2720 (pthread_rwlock_trywrlock): Add elision.
2721 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2722 (pthread_rwlock_tryrdlock): Add elision.
2723 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2724 (pthread_rwlock_tryrdlock): Add elision unlock.
2725 * nptl/sysdeps/pthread/pthread.h:
2726 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2727 (PTHREAD_RWLOCK_INITIALIZER,
2728 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2729 Handle new elision field.
2730 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2731 * sysdeps/arm/nptl/bits/pthreadtypes.h
2732 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2733 * sysdeps/sh/nptl/bits/pthreadtypes.h
2734 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2735 * sysdeps/tile/nptl/bits/pthreadtypes.h
2736 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2737 * sysdeps/a/nptl/bits/pthreadtypes.h
2738 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2739 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2740 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2741 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2742 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2743 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2744 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2745 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2746 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2747 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2748 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2749 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2750 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2751 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2752 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2753 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2754 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2755 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2756 (elision_init): Set try_xbegin to zero when no RTM.
2757 * sysdeps/x86/nptl/bits/pthreadtypes.h
2758 (pthread_rwlock_t): Change __pad1 to __rwelision.
2759 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2761 2014-06-13 Andi Kleen <ak@linux.intel.com>
2763 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2764 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2765 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2766 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2768 2014-06-13 Meador Inge <meadori@codesourcery.com>
2771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2772 that the cached result has been set before returning it.
2774 2014-06-12 Roland McGrath <roland@hack.frob.com>
2776 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2777 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2778 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2779 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2780 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2781 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2783 * nptl/sysdeps/sparc/Makefile: Moved ...
2784 * sysdeps/sparc/nptl/Makefile: ... here.
2785 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2786 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2787 * nptl/sysdeps/sparc/tls.h: Moved ...
2788 * sysdeps/sparc/nptl/tls.h: ... here.
2789 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2790 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2791 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2792 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2793 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2794 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2795 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2796 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2797 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2798 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2799 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2800 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2801 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2802 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2803 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2804 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2805 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2806 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2808 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2809 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2811 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2812 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2814 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2815 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2818 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2820 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2821 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2823 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2824 (struct list_links): Type removed.
2825 (struct thread_node, struct timer_node): Replace struct list_links
2826 with struct list_head.
2827 (list_unlink_ip): Likewise.
2828 * sysdeps/pthread/timer_routines.c
2829 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2830 (list_append, list_insbefore): Likewise.
2831 (list_init): Function removed.
2832 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2833 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2834 * sysdeps/pthread/Makefile: ... here, new file.
2836 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2837 * sysdeps/nptl/Implies: ... here.
2838 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2839 * nptl/sysdeps/pthread/list.h: Moved ...
2840 * include/list.h: ... here.
2841 * nptl/sysdeps/pthread/createthread.c: Moved ...
2842 * nptl/createthread.c: ... here.
2843 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2844 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2845 * nptl/pt-longjmp.c: ... here.
2846 * nptl/sysdeps/pthread/Makefile: Moved ...
2847 * sysdeps/nptl/Makefile: ... here.
2848 * nptl/sysdeps/pthread/Subdirs: Moved ...
2849 * sysdeps/nptl/Subdirs: ... here.
2850 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2851 * sysdeps/nptl/aio_misc.h: ... here.
2852 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2853 * sysdeps/nptl/bits/libc-lock.h: ... here.
2854 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2855 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2856 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2857 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2858 * nptl/sysdeps/pthread/configure: Moved ...
2859 * sysdeps/nptl/configure: ... here.
2860 * nptl/sysdeps/pthread/configure.ac: Moved ...
2861 * sysdeps/nptl/configure.ac: ... here.
2862 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2863 * sysdeps/nptl/gai_misc.h: ... here.
2864 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2865 * sysdeps/nptl/librt-cancellation.c: ... here.
2866 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2867 * sysdeps/nptl/malloc-machine.h: ... here.
2868 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2869 * sysdeps/nptl/pthread-functions.h: ... here.
2870 * nptl/sysdeps/pthread/pthread.h: Moved ...
2871 * sysdeps/nptl/pthread.h: ... here.
2872 * nptl/sysdeps/pthread/setxid.h: Moved ...
2873 * sysdeps/nptl/setxid.h: ... here.
2874 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2875 * sysdeps/nptl/sigfillset.c: ... here.
2876 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2877 * sysdeps/nptl/tcb-offsets.h: ... here.
2878 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2879 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2880 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2881 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2882 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2883 * sysdeps/pthread/allocalim.h: ... here.
2884 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2885 * sysdeps/pthread/bits/sigthread.h: ... here.
2886 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2887 * sysdeps/pthread/flockfile.c: ... here.
2888 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2889 * sysdeps/pthread/ftrylockfile.c: ... here.
2890 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2891 * sysdeps/pthread/funlockfile.c: ... here.
2892 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2893 * sysdeps/pthread/posix-timer.h: ... here.
2894 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2895 * sysdeps/pthread/timer_create.c: ... here.
2896 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2897 * sysdeps/pthread/timer_delete.c: ... here.
2898 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2899 * sysdeps/pthread/timer_getoverr.c: ... here.
2900 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2901 * sysdeps/pthread/timer_gettime.c: ... here.
2902 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2903 * sysdeps/pthread/timer_routines.c: ... here.
2904 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2905 * sysdeps/pthread/timer_settime.c: ... here.
2906 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2907 * sysdeps/pthread/tst-timer.c: ... here.
2908 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2909 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2911 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2912 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2914 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2915 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2916 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2917 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2918 Update #include target.
2919 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2920 * sysdeps/i386/i686/nptl/Makefile: ... here.
2921 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2922 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2923 Update #include target.
2924 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2925 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2926 * nptl/sysdeps/i386/Makefile: Moved ...
2927 * sysdeps/i386/nptl/Makefile: ... here.
2928 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2929 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2930 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2931 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2932 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2933 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2934 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2935 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2936 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2937 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2938 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2939 * nptl/sysdeps/i386/tls.h: Moved ...
2940 * sysdeps/i386/nptl/tls.h: ... here.
2942 * sysdeps/sh/Makefile [$(subdir) = csu]
2943 (gen-as-const-headers): Add tcb-offsets.sym.
2944 * nptl/sysdeps/sh/Makefile: File removed.
2945 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2946 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2947 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2948 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2949 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2950 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2951 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2952 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2953 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2954 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2955 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2956 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2957 * nptl/sysdeps/sh/tls.h: Moved ...
2958 * sysdeps/sh/nptl/tls.h: ... here.
2959 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2960 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2961 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2962 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2964 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2965 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2966 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2967 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2968 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2969 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2970 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2972 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2974 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2975 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2976 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2978 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2980 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2982 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2983 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2985 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2986 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2988 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2989 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2990 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2991 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2992 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2993 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2994 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2995 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2996 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2997 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2998 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2999 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3000 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3001 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3002 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3003 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3004 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3005 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3006 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3008 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3010 * posix/spawn_faction_addopen.c: Include string.h.
3012 2014-06-11 Roland McGrath <roland@hack.frob.com>
3014 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3015 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3016 * nptl/sysdeps/x86_64/Makefile: Moved ...
3017 * sysdeps/x86_64/nptl/Makefile: ... here.
3018 * nptl/sysdeps/x86_64/configure: Moved ...
3019 * sysdeps/x86_64/nptl/configure: ... here.
3020 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3021 * sysdeps/x86_64/nptl/configure.ac: ... here.
3022 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3023 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3024 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3025 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3026 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3027 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3028 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3029 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3030 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3031 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3032 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3033 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3034 * nptl/sysdeps/x86_64/tls.h: Moved ...
3035 * sysdeps/x86_64/nptl/tls.h: ... here.
3036 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3037 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3038 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3039 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3041 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3043 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3047 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3049 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3051 [POSIX] (off_t): Likewise.
3052 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3053 [POSIX] (S_ISBLK): Require macro.
3054 [POSIX] (S_ISCHR): Likewise.
3055 [POSIX] (S_ISDIR): Likewise.
3056 [POSIX] (S_ISFIFO): Likewise.
3057 [POSIX] (S_ISREG): Likewise.
3058 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3060 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3062 [POSIX] (time_t): Likewise.
3063 [POSIX] (timer_t): Likewise.
3065 2014-06-11 Florian Weimer <fweimer@redhat.com>
3068 * posix/spawn_int.h (struct __spawn_action): Make the path string
3069 non-const to support deallocation.
3070 * posix/spawn_faction_addopen.c
3071 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3072 * posix/spawn_faction_destroy.c
3073 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3074 path in all spawn_do_open actions.
3075 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3076 posix_spawn_file_actions_addopen.
3078 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3080 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3081 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3082 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3083 conditional code always true.
3084 (__libc_vfork): New alias.
3086 2014-06-11 Roland McGrath <roland@hack.frob.com>
3088 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3089 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3091 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3093 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3094 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3096 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3097 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3099 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3100 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3102 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3104 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3105 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3106 multiarch strcmp for PPC64.
3107 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3108 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3110 multiarch optimizations.
3111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3112 (__libc_ifunc_impl_list): Likewise.
3114 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3116 * benchtests/scripts/validate_benchout.py: New script.
3117 * benchtests/Makefile (bench-func): Call it.
3118 * benchtests/scripts/benchout.schema.json: New file.
3120 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3122 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3123 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3124 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3125 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3126 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3127 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3128 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3129 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3130 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3131 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3132 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3133 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3134 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3135 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3136 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3137 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3241 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3242 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3243 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3244 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3245 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3247 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3249 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3250 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3251 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3252 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3253 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3254 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3255 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3256 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3257 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3258 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3259 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3260 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3261 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3263 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3264 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3266 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3267 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3268 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3269 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3271 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3272 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3273 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3274 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3275 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3276 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3277 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3279 2014-06-10 Wilco <wdijkstr@arm.com>
3281 * math/test-fenv-return.c: New file.
3282 * math/Makefile: Add new test test-fenv-return.
3284 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3287 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3289 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3290 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3291 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3292 0.0L for an argument of 1.0L.
3293 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3295 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3296 value when x - 1 is zero.
3297 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3298 * sysdeps/i386/fpu/libm-test-ulps: Update.
3299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3301 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3304 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3306 2014-06-09 Roland McGrath <roland@hack.frob.com>
3308 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3309 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3311 2014-06-09 Roland McGrath <roland@hack.frob.com>
3313 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3314 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3316 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3317 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3319 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3320 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3322 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3323 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3325 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3326 if not already defined.
3327 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3328 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3329 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3330 (TLS_INIT_TP): Use it.
3331 (TLS_DEFINE_INIT_TP): New macro.
3332 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3334 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3336 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3338 [POSIX] (IXANY): Likewise.
3339 [POSIX] (OLCUC): Likewise.
3340 [POSIX || POSIX2008] (CBAUD): Do not allow.
3341 [POSIX || POSIX2008] (DEFECHO): Likewise.
3342 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3343 [POSIX || POSIX2008] (ECHOKE): Likewise.
3344 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3345 [POSIX || POSIX2008] (EXTA): Likewise.
3346 [POSIX || POSIX2008] (EXTB): Likewise.
3347 [POSIX || POSIX2008] (FLUSHO): Likewise.
3348 [POSIX || POSIX2008] (LOBLK): Likewise.
3349 [POSIX || POSIX2008] (PENDIN): Likewise.
3350 [POSIX || POSIX2008] (SWTCH): Likewise.
3351 [POSIX || POSIX2008] (VDISCARD): Likewise.
3352 [POSIX || POSIX2008] (VDSUSP): Likewise.
3353 [POSIX || POSIX2008] (VLNEXT): Likewise.
3354 [POSIX || POSIX2008] (VREPRINT): Likewise.
3355 [POSIX || POSIX2008] (VSTATUS): Likewise.
3356 [POSIX || POSIX2008] (VWERASE): Likewise.
3357 (B*): Change to B[0123456789]*.
3358 * conform/data/time.h-data [POSIX || UNIX98]
3359 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3360 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3361 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3362 [POSIX] (tm_*): Do not allow.
3364 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3366 * Makefile (install): Don't set LANGUAGE.
3367 * Makefile.in (install): Likewise.
3368 * assert/Makefile (test-assert-ENV): Remove variable.
3369 (test-assert-perr-ENV): Likewise.
3370 * elf/Makefile (neededtest4-ENV): Likewise.
3371 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3372 [$(cross-compiling) = no]: Don't set LANGUAGE.
3373 * io/ftwtest-sh (LANG): Remove variable.
3374 * libio/Makefile (tst-widetext-ENV): Likewise.
3375 * manual/install.texi (Running make install): Don't refer to
3376 environment settings for make install.
3377 * INSTALL: Regenerated.
3378 * nptl/tst-tls6.sh: Don't set LANG.
3379 * posix/globtest.sh (LANG): Remove variable.
3380 * string/Makefile (tester-ENV): Likewise.
3381 (inl-tester-ENV): Likewise.
3382 (noinl-tester-ENV): Likewise.
3383 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3384 [$(cross-compiling) = no]: Don't set LANGUAGE.
3385 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3386 without explicit environment settings.
3388 2014-06-06 Roland McGrath <roland@hack.frob.com>
3390 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3391 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3392 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3393 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3395 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3397 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3398 other files in the crypt directory.
3399 * crypt/crypt.c: Remove duplicate includes.
3400 * crypt/crypt-entry.c: Likewise.
3401 * crypt/crypt_util.c: Likewise.
3403 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3405 * Makeconfig (run-program-env): New variable.
3406 (run-program-prefix-before-env): Likewise.
3407 (run-program-prefix-after-env): Likewise.
3408 (run-program-prefix): Define in terms of new variables.
3409 (built-program-cmd-before-env): New variable.
3410 (built-program-cmd-after-env): Likewise.
3411 (built-program-cmd): Define in terms of new variables.
3412 (test-program-prefix-before-env): New variable.
3413 (test-program-prefix-after-env): Likewise.
3414 (test-program-prefix): Define in terms of new variables.
3415 (test-program-cmd-before-env): New variable.
3416 (test-program-cmd-after-env): Likewise.
3417 (test-program-cmd): Define in terms of new variables.
3418 * Rules (make-test-out): Use $(run-program-env).
3419 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3420 (help): Do not mention environment variables. Mention
3421 --timeoutfactor option.
3422 (timeoutfactor): New variable.
3423 (blacklist_exports): Remove function.
3424 (exports): Remove variable.
3425 (command): Do not include ${exports}.
3426 * manual/install.texi (Configuring and compiling): Do not mention
3427 test wrappers preserving environment variables. Mention that last
3428 assignment to a variable must take precedence.
3429 * INSTALL: Regenerated.
3430 * benchtests/Makefile (run-bench): Use $(run-program-env).
3431 * catgets/Makefile ($(objpfx)test1.cat): Use
3432 $(built-program-cmd-before-env), $(run-program-env) and
3433 $(built-program-cmd-after-env).
3434 ($(objpfx)test2.cat): Do not specify environment variables
3436 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3437 $(run-program-env) and $(built-program-cmd-after-env).
3438 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3439 $(run-program-env) and $(test-program-cmd-after-env).
3440 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3442 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3443 run_program_env and test_program_cmd_after_env arguments.
3444 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3445 * elf/tst-pathopt.sh: Use run_program_env argument.
3446 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3447 $(test-wrapper-env) and $(run-program-env).
3448 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3449 run_program_env arguments.
3450 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3451 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3452 $(test-program-prefix-before-env), $(run-program-env) and
3453 $(test-program-prefix-after-env).
3454 ($(objpfx)tst-gettext2.out): Likewise.
3455 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3456 run_program_env and test_program_prefix_after_env arguments.
3457 * intl/tst-gettext2.sh: Likewise.
3458 * intl/tst-gettext4.sh: Do not set environment variables
3460 * intl/tst-gettext6.sh: Likewise.
3461 * intl/tst-translit.sh: Likewise.
3462 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3463 $(test-program-prefix-before-env), $(run-program-env) and
3464 $(test-program-prefix-after-env).
3465 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3466 run_program_env and test_program_prefix_after_env arguments.
3467 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3468 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3469 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3470 explicitly with each use of ${test_wrapper_env}.
3471 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3472 $(test-program-prefix-before-env), $(run-program-env) and
3473 $(test-program-prefix-after-env).
3474 * posix/tst-getconf.sh: Do not set environment variables
3476 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3477 run_program_env and test_program_prefix_after_env arguments.
3478 * stdio-common/tst-printf.sh: Do not set environment variables
3480 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3481 $(test-program-prefix-before-env), $(run-program-env) and
3482 $(test-program-prefix-after-env).
3483 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3484 run_program_env and test_program_prefix_after_env arguments.
3485 Split $test calls into $test_pre and $test.
3486 * timezone/Makefile (build-testdata): Use
3487 $(built-program-cmd-before-env), $(run-program-env) and
3488 $(built-program-cmd-after-env).
3490 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3492 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3493 strlen for non SHARED builds.
3495 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3497 * nptl/allocatestack.c (check_list): Inlined function...
3498 (__reclaim_stacks): ... here.
3500 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3503 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3506 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3508 * Rules (make-test-out): Include
3509 LOCPATH=$(common-objpfx)localedata in default environment.
3510 * debug/Makefile (tst-chk1-ENV): Remove variable.
3511 (tst-chk2-ENV): Likewise.
3512 (tst-chk3-ENV): Likewise.
3513 (tst-chk4-ENV): Likewise.
3514 (tst-chk5-ENV): Likewise.
3515 (tst-chk6-ENV): Likewise.
3516 (tst-lfschk1-ENV): Likewise.
3517 (tst-lfschk2-ENV): Likewise.
3518 (tst-lfschk3-ENV): Likewise.
3519 (tst-lfschk4-ENV): Likewise.
3520 (tst-lfschk5-ENV): Likewise.
3521 (tst-lfschk6-ENV): Likewise.
3522 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3523 (tst-iconv7-ENV): Likewise.
3524 * intl/Makefile (LOCPATH-ENV): Likewise.
3525 (tst-codeset-ENV): Likewise.
3526 (tst-gettext3-ENV): Likewise.
3527 (tst-gettext5-ENV): Likewise.
3528 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3529 (tst-fopenloc-ENV): Likewise.
3530 (tst-fgetws-ENV): Remove variable.
3531 (tst-ungetwc1-ENV): Likewise.
3532 (tst-ungetwc2-ENV): Likewise.
3533 (bug-ungetwc2-ENV): Likewise.
3534 (tst-swscanf-ENV): Likewise.
3535 (bug-ftell-ENV): Likewise.
3536 (tst-fgetwc-ENV): Likewise.
3537 (tst-fseek-ENV): Likewise.
3538 (tst-ftell-partial-wide-ENV): Likewise.
3539 (tst-ftell-active-handler-ENV): Likewise.
3540 (tst-ftell-append-ENV): Likewise.
3541 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3542 (tst-regexloc-ENV): Likewise.
3543 (bug-regex1-ENV): Likewise.
3544 (tst-regex-ENV): Likewise.
3545 (tst-regex2-ENV): Likewise.
3546 (bug-regex5-ENV): Likewise.
3547 (bug-regex6-ENV): Likewise.
3548 (bug-regex17-ENV): Likewise.
3549 (bug-regex18-ENV): Likewise.
3550 (bug-regex19-ENV): Likewise.
3551 (bug-regex20-ENV): Likewise.
3552 (bug-regex22-ENV): Likewise.
3553 (bug-regex23-ENV): Likewise.
3554 (bug-regex25-ENV): Likewise.
3555 (bug-regex26-ENV): Likewise.
3556 (bug-regex30-ENV): Likewise.
3557 (bug-regex32-ENV): Likewise.
3558 (bug-regex33-ENV): Likewise.
3559 (bug-regex34-ENV): Likewise.
3560 (bug-regex35-ENV): Likewise.
3561 (tst-rxspencer-ENV): Likewise.
3562 (tst-rxspencer-no-utf8-ENV): Likewise.
3563 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3564 (tst-sscanf-ENV): Likewise.
3565 (tst-swprintf-ENV): Likewise.
3566 (tst-swscanf-ENV): Likewise.
3567 (test-vfprintf-ENV): Likewise.
3568 (scanf13-ENV): Likewise.
3569 (bug14-ENV): Likewise.
3570 (tst-grouping-ENV): Likewise.
3571 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3572 (tst-strtod3-ENV): Likewise.
3573 (tst-strtod4-ENV): Likewise.
3574 (tst-strtod5-ENV): Likewise.
3575 (testmb2-ENV): Likewise./
3576 * string/Makefile (tst-strxfrm-ENV): Likewise.
3577 (tst-strxfrm2-ENV): Likewise.
3578 (bug-strcoll1-ENV): Likewise.
3579 (test-strcasecmp-ENV): Likewise.
3580 (test-strncasecmp-ENV): Likewise.
3581 * time/Makefile (tst-strptime-ENV): Likewise.
3582 (tst-ftime_l-ENV): Likewise.
3583 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3584 (tst-mbrtowc-ENV): Likewise.
3585 (tst-wcrtomb-ENV): Likewise.
3586 (tst-mbrtowc2-ENV): Likewise.
3587 (tst-c16c32-1-ENV): Likewise.
3588 (tst-mbsnrtowcs-ENV): Likewise.
3590 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3592 * manual/resource.texi (How to get information about the memory
3593 subsystem?): Fix typo.
3594 Reported by Peon de la Parra Ivan <peon@keba.com>
3596 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3599 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3600 (pthread_spin_lock): Branch out of spin loop to proper location.
3601 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3602 (pthread_spin_lock): Likewise.
3604 * nptl/tst-spin4.c: New test.
3605 * nptl/Makefile (tests): Add tst-spin4.
3607 2014-06-03 Andreas Schwab <schwab@suse.de>
3610 * resolv/res_send.c (send_dg): Reload file descriptor after
3613 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3615 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3617 2014-06-03 Richard Henderson <rth@redhat.com>
3619 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3620 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3621 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3622 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3623 in the SAVE_PID block.
3624 (__libc_vfork): New alias.
3625 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3627 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3628 child in registers, not on the stack. Remove RESET_PID conditionals.
3629 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3631 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3633 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3635 2014-06-03 Wilco <wdijkstr@arm.com>
3637 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3638 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3639 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3640 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3641 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3644 2014-06-03 Wilco <wdijkstr@arm.com>
3646 * sysdeps/aarch64/fpu/math_private.h
3647 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3648 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3649 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3650 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3653 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3655 * crypt/crypt-private.h: Include ufc-crypt.h.
3656 (__b64_from_24bit): Declare extern.
3657 * crypt/crypt_util.c(__b64_from_24bit): New function.
3658 (b64t): New static const variable.
3659 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3660 (b64t): Remove variable.
3661 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3662 * crypt/sha256-crypt.c: Include crypt-private.h.
3663 (b64t): Remove variable.
3664 (__sha256_crypt_r): Remove b64_from_24bit and replace
3665 with __b64_from_24bit.
3666 * crypt/sha512-crypt.c: Likewise.
3668 2014-06-02 Roland McGrath <roland@hack.frob.com>
3670 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3671 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3672 Label the code __libc_vfork rather than __vfork.
3673 [!NOT_IN_libc] (vfork): Define as weak alias.
3674 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3675 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3676 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3678 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3680 * malloc/malloc.c (malloc_info): Fix format specifier for
3683 2014-06-02 Wilco <wdijkstr@arm.com>
3685 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3688 2014-06-02 Wilco <wdijkstr@arm.com>
3691 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3692 Rewrite to reduce FPCR/FPSR accesses.
3694 2014-06-01 David S. Miller <davem@davemloft.net>
3696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3698 2014-05-31 David S. Miller <davem@davemloft.net>
3700 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3701 to occur in round to nearest mode when |x| >= 2.0
3703 2014-05-30 Richard Henderson <rth@twiddle.net>
3705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3706 (PSEUDO_RET_NOERRNO): Remove.
3707 (ret): Don't redefine.
3708 (ret_NOERRNO): Define in terms of ret.
3709 (ret_ERRVAL): Likewise.
3711 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3712 use of PSEUDO_RET; perform the error check directly.
3714 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3716 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3719 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3721 * malloc/malloc (malloc_info): Fix formatting.
3723 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3724 Roland McGrath <roland@hack.frob.com>
3726 * malloc/malloc (malloc_info): Also print mmapped statistics.
3728 2014-05-30 Roland McGrath <roland@hack.frob.com>
3730 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3731 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3733 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3735 * malloc/malloc.c (malloc_info): Inline mi_arena.
3737 2014-05-29 Richard Henderson <rth@twiddle.net>
3739 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3740 Remove comma before expanding ASM_ARGS_##nr.
3741 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3742 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3744 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3745 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3746 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3747 (ASM_ARGS_1): Add leading comma.
3749 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3750 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3751 to __errno_location.
3752 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3753 Remove the expected plt for __errno_location.
3755 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3756 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3759 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3760 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3761 it and break it down.
3762 (DOCARGS_0, DOCARGS_1): Do nothing.
3763 (DOCARGS_2): Update to store into the new stack frame.
3764 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3765 (UNDOCARGS_1): Update to restore from the new stack frame.
3766 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3767 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3769 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3770 (SINGLE_THREAD_P): New parameter for result regno.
3771 (PSEUDO): Update to match; use cbz instead of beq.
3773 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3774 Use ENTRY to define the _nocancel entry point. Share the syscall
3775 and syscall error check paths with the cancel path.
3778 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3779 whitespace; tabs before and after asm mnemonics.
3781 2014-05-29 Eric Wong <normalperson@yhbt.net>
3784 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3785 Call fstat64 or stat64 internally, depending on arguments passed.
3786 Replace stat buffer argument with file descriptor argument.
3787 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3788 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3789 Pass fd to __internal_statvfs instead of calling fstat64.
3790 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3791 Pass fd to __internal_statvfs64 instead of calling fstat64.
3792 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3793 Pass -1 to __internal_statvfs instead of calling stat64.
3794 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3795 Pass -1 to __internal_statvfs64 instead of calling stat64.
3797 2014-05-28 Roland McGrath <roland@hack.frob.com>
3799 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3800 that was previously under [RESET_PID].
3801 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3803 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3804 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3806 2014-05-27 Roland McGrath <roland@hack.frob.com>
3808 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3810 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3811 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3813 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3815 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3817 2014-05-27 Andreas Schwab <schwab@suse.de>
3819 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3821 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3822 * elf/rtld.c (init_tls, dl_main): Likewise.
3823 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3824 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3825 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3826 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3827 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3828 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3829 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3830 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3831 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3832 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3833 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3834 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3835 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3836 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3837 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3838 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3839 * sysdeps/generic/tls.h: Update description.
3841 2014-05-27 Will Newton <will.newton@linaro.org>
3844 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3845 and restore r2 rather than just restoring.
3847 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3850 * libio/tst-ftell-append.c: New test case.
3851 * libio/Makefile (tests): Add test case.
3852 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3854 * libio/wfileops.c (do_ftell_wide): Likewise.
3856 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3860 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3864 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3865 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3866 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3867 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3868 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3869 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3870 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3876 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3877 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3878 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3879 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3880 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3882 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3883 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3885 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3887 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3889 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3890 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3891 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3893 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3894 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3895 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3896 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3898 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3901 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3904 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3907 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3911 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3914 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3919 conditional [RESET_PID].
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3928 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3929 (__libc_vfork): New strong alias.
3930 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3932 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3937 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3938 (__libc_vfork): New strong alias.
3939 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3941 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3944 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3946 * malloc/malloc.c (mi_arena): New function.
3947 (malloc_info): Remove nested function mi_arena. Call non-nosted
3950 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3952 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3954 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3955 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3956 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3957 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3958 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3959 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3960 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3962 2014-05-26 Andreas Schwab <schwab@suse.de>
3965 * locale/programs/repertoire.c (repertoire_read): Add slash
3966 between I18NPATH element and file name.
3967 * locale/programs/locfile.c (locfile_read): Likewise.
3969 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3971 * nptl/pthread_mutexattr_settype.c
3972 (__pthread_mutexattr_settype):
3973 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3975 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3977 * nptl/tst-mutex5 (do_test):
3978 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3980 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3982 * benchtests/README: Document 'init' directive.
3983 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3985 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3986 (parse_file): Recognize 'init' directive.
3988 2014-05-26 Kyle McMartin <kyle@redhat.com>
3991 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3992 alignment of struct pthread.
3994 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3997 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3998 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3999 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4000 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4002 2014-05-25 Richard Henderson <rth@twiddle.net>
4004 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4005 (SINGLE_THREAD_P_PIC): Remove.
4006 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4007 (SINGLE_THREAD_P_PIC): Remove.
4009 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4010 branch to syscall error ...
4012 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4013 from __local_syscall_error to .Lsyscall_error.
4014 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4015 (SYSCALL_ERROR): Update label name.
4017 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4018 Do not use DOARGS/UNDOARGS.
4019 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4020 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4021 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4022 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4023 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4025 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4028 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4029 define if !NOT_IN_libc.
4030 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4031 define with non-default symbol versions.
4033 2014-05-23 Richard Henderson <rth@twiddle.net>
4035 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4036 (vfork, __vfork): Define via compat_symbol.
4038 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4039 [!HAVE_IFUNC] (vfork_compat): Remove.
4040 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4042 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4045 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4046 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4049 2014-05-23 Richard Henderson <rth@twiddle.net>
4051 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4052 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4053 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4054 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4056 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4057 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4058 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4059 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4060 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4061 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4062 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4063 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4064 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4065 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4066 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4067 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4068 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4071 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4072 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4073 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4074 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4077 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4079 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4080 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4091 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4092 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4095 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4096 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4097 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4098 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4099 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4100 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4101 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4102 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4103 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4104 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4105 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4106 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4107 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4108 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4109 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4110 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4111 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4113 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4114 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4115 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4116 before exiting on error.
4117 (__libc_vfork): New strong alias.
4118 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4119 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4121 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4122 that was previously under [RESET_PID].
4123 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4125 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4127 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4130 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4131 value when x - 1 is zero.
4132 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4133 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4134 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4135 0.0L for an argument of 1.0L.
4136 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4138 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4139 value when x - 1 is zero.
4140 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4141 * sysdeps/i386/fpu/libm-test-ulps: Update.
4142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4144 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4146 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4147 alphasort and versionsort.
4149 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4151 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4153 [copysignf]: Likewise.
4155 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4157 * crypt/md5-crypt.c: Fix formatting.
4159 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4161 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4162 (b64_from_24bit): New function.
4164 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4166 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4167 libc_hidden_builtin_def to ifunc.
4168 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4169 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4171 2014-05-21 Roland McGrath <roland@hack.frob.com>
4173 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4174 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4176 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4178 * nscd/Depend (linuxthreads): Remove.
4180 * resolv/Depend (linuxthreads): Remove.
4181 * rt/Depend (linuxthreads): Remove.
4183 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4184 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4185 $(common-objpfx)elf/.
4186 (link-libc-before-gnulib): Likewise.
4187 (elfobjdir): Remove variable.
4188 * Makefile (install): Use $(elf-objpfx) instead of
4189 $(common-objpfx)elf/.
4190 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4192 (link-libc-deps): Likewise.
4193 ($(common-objpfx)libc.so): Likewise.
4194 ($(common-objpfx)linkobj/libc.so): Likewise.
4195 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4196 instead of $(common-objpfx)elf/.
4197 (symbolic-link-list): Likewise.
4198 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4199 [$(cross-compiling) = no]: Likewise.
4200 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4202 (static-gnulib-arch): Likewise.
4203 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4204 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4205 $(common-objpfx)elf/.
4207 2014-05-21 Richard Henderson <rth@redhat.com>
4209 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4210 (SINGLE_THREAD_P): Use the correct width load. Fold
4211 into the ldr offset.
4213 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4214 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4216 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4218 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4219 (libgcc_s_resume): Use __attribute_used__.
4220 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4223 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4225 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4226 optimization when used with float constants.
4228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4230 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4233 * locale/nl_langinfo_l.c: Make direct reference to every
4234 _nl_current_CATEGORY symbol.
4235 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4236 (tests-static): Add tst-langinfo-static.
4237 (tests-special): Add tst-langinfo-static.out.
4238 ($(objpfx)tst-langinfo.out): Redirect output.
4239 ($(objpfx)tst-langinfo-static.out): New.
4240 * localedata/tst-langinfo.sh: Send output to stdout.
4241 * localedata/tst-langinfo-static.c: New file.
4244 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4245 when the shift amount is modulo the limb size.
4247 2014-05-20 Richard Henderson <rth@redhat.com>
4250 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4251 Change type of sa_flags from unsigned int to int.
4254 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4256 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4258 2014-05-20 Will Newton <will.newton@linaro.org>
4260 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4261 Test the return value of the system call in the nocancel case.
4263 2014-05-20 Will Newton <will.newton@linaro.org>
4264 Yvan Roux <yvan.roux@linaro.org>
4266 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4267 #include of asm/ptrace.h.
4268 (PTRACE_GET_THREAD_AREA): Remove #undef.
4269 (PTRACE_GETHBPREGS): Likewise.
4270 (PTRACE_SETHBPREGS): Likewise.
4271 (struct user_regs_struct): New structure.
4272 (struct user_fpsimd_struct): New structure.
4273 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4274 #include of asm/ptrace.h and second #include of sys/user.h.
4275 (PTRACE_GET_THREAD_AREA): Remove #undef.
4276 (PTRACE_GETHBPREGS): Likewise.
4277 (PTRACE_SETHBPREGS): Likewise.
4278 (ELF_NGREG): Use new struct user_regs_struct.
4279 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4281 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4286 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4290 membar to avoid block loads/stores to overlap previous stores.
4292 2014-05-17 Richard Henderson <rth@redhat.com>
4294 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4295 Create the __##syscall_name##_nocancel entry point.
4296 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4297 Remove; let the sysdep-cancel.h code create it.
4299 2014-05-17 David S. Miller <davem@davemloft.net>
4301 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4302 Protect with __USE_GNU.
4303 (TIOCSET_TEMPT): Likewise.
4304 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4305 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4306 these are already provided in bits/ioctl-types.h
4308 2014-05-16 Roland McGrath <roland@hack.frob.com>
4310 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4311 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4313 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4314 Use wait4 regardless of [__NR_waitpid].
4316 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4319 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4320 (_FP_NANSIGN_Q): Set the quiet bit.
4322 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4324 * benchtests/Makefile
4325 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4326 not $(common-objpfx)math/libm.so.
4327 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4328 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4329 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4330 $(common-objpfx)dlfcn/libdl.so.
4331 ($(objpfx)tst-audit8): Depend on $(libm), not
4332 $(common-objpfx)math/libm.so.
4333 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4334 not $(common-objpfx)dlfcn/libdl.so.
4336 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4337 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4338 [$(build-shared) = yes].
4339 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4340 $(common-objpfx)nptl/libpthread.so.
4341 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4342 $(common-objpfx)math/libm.so$(libm.so-version) or
4343 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4344 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4345 $(common-objpfx)dlfcn/libdl.so.
4346 * setjmp/Makefile (link-libm): Remove variable.
4347 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4348 * stdio-common/Makefile (link-libm): Remove variable.
4349 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4350 * stdlib/Makefile (link-libm): Remove variable.
4351 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4352 ($(objpfx)tst-strtod-round): Likewise.
4353 ($(objpfx)tst-tininess): Likewise.
4354 ($(objpfx)tst-strtod-underflow): Likewise.
4355 ($(objpfx)tst-strtod6): Likewise.
4356 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4357 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4358 $(common-objpfx)dlfcn/libdl.so.
4360 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4362 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4363 BSD terminal modes definitions.
4365 2014-05-16 Roland McGrath <roland@hack.frob.com>
4367 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4368 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4370 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4371 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4372 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4373 Don't do #include_next.
4374 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4375 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4376 Don't do #include_next.
4377 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4378 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4379 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4380 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4382 2014-05-16 Allan McRae <allan@archlinux.org>
4384 * po/sv.po: Update Swedish translation from translation project.
4386 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4389 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4392 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4393 errno if the TIOCGPTN ioctl fails with an error different than
4395 * login/tst-ptsname.c: New file.
4396 * login/Makefile (tests): Add tst-ptsname.
4399 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4402 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4406 herrno to return EAI_AGAIN.
4408 2014-05-14 Roland McGrath <roland@hack.frob.com>
4410 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4411 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4412 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4421 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4422 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4423 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4424 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4425 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4426 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4427 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4428 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4429 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4430 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4431 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4432 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4433 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4434 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4435 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4436 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4437 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4438 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4439 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4441 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4443 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4446 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4448 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4450 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4452 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4454 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4456 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4458 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4460 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4462 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4466 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4468 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4470 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4472 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4475 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4477 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4479 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4481 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4483 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4485 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4487 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4489 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4491 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4493 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4496 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4500 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4501 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4502 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4503 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4504 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4505 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4506 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4507 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4508 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4509 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4510 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4511 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4512 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4513 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4514 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4515 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4516 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4517 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4518 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4519 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4520 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4521 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4522 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4523 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4524 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4525 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4526 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4528 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4529 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4530 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4532 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4533 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4535 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4536 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4537 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4538 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4539 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4540 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4542 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4543 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4545 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4546 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4548 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4549 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4551 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4552 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4553 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4554 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4556 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4557 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4558 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4559 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4560 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4561 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4562 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4563 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4565 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4566 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4568 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4570 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4571 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4572 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4573 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4574 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4576 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4578 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4580 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4581 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4582 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4583 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4584 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4585 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4587 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4588 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4590 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4591 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4593 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4594 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4596 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4597 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4598 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4599 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4601 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4602 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4603 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4604 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4605 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4606 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4607 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4608 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4610 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4611 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4613 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4615 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4616 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4617 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4618 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4619 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4621 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4623 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4625 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4626 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4627 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4628 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4629 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4630 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4631 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4632 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4633 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4634 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4636 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4637 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4639 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4640 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4642 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4643 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4645 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4646 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4647 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4648 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4649 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4650 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4652 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4653 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4654 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4655 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4656 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4657 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4658 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4659 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4661 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4662 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4664 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4666 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4667 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4668 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4669 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4670 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4672 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4674 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4676 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4678 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4679 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4680 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4681 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4682 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4683 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4684 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4686 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4688 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4689 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4691 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4692 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4694 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4695 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4696 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4697 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4698 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4699 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4700 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4701 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4702 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4703 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4704 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4706 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4708 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4710 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4713 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4714 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4715 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4716 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4718 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4719 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4720 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4722 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4724 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4725 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4727 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4728 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4730 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4731 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4732 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4734 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4736 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4737 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4738 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4739 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4740 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4742 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4743 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4744 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4745 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4746 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4748 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4749 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4750 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4751 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4752 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4754 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4755 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4756 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4757 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4758 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4759 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4760 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4761 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4762 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4763 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4765 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4766 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4768 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4769 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4770 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4771 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4773 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4774 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4775 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4776 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4777 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4778 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4779 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4780 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4781 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4782 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4786 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4788 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4790 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4802 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4803 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4804 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4805 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4806 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4807 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4808 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4809 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4810 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4811 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4812 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4813 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4814 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4815 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4816 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4818 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4819 that was previously under [RESET_PID].
4820 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4821 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4822 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4824 * sysdeps/i386/nptl/Implies: New file.
4825 * sysdeps/x86_64/nptl/Implies: New file.
4826 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4827 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4829 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4831 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4832 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4833 (__libc_vfork): New strong alias.
4834 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4835 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4837 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4838 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4839 (__libc_vfork): New strong alias.
4840 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4841 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4843 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4844 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4845 (__libc_vfork): New strong alias.
4846 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4847 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4848 * nptl/pt-vfork.c: New file.
4849 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4850 (libpthread: GLIBC_2.20): New version set (empty).
4852 2014-05-14 Will Newton <will.newton@linaro.org>
4854 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4857 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4860 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4861 arguments with exponent 65 or above.
4862 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4863 arguments 0x1p113L or above.
4864 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4865 to arguments 0x1p107L or above.
4866 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4867 positive arguments with exponent 65 or above.
4868 * math/auto-libm-test-in: Add more tests of log1p.
4869 * math/auto-libm-test-out: Regenerated.
4872 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4873 non-finite arguments is +0.
4874 * math/s_cacosf.c (__cacosf): Likewise.
4875 * math/s_cacosl.c (__cacosl): Likewise.
4876 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4877 * sysdeps/i386/fpu/libm-test-ulps: Update.
4878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4881 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4883 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4884 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4885 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4886 for explicit high bit of mantissa when testing for argument equal
4888 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4889 * sysdeps/i386/fpu/libm-test-ulps: Update.
4890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4893 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4894 (__erf): Scale by 16 instead of 8 in potentially underflowing
4895 case. Ensure exception if result actually underflows.
4896 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4897 (__erff): Scale by 16 instead of 8 in potentially underflowing
4898 case. Ensure exception if result actually underflows.
4899 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4900 (efx8): Remove variable.
4901 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4902 case. Ensure exception if result actually underflows.
4903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4904 (efx8): Remove variable.
4905 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4906 case. Ensure exception if result actually underflows.
4907 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4908 (efx8): Remove variable.
4909 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4910 case. Ensure exception if result actually underflows.
4911 * math/auto-libm-test-in: Add more tests of erf.
4912 * math/auto-libm-test-out: Regenerated.
4914 2014-05-14 Andreas Schwab <schwab@suse.de>
4916 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4917 Remove code conditionalized on USE___THREAD.
4919 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4920 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4923 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4925 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4926 Define unconditionally.
4927 (__ASSUME_O_CLOEXEC): Likewise.
4928 (__ASSUME_SOCK_CLOEXEC): Likewise.
4929 (__ASSUME_IN_NONBLOCK): Likewise.
4930 (__ASSUME_PIPE2): Likewise.
4931 (__ASSUME_EVENTFD2): Likewise.
4932 (__ASSUME_SIGNALFD4): Likewise.
4933 (__ASSUME_DUP3): Likewise.
4934 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4935 (__ASSUME_DUP3): Do not define.
4936 (__ASSUME_EVENTFD2): Likewise.
4937 (__ASSUME_IN_NONBLOCK): Likewise.
4938 (__ASSUME_O_CLOEXEC): Likewise.
4939 (__ASSUME_PIPE2): Likewise.
4940 (__ASSUME_SIGNALFD4): Likewise.
4941 (__ASSUME_SOCK_CLOEXEC): Likewise.
4942 (__ASSUME_UTIMES): Undefine.
4943 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4944 (__ASSUME_UTIMES): Do not define.
4945 (__ASSUME_O_CLOEXEC): Likewise.
4946 (__ASSUME_SOCK_CLOEXEC): Likewise.
4947 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4948 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4950 (__ASSUME_PIPE2): Likewise.
4951 (__ASSUME_EVENTFD2): Likewise.
4952 (__ASSUME_SIGNALFD4): Likewise.
4953 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4954 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4956 (__ASSUME_EVENTFD2): Likewise.
4957 (__ASSUME_SIGNALFD4): Likewise.
4958 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4959 (__ASSUME_32BITUIDS): Likewise.
4960 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4961 (__ASSUME_IPC64): Likewise.
4962 (__ASSUME_ST_INO_64_BIT): Likewise.
4963 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4964 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4965 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4966 (__ASSUME_UTIMES): Do not define.
4967 (__ASSUME_PSELECT): Likewise.
4968 (__ASSUME_PPOLL): Likewise.
4969 (__ASSUME_O_CLOEXEC): Likewise.
4970 (__ASSUME_SOCK_CLOEXEC): Likewise.
4971 (__ASSUME_IN_NONBLOCK): Likewise.
4972 (__ASSUME_PIPE2): Likewise.
4973 (__ASSUME_EVENTFD2): Likewise.
4974 (__ASSUME_SIGNALFD4): Likewise.
4975 (__ASSUME_DUP3): Likewise.
4976 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4977 (__ASSUME_UTIMES): Likewise.
4978 (__ASSUME_O_CLOEXEC): Likewise.
4979 (__ASSUME_SOCK_CLOEXEC): Likewise.
4980 (__ASSUME_IN_NONBLOCK): Likewise.
4981 (__ASSUME_PIPE2): Likewise.
4982 (__ASSUME_EVENTFD2): Likewise.
4983 (__ASSUME_SIGNALFD4): Likewise.
4984 (__ASSUME_DUP3): Likewise.
4985 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4986 (__ASSUME_UTIMES): Likewise.
4987 (__ASSUME_O_CLOEXEC): Likewise.
4988 (__ASSUME_SOCK_CLOEXEC): Likewise.
4989 (__ASSUME_IN_NONBLOCK): Likewise.
4990 (__ASSUME_PIPE2): Likewise.
4991 (__ASSUME_EVENTFD2): Likewise.
4992 (__ASSUME_SIGNALFD4): Likewise.
4993 (__ASSUME_DUP3): Likewise.
4994 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4996 (__ASSUME_UTIMES): Likewise.
4997 (__ASSUME_EVENTFD2): Likewise.
4998 (__ASSUME_SIGNALFD4): Likewise.
4999 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5000 (__ASSUME_O_CLOEXEC): Likewise.
5001 (__ASSUME_SOCK_CLOEXEC): Likewise.
5002 (__ASSUME_IN_NONBLOCK): Likewise.
5003 (__ASSUME_PIPE2): Likewise.
5004 (__ASSUME_EVENTFD2): Likewise.
5005 (__ASSUME_SIGNALFD4): Likewise.
5006 (__ASSUME_DUP3): Likewise.
5007 (__ASSUME_UTIMES): Undefine.
5009 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5010 feclearexcept. Remove symbol versioning code.
5011 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5012 symbol versioning code.
5013 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5014 symbol versioning code.
5015 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5016 feupdateenv. Remove symbol versioning code.
5017 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5018 fegetexceptflag. Remove symbol versioning code.
5019 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5020 fesetexceptflag. Remove symbol versioning code.
5021 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5022 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5023 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5024 (__posix_fadvise64_l32): Remove prototype.
5025 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5028 2014-05-13 Roland McGrath <roland@hack.frob.com>
5030 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5031 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5032 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5033 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5035 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5037 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5038 current working directory
5040 2014-05-13 Roland McGrath <roland@hack.frob.com>
5042 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5043 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5044 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5045 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5046 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5047 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5048 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5049 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5050 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5051 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5052 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5053 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5054 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5055 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5056 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5057 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5058 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5059 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5060 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5061 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5062 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5063 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5064 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5065 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5066 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5067 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5068 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5069 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5070 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5071 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5072 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5073 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5074 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5075 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5076 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5077 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5078 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5079 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5080 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5081 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5082 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5083 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5085 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5086 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5088 * sysdeps/unix/sysv/linux/arm/Makefile
5089 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5090 Add rt-aeabi_unwind_cpp_pr1.
5091 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5092 Add nptl-aeabi_unwind_cpp_pr1.
5093 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5094 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5095 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5096 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5097 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5098 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5100 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5101 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5102 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5103 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5105 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5106 Deconditionalize the code that was previously under [RESET_PID].
5107 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5109 * sysdeps/generic/exit-thread.h: New file.
5110 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5111 * include/unistd.h (__exit_thread): Remove declaration.
5112 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5113 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5114 * csu/libc-start.c: Include <exit-thread.h>.
5115 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5116 * nptl/pthread_create.c: Include <exit-thread.h>.
5117 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5118 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5119 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5120 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5121 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5122 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5123 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5124 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5125 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5126 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5127 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5128 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5129 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5130 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5131 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5132 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5133 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5135 2014-05-13 Andreas Schwab <schwab@suse.de>
5137 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5139 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5141 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5142 (__ASSUME_UTIMES): Do not condition on kernel version.
5143 (__ASSUME_PSELECT): Define unconditionally.
5144 (__ASSUME_PPOLL): Likewise.
5145 (__ASSUME_ATFCTS): Likewise.
5146 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5147 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5148 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5149 (__ASSUME_UTIMENSAT): Define unconditionally.
5150 (__ASSUME_PRIVATE_FUTEX): Likewise.
5151 (__ASSUME_FALLOCATE): Likewise.
5152 (__ASSUME_O_CLOEXEC): Likewise.
5153 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5154 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5155 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5156 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5157 (__ASSUME_IN_NONBLOCK): Likewise.
5158 (__ASSUME_PIPE2): Likewise.
5159 (__ASSUME_EVENTFD2): Likewise.
5160 (__ASSUME_SIGNALFD4): Likewise.
5161 (__ASSUME_DUP3): Likewise.
5162 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5163 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5164 (__ASSUME_AT_RANDOM): Likewise.
5165 (__ASSUME_PREADV): Likewise.
5166 (__ASSUME_PWRITEV): Likewise.
5167 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5168 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5169 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5170 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5171 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5172 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5173 (__ASSUME_O_CLOEXEC): Define unconditionally.
5174 (__ASSUME_PSELECT): Do not undefine conditionally.
5175 (__ASSUME_PPOLL): Likewise.
5176 (__ASSUME_ATFCTS): Likewise.
5177 (__ASSUME_SET_ROBUST_LIST): Likewise.
5178 (__ASSUME_UTIMENSAT): Likewise.
5179 (__ASSUME_FDATASYNC): Define unconditionally.
5180 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5181 (__ASSUME_SIGFRAME_V2): Likewise.
5182 )__ASSUME_EVENTFD2): Likewise.
5183 (__ASSUME_SIGNALFD4): Likewise.
5184 (__ASSUME_PSELECT): Do not undefine conditionally.
5185 (__ASSUME_PPOLL): Likewise.
5186 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5187 (__ASSUME_PSELECT): Define unconditionally.
5188 (__ASSUME_PPOLL): Likewise.
5189 (__ASSUME_O_CLOEXEC): Likewise.
5190 (__ASSUME_SOCK_CLOEXEC): Likewise.
5191 (__ASSUME_IN_NONBLOCK): Likewise.
5192 (__ASSUME_PIPE2): Likewise.
5193 (__ASSUME_EVENTFD2): Likewise.
5194 (__ASSUME_SIGNALFD4): Likewise.
5195 (__ASSUME_DUP3): Likewise.
5196 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5197 (__ASSUME_O_CLOEXEC): Likewise.
5198 (__ASSUME_SOCK_CLOEXEC): Likewise.
5199 (__ASSUME_IN_NONBLOCK): Likewise.
5200 (__ASSUME_PIPE2): Likewise.
5201 (__ASSUME_EVENTFD2): Likewise.
5202 (__ASSUME_SIGNALFD4): Likewise.
5203 (__ASSUME_DUP3): Likewise.
5204 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5205 (__ASSUME_EVENTFD2): Likewise.
5206 (__ASSUME_SIGNALFD4): Likewise.
5207 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5209 2014-05-12 Andreas Schwab <schwab@suse.de>
5212 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5213 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5214 than maximum RPC packet size.
5215 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5216 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5217 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5218 (_nss_nis_getservbyport_r): Likewise.
5220 2014-05-12 Will Newton <will.newton@linaro.org>
5222 * malloc/Makefile (tests): Add tst-mallopt.
5223 * malloc/tst-mallopt.c: New file.
5225 2014-05-09 Roland McGrath <roland@hack.frob.com>
5227 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5228 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5230 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5232 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5233 (tst-tlsmod6.so): Likewise.
5235 2014-05-09 Roland McGrath <roland@hack.frob.com>
5237 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5239 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5242 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5243 and <dl-procinfo.h>.
5244 (__fegetenv): Save SSE state in envp->__eip if supported.
5245 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5246 envp->__eip if supported.
5247 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5248 and <dl-procinfo.h>.
5249 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5250 __data_offset and __data_selector in environment to 0. Set SSE
5252 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5254 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5256 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5258 2014-05-09 Will Newton <will.newton@linaro.org>
5260 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5261 and libc_relro_required for ARM.
5262 * sysdeps/arm/preconfigure: Regenerate.
5264 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5265 Stefan Liebler <stli@linux.vnet.ibm.com>
5267 * config.make.in (enable-lock-elision): New Makefile variable.
5268 * configure.ac: Likewise.
5269 * configure: Regenerate.
5270 * sysdeps/s390/configure.ac:
5271 Add check for gcc transactions support.
5272 * sysdeps/s390/configure: Regenerate.
5273 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5274 Build elision files if enabled.
5275 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5276 Add lock elision support for s390.
5277 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5278 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5279 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5280 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5281 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5282 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5283 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5285 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5287 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5289 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5291 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5292 (__lll_timedlock_elision, __lll_lock_elision)
5293 (__lll_unlock_elision, __lll_trylock_elision)
5294 (lll_timedlock_elision, lll_lock_elision)
5295 (lll_unlock_elision, lll_trylock_elision): Add.
5296 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5297 (pthread_mutex_t): Add lock elision support for s390.
5299 2014-05-14 Wilco <wdijkstr@arm.com>
5301 * sysdeps/arm/fclrexcpt.c: Cleanup.
5302 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5303 * sysdeps/arm/feenablxcpt.c: Cleanup.
5304 * sysdeps/arm/fegetenv.c: Cleanup.
5305 * sysdeps/arm/fegetexcept.c: Cleanup.
5306 * sysdeps/arm/fegetround.c: Cleanup.
5307 * sysdeps/arm/feholdexcpt.c: Cleanup.
5308 * sysdeps/arm/fesetenv.c: Cleanup.
5309 * sysdeps/arm/fesetround.c: Cleanup.
5310 * sysdeps/arm/feupdateenv.c: Cleanup.
5311 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5312 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5313 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5314 * sysdeps/arm/ftestexcept.c: Cleanup.
5315 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5316 * sysdeps/arm/setfpucw.c: Cleanup.
5318 2014-05-09 Will Newton <will.newton@linaro.org>
5320 * sysdeps/arm/armv7/strcmp.S: New file.
5321 * NEWS: Mention addition of ARMv7 optimized strcmp.
5323 2014-05-08 Roland McGrath <roland@hack.frob.com>
5325 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5326 look for %.ac rather than %.in.
5328 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5329 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5330 * sysdeps/mach/hurd/configure: Regenerated.
5331 * sysdeps/unix/sysv/linux/configure: Regenerated.
5333 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5335 2014-05-07 Steve Ellcey <sellcey@mips.com>
5338 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5342 2014-05-07 Andreas Schwab <schwab@suse.de>
5344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5345 when skipping over non-matching result from nscd.
5347 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5350 * nptl/sockperf.c (client): Check socket return value.
5353 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5354 nscd security class.
5356 2014-05-06 Roland McGrath <roland@hack.frob.com>
5358 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5359 * sysdeps/arm/unwind.h: ... here.
5361 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5364 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5367 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5369 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5370 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5371 multiarch strncpy for PPC64.
5372 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5373 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5375 multiarch optimizations.
5376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5377 (__libc_ifunc_impl_list): Likewise.
5378 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5379 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5380 multiarch stpncpy for PPC64.
5381 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5382 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5384 2014-05-06 Andreas Schwab <schwab@suse.de>
5387 * gmon/mcount.c (_MCOUNT_DECL): Use
5388 atomic_compare_and_exchange_bool_acq instead of
5389 catomic_compare_and_exchange_bool_acq.
5391 2014-05-05 Roland McGrath <roland@hack.frob.com>
5393 * elf/Makefile (others, install-bin): Remove pldd.
5394 (pldd-modules): Variable removed.
5395 ($(objpfx)pldd): Target removed.
5396 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5397 (others, install-bin): Append pldd here.
5398 ($(objpfx)pldd): New target.
5400 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5401 to 0, so the first #if test emitted later doesn't see it undefined.
5402 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5403 * sysdeps/gnu/errlist.c: Regenerated.
5405 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5407 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5408 [libc_hidden_builtin_def]: Define to empty value.
5409 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5410 [libc_hidden_builtin_def]: Likewise.
5411 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5412 [libc_hidden_builtin_def]: Likewise.
5413 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5414 [libc_hidden_builtin_def]: Likewise.
5415 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5416 __redirect_memcpy and define ifunc as default hidden symbol.
5417 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5418 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5420 2014-05-04 Adam Conrad <adconrad@0c3.net>
5422 * locale/iso-4217.def: Reintroduce XDR currency.
5424 2014-05-04 Allan McRae <allan@archlinux.org>
5426 * po/eo.po: Update Esperanto translation from translation project.
5428 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5430 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5431 and FEATURE_INDEX_MAX to 1.
5432 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5434 2014-05-01 Steve Ellcey <sellcey@mips.com>
5436 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5437 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5438 * iconvdata/big5.c (ONE_DIRECTION): Define.
5439 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5440 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5441 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5442 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5443 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5444 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5445 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5446 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5447 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5448 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5449 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5450 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5451 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5452 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5453 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5454 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5455 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5456 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5457 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5458 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5459 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5460 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5461 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5462 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5463 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5464 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5465 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5466 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5467 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5468 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5469 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5470 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5471 * iconvdata/johab.c (ONE_DIRECTION): Define.
5472 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5473 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5474 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5475 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5476 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5477 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5478 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5479 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5480 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5481 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5483 2014-05-01 Roland McGrath <roland@hack.frob.com>
5485 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5486 (_IO_JUMPS_OFFSET): Define to 0.
5488 * nptl/sysdeps/pthread/bits/libc-lock.h
5489 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5490 (__libc_lock_define_initialized_recursive): Always define using
5491 initializer. Modern compilers treat uninitialized (implicit zero) and
5492 explicit zero initializers the same (i.e. put the datum in bss).
5494 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5496 * nscd/nscd-client.h: Include <string.h>.
5498 2014-05-01 David S. Miller <davem@davemloft.net>
5501 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5502 multiple zero bytes exist at the end of a string.
5503 Reported by Aurelien Jarno <aurelien@aurel32.net>
5505 * string/test-strcmp.c (check): Add explicit test for situations where
5506 there are multiple zero bytes after the first.
5508 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5511 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5512 when compiling wprintf.
5513 * stdio-common/tstdiomisc.c (t3): New function.
5516 2014-05-01 Steve Ellcey <sellcey@mips.com>
5518 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5519 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5520 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5521 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5523 2014-05-01 Steve Ellcey <sellcey@mips.com>
5525 * stdlib/longlong.h: Updated from GCC.
5527 2014-05-01 Will Newton <will.newton@linaro.org>
5528 Bernard Ogden <bernie.ogden@linaro.org>
5530 * NEWS: Update fixed bug list.
5533 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5535 2014-04-30 David S. Miller <davem@davemloft.net>
5537 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5538 (libc_feholdexcept_setround_sparc_ctx): New function.
5539 (libc_fesetenv_sparc_ctx): Likewise.
5540 (libc_feupdateenv_sparc_ctx): Likewise.
5541 (libc_feholdsetround_sparc_ctx): Likewise.
5542 (libc_feholdexcept_setround_ctx): Define.
5543 (libc_feholdexcept_setroundf_ctx): Likewise.
5544 (libc_feholdexcept_setroundl_ctx): Likewise.
5545 (libc_fesetenv_ctx): Likewise.
5546 (libc_fesetenvf_ctx): Likewise.
5547 (libc_fesetenvl_ctx): Likewise.
5548 (libc_feupdateenv_ctx): Likewise.
5549 (libc_feupdateenvf_ctx): Likewise.
5550 (libc_feupdateenvl_ctx): Likewise.
5551 (libc_feresetround_ctx): Likewise.
5552 (libc_feresetroundf_ctx): Likewise.
5553 (libc_feresetroundl_ctx): Likewise.
5554 (libc_feholdsetround_ctx): Likewise.
5555 (libc_feholdsetroundf_ctx): Likewise.
5556 (libc_feholdsetroundl_ctx): Likewise.
5558 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5559 with __USE_GNU instead of XOPEN cpp guards.
5561 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5564 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5565 with XOPEN cpp guards.
5567 2014-04-30 Julian Brown <julian@codesourcery.com>
5570 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5573 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5576 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5578 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5579 * sysdeps/unix/sysv/linux/configure: Regenerated.
5580 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5581 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5582 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5583 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5584 * README: Update reference to required Linux kernel version.
5585 * manual/install.texi (Linux): Update reference to required Linux
5586 kernel headers version.
5587 * INSTALL: Regenerated.
5589 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5591 [POSIX] (limits.h): Likewise.
5592 [POSIX] (math.h): Likewise.
5593 [POSIX] (sys/wait.h): Likewise.
5594 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5596 [POSIX] (stddef.h): Do not allow header inclusion.
5598 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5600 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5602 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5604 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5605 Return immediately after lll_futex_wake.
5607 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5610 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5612 (datahead_init_pos): Call datahead_init_common early.
5613 (datahead_init_neg): Likewise.
5615 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5616 datahead_init_neg): New functions.
5617 * nscd/aicache.c (addhstaiX): Use them.
5618 * nscd/grpcache.c (cache_addgr): Likewise.
5619 * nscd/hstcache.c (cache_addhst): Likewise.
5620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5621 * nscd/netgroupcache.c (do_notfound): Likewise.
5622 (addgetnetgrentX): Likewise.
5623 (addinnetgrX): Likewise.
5624 * nscd/pwdcache.c (cache_addpw): Likewise.
5625 * nscd/servicescache.c (cache_addserv): Likewise.
5627 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5628 Atsushi Onoe <atsushi@onoe.org>
5633 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5634 one response is valid.
5635 * resolv/res_send.c (send_dg): Check for validity of other
5636 response if the current response is a referral.
5638 2014-04-29 Steve Ellcey <sellcey@mips.com>
5640 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5642 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5645 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5646 Always divide by positive zero when computing -Inf result.
5647 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5648 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5650 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5652 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5653 FPSCR if value do not change.
5654 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5655 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5656 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5657 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5658 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5659 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5662 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5664 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5665 * sysdeps/unix/sysv/linux/hppa: Move directory from
5666 ports/systeps/unix/sysv/linux/hppa.
5667 * README: Update listing for hppa-*-linux-gnu.
5669 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5672 * manual/stdio.texi (Hook functions): Fix types of stream hook
5675 * socket/sys/socket.h: Fix typo in comment.
5677 2014-04-28 Wilco <wdijkstr@arm.com>
5679 * sysdeps/arm/fenv_private.h: New file.
5680 * sysdeps/arm/math_private.h: New file.
5681 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5683 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5685 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5687 (La_x86_64_retval): Likewise.
5689 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5691 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5692 fpsr if value didn't change.
5693 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5694 to fpcr if value didn't change.
5695 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5696 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5697 fpsr or fpcr if value didn't change.
5698 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5699 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5700 fpcr if value didn't change.
5701 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5702 to fpsr if value didn't change.
5704 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5706 * nptl/tst-sem3.c: Use test-skeleton.c
5707 (main): Rename to do_test. Use return instead of
5709 * nptl/tst-sem4.c: Use test-skeleton.c
5710 (main): Rename to do_test.
5712 2014-04-22 David S. Miller <davem@davemloft.net>
5714 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5715 (struct sigaction): New struct member __glibc_reserved0, change
5716 type of sa_flags to int.
5718 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5720 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5721 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5723 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5725 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5726 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5728 2014-04-22 Will Newton <will.newton@linaro.org>
5729 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5731 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5732 (__longjmp): Add longjmp and longjmp_target SystemTap
5734 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5735 (__sigsetjmp): Add setjmp SystemTap probe.
5737 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5739 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5742 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5744 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5746 * sysdeps/powerpc/fpu/fenv_private.h
5747 (libc_feholdexcept_setroundl_ctx): Define to
5748 libc_feholdexcept_setround_ppc_ctx.
5749 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5750 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5751 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5752 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5754 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5756 * sysdeps/aarch64/math-tests.h: New file.
5758 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5760 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5763 Check and set bit_AVX2_Usable.
5764 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5766 (bit_AVX2): Likewise.
5767 (index_AVX2_Usable): Likewise.
5768 (CPUID_AVX2): Likewise.
5769 (HAS_AVX2): Likewise.
5771 2014-04-17 Will Newton <will.newton@linaro.org>
5773 * manual/setjmp.texi (System V contexts): Add note that
5774 calling setcontext on a context created by a call to a
5775 signal handler is undefined. Update text to note that
5776 setcontext from a signal handler is possible but not
5780 * stdlib/tst-setcontext.c: Include signal.h.
5781 (main): Check that the signal stack before and
5782 after swapcontext is the same.
5784 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5785 Re-implement to restore registers in user code and avoid
5786 rt_sigreturn system call.
5788 2014-04-17 Wilco <wdijkstr@arm.com>
5790 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5791 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5792 * math/test-fenv.c: Skip exception trap tests on targets which only
5793 support non-stop mode.
5795 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5796 Wilco Dijkstra <wilco.dijkstra@arm.com>
5798 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5799 (libc_feholdsetround_aarch64_ctx)
5800 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5801 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5802 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5803 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5804 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5805 (libc_feresetround_noexl_ctx): Define.
5807 2014-04-16 Richard Henderson <rth@redhat.com>
5809 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5811 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5814 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5815 const from the non-libc, non-ldso copy.
5817 * sysdeps/alpha/libm-test-ulps: Regenerate.
5819 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5820 Wilco Dijkstra <wilco.dijkstra@arm.com>
5822 * sysdeps/aarch64/fpu/math_private.h: New file.
5824 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5826 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5828 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5830 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5831 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5833 Intel MPX bound registers before _dl_profile_fixup.
5834 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5835 registers after _dl_profile_fixup. Save and restore bound
5836 registers bnd0/bnd1 when calling _dl_call_pltexit.
5837 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5838 (LR_BND_OFFSET): Likewise.
5839 (LRV_BND0_OFFSET): Likewise.
5840 (LRV_BND1_OFFSET): Likewise.
5842 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5844 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5846 * sysdeps/mach/hurd/i386/tls.h: ... here.
5847 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5848 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5851 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5853 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5855 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5857 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5859 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5862 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5863 * sysdeps/s390/configure: Regenerate.
5866 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5867 Set round-to-nearest internally to reduce error accumulation.
5869 2014-04-16 Alan Modra <amodra@gmail.com>
5873 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5874 * math/libm-test.inc (frexp_test_data): Add tests.
5875 * NEWS: Update fixed bug list.
5877 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5879 * benchtests/Makefile: Depend on libraries in build directory.
5880 (bench-math): Separate out math tests.
5881 (bench-pthread): Separate out pthread tests.
5882 (bench): Include math and pthread tests.
5884 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5887 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5888 _dl_debug_initialize.
5890 * configure.ac: Remove SELinux header check.
5891 * configure: Regenerate.
5892 * nscd/selinux.c (perms): Array of const char* to permission names.
5893 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5894 default policy. Call string_to_security_class and string_to_av_perm to
5895 translate strings. Enforce default policy and call avs_has_perm with
5896 results of translated strings.
5898 2014-04-13 David S. Miller <davem@davemloft.net>
5900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5902 2014-04-12 Allan McRae <allan@archlinux.org>
5905 * manual/string.texi (Collation Functions): Fix qsort argument
5907 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5909 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5911 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5912 Make the test a no-op if there are no exceptions defined.
5914 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5916 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5917 enable-hardcoded-path-in-tests
5919 2014-04-11 Will Newton <will.newton@linaro.org>
5921 * benchtests/Makefile (extra-objs): Add json-lib.o.
5922 (bench-func): Tidy up JSON output.
5923 * benchtests/bench-skeleton.c: Include json-lib.h.
5924 (main): Use JSON library functions to do output of
5926 * benchtests/bench-timing-type.c (main): Output the
5927 timing type simply, leaving formatting to the user.
5928 * benchtests/json-lib.c: New file.
5929 * benchtests/json-lib.h: Likewise.
5931 2014-04-11 Torvald Riegel <triegel@redhat.com>
5934 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5935 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5936 memory barriers. Add comments.
5937 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5938 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5939 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5940 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5941 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5942 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5944 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5946 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5947 * sysdeps/s390/s390-64/configure.ac: ... this ...
5948 * sysdeps/s390/configure.ac: ... to here.
5949 * sysdeps/s390/s390-32/configure: Delete file.
5950 * sysdeps/s390/s390-64/configure: Delete file.
5951 * sysdeps/s390/configure: Regenerate.
5953 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5955 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5957 2014-04-11 Will Newton <will.newton@linaro.org>
5959 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5960 to zero if it is not defined elsewhere. (mtrim): Test
5961 the value of MALLOC_DEBUG with #if rather than #ifdef.
5963 2014-04-10 Torvald Riegel <triegel@redhat.com>
5965 * benchtests/pthread_once-inputs: New file.
5966 * benchtests/pthread_once-source.c: New file.
5967 * benchtests/README: Update documentation.
5969 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5970 H.J. Lu <hongjiu.lu@intel.com>
5972 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5973 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5974 * sysdeps/x86_64/configure: Regenerated.
5975 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5977 (REGISTER_SAVE_RAX): Likewise.
5978 (REGISTER_SAVE_RCX): Likewise.
5979 (REGISTER_SAVE_RDX): Likewise.
5980 (REGISTER_SAVE_RSI): Likewise.
5981 (REGISTER_SAVE_RDI): Likewise.
5982 (REGISTER_SAVE_R8): Likewise.
5983 (REGISTER_SAVE_R9): Likewise.
5984 (REGISTER_SAVE_BND0): Likewise.
5985 (REGISTER_SAVE_BND1): Likewise.
5986 (REGISTER_SAVE_BND2): Likewise.
5987 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5988 bound registers when calling _dl_fixup.
5990 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5992 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5993 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5995 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5996 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5997 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5998 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5999 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6000 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6001 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6003 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6006 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6007 pathconf(_PC_NAME_MAX).
6009 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6013 (__PTHREAD_SPINS): Move definition to ...
6014 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6015 (__PTHREAD_SPINS): ... here.
6016 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6017 (__PTHREAD_SPIN): Likewise.
6018 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6019 (__PTHREAD_SPIN): Likewise.
6020 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6021 (__PTHREAD_SPIN): Likewise.
6022 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6023 (__PTHREAD_SPIN): Likewise.
6024 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6025 (__PTHREAD_SPIN): Likewise.
6026 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6027 (__PTHREAD_SPIN): Likewise.
6028 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6029 (__PTHREAD_SPIN): Likewise.
6030 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6031 (__PTHREAD_SPIN): Likewise.
6032 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6033 (__PTHREAD_SPIN): Likewise.
6034 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6035 (__PTHREAD_SPIN): Likewise.
6036 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6037 (__PTHREAD_SPIN): Likewise.
6038 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6039 (__PTHREAD_SPIN): Likewise.
6041 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6042 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6043 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6044 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6046 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6047 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6048 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6049 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6051 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6052 strlen symbol for non multi-arch builds.
6053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6054 missing hidden_def and weak_alias.
6056 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6058 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6060 2014-04-07 Will Newton <will.newton@linaro.org>
6062 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6063 and contents. [!_LIBC] Remove #ifndef and contents.
6064 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6065 * string/memccpy.c (__memccpy): Use ANSI prototype.
6066 * string/memfrob.c (memfrob): Likewise.
6067 * string/strcoll.c (STRCOLL): Likewise.
6068 * string/strlen.c (strlen): Likewise.
6069 * string/strtok.c (STRTOK): Likewise.
6070 * string/strcat.c: Remove unused #include of memcopy.h.
6071 (strcat): Use ANSI prototype.
6072 * string/strchr.c: Remove unused #include of memcopy.h.
6073 (strchr): Use ANSI prototype.
6074 * string/strcmp.c: Remove unused #include of memcopy.h.
6075 (strcmp): Use ANSI prototype.
6076 * string/strcpy.c: Remove unused #include of memcopy.h.
6077 (strcpy): Use ANSI prototype.
6079 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6081 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6082 * config.make.in (config-extra-cppflags): Set it from
6083 libc_extra_cppflags.
6084 * configure.ac (libc_extra_cflags): Make it accumulate over
6085 configure fragments.
6086 (libc_extra_cppflags): New flag.
6087 * configure. Regenerate.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6089 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6090 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6094 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6095 result for FE_DOWNWARD rounding mode.
6096 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6100 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6102 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6103 in function argument name.
6105 2014-04-03 David Svoboda <svoboda@cert.org>
6108 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6111 2014-04-03 Roland McGrath <roland@hack.frob.com>
6113 * elf/dl-unmap-segments.h: New file.
6114 * sysdeps/generic/ldsodefs.h
6115 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6116 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6117 * elf/dl-fptr.c: Likewise.
6118 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6119 * sysdeps/aarch64/tlsdesc.c: Likewise.
6120 * sysdeps/arm/tlsdesc.c: Likewise.
6121 * sysdeps/i386/tlsdesc.c: Likewise.
6122 * sysdeps/tile/dl-runtime.c: Likewise.
6123 * sysdeps/x86_64/tlsdesc.c: Likewise.
6124 * elf/dl-load.h: New file.
6125 * elf/dl-load.c: Include it.
6126 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6127 Macros moved to dl-load.h.
6128 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6129 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6130 Use _dl_unmap_segments in place of __munmap.
6131 Break out segment-mapping loop into ...
6132 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6134 2014-04-03 Will Newton <will.newton@linaro.org>
6136 * elf/dl-lookup.c (do_lookup_x): Remove comment
6137 referring to nested function and move variable
6138 declarations down to before first use.
6140 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6144 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6146 * math/s_catanf.c (__catanf): Likewise.
6147 * math/s_catanh.c (__catanh): Likewise.
6148 * math/s_catanhf.c (__catanhf): Likewise.
6149 * math/s_catanhl.c (__catanhl): Likewise.
6150 * math/s_catanl.c (__catanl): Likewise.
6151 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6152 by positive zero when computing -Inf result.
6153 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6154 (catanh_test): Likewise.
6155 * sysdeps/i386/fpu/libm-test-ulps: Update.
6156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6159 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6160 instead of using underflowing value in computing result.
6161 * math/s_clog10.c (__clog10): Likewise.
6162 * math/s_clog10f.c (__clog10f): Likewise.
6163 * math/s_clog10l.c (__clog10l): Likewise.
6164 * math/s_clogf.c (__clogf): Likewise.
6165 * math/s_clogl.c (__clogl): Likewise.
6166 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6167 (clog10_test): Likewise.
6168 * sysdeps/i386/fpu/libm-test-ulps: Update.
6169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6171 2014-04-02 Alan Modra <amodra@gmail.com>
6174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6175 output when value is near a power of two. Use int64_t for lx and
6176 remove casts. Use decimal rather than hex exponent constants.
6177 Don't use long double multiplication when double will suffice.
6178 * math/libm-test.inc (nextafter_test_data): Add tests.
6179 * NEWS: Add 16739 and 16786 to bug list.
6181 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6183 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6185 2014-04-01 Will Newton <will.newton@linaro.org>
6187 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6188 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6190 2014-04-01 Florian Weimer <fweimer@redhat.com>
6193 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6194 * nptl/tst-setuid2.c: New file.
6195 * nptl/Makefile (xtests): Add tst-setuid2.
6197 2014-04-01 Alan Modra <amodra@gmail.com>
6200 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6202 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6206 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6207 set errno as appropriate.
6208 * math/w_scalbf.c (__scalbf): Likewise.
6209 * math/w_scalbl.c (__scalbl): Likewise.
6210 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6211 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6212 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6216 * math/w_atan2.c: Include <errno.h>.
6217 (__atan2): Set errno for result underflowing to zero.
6218 * math/w_atan2f.c: Include <errno.h>.
6219 (__atan2f): Set errno for result underflowing to zero.
6220 * math/w_atan2l.c: Include <errno.h>.
6221 (__atan2l): Set errno for result underflowing to zero.
6222 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6224 * math/auto-libm-test-out: Regenerated.
6226 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6228 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6229 Encode instruction correctly in little endian.
6230 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6232 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6234 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6236 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6239 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6242 * sysdeps/unix/sysv/linux/kernel-features.h
6243 [__sparc__ && !__arch64__ && !__sparc_v9__]
6244 (__ASSUME_SET_ROBUST_LIST): Do not define.
6245 [__sparc__ && !__arch64__ && !__sparc_v9__]
6246 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6247 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6249 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6250 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6251 (__ASSUME_REQUEUE_PI): Likewise.
6252 (__ASSUME_SET_ROBUST_LIST): Likewise.
6253 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6254 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6256 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6257 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6259 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6261 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6263 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6264 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6266 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6267 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6271 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6272 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6273 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6275 2014-03-31 Will Newton <will.newton@linaro.org>
6277 * benchtests/Makefile (bench): Add ffs and ffsll to list
6279 * benchtests/ffs-inputs: New file.
6280 * benchtests/ffsll-inputs: Likewise.
6282 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6285 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6286 too large before casting to int.
6287 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6288 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6289 * math/libm-test.inc (scalb_test_data): Add more tests.
6291 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6293 * benchtests/Makefile (DETAILED_OPT): New make option.
6294 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6296 * benchtests/bench-skeleton.c: Include stdbool.h.
6297 (main): Store and print timings per input.
6298 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6299 member to each argument value.
6300 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6301 (_print_arg_data): Initialize per-input timing to 0.
6303 * benchtests/Makefile (timing-type): New binary.
6304 (bench-clean): Also remove bench-timing-type.
6305 (bench): New target for timing-type.
6306 (bench-func): Print output in JSON format.
6307 * benchtests/bench-skeleton.c (main): Print output in JSON
6309 * benchtests/bench-timing-type.c: New file.
6310 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6311 (TIMING_PRINT_STATS): Remove.
6312 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6315 * benchtests/bench-modf.c: Remove.
6316 * benchtests/modf-inputs: New inputs file.
6318 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6321 * math/s_clog10.c (M_PI_LOG10E): New macro.
6322 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6323 imaginary parts are 0.
6324 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6325 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6326 imaginary parts are 0.
6327 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6328 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6329 imaginary parts are 0.
6330 * math/libm-test.inc (clog10_test_data): Update expected results
6331 for when real and imaginary parts are 0.
6333 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6335 * elf/dl-load.c: Finish conversion of __builtin_expect into
6338 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6341 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6342 1+x for argument with exponent below -67.
6343 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6345 * math/auto-libm-test-in: Add more tests of exp.
6346 * math/auto-libm-test-out: Regenerated.
6348 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6351 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6352 (nscd_getnetgrent): Use it.
6355 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6358 2014-03-27 Andi Kleen <ak@linux.intel.com>
6360 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6361 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6362 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6363 (lll_robust_unlock): Remove out of line section. Use cfi
6365 (LLL_STUB_UNWIND_INFO*): Remove.
6366 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6367 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6368 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6369 (lll_robust_unlock): Remove out of line section. Use cfi
6371 (LLL_STUB_UNWIND_INFO*): Remove.
6373 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6376 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6379 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6381 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6383 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6386 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6388 * math/test-fenv-preserve.c: New file.
6389 * math/Makefile (tests): Add test-fenv-preserve.
6391 2014-03-26 Will Newton <will.newton@linaro.org>
6393 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6395 2014-03-25 Roland McGrath <roland@hack.frob.com>
6397 * scripts/versionlist.awk: Partition the version sets and emit all
6398 GLIBC_* (sorted) before all others (sorted).
6400 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6402 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6403 GLIBC_2.2.5 version.
6405 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6407 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6410 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6415 2014-03-25 Andreas Schwab <schwab@suse.de>
6417 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6418 label to be used after in6ailist is initialized.
6420 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6422 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6423 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6425 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6429 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6431 (fp_formats): Update initializers.
6432 (init_fp_formats): Initialize new field.
6433 (output_for_one_input_case): Allow underflow for results up to
6435 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6436 * math/auto-libm-test-in: Don't mark some underflows from asin and
6438 * math/auto-libm-test-out: Regenerated.
6439 * sysdeps/i386/fpu/libm-test-ulps: Update.
6440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6442 2014-03-25 Andreas Schwab <schwab@suse.de>
6444 * libio/Makefile (tst-ftell-partial-wide-ENV)
6445 (tst-ftell-active-handler-ENV): Define.
6447 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6449 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6451 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6453 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6455 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6457 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6458 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6459 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6461 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6464 * elf/dl-load.c (open_verify): Add mode parameter.
6465 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6466 (open_path): Change from boolean 'secure' to complete flag 'mode'
6467 (_dl_map_object): Adjust.
6468 * elf/Makefile (tests): Add tst-dlopen-aout.
6469 * elf/tst-dlopen-aout.c: New test.
6471 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6474 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6475 (struct stat): Rename member pad0 to __glibc_reserved0.
6478 * sysdeps/s390/s390-32/bits/wordsize.h
6479 (__WORDSIZE32_SIZE_ULONG): New define.
6480 * sysdeps/s390/s390-64/bits/wordsize.h
6481 (__WORDSIZE32_SIZE_ULONG): Likewise.
6482 * sysdeps/generic/stdint.h (SIZE_MAX):
6483 Define as UL if __WORDSIZE32_SIZE_ULONG.
6486 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6487 (__glibc_reserved0): New variable.
6488 (sa_flags): Change type to int.
6490 * posix/Makefile (before-compile): Use += before-compile instead
6493 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6494 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6496 2014-03-20 Andreas Schwab <schwab@suse.de>
6499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6500 non-matching result from nscd.
6502 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6504 * scripts/bench.py: Moved to ...
6505 * benchtests/scripts/bench.py: ... here.
6506 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6508 2014-03-24 Andreas Schwab <schwab@suse.de>
6511 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6512 alloca_account and account alloca use for struct in6ailist.
6514 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6517 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6518 rounding mode to recompute results that overflow to infinity or
6520 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6522 * math/auto-libm-test-out: Regenerated.
6523 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6524 (ccosh_test): Likewise.
6525 (csin_test_data): Use plus_oflow.
6526 (csin_test): Use ALL_RM_TEST.
6527 (csinh_test_data): Use plus_oflow.
6528 (csinh_test): Use ALL_RM_TEST.
6529 * sysdeps/i386/fpu/libm-test-ulps: Update.
6530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6532 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6534 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6535 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6536 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6539 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6541 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6542 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6543 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6544 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6546 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6547 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6549 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6550 * sysdeps/i386/fpu/libm-test-ulps: Update.
6551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6553 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6555 * scripts/bench.pl: Remove file.
6556 * scripts/bench.py: New benchmark script.
6557 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6558 * benchtests/README: Mention python dependency.
6559 * scripts/pylintrc: New file.
6560 * scripts/pylint: New file.
6562 * bits/mathdef.h: Use #ifdef instead of #if.
6563 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6564 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6565 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6566 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6567 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6568 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6570 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6571 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6573 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6575 and strpbrk-ppc64 objects.
6576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6577 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6578 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6579 multiarch strpbrk for POWER7.
6580 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6581 multiarch strpbrk for PPC64.
6582 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6584 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6587 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6589 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6590 (atan_test): Likewise.
6591 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6592 (atanh_test): Use ALL_RM_TEST.
6593 (atan2_test_data): Likewise.
6594 (cabs_test): Likewise.
6595 (cacosh_test): Likewise.
6596 (carg_test): Likewise.
6597 (casin_test): Likewise.
6598 (casinh_test): Likewise.
6599 (cbrt_test): Likewise.
6600 (csqrt_test): Likewise.
6601 (erf_test): Likewise.
6602 (erfc_test): Likewise.
6603 (pow10_test): Likewise.
6604 (exp2_test): Likewise.
6605 (hypot_test): Likewise.
6606 (j0_test): Likewise.
6607 (j1_test): Likewise.
6608 (lgamma_test): Likewise.
6609 (gamma_test): Likewise.
6610 (sincos_test): Likewise.
6611 (tanh_test): Likewise.
6612 (y0_test): Likewise.
6613 (y1_test): Likewise.
6614 * sysdeps/i386/fpu/libm-test-ulps: Update.
6615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6617 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6619 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6621 and strcspn-ppc64 objects.
6622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6623 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6624 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6625 multiarch strcspn for POWER7.
6626 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6627 multiarch strcspn for PPC64.
6628 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6630 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6633 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6635 * math/gen-libm-test.pl (generate_testfile): Expect only function
6636 name as argument to AUTO_TESTS_* and pass results for all rounding
6637 modes to parse_args.
6638 (parse_auto_input): Separate inputs of automatic tests from
6639 outputs before storing in %auto_tests.
6640 * math/libm-test.inc (acos_test_data): Update call to
6642 (acos_test): Use ALL_RM_TEST.
6643 (acos_tonearest_test_data): Remove.
6644 (acos_test_tonearest): Likewise.
6645 (acos_towardzero_test_data): Likewise.
6646 (acos_test_towardzero): Likewise.
6647 (acos_downward_test_data): Likewise.
6648 (acos_test_downward): Likewise.
6649 (acos_upward_test_data): Likewise.
6650 (acos_test_upward): Likewise.
6651 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6652 (asin_test_data): Likewise.
6653 (asin_test): Use ALL_RM_TEST.
6654 (asin_tonearest_test_data): Remove.
6655 (asin_test_tonearest): Likewise.
6656 (asin_towardzero_test_data): Likewise.
6657 (asin_test_towardzero): Likewise.
6658 (asin_downward_test_data): Likewise.
6659 (asin_test_downward): Likewise.
6660 (asin_upward_test_data): Likewise.
6661 (asin_test_upward): Likewise.
6662 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6663 (atan_test_data): Likewise.
6664 (atanh_test_data): Likewise.
6665 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6666 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6667 (carg_test_data): Likewise.
6668 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6669 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6670 (ccosh_test_data): Likewise.
6671 (cexp_test_data): Likewise.
6672 (clog_test_data): Likewise.
6673 (clog10_test_data): Likewise.
6674 (cos_test_data): Update call to AUTO_TESTS_f_f.
6675 (cos_test): Use ALL_RM_TEST.
6676 (cos_tonearest_test_data): Remove.
6677 (cos_test_tonearest): Likewise.
6678 (cos_towardzero_test_data): Likewise.
6679 (cos_test_towardzero): Likewise.
6680 (cos_downward_test_data): Likewise.
6681 (cos_test_downward): Likewise.
6682 (cos_upward_test_data): Likewise.
6683 (cos_test_upward): Likewise.
6684 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6685 (cosh_test): Use ALL_RM_TEST.
6686 (cosh_tonearest_test_data): Remove.
6687 (cosh_test_tonearest): Likewise.
6688 (cosh_towardzero_test_data): Likewise.
6689 (cosh_test_towardzero): Likewise.
6690 (cosh_downward_test_data): Likewise.
6691 (cosh_test_downward): Likewise.
6692 (cosh_upward_test_data): Likewise.
6693 (cosh_test_upward): Likewise.
6694 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6695 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6696 (ctan_test_data): Likewise.
6697 (ctan_test): Use ALL_RM_TEST.
6698 (ctan_tonearest_test_data): Remove.
6699 (ctan_test_tonearest): Likewise.
6700 (ctan_towardzero_test_data): Likewise.
6701 (ctan_test_towardzero): Likewise.
6702 (ctan_downward_test_data): Likewise.
6703 (ctan_test_downward): Likewise.
6704 (ctan_upward_test_data): Likewise.
6705 (ctan_test_upward): Likewise.
6706 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6707 (ctanh_test): Use ALL_RM_TEST.
6708 (ctanh_tonearest_test_data): Remove.
6709 (ctanh_test_tonearest): Likewise.
6710 (ctanh_towardzero_test_data): Likewise.
6711 (ctanh_test_towardzero): Likewise.
6712 (ctanh_downward_test_data): Likewise.
6713 (ctanh_test_downward): Likewise.
6714 (ctanh_upward_test_data): Likewise.
6715 (ctanh_test_upward): Likewise.
6716 (erf_test_data): Update call to AUTO_TESTS_f_f.
6717 (erfc_test_data): Likewise.
6718 (exp_test_data): Likewise.
6719 (exp_test): Use ALL_RM_TEST.
6720 (exp_tonearest_test_data): Remove.
6721 (exp_test_tonearest): Likewise.
6722 (exp_towardzero_test_data): Likewise.
6723 (exp_test_towardzero): Likewise.
6724 (exp_downward_test_data): Likewise.
6725 (exp_test_downward): Likewise.
6726 (exp_upward_test_data): Likewise.
6727 (exp_test_upward): Likewise.
6728 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6729 (exp10_test): Use ALL_RM_TEST.
6730 (exp10_tonearest_test_data): Remove.
6731 (exp10_test_tonearest): Likewise.
6732 (exp10_towardzero_test_data): Likewise.
6733 (exp10_test_towardzero): Likewise.
6734 (exp10_downward_test_data): Likewise.
6735 (exp10_test_downward): Likewise.
6736 (exp10_upward_test_data): Likewise.
6737 (exp10_test_upward): Likewise.
6738 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6739 (expm1_test_data): Likewise.
6740 (expm1_test): Use ALL_RM_TEST.
6741 (expm1_tonearest_test_data): Remove.
6742 (expm1_test_tonearest): Likewise.
6743 (expm1_towardzero_test_data): Likewise.
6744 (expm1_test_towardzero): Likewise.
6745 (expm1_downward_test_data): Likewise.
6746 (expm1_test_downward): Likewise.
6747 (expm1_upward_test_data): Likewise.
6748 (expm1_test_upward): Likewise.
6749 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6750 (fma_test): Use ALL_RM_TEST.
6751 (fma_towardzero_test_data): Remove.
6752 (fma_test_towardzero): Likewise.
6753 (fma_downward_test_data): Likewise.
6754 (fma_test_downward): Likewise.
6755 (fma_upward_test_data): Likewise.
6756 (fma_test_upward): Likewise.
6757 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6758 (j0_test_data): Update call to AUTO_TESTS_f_f.
6759 (j1_test_data): Likewise.
6760 (jn_test_data): Update call to AUTO_TESTS_if_f.
6761 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6762 (log_test_data): Update call to AUTO_TESTS_f_f.
6763 (log10_test_data): Likewise.
6764 (log1p_test_data): Likewise.
6765 (log2_test_data): Likewise.
6766 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6767 (pow_tonearest_test_data): Likewise.
6768 (sin_test_data): Update call to AUTO_TESTS_f_f.
6769 (sin_test): Use ALL_RM_TEST.
6770 (sin_tonearest_test_data): Remove.
6771 (sin_test_tonearest): Likewise.
6772 (sin_towardzero_test_data): Likewise.
6773 (sin_test_towardzero): Likewise.
6774 (sin_downward_test_data): Likewise.
6775 (sin_test_downward): Likewise.
6776 (sin_upward_test_data): Likewise.
6777 (sin_test_upward): Likewise.
6778 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6779 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6780 (sinh_test): Use ALL_RM_TEST.
6781 (sinh_tonearest_test_data): Remove.
6782 (sinh_test_tonearest): Likewise.
6783 (sinh_towardzero_test_data): Likewise.
6784 (sinh_test_towardzero): Likewise.
6785 (sinh_downward_test_data): Likewise.
6786 (sinh_test_downward): Likewise.
6787 (sinh_upward_test_data): Likewise.
6788 (sinh_test_upward): Likewise.
6789 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6790 (sqrt_test): Use ALL_RM_TEST.
6791 (sqrt_tonearest_test_data): Remove.
6792 (sqrt_test_tonearest): Likewise.
6793 (sqrt_towardzero_test_data): Likewise.
6794 (sqrt_test_towardzero): Likewise.
6795 (sqrt_downward_test_data): Likewise.
6796 (sqrt_test_downward): Likewise.
6797 (sqrt_upward_test_data): Likewise.
6798 (sqrt_test_upward): Likewise.
6799 (tan_test_data): Update call to AUTO_TESTS_f_f.
6800 (tan_test): Use ALL_RM_TEST.
6801 (tan_tonearest_test_data): Remove.
6802 (tan_test_tonearest): Likewise.
6803 (tan_towardzero_test_data): Likewise.
6804 (tan_test_towardzero): Likewise.
6805 (tan_downward_test_data): Likewise.
6806 (tan_test_downward): Likewise.
6807 (tan_upward_test_data): Likewise.
6808 (tan_test_upward): Likewise.
6809 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6810 (tgamma_test_data): Likewise.
6811 (y0_test_data): Likewise.
6812 (y1_test_data): Likewise.
6813 (yn_test_data): Update call to AUTO_TESTS_if_f.
6814 (main): Do not call removed functions.
6816 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6818 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6819 (ldexp_test_data): Remove.
6820 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6822 (scalb_test): Use ALL_RM_TEST.
6824 2014-03-19 Andreas Schwab <schwab@suse.de>
6826 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6828 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6831 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6832 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6833 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6834 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6835 (__ASSUME_PREADV): Undefine.
6836 (__ASSUME_PWRITEV): Likewise.
6838 2014-03-18 Roland McGrath <roland@hack.frob.com>
6840 * bits/mman-linux.h: Add comment about non-Linux use.
6841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6842 bits/mman-linux.h resting place.
6844 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6845 * bits/mman-linux.h: ... here.
6847 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6849 * conform/conformtest.pl: Add standard definition when calling C
6850 preprocessor on data files.
6851 (checknamespace): Remove unused variable.
6853 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6855 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6856 minus_oflow, plus_uflow and minus_uflow in expected results.
6857 * math/libm-test.inc (scalbn_test_data): Add more tests of
6858 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6860 (scalbn_test): Use ALL_RM_TEST.
6861 (scalbln_test_data): Add more tests of negative arguments. Use
6862 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6863 (scalbln_test): Use ALL_RM_TEST.
6865 2014-03-18 Roland McGrath <roland@hack.frob.com>
6867 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6869 2014-03-18 Will Newton <will.newton@linaro.org>
6871 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6874 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6876 * Makerules [!subdir] (check-abi): Exit with error status if a
6879 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6881 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6882 for rint. Include results for all rounding modes.
6883 (nearbyint_test): Use ALL_RM_TEST.
6884 (rint_test_data): Include all tests used for nearbyint.
6886 2014-03-17 Will Newton <will.newton@linaro.org>
6888 * nptl/sysdeps/pthread/pthread.h: Revert previous
6891 * sysdeps/generic/ldsodefs.h: Revert previous
6894 * libio/genops.c: Revert previous change.
6895 * libio/libioP.h: Likewise.
6896 * stdio-common/vfprintf.c: Likewise.
6898 * sysdeps/generic/math_private.h: Revert previous
6901 * sysdeps/generic/math_private.h: Check whether
6902 HAVE_RM_CTX is defined with #ifdef rather
6905 * argp/argp-fmtstream.h: Check whether
6906 __STRICT_ANSI__ is defined with #ifdef rather
6908 * argp/argp.h: Likewise.
6910 * libio/genops.c: Check whether
6911 _IO_JUMPS_OFFSET is defined with #ifdef rather
6913 * libio/libioP.h: Likewise.
6914 * stdio-common/vfprintf.c: Likewise.
6916 * sysdeps/generic/ldsodefs.h: Check whether
6917 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6920 * nptl/sysdeps/pthread/pthread.h: Check
6921 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6924 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6926 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6928 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6932 * libio/fileops.c (_IO_file_open): Seek to end of file but
6933 don't cache the offset.
6934 (get_file_offset): Remove function.
6935 (do_ftell): Use cached offset when available.
6936 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6937 don't cache the offset.
6938 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6940 (do_one_test): Call it.
6941 (do_ftell_test): Fix up expected old offset for a+ mode.
6942 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6945 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6946 up test status with function return status.
6947 (do_write_test): Likewise.
6948 (do_append_test): Likewise.
6950 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6951 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6954 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6956 * math/gen-libm-test.pl (parse_args): Handle results specified for
6957 each rounding mode separately.
6958 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6959 tests and results from lrint_tonearest_test_data,
6960 lrint_towardzero_test_data, lrint_downward_test_data and
6961 lrint_upward_test_data.
6962 (lrint_test): Use ALL_RM_TEST.
6963 (lrint_tonearest_test_data): Remove.
6964 (lrint_test_tonearest): Likewise.
6965 (lrint_towardzero_test_data): Likewise.
6966 (lrint_test_towardzero): Likewise.
6967 (lrint_downward_test_data): Likewise.
6968 (lrint_test_downward): Likewise.
6969 (lrint_upward_test_data): Likewise.
6970 (lrint_test_upward): Likewise.
6971 (llrint_test_data): Merge in per-rounding-mode tests and results
6972 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6973 llrint_downward_test_data and llrint_upward_test_data.
6974 (llrint_test): Use ALL_RM_TEST.
6975 (llrint_tonearest_test_data): Remove.
6976 (llrint_test_tonearest): Likewise.
6977 (llrint_towardzero_test_data): Likewise.
6978 (llrint_test_towardzero): Likewise.
6979 (llrint_downward_test_data): Likewise.
6980 (llrint_test_downward): Likewise.
6981 (llrint_upward_test_data): Likewise.
6982 (llrint_test_upward): Likewise.
6983 (rint_test_data): Merge in per-rounding-mode tests and results
6984 from rint_tonearest_test_data, rint_towardzero_test_data,
6985 rint_downward_test_data and rint_upward_test_data. Add
6986 per-rounding-mode results for tests not in those arrays.
6987 (rint_test): Use ALL_RM_TEST.
6988 (rint_tonearest_test_data): Remove.
6989 (rint_test_tonearest): Likewise.
6990 (rint_towardzero_test_data): Likewise.
6991 (rint_test_towardzero): Likewise.
6992 (rint_downward_test_data): Likewise.
6993 (rint_test_downward): Likewise.
6994 (rint_upward_test_data): Likewise.
6995 (rint_test_upward): Likewise.
6996 (main): Don't call removed functions.
6998 2014-03-14 Roland McGrath <roland@hack.frob.com>
7000 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7001 "Compiled on ..." crapola. It is anti-useful.
7003 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7005 * scripts/evaluate-test.sh: Handle fourth argument to determine
7006 whether test run should stop on failure.
7007 * Makeconfig (stop-on-test-failure): New variable.
7008 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7009 $(stop-on-test-failure).
7010 * Makefile (tests): Give a summary of results from testing and
7011 exit with failure status if they include an ERROR or FAIL.
7013 * manual/install.texi (Configuring and compiling): Mention
7014 stop-on-test-failure=y.
7015 * INSTALL: Regenerated.
7017 2014-03-14 Roland McGrath <roland@hack.frob.com>
7019 * scripts/versionlist.awk: New file.
7020 * Makerules [$(build-shared) = yes]
7021 (postclean-generated): Add Versions.def, not Versions.def.v and
7023 ($(common-objpfx)Versions.def.v.i): Target removed.
7024 ($(common-objpfx)Versions.def): New target.
7025 ($(common-objpfx)Versions.all): Depend on that rather that
7026 $(common-objpfx)Versions.def.v.
7027 * Versions.def: File removed.
7029 * Makeconfig (+gccwarn): Add -Wundef.
7030 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7031 a dl-sysdep.h breaking its contract.
7032 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7033 * include/stackinfo.h: New file.
7034 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7035 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7036 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7037 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7038 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7039 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7040 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7041 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7042 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7043 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7044 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7045 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7046 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7047 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7048 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7050 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7053 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7055 * math/libm-test.inc (round_test_data): Add more tests.
7058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7060 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7063 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7065 * math/libm-test.inc (ceil_test_data): Add more tests.
7067 * math/libm-test.inc (trunc_test_data): Add more tests related to
7070 2014-03-14 Roland McGrath <roland@hack.frob.com>
7072 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7073 with #if rather than #ifdef.
7074 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7076 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7078 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7079 first. Disable AVX-512 GCC support if assembler doesn't support
7081 * sysdeps/x86_64/configure: Regenerated.
7083 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7085 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7086 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7087 (__old_pthread_attr_setstack): Likewise.
7088 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7089 [!_STACK_GROWS_DOWN]: Likewise.
7091 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7093 * config.make.in (have-bash2): Delete.
7094 * configure.ac (libc_cv_have_bash2): Delete.
7095 * configure: Regenerate.
7096 * elf/Makefile (common-ldd-rewrite): Rename to ...
7097 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7098 (sh-ldd-rewrite): Delete.
7099 (bash-ldd-rewrite): Delete.
7100 (have-bash2): Delete checks.
7101 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7104 * config.make.in (have-ksh): Delete.
7106 * configure.ac (libc_cv_have_ksh): Delete.
7107 * configure: Regenerate.
7109 * elf/Makefile: Delete $(have-ksh) check.
7110 ($(objpfx)sotruss): Change KSH to BASH.
7111 * elf/sotruss.ksh: Rename to ...
7112 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7113 function style to match POSIX. Drop ksh vim mode setting.
7115 * manual/time.texi (Specifying the Time Zone with TZ): Change
7116 Tuesday to Thursday.
7118 * debug/tst-longjmp_chk2.c: Update header comment.
7119 (stackoverflow_handler): Add comment. Call assert on pass value.
7121 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7123 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7124 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7125 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7126 (La_x86_64_vector): Add zmm.
7127 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7128 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7129 ($(objpfx)tst-audit10): New target.
7130 ($(objpfx)tst-audit10.out): Likewise.
7131 (tst-audit10-ENV): New.
7132 (AVX512-CFLAGS): Likewise.
7133 (CFLAGS-tst-audit10.c): Likewise.
7134 (CFLAGS-tst-auditmod10a.c): Likewise.
7135 (CFLAGS-tst-auditmod10b.c): Likewise.
7136 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7137 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7138 * sysdeps/x86_64/configure: Regenerated.
7139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7140 AVX-512 zmm register support.
7141 (_dl_x86_64_save_sse): Likewise.
7142 (_dl_x86_64_restore_sse): Likewise.
7143 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7144 size vector registers.
7145 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7146 (ZMM_SIZE): Likewise.
7147 * sysdeps/x86_64/tst-audit10.c: New file.
7148 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7149 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7151 2014-03-13 Roland McGrath <roland@hack.frob.com>
7153 * configure.ac (HAVE_EHDR_START): New check.
7154 * configure: Regenerated.
7155 * config.h.in (HAVE_EHDR_START): New #undef.
7156 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7157 assuming the lowest-addressed segment maps the start of the file.
7159 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7161 * INSTALL: Regenerated.
7163 2014-03-13 Will Newton <will.newton@linaro.org>
7165 * manual/setjmp.texi (System V contexts): Improve
7166 clarity and grammar of documentation.
7168 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7171 * elf/Makefile (tests): Add tst-pie2.
7172 (tests-pie): Add tst-pie2.
7173 * elf/tst-pie2.c: New file.
7174 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7176 * elf/rtld.c (map_doit): Load executable as lt_executable.
7177 (dl_main): Likewise.
7179 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7182 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7183 (__ASSUME_PSELECT): Undefine.
7185 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7188 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7189 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7191 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7192 selector for static builds.
7194 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7197 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7200 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7202 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7203 IFUNC selector for static builds.
7205 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7207 * sysdeps/mips/math_private.h [__mips_hard_float]
7208 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7209 libc_feresetround_mips_ctx.
7210 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7211 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7212 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7215 * math/s_nextafter.c (__nextafter): Do not return value from
7216 overflowing computation.
7217 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7218 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7219 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7223 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7224 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7226 2014-03-11 Roland McGrath <roland@hack.frob.com>
7228 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7229 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7230 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7231 the new mov targetting sp.
7233 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7236 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7237 Define it for static builds as well.
7238 (NO_BZERO_IMPL): Likewise.
7240 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7242 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7243 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7244 multiarch strspn for PPC64.
7245 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7246 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7248 (__libc_ifunc_impl_list): Likewise.
7249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7250 multiarch optimizations
7251 * string/strspn.c (strspn): Using macro to redefine symbol name.
7253 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7254 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7256 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7257 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7258 multiarch strncat for PPC64.
7259 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7260 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7262 (__libc_ifunc_impl_list): Likewise.
7263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7264 multiarch optimizations
7266 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7269 * nscd/nscd.service: Make service type forking.
7271 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7273 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7274 sign in non default rounding modes.
7275 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7277 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7279 * math/libm-test.inc (ALL_RM_TEST): New macro.
7280 (ceil_test): Use ALL_RM_TEST.
7281 (cimag_test): Likewise.
7282 (conj_test): Likewise.
7283 (copysign_test): Likewise.
7284 (cproj_test): Likewise.
7285 (creal_test): Likewise.
7286 (fabs_test): Likewise.
7287 (floor_test): Likewise.
7288 (fmax_test): Likewise.
7289 (fmin_test): Likewise.
7290 (fmod_test): Likewise.
7291 (fpclassify_test): Likewise.
7292 (frexp_test): Likewise.
7293 (ilogb_test): Likewise.
7294 (isfinite_test): Likewise.
7295 (finite_test): Likewise.
7296 (isgreater_test): Likewise.
7297 (isgreaterequal_test): Likewise.
7298 (isinf_test): Likewise.
7299 (isless_test): Likewise.
7300 (islessequal_test): Likewise.
7301 (islessgreater_test): Likewise.
7302 (isnan_test): Likewise.
7303 (isnormal_test): Likewise.
7304 (issignaling_test): Likewise.
7305 (isunordered_test): Likewise.
7306 (logb_test): Likewise.
7307 (logb_downward_test_data): Remove.
7308 (logb_test_downward): Likewise.
7309 (lround_test): Use ALL_RM_TEST.
7310 (llround_test): Likewise.
7311 (modf_test): Likewise.
7312 (nexttoward_test): Likewise.
7313 (remainder_test): Likewise.
7314 (drem_test): Likewise.
7315 (remainder_tonearest_test_data): Likewise.
7316 (remainder_test_tonearest): Likewise.
7317 (drem_test_tonearest): Likewise.
7318 (remainder_towardzero_test_data): Likewise.
7319 (remainder_test_towardzero): Likewise.
7320 (drem_test_towardzero): Likewise.
7321 (remainder_downward_test_data): Likewise.
7322 (remainder_test_downward): Likewise.
7323 (drem_test_downward): Likewise.
7324 (remainder_upward_test_data): Likewise.
7325 (remainder_test_upward): Likewise.
7326 (drem_test_upward): Likewise.
7327 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7328 (round_test): Use ALL_RM_TEST.
7329 (signbit_test): Likewise.
7330 (trunc_test): Likewise.
7331 (significand_test): Likewise.
7332 (main): Don't call removed functions.
7334 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7337 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7339 (ILL_ILLOPN): Likewise.
7340 (ILL_ILLADR): Likewise.
7341 (ILL_ILLTRP): Likewise.
7342 (ILL_PRVOPC): Likewise.
7343 (ILL_PRVREG): Likewise.
7344 (ILL_COPROC): Likewise.
7345 (ILL_BADSTK): Likewise.
7346 (FPE_INTDIV): Likewise.
7347 (FPE_INTOVF): Likewise.
7348 (FPE_FLTDIV): Likewise.
7349 (FPE_FLTOVF): Likewise.
7350 (FPE_FLTUND): Likewise.
7351 (FPE_FLTRES): Likewise.
7352 (FPE_FLTINV): Likewise.
7353 (FPE_FLTSUB): Likewise.
7354 (SEGV_MAPERR): Likewise.
7355 (SEGV_ACCERR): Likewise.
7356 (BUS_ADRALN): Likewise.
7357 (BUS_ADRERR): Likewise.
7358 (BUS_OBJERR): Likewise.
7359 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7360 (TRAP_TRACE): Likewise.
7361 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7363 (CLD_KILLED): Likewise.
7364 (CLD_DUMPED): Likewise.
7365 (CLD_TRAPPED): Likewise.
7366 (CLD_STOPPED): Likewise.
7367 (CLD_CONTINUED): Likewise.
7368 (POLL_IN): Likewise.
7369 (POLL_OUT): Likewise.
7370 (POLL_MSG): Likewise.
7371 (POLL_ERR): Likewise.
7372 (POLL_PRI): Likewise.
7373 (POLL_HUP): Likewise.
7374 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7376 (ILL_ILLOPN): Likewise.
7377 (ILL_ILLADR): Likewise.
7378 (ILL_ILLTRP): Likewise.
7379 (ILL_PRVOPC): Likewise.
7380 (ILL_PRVREG): Likewise.
7381 (ILL_COPROC): Likewise.
7382 (ILL_BADSTK): Likewise.
7383 (FPE_INTDIV): Likewise.
7384 (FPE_INTOVF): Likewise.
7385 (FPE_FLTDIV): Likewise.
7386 (FPE_FLTOVF): Likewise.
7387 (FPE_FLTUND): Likewise.
7388 (FPE_FLTRES): Likewise.
7389 (FPE_FLTINV): Likewise.
7390 (FPE_FLTSUB): Likewise.
7391 (SEGV_MAPERR): Likewise.
7392 (SEGV_ACCERR): Likewise.
7393 (BUS_ADRALN): Likewise.
7394 (BUS_ADRERR): Likewise.
7395 (BUS_OBJERR): Likewise.
7396 (BUS_MCEERR_AR): Likewise.
7397 (BUS_MCEERR_AO): Likewise.
7398 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7399 (TRAP_TRACE): Likewise.
7400 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7402 (CLD_KILLED): Likewise.
7403 (CLD_DUMPED): Likewise.
7404 (CLD_TRAPPED): Likewise.
7405 (CLD_STOPPED): Likewise.
7406 (CLD_CONTINUED): Likewise.
7407 (POLL_IN): Likewise.
7408 (POLL_OUT): Likewise.
7409 (POLL_MSG): Likewise.
7410 (POLL_ERR): Likewise.
7411 (POLL_PRI): Likewise.
7412 (POLL_HUP): Likewise.
7413 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7414 (ILL_ILLOPN): Likewise.
7415 (ILL_ILLADR): Likewise.
7416 (ILL_ILLTRP): Likewise.
7417 (ILL_PRVOPC): Likewise.
7418 (ILL_PRVREG): Likewise.
7419 (ILL_COPROC): Likewise.
7420 (ILL_BADSTK): Likewise.
7421 (FPE_INTDIV): Likewise.
7422 (FPE_INTOVF): Likewise.
7423 (FPE_FLTDIV): Likewise.
7424 (FPE_FLTOVF): Likewise.
7425 (FPE_FLTUND): Likewise.
7426 (FPE_FLTRES): Likewise.
7427 (FPE_FLTINV): Likewise.
7428 (FPE_FLTSUB): Likewise.
7429 (SEGV_MAPERR): Likewise.
7430 (SEGV_ACCERR): Likewise.
7431 (BUS_ADRALN): Likewise.
7432 (BUS_ADRERR): Likewise.
7433 (BUS_OBJERR): Likewise.
7434 (BUS_MCEERR_AR): Likewise.
7435 (BUS_MCEERR_AO): Likewise.
7436 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7437 (TRAP_TRACE): Likewise.
7438 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7440 (CLD_KILLED): Likewise.
7441 (CLD_DUMPED): Likewise.
7442 (CLD_TRAPPED): Likewise.
7443 (CLD_STOPPED): Likewise.
7444 (CLD_CONTINUED): Likewise.
7445 (POLL_IN): Likewise.
7446 (POLL_OUT): Likewise.
7447 (POLL_MSG): Likewise.
7448 (POLL_ERR): Likewise.
7449 (POLL_PRI): Likewise.
7450 (POLL_HUP): Likewise.
7451 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7453 (ILL_ILLOPN): Likewise.
7454 (ILL_ILLADR): Likewise.
7455 (ILL_ILLTRP): Likewise.
7456 (ILL_PRVOPC): Likewise.
7457 (ILL_PRVREG): Likewise.
7458 (ILL_COPROC): Likewise.
7459 (ILL_BADSTK): Likewise.
7460 (ILL_BADIADDR): Likewise.
7461 (ILL_BREAK): Likewise.
7462 (FPE_INTDIV): Likewise.
7463 (FPE_INTOVF): Likewise.
7464 (FPE_FLTDIV): Likewise.
7465 (FPE_FLTOVF): Likewise.
7466 (FPE_FLTUND): Likewise.
7467 (FPE_FLTRES): Likewise.
7468 (FPE_FLTINV): Likewise.
7469 (FPE_FLTSUB): Likewise.
7470 (FPE_DECOVF): Likewise.
7471 (FPE_DECDIV): Likewise.
7472 (FPE_DECERR): Likewise.
7473 (FPE_INVASC): Likewise.
7474 (FPE_INVDEC): Likewise.
7475 (SEGV_MAPERR): Likewise.
7476 (SEGV_ACCERR): Likewise.
7477 (SEGV_PSTKOVF): Likewise.
7478 (BUS_ADRALN): Likewise.
7479 (BUS_ADRERR): Likewise.
7480 (BUS_OBJERR): Likewise.
7481 (BUS_MCEERR_AR): Likewise.
7482 (BUS_MCEERR_AO): Likewise.
7483 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7484 (TRAP_TRACE): Likewise.
7485 (TRAP_BRANCH): Likewise.
7486 (TRAP_HWBKPT): Likewise.
7487 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7489 (CLD_KILLED): Likewise.
7490 (CLD_DUMPED): Likewise.
7491 (CLD_TRAPPED): Likewise.
7492 (CLD_STOPPED): Likewise.
7493 (CLD_CONTINUED): Likewise.
7494 (POLL_IN): Likewise.
7495 (POLL_OUT): Likewise.
7496 (POLL_MSG): Likewise.
7497 (POLL_ERR): Likewise.
7498 (POLL_PRI): Likewise.
7499 (POLL_HUP): Likewise.
7500 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7501 (ILL_ILLOPN): Likewise.
7502 (ILL_ILLADR): Likewise.
7503 (ILL_ILLTRP): Likewise.
7504 (ILL_PRVOPC): Likewise.
7505 (ILL_PRVREG): Likewise.
7506 (ILL_COPROC): Likewise.
7507 (ILL_BADSTK): Likewise.
7508 (FPE_INTDIV): Likewise.
7509 (FPE_INTOVF): Likewise.
7510 (FPE_FLTDIV): Likewise.
7511 (FPE_FLTOVF): Likewise.
7512 (FPE_FLTUND): Likewise.
7513 (FPE_FLTRES): Likewise.
7514 (FPE_FLTINV): Likewise.
7515 (FPE_FLTSUB): Likewise.
7516 (SEGV_MAPERR): Likewise.
7517 (SEGV_ACCERR): Likewise.
7518 (BUS_ADRALN): Likewise.
7519 (BUS_ADRERR): Likewise.
7520 (BUS_OBJERR): Likewise.
7521 (BUS_MCEERR_AR): Likewise.
7522 (BUS_MCEERR_AO): Likewise.
7523 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7524 (TRAP_TRACE): Likewise.
7525 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7527 (CLD_KILLED): Likewise.
7528 (CLD_DUMPED): Likewise.
7529 (CLD_TRAPPED): Likewise.
7530 (CLD_STOPPED): Likewise.
7531 (CLD_CONTINUED): Likewise.
7532 (POLL_IN): Likewise.
7533 (POLL_OUT): Likewise.
7534 (POLL_MSG): Likewise.
7535 (POLL_ERR): Likewise.
7536 (POLL_PRI): Likewise.
7537 (POLL_HUP): Likewise.
7538 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7539 (ILL_ILLOPN): Likewise.
7540 (ILL_ILLADR): Likewise.
7541 (ILL_ILLTRP): Likewise.
7542 (ILL_PRVOPC): Likewise.
7543 (ILL_PRVREG): Likewise.
7544 (ILL_COPROC): Likewise.
7545 (ILL_BADSTK): Likewise.
7546 (FPE_INTDIV): Likewise.
7547 (FPE_INTOVF): Likewise.
7548 (FPE_FLTDIV): Likewise.
7549 (FPE_FLTOVF): Likewise.
7550 (FPE_FLTUND): Likewise.
7551 (FPE_FLTRES): Likewise.
7552 (FPE_FLTINV): Likewise.
7553 (FPE_FLTSUB): Likewise.
7554 (SEGV_MAPERR): Likewise.
7555 (SEGV_ACCERR): Likewise.
7556 (BUS_ADRALN): Likewise.
7557 (BUS_ADRERR): Likewise.
7558 (BUS_OBJERR): Likewise.
7559 (BUS_MCEERR_AR): Likewise.
7560 (BUS_MCEERR_AO): Likewise.
7561 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7562 (TRAP_TRACE): Likewise.
7563 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7565 (CLD_KILLED): Likewise.
7566 (CLD_DUMPED): Likewise.
7567 (CLD_TRAPPED): Likewise.
7568 (CLD_STOPPED): Likewise.
7569 (CLD_CONTINUED): Likewise.
7570 (POLL_IN): Likewise.
7571 (POLL_OUT): Likewise.
7572 (POLL_MSG): Likewise.
7573 (POLL_ERR): Likewise.
7574 (POLL_PRI): Likewise.
7575 (POLL_HUP): Likewise.
7576 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7577 (ILL_ILLOPN): Likewise.
7578 (ILL_ILLADR): Likewise.
7579 (ILL_ILLTRP): Likewise.
7580 (ILL_PRVOPC): Likewise.
7581 (ILL_PRVREG): Likewise.
7582 (ILL_COPROC): Likewise.
7583 (ILL_BADSTK): Likewise.
7584 (FPE_INTDIV): Likewise.
7585 (FPE_INTOVF): Likewise.
7586 (FPE_FLTDIV): Likewise.
7587 (FPE_FLTOVF): Likewise.
7588 (FPE_FLTUND): Likewise.
7589 (FPE_FLTRES): Likewise.
7590 (FPE_FLTINV): Likewise.
7591 (FPE_FLTSUB): Likewise.
7592 (SEGV_MAPERR): Likewise.
7593 (SEGV_ACCERR): Likewise.
7594 (BUS_ADRALN): Likewise.
7595 (BUS_ADRERR): Likewise.
7596 (BUS_OBJERR): Likewise.
7597 (BUS_MCEERR_AR): Likewise.
7598 (BUS_MCEERR_AO): Likewise.
7599 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7600 (TRAP_TRACE): Likewise.
7601 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7603 (CLD_KILLED): Likewise.
7604 (CLD_DUMPED): Likewise.
7605 (CLD_TRAPPED): Likewise.
7606 (CLD_STOPPED): Likewise.
7607 (CLD_CONTINUED): Likewise.
7608 (POLL_IN): Likewise.
7609 (POLL_OUT): Likewise.
7610 (POLL_MSG): Likewise.
7611 (POLL_ERR): Likewise.
7612 (POLL_PRI): Likewise.
7613 (POLL_HUP): Likewise.
7614 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7615 (ILL_ILLOPN): Likewise.
7616 (ILL_ILLADR): Likewise.
7617 (ILL_ILLTRP): Likewise.
7618 (ILL_PRVOPC): Likewise.
7619 (ILL_PRVREG): Likewise.
7620 (ILL_COPROC): Likewise.
7621 (ILL_BADSTK): Likewise.
7622 (ILL_DBLFLT): Likewise.
7623 (ILL_HARDWALL): Likewise.
7624 (FPE_INTDIV): Likewise.
7625 (FPE_INTOVF): Likewise.
7626 (FPE_FLTDIV): Likewise.
7627 (FPE_FLTOVF): Likewise.
7628 (FPE_FLTUND): Likewise.
7629 (FPE_FLTRES): Likewise.
7630 (FPE_FLTINV): Likewise.
7631 (FPE_FLTSUB): Likewise.
7632 (SEGV_MAPERR): Likewise.
7633 (SEGV_ACCERR): Likewise.
7634 (BUS_ADRALN): Likewise.
7635 (BUS_ADRERR): Likewise.
7636 (BUS_OBJERR): Likewise.
7637 (BUS_MCEERR_AR): Likewise.
7638 (BUS_MCEERR_AO): Likewise.
7639 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7640 (TRAP_TRACE): Likewise.
7641 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7643 (CLD_KILLED): Likewise.
7644 (CLD_DUMPED): Likewise.
7645 (CLD_TRAPPED): Likewise.
7646 (CLD_STOPPED): Likewise.
7647 (CLD_CONTINUED): Likewise.
7648 (POLL_IN): Likewise.
7649 (POLL_OUT): Likewise.
7650 (POLL_MSG): Likewise.
7651 (POLL_ERR): Likewise.
7652 (POLL_PRI): Likewise.
7653 (POLL_HUP): Likewise.
7654 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7655 (ILL_ILLOPN): Likewise.
7656 (ILL_ILLADR): Likewise.
7657 (ILL_ILLTRP): Likewise.
7658 (ILL_PRVOPC): Likewise.
7659 (ILL_PRVREG): Likewise.
7660 (ILL_COPROC): Likewise.
7661 (ILL_BADSTK): Likewise.
7662 (FPE_INTDIV): Likewise.
7663 (FPE_INTOVF): Likewise.
7664 (FPE_FLTDIV): Likewise.
7665 (FPE_FLTOVF): Likewise.
7666 (FPE_FLTUND): Likewise.
7667 (FPE_FLTRES): Likewise.
7668 (FPE_FLTINV): Likewise.
7669 (FPE_FLTSUB): Likewise.
7670 (SEGV_MAPERR): Likewise.
7671 (SEGV_ACCERR): Likewise.
7672 (BUS_ADRALN): Likewise.
7673 (BUS_ADRERR): Likewise.
7674 (BUS_OBJERR): Likewise.
7675 (BUS_MCEERR_AR): Likewise.
7676 (BUS_MCEERR_AO): Likewise.
7677 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7678 (TRAP_TRACE): Likewise.
7679 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7681 (CLD_KILLED): Likewise.
7682 (CLD_DUMPED): Likewise.
7683 (CLD_TRAPPED): Likewise.
7684 (CLD_STOPPED): Likewise.
7685 (CLD_CONTINUED): Likewise.
7686 (POLL_IN): Likewise.
7687 (POLL_OUT): Likewise.
7688 (POLL_MSG): Likewise.
7689 (POLL_ERR): Likewise.
7690 (POLL_PRI): Likewise.
7691 (POLL_HUP): Likewise.
7692 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7693 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7696 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7697 before #include of <time.h>.
7698 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7699 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7700 (test-xfail-UNIX98/sched.h/conform): Likewise.
7702 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7704 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7705 error absence of trapping exception support.
7706 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7708 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7710 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7711 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7712 * timezone/Makefile (testdata): Move definition above include of
7714 (test-zones): New variable.
7715 (tests-special): Add zone files.
7716 (build-testdata): Use $(evaluate-test).
7718 * elf/Makefile (tests-special): Rename tests to end with .out.
7719 ($(objpfx)noload-mem): Likewise.
7720 ($(objpfx)tst-leaks1-mem): Likewise.
7721 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7722 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7723 $(objpfx)test-iconvconfig.out.
7724 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7725 set -e inside subshell and redirect output to file.
7726 * iconvdata/Makefile (generated): Rename tests to end with .out.
7728 (tests-special): Rename tests to end with .out.
7729 ($(objpfx)mtrace-tst-loading): Likewise.
7730 * intl/Makefile (generated): Likewise.
7731 (tests-special): Likewise.
7732 ($(objpfx)mtrace-tst-gettext): Likewise.
7733 * misc/Makefile (generated): Likewise.
7734 (tests-special): Likewise.
7735 ($(objpfx)tst-error1-mem): Likewise.
7736 * nptl/Makefile (tests-special): Likewise.
7737 ($(objpfx)tst-stack3-mem): Likewise.
7738 (generated): Likewise.
7739 * posix/Makefile (generated): Likewise.
7740 (tests-special): Likewise.
7741 (xtests-special): Likewise.
7742 ($(objpfx)tst-fnmatch-mem): Likewise.
7743 ($(objpfx)bug-regex2-mem): Likewise.
7744 ($(objpfx)bug-regex14-mem): Likewise.
7745 ($(objpfx)bug-regex21-mem): Likewise.
7746 ($(objpfx)bug-regex31-mem): Likewise.
7747 ($(objpfx)tst-vfork3-mem): Likewise.
7748 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7749 ($(objpfx)tst-pcre-mem): Likewise.
7750 ($(objpfx)tst-boost-mem): Likewise.
7751 ($(objpfx)bug-ga2-mem): Likewise.
7752 ($(objpfx)bug-glob2-mem): Likewise.
7753 * resolv/Makefile (generate): Likewise.
7754 (tests-special): Likewise.
7755 (xtests-special): Likewise.
7756 (generated): Likewise.
7757 ($(objpfx)mtrace-tst-leaks): Likewise.
7758 ($(objpfx)mtrace-tst-leaks2): Likewise.
7760 * scripts/merge-test-results.sh: New file.
7761 * Makefile (tests-special-notdir): New variable.
7762 (tests): Run merge-test-results.sh.
7764 * Rules (tests-special-notdir): New variable.
7765 (xtests-special-notdir): Likewise.
7766 (tests): Run merge-test-results.sh
7769 * Makeconfig (test-xfail-name): New variable.
7770 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7771 compute variable name for expected failures.
7772 * conform/Makefile (conformtest-headers-data): New variable.
7773 (conformtest-standards): Likewise.
7774 (conformtest-headers-ISO): Likewise.
7775 (conformtest-headers-ISO99): Likewise.
7776 (conformtest-headers-ISO11): Likewise.
7777 (conformtest-headers-POSIX): Likewise.
7778 (conformtest-headers-XPG3): Likewise.
7779 (conformtest-headers-XPG4): Likewise.
7780 (conformtest-headers-UNIX98): Likewise.
7781 (conformtest-headers-XOPEN2K): Likewise.
7782 (conformtest-headers-POSIX2008): Likewise.
7783 (conformtest-headers-XOPEN2K8): Likewise.
7784 (conformtest-header-list-base): Likewise.
7785 (conformtest-header-list-tests): Likewise.
7786 (conformtest-header-base): Likewise.
7787 (conformtest-header-tests): Likewise.
7788 (tests-special): Add $(conformtest-header-list-tests). If
7789 [$(fast-check) && !$(cross-compiling)], add
7790 $(conformtest-header-tests) instead of
7791 $(objpfx)run-conformtest.out.
7792 (generated): Add $(conformtest-header-list-base). If
7793 [$(fast-check) && !$(cross-compiling)], add
7794 $(conformtest-header-base). Remove previous setting.
7795 ($(conformtest-header-list-tests)): New target.
7796 (test-xfail-run-conformtest): Remove variable.
7797 ($(objpfx)run-conformtest.out): Remove target.
7798 (test-xfail-ISO11/complex.h/conform): New variable.
7799 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7800 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7801 (test-xfail-XPG3/varargs.h/conform): Likewise.
7802 (test-xfail-XPG4/varargs.h/conform): Likewise.
7803 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7804 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7805 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7806 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7807 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7808 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7809 (test-xfail-XPG3/ftw.h/conform): Likewise.
7810 (test-xfail-XPG3/grp.h/conform): Likewise.
7811 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7812 (test-xfail-XPG3/limits.h/conform): Likewise.
7813 (test-xfail-XPG3/pwd.h/conform): Likewise.
7814 (test-xfail-XPG3/search.h/conform): Likewise.
7815 (test-xfail-XPG3/signal.h/conform): Likewise.
7816 (test-xfail-XPG3/stdio.h/conform): Likewise.
7817 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7818 (test-xfail-XPG3/string.h/conform): Likewise.
7819 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7820 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7821 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7822 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7823 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7824 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7825 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7826 (test-xfail-XPG3/termios.h/conform): Likewise.
7827 (test-xfail-XPG3/time.h/conform): Likewise.
7828 (test-xfail-XPG3/unistd.h/conform): Likewise.
7829 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7830 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7831 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7832 (test-xfail-XPG4/netdb.h/conform): Likewise.
7833 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7834 (test-xfail-XPG4/signal.h/conform): Likewise.
7835 (test-xfail-XPG4/stdio.h/conform): Likewise.
7836 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7837 (test-xfail-XPG4/stropts.h/conform): Likewise.
7838 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7839 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7840 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7841 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7842 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7843 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7844 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7845 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7846 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7847 (test-xfail-XPG4/termios.h/conform): Likewise.
7848 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7849 (test-xfail-XPG4/unistd.h/conform): Likewise.
7850 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7851 (test-xfail-POSIX/sched.h/conform): Likewise.
7852 (test-xfail-POSIX/signal.h/conform): Likewise.
7853 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7854 (test-xfail-POSIX/tar.h/conform): Likewise.
7855 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7856 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7857 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7858 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7859 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7860 (test-xfail-UNIX98/sched.h/conform): Likewise.
7861 (test-xfail-UNIX98/signal.h/conform): Likewise.
7862 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7863 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7864 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7865 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7866 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7867 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7868 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7869 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7870 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7871 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7872 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7873 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7874 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7875 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7876 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7877 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7878 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7879 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7880 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7881 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7882 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7883 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7884 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7885 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7886 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7887 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7888 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7889 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7890 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7891 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7892 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7893 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7894 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7895 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7896 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7897 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7898 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7899 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7900 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7901 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7902 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7903 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7904 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7905 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7906 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7907 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7908 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7909 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7910 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7911 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7912 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7913 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7914 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7915 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7916 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7917 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7918 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7919 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7920 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7921 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7922 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7923 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7924 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7925 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7926 (conformtest-cc-flags): Likewise.
7927 ($(conformtest-header-tests): New target.
7928 * conform/check-header-lists.sh: New file.
7929 * conform/run-conformtest.sh: Remove.
7931 * conform/conformtest.pl: Allow ' and \ in values given for
7933 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7935 [POSIX] (sys/types.h): Likewise.
7936 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7938 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7940 * conform/data/signal.h-data (SIGIO): Remove expectation.
7941 [XPG3] (SIGBUS): Do not expect.
7942 [POSIX || XPG3] (SIGPOLL): Likewise.
7943 [POSIX || XPG3] (SIGPROF): Likewise.
7944 [POSIX || XPG3] (SIGSYS): Likewise.
7945 [XPG3] (SIGTRAP): Likewise.
7946 [POSIX || XPG3] (SIGURG): Likewise.
7947 [POSIX || XPG3] (SIGVTALRM): Likewise.
7948 [POSIX || XPG3] (SIGXCPU): Likewise.
7949 [POSIX || XPG3] (SIGXFSZ): Likewise.
7950 [POSIX] (SA_SIGINFO): Expect.
7951 [XPG3] (siginfo_t): Do not expect type or contents.
7952 [POSIX] (si_pid): Do not expect element.
7953 [POSIX] (si_uid): Likewise.
7954 [POSIX] (si_addr): Likewise.
7955 [POSIX] (si_status): Likewise.
7956 [POSIX] (si_band): Likewise.
7957 [XPG4] (si_value): Likewise.
7958 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7959 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7960 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7961 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7962 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7963 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7964 [POSIX || XPG3] (ILL_COPROC): Likewise.
7965 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7966 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7967 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7968 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7969 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7970 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7971 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7972 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7973 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7974 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7975 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7976 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7977 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7978 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7979 [POSIX || XPG3] (CLD_EXITED): Likewise.
7980 [POSIX || XPG3] (CLD_KILLED): Likewise.
7981 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7982 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7983 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7984 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7985 [POSIX || XPG3] (POLL_IN): Likewise.
7986 [POSIX || XPG3] (POLL_OUT): Likewise.
7987 [POSIX || XPG3] (POLL_MSG): Likewise.
7988 [POSIX || XPG3] (POLL_ERR): Likewise.
7989 [POSIX || XPG3] (POLL_PRI): Likewise.
7990 [POSIX || XPG3] (POLL_HUP): Likewise.
7991 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7992 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7993 (SIG*): Do not allow.
7994 [XPG3] (si_*): Likewise.
7995 [XPG3] (SI_*): Likewise.
7996 [XPG3 || XPG4] (sigev_*): Likewise.
7997 [XPG3 || XPG4] (SIGEV_*): Likewise.
7998 [XPG3 || XPG4] (sival_*): Likewise.
7999 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8000 [POSIX || XPG3] (BUS_*): Likewise.
8001 [POSIX || XPG3] (CLD_*): Likewise.
8002 [POSIX || XPG3] (FPE_*): Likewise.
8003 [POSIX || XPG3] (ILL_*): Likewise.
8004 [POSIX || XPG3] (POLL_*): Likewise.
8005 [POSIX || XPG3] (SEGV_*): Likewise.
8006 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8007 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8008 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8009 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8010 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8011 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8012 Specify type and value.
8013 (TVERSLEN): Likewise.
8014 (REGTYPE): Likewise.
8015 (AREGTYPE): Likewise.
8016 (LNKTYPE): Likewise.
8017 (SYMTYPE): Likewise.
8018 (CHRTYPE): Likewise.
8019 (BLKTYPE): Likewise.
8020 (DIRTYPE): Likewise.
8021 (FIFOTYPE): Likewise.
8022 (CONTTYPE): Likewise.
8027 (TUWRITE): Likewise.
8030 (TGWRITE): Likewise.
8033 (TOWRITE): Likewise.
8035 [POSIX] (TSVTX): Expect constant.
8037 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8039 * Makefile (tests): Change dependencies to ....
8040 (tests-special): ... additions to this variable.
8041 (tests): Depend on $(tests-special).
8042 * Makerules (check-abi-list): New variable.
8043 (check-abi): Depend on $(check-abi-list).
8044 [$(subdir) = elf] (tests-special): Add
8045 $(objpfx)check-abi-libc.out.
8046 [$(build-shared) = yes && subdir] (tests-special): Add
8048 [$(build-shared) = yes && subdir] (tests): Do not depend on
8050 * Rules (tests): Depend on $(tests-special).
8051 (xtests): Depend on $(xtests-special).
8052 * catgets/Makefile (tests): Change dependencies to ....
8053 (tests-special): ... additions to this variable.
8054 * conform/Makefile (tests): Change dependencies to ....
8055 (tests-special): ... additions to this variable.
8056 * elf/Makefile (tests): Change dependencies to ....
8057 (tests-special): ... additions to this variable.
8058 * grp/Makefile (tests): Change dependencies to ....
8059 (tests-special): ... additions to this variable.
8060 * iconv/Makefile (xtests): Change dependencies to ....
8061 (xtests-special): ... additions to this variable.
8062 * iconvdata/Makefile (tests): Change dependencies to ....
8063 (tests-special): ... additions to this variable.
8064 * intl/Makefile (tests): Change dependencies to ....
8065 (tests-special): ... additions to this variable. Also add
8066 $(objpfx)tst-gettext.out.
8067 * io/Makefile (tests): Change dependencies to ....
8068 (tests-special): ... additions to this variable.
8069 * libio/Makefile (tests): Change dependencies to ....
8070 (tests-special): ... additions to this variable.
8071 * malloc/Makefile (tests): Change dependencies to ....
8072 (tests-special): ... additions to this variable.
8073 * misc/Makefile (tests): Change dependencies to ....
8074 (tests-special): ... additions to this variable.
8075 * nptl/Makefile (tests): Change dependencies to ....
8076 (tests-special): ... additions to this variable.
8077 * nptl_db/Makefile (tests): Change dependencies to ....
8078 (tests-special): ... additions to this variable.
8079 * posix/Makefile (tests): Change dependencies to ....
8080 (tests-special): ... additions to this variable.
8081 (xtests): Change dependencies to ....
8082 (xtests-special): ... additions to this variable.
8083 * resolv/Makefile (tests): Change dependencies to ....
8084 (tests-special): ... additions to this variable.
8085 (xtests): Change dependencies to ....
8086 (xtests-special): ... additions to this variable.
8087 * stdio-common/Makefile (tests): Change dependencies to ....
8088 (tests-special): ... additions to this variable.
8089 (do-tst-unbputc): Remove target.
8090 (do-tst-printf): Likewise.
8091 * stdlib/Makefile (tests): Change dependencies to ....
8092 (tests-special): ... additions to this variable.
8093 * string/Makefile (tests): Change dependencies to ....
8094 (tests-special): ... additions to this variable.
8095 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8096 (tests-special): ... additions to this variable.
8098 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8100 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8102 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8103 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8105 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8106 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8107 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8108 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8109 * conform/data/libgen.h-data [XPG3]: Likewise.
8110 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8111 * conform/data/ndbm.h-data [XPG3]: Likewise.
8112 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8113 * conform/data/netdb.h-data [XPG3]: Likewise.
8114 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8115 * conform/data/poll.h-data [XPG3]: Likewise.
8116 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8117 * conform/data/strings.h-data [XPG3]: Likewise.
8118 * conform/data/stropts.h-data [XPG3]: Likewise.
8119 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8120 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8121 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8123 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8124 * conform/data/sys/time.h-data [XPG3]: Likewise.
8125 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8126 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8127 * conform/data/sys/un.h-data [XPG3]: Likewise.
8128 * conform/data/syslog.h-data [XPG3]: Likewise.
8129 * conform/data/ucontext.h-data [XPG3]: Likewise.
8130 * conform/data/utmpx.h-data [XPG3]: Likewise.
8131 * conform/data/varargs.h-data [UNIX98]: Enable file.
8133 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8135 * math/libm-test.inc (struct test_f_f_data): Move expected results
8136 into structure for each rounding mode.
8137 (struct test_ff_f_data): Likewise.
8138 (struct test_ff_f_data_nexttoward): Likewise.
8139 (struct test_fi_f_data): Likewise.
8140 (struct test_fl_f_data): Likewise.
8141 (struct test_if_f_data): Likewise.
8142 (struct test_fff_f_data): Likewise.
8143 (struct test_c_f_data): Likewise.
8144 (struct test_f_f1_data): Likewise.
8145 (struct test_fF_f1_data): Likewise.
8146 (struct test_ffI_f1_data): Likewise.
8147 (struct test_c_c_data): Likewise.
8148 (struct test_cc_c_data): Likewise.
8149 (struct test_f_i_data): Likewise.
8150 (struct test_ff_i_data): Likewise.
8151 (struct test_f_l_data): Likewise.
8152 (struct test_f_L_data): Likewise.
8153 (struct test_fFF_11_data): Likewise.
8155 (RM_FE_DOWNWARD): Likewise.
8156 (RM_FE_TONEAREST): Likewise.
8157 (RM_FE_TOWARDZERO): Likewise.
8158 (RM_FE_UPWARD): Likewise.
8159 (RUN_TEST_LOOP_f_f): Update references to expected results.
8160 (RUN_TEST_LOOP_2_f): Likewise.
8161 (RUN_TEST_LOOP_fff_f): Likewise.
8162 (RUN_TEST_LOOP_c_f): Likewise.
8163 (RUN_TEST_LOOP_f_f1): Likewise.
8164 (RUN_TEST_LOOP_fF_f1): Likewise.
8165 (RUN_TEST_LOOP_fI_f1): Likewise.
8166 (RUN_TEST_LOOP_ffI_f1): Likewise.
8167 (RUN_TEST_LOOP_c_c): Likewise.
8168 (RUN_TEST_LOOP_cc_c): Likewise.
8169 (RUN_TEST_LOOP_f_i): Likewise.
8170 (RUN_TEST_LOOP_f_i_tg): Likewise.
8171 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8172 (RUN_TEST_LOOP_f_b): Likewise.
8173 (RUN_TEST_LOOP_f_b_tg): Likewise.
8174 (RUN_TEST_LOOP_f_l): Likewise.
8175 (RUN_TEST_LOOP_f_L): Likewise.
8176 (RUN_TEST_LOOP_fFF_11): Likewise.
8177 * math/gen-libm-test.pl (parse_args): Output four copies of
8178 expected results for each test.
8180 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8181 (__ASSUME_UTIMES): Remove.
8182 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8183 (__ASSUME_UTIMES): Likewise.
8185 * math/gen-auto-libm-tests.c: Update comment on output format.
8186 (output_for_one_input_case): Generate before-rounding and
8187 after-rounding information as conditions on output flags not
8188 floating-point format.
8189 * math/auto-libm-test-out: Regenerated.
8190 * math/gen-libm-test.pl (cond_value): New function.
8191 (or_cond_value): Use cond_value.
8192 (generate_testfile): Handle conditional exceptions.
8194 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8196 * math/libm-test.inc (max_valid_error): New variable.
8197 (init_max_error): Take new argument specifying whether function
8198 results are exactly determined. Set max_valid_error and bound
8199 other variables for errors based on this argument.
8200 (set_max_error): Do not record results above max_valid_error.
8201 (check_float_internal): Only accept errors of up to 0.5ulps if
8202 also at most max_valid_error.
8203 (START): Take new argument EXACT and pass it to init_max_error.
8204 (acos_test): Update call to START.
8205 (acos_test_tonearest): Likewise.
8206 (acos_test_towardzero): Likewise.
8207 (acos_test_downward): Likewise.
8208 (acos_test_upward): Likewise.
8209 (acosh_test): Likewise.
8210 (asin_test): Likewise.
8211 (asin_test_tonearest): Likewise.
8212 (asin_test_towardzero): Likewise.
8213 (asin_test_downward): Likewise.
8214 (asin_test_upward): Likewise.
8215 (asinh_test): Likewise.
8216 (atan_test): Likewise.
8217 (atanh_test): Likewise.
8218 (atan2_test): Likewise.
8219 (cabs_test): Likewise.
8220 (cacos_test): Likewise.
8221 (cacosh_test): Likewise.
8222 (carg_test): Likewise.
8223 (casin_test): Likewise.
8224 (casinh_test): Likewise.
8225 (catan_test): Likewise.
8226 (catanh_test): Likewise.
8227 (cbrt_test): Likewise.
8228 (ccos_test): Likewise.
8229 (ccosh_test): Likewise.
8230 (ceil_test): Likewise.
8231 (cexp_test): Likewise.
8232 (cimag_test): Likewise.
8233 (clog_test): Likewise.
8234 (clog10_test): Likewise.
8235 (conj_test): Likewise.
8236 (copysign_test): Likewise.
8237 (cos_test): Likewise.
8238 (cos_test_tonearest): Likewise.
8239 (cos_test_towardzero): Likewise.
8240 (cos_test_downward): Likewise.
8241 (cos_test_upward): Likewise.
8242 (cosh_test): Likewise.
8243 (cosh_test_tonearest): Likewise.
8244 (cosh_test_towardzero): Likewise.
8245 (cosh_test_downward): Likewise.
8246 (cosh_test_upward): Likewise.
8247 (cpow_test): Likewise.
8248 (cproj_test): Likewise.
8249 (creal_test): Likewise.
8250 (csin_test): Likewise.
8251 (csinh_test): Likewise.
8252 (csqrt_test): Likewise.
8253 (ctan_test): Likewise.
8254 (ctan_test_tonearest): Likewise.
8255 (ctan_test_towardzero): Likewise.
8256 (ctan_test_downward): Likewise.
8257 (ctan_test_upward): Likewise.
8258 (ctanh_test): Likewise.
8259 (ctanh_test_tonearest): Likewise.
8260 (ctanh_test_towardzero): Likewise.
8261 (ctanh_test_downward): Likewise.
8262 (ctanh_test_upward): Likewise.
8263 (erf_test): Likewise.
8264 (erfc_test): Likewise.
8265 (exp_test): Likewise.
8266 (exp_test_tonearest): Likewise.
8267 (exp_test_towardzero): Likewise.
8268 (exp_test_downward): Likewise.
8269 (exp_test_upward): Likewise.
8270 (exp10_test): Likewise.
8271 (exp10_test_tonearest): Likewise.
8272 (exp10_test_towardzero): Likewise.
8273 (exp10_test_downward): Likewise.
8274 (exp10_test_upward): Likewise.
8275 (pow10_test): Likewise.
8276 (exp2_test): Likewise.
8277 (expm1_test): Likewise.
8278 (expm1_test_tonearest): Likewise.
8279 (expm1_test_towardzero): Likewise.
8280 (expm1_test_downward): Likewise.
8281 (expm1_test_upward): Likewise.
8282 (fabs_test): Likewise.
8283 (fdim_test): Likewise.
8284 (floor_test): Likewise.
8285 (fma_test): Likewise.
8286 (fma_test_towardzero): Likewise.
8287 (fma_test_downward): Likewise.
8288 (fma_test_upward): Likewise.
8289 (fmax_test): Likewise.
8290 (fmin_test): Likewise.
8291 (fmod_test): Likewise.
8292 (fpclassify_test): Likewise.
8293 (frexp_test): Likewise.
8294 (hypot_test): Likewise.
8295 (ilogb_test): Likewise.
8296 (isfinite_test): Likewise.
8297 (finite_test): Likewise.
8298 (isgreater_test): Likewise.
8299 (isgreaterequal_test): Likewise.
8300 (isinf_test): Likewise.
8301 (isless_test): Likewise.
8302 (islessequal_test): Likewise.
8303 (islessgreater_test): Likewise.
8304 (isnan_test): Likewise.
8305 (isnormal_test): Likewise.
8306 (issignaling_test): Likewise.
8307 (isunordered_test): Likewise.
8308 (j0_test): Likewise.
8309 (j1_test): Likewise.
8310 (jn_test): Likewise.
8311 (ldexp_test): Likewise.
8312 (lgamma_test): Likewise.
8313 (gamma_test): Likewise.
8314 (lrint_test): Likewise.
8315 (lrint_test_tonearest): Likewise.
8316 (lrint_test_towardzero): Likewise.
8317 (lrint_test_downward): Likewise.
8318 (lrint_test_upward): Likewise.
8319 (llrint_test): Likewise.
8320 (llrint_test_tonearest): Likewise.
8321 (llrint_test_towardzero): Likewise.
8322 (llrint_test_downward): Likewise.
8323 (llrint_test_upward): Likewise.
8324 (log_test): Likewise.
8325 (log10_test): Likewise.
8326 (log1p_test): Likewise.
8327 (log2_test): Likewise.
8328 (logb_test): Likewise.
8329 (logb_test_downward): Likewise.
8330 (lround_test): Likewise.
8331 (llround_test): Likewise.
8332 (modf_test): Likewise.
8333 (nearbyint_test): Likewise.
8334 (nextafter_test): Likewise.
8335 (nexttoward_test): Likewise.
8336 (pow_test): Likewise.
8337 (pow_test_tonearest): Likewise.
8338 (pow_test_towardzero): Likewise.
8339 (pow_test_downward): Likewise.
8340 (pow_test_upward): Likewise.
8341 (remainder_test): Likewise.
8342 (drem_test): Likewise.
8343 (remainder_test_tonearest): Likewise.
8344 (drem_test_tonearest): Likewise.
8345 (remainder_test_towardzero): Likewise.
8346 (drem_test_towardzero): Likewise.
8347 (remainder_test_downward): Likewise.
8348 (drem_test_downward): Likewise.
8349 (remainder_test_upward): Likewise.
8350 (drem_test_upward): Likewise.
8351 (remquo_test): Likewise.
8352 (rint_test): Likewise.
8353 (rint_test_tonearest): Likewise.
8354 (rint_test_towardzero): Likewise.
8355 (rint_test_downward): Likewise.
8356 (rint_test_upward): Likewise.
8357 (round_test): Likewise.
8358 (scalb_test): Likewise.
8359 (scalbn_test): Likewise.
8360 (scalbln_test): Likewise.
8361 (signbit_test): Likewise.
8362 (sin_test): Likewise.
8363 (sin_test_tonearest): Likewise.
8364 (sin_test_towardzero): Likewise.
8365 (sin_test_downward): Likewise.
8366 (sin_test_upward): Likewise.
8367 (sincos_test): Likewise.
8368 (sinh_test): Likewise.
8369 (sinh_test_tonearest): Likewise.
8370 (sinh_test_towardzero): Likewise.
8371 (sinh_test_downward): Likewise.
8372 (sinh_test_upward): Likewise.
8373 (sqrt_test): Likewise.
8374 (sqrt_test_tonearest): Likewise.
8375 (sqrt_test_towardzero): Likewise.
8376 (sqrt_test_downward): Likewise.
8377 (sqrt_test_upward): Likewise.
8378 (tan_test): Likewise.
8379 (tan_test_tonearest): Likewise.
8380 (tan_test_towardzero): Likewise.
8381 (tan_test_downward): Likewise.
8382 (tan_test_upward): Likewise.
8383 (tanh_test): Likewise.
8384 (tgamma_test): Likewise.
8385 (trunc_test): Likewise.
8386 (y0_test): Likewise.
8387 (y1_test): Likewise.
8388 (yn_test): Likewise.
8389 (significand_test): Likewise.
8391 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8392 individual tests in comment.
8393 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8394 (prev_max_error): New variable.
8395 (prev_real_max_error): Likewise.
8396 (prev_imag_max_error): Likewise.
8397 (compare_ulp_data): Don't refer to test names in comment.
8398 (find_test_ulps): Remove function.
8399 (find_function_ulps): Likewise.
8400 (find_complex_function_ulps): Likewise.
8401 (init_max_error): Take function name as argument. Look up ulps
8403 (print_ulps): Remove function.
8404 (print_max_error): Use prev_max_error instead of calling
8406 (print_complex_max_error): Use prev_real_max_error and
8407 prev_imag_max_error instead of calling find_complex_function_ulps.
8408 (check_float_internal): Take max_ulp parameter instead of calling
8409 find_test_ulps. Don't call print_ulps.
8410 (check_float): Update call to check_float_internal.
8411 (check_complex): Update calls to check_float_internal.
8412 (START): Pass argument to init_max_error.
8413 * math/gen-libm-test.pl (%results): Don't include "kind"
8415 (parse_ulps): Don't handle ulps of individual tests.
8416 (print_ulps_file): Likewise.
8417 (output_ulps): Likewise.
8418 * math/README.libm-test: Update.
8419 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8421 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8422 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8423 * sysdeps/arm/libm-test-ulps: Likewise.
8424 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8425 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8426 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8427 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8428 * sysdeps/microblaze/libm-test-ulps: Likewise.
8429 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8430 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8431 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8432 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8433 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8434 * sysdeps/sh/libm-test-ulps: Likewise.
8435 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8436 * sysdeps/tile/libm-test-ulps: Likewise.
8437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8439 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8441 * math/libm-test.inc (print_complex_max_error): Check separately
8442 whether real and imaginary errors are within allowed range and
8443 pass 0 to print_complex_function_ulps instead of value within
8446 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8448 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8450 (get_handles_fopen): Likewise.
8451 (do_write_test): Likewise.
8453 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8455 * libio/fileops.c (do_ftell): Use cached offset when
8457 * libio/iofwide.c (do_ftell_wide): Likewise.
8458 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8460 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8463 * libio/libioP.h (get_file_offset): New function.
8464 * libio/fileops.c (get_file_offset): Likewise.
8465 (do_ftell): Likewise.
8466 (_IO_new_file_seekoff): Split out ftell logic.
8467 * libio/wfileops.c (do_ftell_wide): Likewise.
8468 (_IO_wfile_seekoff): Split out ftell logic.
8469 * libio/tst-ftell-active-handler.c: New test case.
8470 * libio/Makefile (tests): Add it.
8472 2014-03-03 Roland McGrath <roland@hack.frob.com>
8474 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8475 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8477 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8480 * nscd/connections.c (nscd_init): Call do_exit.
8481 (start_threads): Call do_exit and notify_parent.
8482 (begin_drop_privileges): Call do_exit.
8483 (finish_drop_privileges): Likewise.
8484 * nscd/selinux.c (preserve_capabilities): Likewise.
8485 (install_real_capabilities): Likewise.
8486 (nscd_selinux_enabled): Likewise.
8487 (avc_create_thread): Likewise.
8488 (avc_alloc_lock): Likewise.
8489 (nscd_avc_init): Likewise.
8490 * nscd/nscd.c (parent_fd): New static variable.
8491 (main): Create a pipe between parent and child processes.
8492 Skip closing parent_fd.
8493 (monitor_child): New function.
8494 (do_exit): Likewise.
8495 (notify_parent): Likewise.
8496 * nscd/nscd.h (notify_parent): Likewise.
8497 (do_exit): Likewise.
8499 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8501 * malloc/malloc.c (__libc_calloc): Revert last change.
8503 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8507 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8509 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8513 (__libc_ifunc_impl_list): Likewise.
8514 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8515 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8516 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8517 * string/strrchr.c: Define STRRCHR.
8519 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8521 * benchtest/bench-strtok.c (simple_strtok): Delete.
8522 (strtok_string): Use as benchmark.
8523 * string/strtok (STRTOK): New macro.
8525 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8527 * manual/threads.texi: Add header and standard comments to all
8530 * elf/dl-lookup.c (check_match): New function.
8531 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8532 (do_lookup_x): Remove nested function check_match. Use non-nested
8533 function check_match.
8535 2014-02-28 Roland McGrath <roland@hack.frob.com>
8537 * csu/Makefile (generated, before-compile): Use += rather than =.
8538 * catgets/Makefile (generated, generated-dirs): Likewise.
8539 * debug/Makefile (generated): Likewise.
8540 * dlfcn/Makefile (generated): Likewise.
8541 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8542 * iconvdata/Makefile (before-compile, generated): Likewise.
8543 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8544 * libio/Makefile (generated): Likewise.
8545 * malloc/Makefile (generated): Likewise.
8546 * manual/Makefile (generated, generated-dirs): Likewise.
8547 * misc/Makefile (generated): Likewise.
8548 * posix/Makefile (generated): Likewise.
8549 * resolv/Makefile (generated): Likewise.
8550 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8551 * timezone/Makefile (generated, generated-dirs): Likewise.
8553 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8555 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8558 power8 implementation.
8559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8560 file: POWER8 llround ifunc implementation.
8561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8562 (__lllround): Add POWER8 implementation.
8563 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8564 POWER8 llround implementation.
8566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8567 power8 implementation.
8568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8569 file: POWER8 llrint ifunc implementation.
8570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8571 Add POWER8 implementation.
8572 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8573 POWER8 llrint implementation.
8575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8576 power8 implementation.
8577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8578 file: POWER8 finite ifunc implementation.
8579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8580 Add POWER8 implementation.
8581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8583 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8584 POWER8 finite implementation.
8585 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8588 power8 implementation.
8589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8590 file: POWER8 isinf ifunc implementation.
8591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8592 POWER8 implementation.
8593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8595 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8596 isinf implementation.
8597 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8599 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8600 (INIT_ARCH): Add hwcap2 initialization.
8601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8602 power8 implementation.
8603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8604 file: POWER8 isnan ifunc implementation.
8605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8606 POWER8 implementation.
8607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8609 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8610 isnan implementation.
8611 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8613 2014-02-27 Joey Ye <joey.ye@arm.com>
8615 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8616 (_FP_NANFRAC_Q): Set to zero.
8618 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8621 * math/auto-libm-test-in: New test inputs.
8622 * math/auto-libm-test-out: Regenerate.
8623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8628 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8630 * scripts/evaluate-test.sh: Take new argument indicating whether
8631 failure is expected.
8632 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8633 indicating whether failure is expected.
8634 * conform/Makefile (test-xfail-run-conformtest): New variable.
8635 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8637 * posix/Makefile (test-xfail-annexc): New variable.
8638 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8640 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8642 * argp/Makefile: Include Makeconfig immediately after defining
8644 * assert/Makefile: Likewise.
8645 * benchtests/Makefile: Likewise.
8646 * catgets/Makefile: Likewise.
8647 * conform/Makefile: Likewise.
8648 * crypt/Makefile: Likewise.
8649 * csu/Makefile: Likewise.
8650 (all): Remove target.
8651 * ctype/Makefile: Include Makeconfig immediately after defining
8653 * debug/Makefile: Likewise.
8654 * dirent/Makefile: Likewise.
8655 * dlfcn/Makefile: Likewise.
8656 * gmon/Makefile: Likewise.
8657 * gnulib/Makefile: Likewise.
8658 * grp/Makefile: Likewise.
8659 * gshadow/Makefile: Likewise.
8660 * hesiod/Makefile: Likewise.
8661 * hurd/Makefile: Likewise.
8662 (all): Remove target.
8663 * iconvdata/Makefile: Include Makeconfig immediately after
8665 * inet/Makefile: Likewise.
8666 * intl/Makefile: Likewise.
8667 * io/Makefile: Likewise.
8668 * libio/Makefile: Likewise.
8669 (all): Remove target.
8670 * locale/Makefile: Include Makeconfig immediately after defining
8672 * login/Makefile: Likewise.
8673 * mach/Makefile: Likewise.
8674 (all): Remove target.
8675 * malloc/Makefile: Include Makeconfig immediately after defining
8677 (all): Remove target.
8678 * manual/Makefile: Include Makeconfig immediately after defining
8680 * math/Makefile: Likewise.
8681 * misc/Makefile: Likewise.
8682 * nis/Makefile: Likewise.
8683 * nss/Makefile: Likewise.
8684 * po/Makefile: Likewise.
8685 (all): Remove target.
8686 * posix/Makefile: Include Makeconfig immediately after defining
8688 * pwd/Makefile: Likewise.
8689 * resolv/Makefile: Likewise.
8690 * resource/Makefile: Likewise.
8691 * rt/Makefile: Likewise.
8692 * setjmp/Makefile: Likewise.
8693 * shadow/Makefile: Likewise.
8694 * signal/Makefile: Likewise.
8695 * socket/Makefile: Likewise.
8696 * soft-fp/Makefile: Likewise.
8697 * stdio-common/Makefile: Likewise.
8698 * stdlib/Makefile: Likewise.
8699 * streams/Makefile: Likewise.
8700 * string/Makefile: Likewise.
8701 * sunrpc/Makefile: Likewise.
8702 (all): Remove target.
8703 * sysvipc/Makefile: Include Makeconfig immediately after defining
8705 * termios/Makefile: Likewise.
8706 * time/Makefile: Likewise.
8707 * timezone/Makefile: Likewise.
8708 (all): Remove target.
8709 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8711 * wctype/Makefile: Likewise.
8713 2014-02-26 Steve Ellcey <sellcey@mips.com>
8715 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8716 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8717 (libc_feholdexcept_setround_mips): Ditto.
8718 (libc_feholdsetround): New.
8719 (libc_feholdsetroundf): New.
8720 (libc_feholdsetroundl): New.
8721 (libc_feupdateenv_test_mips): New.
8722 (libc_feupdateenv_test): New.
8723 (libc_feupdateenv_testf): New.
8724 (libc_feupdateenv_testl): New.
8725 (libc_feresetround): New.
8726 (libc_feresetroundf): New.
8727 (libc_feresetroundl): New.
8728 (libc_fetestexcept_mips): New.
8729 (libc_fetestexcept): New.
8730 (libc_fetestexceptf): New.
8731 (libc_fetestexceptl): New.
8733 (libc_feholdexcept_setround_mips_ctx): New.
8734 (libc_feholdexcept_setround_ctx): New.
8735 (libc_feholdexcept_setroundf_ctx): New.
8736 (libc_feholdexcept_setroundl_ctx): New.
8737 (libc_fesetenv_mips_ctx): New.
8738 (libc_fesetenv_ctx): New.
8739 (libc_fesetenv_ctxf): New.
8740 (libc_fesetenv_ctxl): New.
8741 (libc_feupdateenv_mips_ctx): New.
8742 (libc_feupdateenv_ctx): New.
8743 (libc_feupdateenvf_ctx): New.
8744 (libc_feupdateenvl_ctx): New.
8745 (libc_feholdsetround_mips_ctx): New.
8746 (libc_feholdsetround_ctx): New.
8747 (libc_feholdsetroundf_ctx): New.
8748 (libc_feholdsetroundl_ctx): New.
8749 (libc_feresetround_mips_ctx): New.
8750 (libc_feresetround_ctx): New.
8751 (libc_feresetroundf_ctx): New.
8752 (libc_feresetroundl_ctx): New.
8754 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8756 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8758 * manual/ipc.texi: New file.
8759 * manual/Makefile (chapters): Add ipc.
8760 * manual/job.texi: Add "Inter-Process Communication" to next.
8761 * manual/process.texi: Add "Inter-Process Communication" to prev.
8763 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8767 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8769 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8771 * manual/arith.texi: Fix spaces after sentences.
8772 * manual/charset.texi: Likewise.
8773 * manual/errno.texi: Likewise.
8774 * manual/install.texi: Likewise.
8775 * manual/llio.texi: Likewise.
8776 * manual/locale.texi: Likewise.
8777 * manual/maint.texi: Likewise.
8778 * manual/math.texi: Likewise.
8779 * manual/memory.texi: Likewise.
8780 * manual/message.texi: Likewise.
8781 * manual/probes.texi: Likewise.
8782 * manual/resource.texi: Likewise.
8783 * manual/signal.texi: Likewise.
8784 * manual/socket.texi: Likewise.
8785 * manual/stdio.texi: Likewise.
8786 * manual/string.texi: Likewise.
8787 * manual/time.texi: Likewise.
8788 * manual/users.texi: Likewise.
8790 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8793 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8794 _DEFAULT_SOURCE is defined.
8796 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8797 Carlos O'Donell <carlos@redhat.com>
8800 * elf/dl-tls.c (_dl_count_modids): New function.
8801 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8802 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8803 audit library and increment generation counter.
8804 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8805 * elf/tst-audit9.c: New file.
8806 * elf/tst-auditmod9a.c: New file.
8807 * elf/tst-auditmod9b.c: New file.
8808 * elf/Makefile: Add rules to build and run tst-audit9.
8810 2014-02-25 Florian Weimer <fweimer@redhat.com>
8813 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8815 2014-02-25 Will Newton <will.newton@linaro.org>
8817 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8818 (__longjmp): Restore sp and lr before restoring callee
8819 saved registers. Add longjmp and longjmp_target
8820 SystemTap probe point.
8821 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8822 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8823 Define to zero to match jmpbuf layout.
8824 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8825 (__sigsetjmp): Save sp and lr before saving callee
8826 saved registers. Add setjmp SystemTap probe point.
8828 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8830 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8832 2014-02-24 Andreas Schwab <schwab@suse.de>
8835 * elf/pldd.c (wait_for_ptrace_stop): New function.
8836 (main): Call it after attaching.
8838 2014-02-22 Roland McGrath <roland@hack.frob.com>
8840 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8841 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8842 Versions files is now verboten.
8843 * hurd/Versions (libc: GLIBC_2.0):
8844 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8845 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8846 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8847 * mach/Versions: Likewise.
8849 * csu/Versions: Remove unused %include.
8850 * resolv/Versions: Likewise.
8852 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8854 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8855 ($(objpfx)check-local-headers.out): Likewise.
8856 ($(objpfx)begin-end-check.out): Likewise.
8857 * Makerules (check-abi-%.out): Likewise.
8858 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8859 ($(objpfx)test2.cat): Likewise.
8860 ($(objpfx)de/libc.cat): Likewise.
8861 ($(objpfx)test-gencat.out): Likewise.
8862 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8863 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8864 ($(objpfx)noload-mem): Likewise.
8865 ($(objpfx)tst-pathopt.out): Likewise.
8866 ($(objpfx)tst-rtld-load-self.out): Likewise.
8867 ($(objpfx)tst-array1-cmp.out): Likewise.
8868 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8869 ($(objpfx)tst-array2-cmp.out): Likewise.
8870 ($(objpfx)tst-array3-cmp.out): Likewise.
8871 ($(objpfx)tst-array4-cmp.out): Likewise.
8872 ($(objpfx)tst-array5-cmp.out): Likewise.
8873 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8874 ($(objpfx)check-textrel.out): Likewise.
8875 ($(objpfx)check-execstack.out): Likewise.
8876 ($(objpfx)check-localplt.out): Likewise.
8877 ($(objpfx)order2-cmp.out): Likewise.
8878 ($(objpfx)tst-leaks1-mem): Likewise.
8879 ($(objpfx)tst-leaks1-static-mem): Likewise.
8880 ($(objpfx)tst-initorder-cmp.out): Likewise.
8881 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8882 ($(objpfx)tst-unused-dep.out): Likewise.
8883 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8884 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8885 * iconv/Makefile (test-iconvconfig): Likewise.
8886 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8887 ($(objpfx)iconv-test.out): Likewise.
8888 ($(objpfx)tst-tables.out): Likewise.
8889 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8890 ($(objpfx)tst-gettext.out): Likewise.
8891 ($(objpfx)tst-translit.out): Likewise.
8892 ($(objpfx)tst-gettext2.out): Likewise.
8893 ($(objpfx)tst-gettext4.out): Likewise.
8894 ($(objpfx)tst-gettext6.out): Likewise.
8895 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8896 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8897 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8898 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8899 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8900 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8901 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8902 ($(objpfx)wordexp-tst.out): Likewise.
8903 ($(objpfx)annexc.out): Likewise.
8904 ($(objpfx)tst-fnmatch-mem): Likewise.
8905 ($(objpfx)bug-regex2-mem): Likewise.
8906 ($(objpfx)bug-regex14-mem): Likewise.
8907 ($(objpfx)bug-regex21-mem): Likewise.
8908 ($(objpfx)bug-regex31-mem): Likewise.
8909 ($(objpfx)tst-vfork3-mem): Likewise.
8910 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8911 ($(objpfx)tst-pcre-mem): Likewise.
8912 ($(objpfx)tst-boost-mem): Likewise.
8913 ($(objpfx)tst-getconf.out): Likewise.
8914 ($(objpfx)bug-ga2-mem): Likewise.
8915 ($(objpfx)bug-glob2-mem): Likewise.
8916 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8917 ($(objpfx)mtrace-tst-leaks2): Likewise.
8918 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8919 ($(objpfx)tst-printf.out): Likewise.
8920 ($(objpfx)tst-setvbuf1.out): Likewise.
8921 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8922 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8923 ($(objpfx)tst-fmtmsg.out): Likewise.
8924 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8925 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8927 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8928 * bits/sigaction.h [__USE_MISC]: Likewise.
8929 * bits/waitstatus.h: Update #endif comments.
8930 * ctype/ctype.h: Likewise.
8931 * dirent/dirent.h: Likewise.
8932 [__USE_MISC]: Remove redundant conditionals.
8933 * grp/grp.h: Update #endif comments.
8934 [__USE_GNU]: Remove redundant conditionals.
8935 [__USE_MISC]: Likewise.
8936 * inet/netinet/in.h [__USE_GNU]: Likewise.
8937 * io/sys/stat.h [__USE_MISC]: Likewise.
8938 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8939 * libio/bits/stdio.h: Update #endif comments.
8940 [__USE_MISC]: Remove redundant conditionals.
8941 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8942 * libio/stdio.h: Update #endif comments.
8943 [__USE_MISC]: Remove redundant conditionals.
8944 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8945 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8946 * math/math.h: Update #else and #endif comments.
8947 [__USE_MISC]: Remove redundant conditionals.
8948 * misc/sys/uio.h: Update #endif comments.
8949 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8950 * posix/glob.h [__USE_MISC]: Likewise.
8951 * posix/sys/types.h: Update #endif comments.
8952 [__USE_MISC]: Remove redundant conditionals.
8953 * posix/sys/wait.h: Update #endif comments.
8954 [__USE_MISC]: Remove redundant conditionals.
8955 * posix/unistd.h: Update #endif comments.
8956 [__USE_MISC]: Remove redundant conditionals.
8957 * pwd/pwd.h [__USE_GNU]: Likewise.
8958 [__USE_MISC]: Likewise.
8959 * resolv/netdb.h [__USE_GNU]: Likewise.
8960 * signal/signal.h: Update #endif comments.
8961 [__USE_MISC]: Remove redundant conditionals.
8962 * stdlib/stdlib.h: Update #else and #endif comments.
8963 [__USE_MISC]: Remove redundant conditionals.
8964 [__USE_GNU]: Likewise.
8965 * string/bits/string2.h [__USE_MISC]: Likewise.
8966 * string/string.h: Update #endif comments.
8967 [__USE_MISC]: Remove redundant conditionals.
8968 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8970 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8971 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8972 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8974 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8978 [__USE_MISC]: Remove redundant conditionals.
8979 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8980 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8981 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8982 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8983 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8985 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8986 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8988 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8989 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8991 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8993 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8994 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8996 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8998 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8999 * sysdeps/x86/bits/string.h: Update #endif comments.
9000 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9002 * time/sys/time.h: Update #endif comments.
9003 * time/time.h: Likewise.
9004 [__USE_MISC]: Remove redundant conditionals.
9006 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9009 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9011 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9013 * Versions.def (librt): Add GLIBC_2.17.
9015 2014-02-21 Adam Conrad <adconrad@0c3.net>
9017 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9018 synonym for _SYS_AUXV_H to allow direct inclusion.
9019 * sysdeps/sparc/bits/hwcap.h: Likewise.
9020 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9021 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9022 * sysdeps/sparc/sysdep.h: Likewise.
9024 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9026 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9028 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9030 * benchtests/bench-strrchr.c: Print length instead of position.
9032 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9035 * sysdeps/unix/sysv/linux/kernel-features.h
9036 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9037 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9038 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9039 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9041 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9042 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9043 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9044 (__ASSUME_SENDMMSG): Define instead of using previous
9045 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9046 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9047 (__ASSUME_SENDMMSG_SYSCALL): Define.
9048 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9049 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9051 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9052 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9054 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9055 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9057 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9058 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9059 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9060 [__ASSUME_SENDMMSG]: Change conditionals to
9061 [__ASSUME_SENDMMSG_SOCKETCALL].
9062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9063 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9065 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9066 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9068 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9069 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9070 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9071 [!__ASSUME_SENDMMSG]: Change conditional to
9072 [!__ASSUME_SENDMMSG_SOCKETCALL].
9073 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9074 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9078 * sysdeps/unix/sysv/linux/kernel-features.h
9079 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9080 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9081 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9082 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9083 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9084 [__i386__ || __sparc__]
9085 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9086 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9087 (__ASSUME_RECVMMSG): Define instead of using previous
9088 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9089 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9090 (__ASSUME_RECVMMSG_SYSCALL): Define.
9091 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9092 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9094 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9095 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9097 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9098 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9100 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9101 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9102 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9103 [__ASSUME_RECVMMSG]: Change condition to
9104 [__ASSUME_RECVMMSG_SOCKETCALL].
9105 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9106 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9108 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9109 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9110 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9112 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9113 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9114 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9115 [!__ASSUME_RECVMMSG]: Change condition to
9116 [!__ASSUME_RECVMMSG_SOCKETCALL].
9117 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9118 (__ASSUME_RECVMMSG_SYSCALL): Define.
9121 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9122 __powerpc__ || __s390__ || __sh__ || __sparc__]
9123 (__ASSUME_SOCKETCALL): Define.
9124 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9125 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9126 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9127 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9128 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9129 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9130 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9131 (__ASSUME_ACCEPT4): Define instead of using previous
9132 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9133 __powerpc__ || __sparc__ || __s390__)] condition.
9134 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9135 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9136 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9137 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9138 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9139 [!__ASSUME_ACCEPT4]: Change condition to
9140 [!__ASSUME_ACCEPT4_SOCKETCALL].
9141 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9142 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9143 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9144 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9145 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9146 __ASSUME_ACCEPT4_SYSCALL.
9147 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9148 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9149 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9150 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9151 __ASSUME_ACCEPT4_SYSCALL.
9152 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9153 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9154 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9155 [__ASSUME_ACCEPT4]: Change condition to
9156 [__ASSUME_ACCEPT4_SOCKETCALL].
9157 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9158 (__ASSUME_SOCKETCALL): Define.
9159 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9160 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9161 (__ASSUME_SOCKETCALL): Define.
9162 (__ASSUME_ACCEPT4): Remove.
9163 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9165 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9166 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9168 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9169 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9171 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9173 (HWCAP_ARM_LPAE): Likewise.
9174 (HWCAP_ARM_EVTSTRM): Likewise.
9175 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9176 Add vpfd32, lpae and evtstrm.
9177 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9180 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9182 * math/auto-libm-test-in: Add tests of clog10.
9183 * math/auto-libm-test-out: Regenerated.
9184 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9185 * sysdeps/i386/fpu/libm-test-ulps: Update.
9186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9188 2014-02-18 Andreas Schwab <schwab@suse.de>
9191 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9192 Store non-zero if the second buffer was newly allocated.
9193 (send_dg): Likewise.
9194 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9195 to send_vc and send_dg.
9196 (res_nsend): Pass NULL for ansp2_malloced.
9197 * resolv/res_query.c (__libc_res_nquery): Add parameter
9198 answerp2_malloced and pass it down to __libc_res_nsend.
9199 (res_nquery): Pass additional NULL to __libc_res_nquery.
9200 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9201 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9202 second answer buffer if answerp2_malloced was set.
9203 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9204 (__libc_res_nquerydomain): Add parameter
9205 answerp2_malloced and pass it down to __libc_res_nquery.
9206 (res_nquerydomain): Pass additional NULL to
9207 __libc_res_nquerydomain.
9208 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9209 additional NULL to __libc_res_nsend and __libc_res_nquery.
9210 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9211 additional NULL to __libc_res_nsearch.
9212 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9213 parameter of __libc_res_nsearch to check for separately allocated
9215 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9217 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9218 additional NULL to __libc_res_nquery.
9219 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9221 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9222 * include/resolv.h: Update prototypes of __libc_res_nquery,
9223 __libc_res_nsearch, __libc_res_nsend.
9225 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9227 * math/auto-libm-test-in: Add tests of fma.
9228 * math/auto-libm-test-out: Regenerated.
9229 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9230 (fma_towardzero_test_data): Likewise.
9231 (fma_downward_test_data): Likewise.
9232 (fma_upward_test_data): Likewise.
9233 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9235 (rounding_modes): Add values for new field.
9236 (func_calc_method): Add value mpfr_fff_f.
9237 (func_calc_desc): Add mpfr_fff_f union field.
9238 (test_function): Add field exact_args.
9239 (FUNC): Add macro argument EXACT_ARGS.
9240 (FUNC_mpfr_f_f): Update call to FUNC.
9241 (FUNC_mpfr_f_f): Likewise.
9242 (FUNC_mpfr_ff_f): Likewise.
9243 (FUNC_mpfr_if_f): Likewise.
9244 (FUNC_mpc_c_f): Likewise.
9245 (FUNC_mpc_c_c): Likewise.
9246 (test_functions): Add fma. Update calls to FUNC.
9247 (handle_input_arg): Add argument exact_args.
9248 (add_test): Update call to handle_input_arg.
9249 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9250 (output_for_one_input_case): Update call to calc_generic_results.
9251 Recalculate exact zero results in each rounding mode.
9253 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9254 non-negative before setting low bit.
9255 * math/auto-libm-test-in: Mark one asin test possibly having
9257 * math/auto-libm-test-out: Regenerated.
9258 * sysdeps/i386/fpu/libm-test-ulps: Update.
9259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9261 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9263 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9264 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9265 ports/sysdeps/unix/sysv/linux/microblaze.
9266 * README: Add missing listing for microblaze*-*-linux-gnu.
9268 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9270 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9271 * sysdeps/unix/sysv/linux/ia64: Move directory from
9272 ports/sysdeps/unix/sysv/linux/ia64.
9273 * README: Update listing for ia64-*-linux-gnu.
9275 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9276 Joseph Myers <joseph@codesourcery.com>
9278 * Makeconfig (test-name): New variable.
9279 (evaluate-test): Likewise.
9280 * Makerules (do-test-clean): Remove .test-result files.
9281 (common-mostlyclean): Likewise.
9282 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9283 * scripts/evaluate-test.sh: New file.
9285 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9287 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9288 separate $(objpfx)tst-fopenloc-cmp.out and
9289 $(objpfx)tst-fopenloc-mem.out targets.
9290 (tests): Update dependencies.
9291 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9292 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9293 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9294 (tst-rxspencer-no-utf8-ARGS): New variable.
9295 (tst-rxspencer-no-utf8-ENV): Likewise.
9296 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9297 instead of $(objpfx)tst-rxspencer-mem.
9298 ($(objpfx)tst-rxspencer-mem): Change target to
9299 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9300 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9301 * posix/tst-rxspencer-no-utf8.c: New file.
9303 * elf/Makefile ($(objpfx)order.out): Remove rule.
9304 [$(run-built-tests) = yes] (tests): Depend on
9305 $(objpfx)order-cmp.out.
9306 ($(objpfx)order-cmp.out): New rule.
9307 [$(run-built-tests) = yes] (tests): Depend on
9308 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9309 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9310 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9311 $(objpfx)tst-array5-static-cmp.out.
9312 ($(objpfx)tst-array1.out): Remove rule.
9313 ($(objpfx)tst-array1-cmp.out): New rule.
9314 ($(objpfx)tst-array1-static.out): Remove rule.
9315 ($(objpfx)tst-array1-static-cmp.out): New rule.
9316 ($(objpfx)tst-array2.out): Remove rule.
9317 ($(objpfx)tst-array2-cmp.out): New rule.
9318 ($(objpfx)tst-array3.out): Remove rule.
9319 ($(objpfx)tst-array3-cmp.out): New rule.
9320 ($(objpfx)tst-array4.out): Remove rule.
9321 ($(objpfx)tst-array4-cmp.out): New rule.
9322 ($(objpfx)tst-array5.out): Remove rule.
9323 ($(objpfx)tst-array5-cmp.out): New rule.
9324 ($(objpfx)tst-array5-static.out): Remove rule.
9325 ($(objpfx)tst-array5-static-cmp.out): New rule.
9326 [$(run-built-tests) = yes] (tests): Depend on
9327 $(objpfx)order2-cmp.out.
9328 ($(objpfx)order2.out): Remove rule.
9329 ($(objpfx)order2-cmp.out): New rule.
9330 ($(objpfx)tst-initorder.out): Remove rule.
9331 [$(run-built-tests) = yes] (tests): Depend on
9332 $(objpfx)tst-initorder-cmp.out.
9333 ($(objpfx)tst-initorder-cmp.out): New rule.
9334 ($(objpfx)tst-initorder2.out): Remove rule.
9335 [$(run-built-tests) = yes] (tests): Depend on
9336 $(objpfx)tst-initorder2-cmp.out.
9337 ($(objpfx)tst-initorder2-cmp.out): New rule.
9338 [$(run-built-tests) = yes] (tests): Depend on
9339 $(objpfx)tst-unused-dep-cmp.out.
9340 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9341 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9342 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9343 on $(objpfx)tst-setvbuf1-cmp.out.
9344 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9345 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9346 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9347 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9348 ($(objpfx)tst-svc.out): Remove rule.
9349 ($(objpfx)tst-svc-cmp.out): New rule.
9351 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9353 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9354 * ctype/ctype.h [__USE_MISC]: Likewise.
9355 * dirent/dirent.h [__USE_MISC]: Likewise.
9356 * grp/grp.h [__USE_MISC]: Likewise.
9357 * io/fcntl.h [__USE_MISC]: Likewise.
9358 * io/sys/stat.h [__USE_MISC]: Likewise.
9359 * libio/stdio.h [__USE_MISC]: Likewise.
9360 * posix/unistd.h [__USE_MISC]: Likewise.
9361 * pwd/pwd.h [__USE_MISC]: Likewise.
9362 * stdlib.h [__USE_MISC]: Likewise.
9363 * string/bits/string2.h [__USE_MISC]: Likewise.
9364 * string/string.h [__USE_MISC]: Likewise.
9365 * time/time.h [__USE_MISC]: Likewise.
9367 2014-02-13 Andreas Schwab <schwab@suse.de>
9370 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9371 second answer buffer if it was separately allocated.
9373 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9375 * sysdeps/mips/math-tests.h: Include <features.h>.
9376 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9377 (ROUNDING_TESTS_long_double): Do not define.
9378 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9379 (EXCEPTION_TESTS_long_double): Likewise.
9380 * sysdeps/mips/mips64/libm-test-ulps: Update.
9382 * include/features.h (__USE_BSD): Remove macro definitions.
9383 (__USE_SVID): Likewise.
9384 (_BSD_SOURCE): Likewise.
9385 (_SVID_SOURCE): Likewise.
9386 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9387 from definition of _DEFAULT_SOURCE.
9388 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9390 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9391 * bits/mman.h [__USE_BSD]: Likewise.
9392 * bits/termios.h [__USE_BSD]: Likewise.
9393 * bits/waitstatus.h [__USE_BSD]: Likewise.
9394 * ctype/ctype.h [__USE_SVID]: Likewise.
9395 * dirent/dirent.h [__USE_BSD]: Likewise.
9396 * grp/grp.h [__USE_SVID]: Likewise.
9397 [__USE_BSD]: Likewise.
9398 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9399 * io/fcntl.h [__USE_BSD]: Likewise.
9400 * io/ftw.h [__USE_BSD]: Likewise.
9401 * io/sys/stat.h [__USE_BSD]: Likewise.
9402 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9403 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9404 * libio/stdio.h [__USE_SVID]: Likewise.
9405 [__USE_BSD]: Likewise.
9406 * math/math.h [__USE_SVID]: Likewise.
9407 [__USE_BSD]: Likewise.
9408 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9409 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9410 * misc/search.h [__USE_SVID]: Likewise.
9411 * misc/sys/mman.h [__USE_BSD]: Likewise.
9412 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9413 * misc/sys/uio.h [__USE_BSD]: Likewise.
9414 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9415 * posix/glob.h [__USE_BSD]: Likewise.
9416 * posix/regex.h [__USE_BSD]: Likewise.
9417 * posix/sys/types.h [__USE_BSD]: Likewise.
9418 [__USE_SVID]: Likewise.
9419 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9420 * posix/sys/wait.h [__USE_BSD]: Likewise.
9421 [__USE_SVID]: Likewise.
9422 * posix/unistd.h [__USE_BSD]: Likewise.
9423 [__USE_SVID]: Likewise.
9424 * pwd/pwd.h [__USE_SVID]: Likewise.
9425 * resolv/netdb.h [__USE_BSD]: Likewise.
9426 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9427 * signal/signal.h [__USE_BSD]: Likewise.
9428 [__USE_SVID]: Likewise.
9429 * socket/sys/socket.h [__USE_BSD]: Likewise.
9430 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9431 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9432 [__USE_SVID]: Likewise.
9433 * string/bits/string2.h [__USE_BSD]: Likewise.
9434 [__USE_SVID]: Likewise.
9435 * string/bits/string3.h [__USE_BSD]: Likewise.
9436 * string/endian.h [__USE_BSD]: Likewise.
9437 * string/string.h [__USE_SVID]: Likewise.
9438 [__USE_BSD]: Likewise.
9439 * string/strings.h [__USE_BSD]: Likewise.
9440 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9441 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9442 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9443 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9444 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9445 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9449 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9450 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9452 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9453 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9455 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9457 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9458 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9459 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9461 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9463 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9464 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9465 * termios/termios.h [__USE_BSD]: Likewise.
9466 * time/sys/time.h [__USE_BSD]: Likewise.
9467 * time/time.h [__USE_BSD]: Likewise.
9468 [__USE_SVID]: Likewise.
9470 * Makefile (subdir_targets): Remove subdir_lint.out.
9472 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9473 (do-tst-printf): Likewise.
9474 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9475 $(objpfx)tst-printf.out.
9477 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9479 * Makerules (check-abi-%): Change target to
9480 $(objpfx)check-abi-%.out.
9481 (check-abi target): Update dependencies.
9482 (check-abi-pattern variable): Redirect output of diff to $@.
9483 (check-abi variable): Likewise.
9484 * elf/Makefile (check-abi): Update dependencies.
9486 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9488 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9489 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9491 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9492 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9493 value has largest subnormal exponent.
9494 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9495 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9496 * sysdeps/aarch64/soft-fp/sfp-machine.h
9497 (_FP_TININESS_AFTER_ROUNDING): New macro.
9498 * sysdeps/alpha/soft-fp/sfp-machine.h
9499 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9500 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9502 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9503 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9504 * sysdeps/mips/soft-fp/sfp-machine.h
9505 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9506 * sysdeps/powerpc/soft-fp/sfp-machine.h
9507 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9508 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9510 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9511 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9512 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9513 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9514 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9517 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9520 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9523 2014-02-12 Richard Henderson <rth@redhat.com>
9525 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9526 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9527 * sysdeps/unix/sysv/linux/alpha: Move directory from
9528 ports/sysdeps/unix/sysv/linux/alpha.
9529 * README: Update listing for alpha-*-linux-gnu.
9531 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9533 * include/features.h: Update comment documenting feature test
9535 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9537 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9538 (_SVID_SOURCE): Likewise.
9539 (_DEFAULT_SOURCE): Update description of default features.
9540 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9542 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9543 (S_ISVTX): Likewise.
9544 * manual/math.texi (Mathematical Constants): Likewise.
9545 * manual/signal.texi (Interrupted Primitives): Likewise.
9546 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9547 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9548 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9549 Don't refer to _SVID_SOURCE in warning text.
9551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9553 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9555 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9556 * sysdeps/mips/dl-lookup.c: Remove.
9557 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9559 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9562 * math/auto-libm-test-in: Add testcase for expl.
9563 * math/auto-libm-test-out: Regenerate.
9564 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9565 calculation of unsafe.
9566 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9568 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9570 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9571 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9572 ports/sysdeps/unix/sysv/linux/aarch64.
9573 * README: Update listing for aarch64*-*-linux-gnu.
9575 2014-02-11 Will Newton <will.newton@linaro.org>
9577 * manual/probes.texi (Mathematical Function Probes): Use
9578 "triggered" instead of "hit".
9580 * manual/probes.texi (Internal Probes): Add documentation
9581 of setjmp, longjmp and longjmp_target probes.
9583 * include/stap-probe.h: Add comment about probe argument
9586 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9587 definition. (tr_where, tr_freehook, tr_mallochook,
9588 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9590 2014-02-11 David S. Miller <davem@davemloft.net>
9592 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9593 processing int_tests.
9595 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9597 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9598 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9599 * sysdeps/unix/sysv/linux/mips: Move directory from
9600 ports/sysdeps/unix/sysv/linux/mips.
9601 * README: Update listing for mips-*-linux-gnu and
9604 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9606 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9607 * sysdeps/unix/sysv/linux/m68k: Move directory from
9608 ports/sysdeps/unix/sysv/linux/m68k.
9609 * README: Update listing for m68k-*-linux-gnu.
9611 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9613 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9614 * sysdeps/unix/sysv/linux/generic: Move directory from
9615 ports/sysdeps/unix/sysv/linux/generic.
9616 * sysdeps/unix/sysv/linux/tile: Move directory from
9617 ports/sysdeps/unix/sysv/linux/tile.
9618 * README: Update listing for tile*-*-linux-gnu.
9620 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9622 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9624 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9625 * catgets/open_catalog.c (__open_catalog): Likewise.
9626 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9627 * debug/confstr_chk.c: Likewise.
9628 * debug/fread_chk.c (__fread_chk): Likewise.
9629 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9630 * debug/getgroups_chk.c: Likewise.
9631 * debug/mbsnrtowcs_chk.c: Likewise.
9632 * debug/mbsrtowcs_chk.c: Likewise.
9633 * debug/mbstowcs_chk.c: Likewise.
9634 * debug/memcpy_chk.c: Likewise.
9635 * debug/memmove_chk.c: Likewise.
9636 * debug/mempcpy_chk.c: Likewise.
9637 * debug/memset_chk.c: Likewise.
9638 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9639 * debug/strcat_chk.c (__strcat_chk): Likewise.
9640 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9641 * debug/strncat_chk.c (__strncat_chk): Likewise.
9642 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9643 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9644 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9645 * debug/wcpncpy_chk.c: Likewise.
9646 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9647 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9648 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9649 * debug/wcsncpy_chk.c: Likewise.
9650 * debug/wcsnrtombs_chk.c: Likewise.
9651 * debug/wcsrtombs_chk.c: Likewise.
9652 * debug/wcstombs_chk.c: Likewise.
9653 * debug/wmemcpy_chk.c: Likewise.
9654 * debug/wmemmove_chk.c: Likewise.
9655 * debug/wmempcpy_chk.c: Likewise.
9656 * debug/wmemset_chk.c: Likewise.
9657 * dirent/scandirat.c (SCANDIRAT): Likewise.
9658 * dlfcn/dladdr1.c (dladdr1): Likewise.
9659 * dlfcn/dladdr.c (dladdr): Likewise.
9660 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9661 * dlfcn/dlerror.c (__dlerror): Likewise.
9662 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9663 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9664 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9665 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9666 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9667 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9668 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9669 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9671 * elf/dl-conflict.c: Likewise.
9672 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9673 * elf/dl-dst.h: Likewise.
9674 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9675 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9676 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9677 * elf/dl-init.c (call_init, _dl_init): Likewise.
9678 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9679 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9680 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9682 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9684 * elf/dl-minimal.c (__libc_memalign): Likewise.
9685 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9686 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9687 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9688 * elf/dl-sym.c (do_sym): Likewise.
9689 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9690 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9691 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9692 * elf/dl-writev.h (_dl_writev): Likewise.
9693 * elf/ldconfig.c (search_dir): Likewise.
9694 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9695 (dl_main): Likewise.
9696 * elf/setup-vdso.h (setup_vdso): Likewise.
9697 * grp/compat-initgroups.c (compat_call): Likewise.
9698 * grp/fgetgrent.c (fgetgrent): Likewise.
9699 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9700 * grp/putgrent.c (putgrent): Likewise.
9701 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9703 * hurd/hurdinit.c: Likewise.
9704 * iconvdata/8bit-gap.c (struct): Likewise.
9705 * iconvdata/ansi_x3.110.c : Likewise.
9706 * iconvdata/big5.c : Likewise.
9707 * iconvdata/big5hkscs.c : Likewise.
9708 * iconvdata/cp1255.c: Likewise.
9709 * iconvdata/cp1258.c : Likewise.
9710 * iconvdata/cp932.c : Likewise.
9711 * iconvdata/euc-cn.c: Likewise.
9712 * iconvdata/euc-jisx0213.c : Likewise.
9713 * iconvdata/euc-jp.c: Likewise.
9714 * iconvdata/euc-jp-ms.c : Likewise.
9715 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9716 * iconvdata/gb18030.c : Likewise.
9717 * iconvdata/gbbig5.c (const): Likewise.
9718 * iconvdata/gbgbk.c: Likewise.
9719 * iconvdata/gbk.c : Likewise.
9720 * iconvdata/ibm1364.c : Likewise.
9721 * iconvdata/ibm930.c : Likewise.
9722 * iconvdata/ibm932.c: Likewise.
9723 * iconvdata/ibm933.c : Likewise.
9724 * iconvdata/ibm935.c : Likewise.
9725 * iconvdata/ibm937.c : Likewise.
9726 * iconvdata/ibm939.c : Likewise.
9727 * iconvdata/ibm943.c: Likewise.
9728 * iconvdata/iso_11548-1.c: Likewise.
9729 * iconvdata/iso-2022-cn.c : Likewise.
9730 * iconvdata/iso-2022-cn-ext.c : Likewise.
9731 * iconvdata/iso-2022-jp-3.c: Likewise.
9732 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9733 * iconvdata/iso-2022-kr.c : Likewise.
9734 * iconvdata/iso646.c (gconv_end): Likewise.
9735 * iconvdata/iso_6937-2.c : Likewise.
9736 * iconvdata/iso_6937.c : Likewise.
9737 * iconvdata/iso8859-1.c: Likewise.
9738 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9739 * iconvdata/shift_jisx0213.c : Likewise.
9740 * iconvdata/sjis.c : Likewise.
9741 * iconvdata/t.61.c : Likewise.
9742 * iconvdata/tcvn5712-1.c : Likewise.
9743 * iconvdata/tscii.c: Likewise.
9744 * iconvdata/uhc.c : Likewise.
9745 * iconvdata/unicode.c (gconv_end): Likewise.
9746 * iconvdata/utf-16.c (gconv_end): Likewise.
9747 * iconvdata/utf-32.c (gconv_end): Likewise.
9748 * iconvdata/utf-7.c (base64): Likewise.
9749 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9750 * iconv/gconv_close.c (__gconv_close): Likewise.
9751 * iconv/gconv_open.c (__gconv_open): Likewise.
9752 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9753 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9754 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9755 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9756 (ucs4le_internal_loop_single): Likewise.
9757 * iconv/iconv.c (iconv): Likewise.
9758 * iconv/iconv_close.c: Likewise.
9759 * iconv/loop.c (SINGLE): Likewise.
9760 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9761 * include/atomic.h: Likewise.
9762 * inet/inet6_option.c (option_alloc): Likewise.
9763 * intl/bindtextdom.c (set_binding_values): Likewise.
9764 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9765 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9766 * intl/localealias.c (read_alias_file): Likewise.
9767 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9768 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9769 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9770 * libio/fmemopen.c (fmemopen): Likewise.
9771 * libio/iofgets.c (_IO_fgets): Likewise.
9772 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9773 * libio/iofgetws.c (fgetws): Likewise.
9774 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9775 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9776 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9777 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9778 * locale/findlocale.c (_nl_find_locale): Likewise.
9779 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9780 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9782 * locale/setlocale.c (setlocale): Likewise.
9783 * login/programs/pt_chown.c (main): Likewise.
9784 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9785 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9786 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9787 (mmap, mmap64, mremap, munmap): Likewise.
9788 * math/e_exp2l.c: Likewise.
9789 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9790 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9791 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9792 * math/s_catan.c (__catan): Likewise.
9793 * math/s_catanf.c (__catanf): Likewise.
9794 * math/s_catanh.c (__catanh): Likewise.
9795 * math/s_catanhf.c (__catanhf): Likewise.
9796 * math/s_catanhl.c (__catanhl): Likewise.
9797 * math/s_catanl.c (__catanl): Likewise.
9798 * math/s_ccosh.c (__ccosh): Likewise.
9799 * math/s_ccoshf.c (__ccoshf): Likewise.
9800 * math/s_ccoshl.c (__ccoshl): Likewise.
9801 * math/s_cexp.c (__cexp): Likewise.
9802 * math/s_cexpf.c (__cexpf): Likewise.
9803 * math/s_cexpl.c (__cexpl): Likewise.
9804 * math/s_clog10.c (__clog10): Likewise.
9805 * math/s_clog10f.c (__clog10f): Likewise.
9806 * math/s_clog10l.c (__clog10l): Likewise.
9807 * math/s_clog.c (__clog): Likewise.
9808 * math/s_clogf.c (__clogf): Likewise.
9809 * math/s_clogl.c (__clogl): Likewise.
9810 * math/s_csin.c (__csin): Likewise.
9811 * math/s_csinf.c (__csinf): Likewise.
9812 * math/s_csinh.c (__csinh): Likewise.
9813 * math/s_csinhf.c (__csinhf): Likewise.
9814 * math/s_csinhl.c (__csinhl): Likewise.
9815 * math/s_csinl.c (__csinl): Likewise.
9816 * math/s_csqrt.c (__csqrt): Likewise.
9817 * math/s_csqrtf.c (__csqrtf): Likewise.
9818 * math/s_csqrtl.c (__csqrtl): Likewise.
9819 * math/s_ctan.c (__ctan): Likewise.
9820 * math/s_ctanf.c (__ctanf): Likewise.
9821 * math/s_ctanh.c (__ctanh): Likewise.
9822 * math/s_ctanhf.c (__ctanhf): Likewise.
9823 * math/s_ctanhl.c (__ctanhl): Likewise.
9824 * math/s_ctanl.c (__ctanl): Likewise.
9825 * math/w_pow.c: Likewise.
9826 * math/w_powf.c: Likewise.
9827 * math/w_powl.c: Likewise.
9828 * math/w_scalb.c (sysv_scalb): Likewise.
9829 * math/w_scalbf.c (sysv_scalbf): Likewise.
9830 * math/w_scalbl.c (sysv_scalbl): Likewise.
9831 * misc/error.c (error_tail): Likewise.
9832 * misc/pselect.c (__pselect): Likewise.
9833 * nis/nis_callback.c (__nis_create_callback): Likewise.
9834 * nis/nis_call.c (__nisfind_server): Likewise.
9835 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9836 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9837 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9838 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9839 * nis/nis_lookup.c (nis_lookup): Likewise.
9840 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9841 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9842 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9843 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9844 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9845 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9846 * nis/nss_compat/compat-initgroups.c (add_group)
9847 (internal_getgrent_r): Likewise.
9848 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9849 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9850 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9851 (internal_getspnam_r): Likewise.
9852 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9853 (_nss_nis_getaliasbyname_r): Likewise.
9854 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9855 (_nss_nis_getntohost_r): Likewise.
9856 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9857 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9858 (_nss_nis_getgrgid_r): Likewise.
9859 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9860 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9861 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9862 (_nss_nis_gethostbyname4_r): Likewise.
9863 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9864 (initgroups_netid): Likewise.
9865 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9866 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9867 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9868 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9869 (_nss_nis_getprotobynumber_r): Likewise.
9870 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9871 (_nss_nis_getsecretkey): Likewise.
9872 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9873 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9874 (_nss_nis_getpwuid_r): Likewise.
9875 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9876 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9877 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9878 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9879 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9880 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9881 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9883 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9884 (_nss_nisplus_getntohost_r): Likewise.
9885 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9886 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9887 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9888 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9890 * nis/nss_nisplus/nisplus-initgroups.c
9891 (_nss_nisplus_initgroups_dyn): Likewise.
9892 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9893 (_nss_nisplus_getnetbyaddr_r): Likewise.
9894 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9895 (_nss_nisplus_getprotobynumber_r): Likewise.
9896 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9897 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9898 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9900 * nis/nss_nisplus/nisplus-service.c
9901 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9902 (_nss_nisplus_getservbyport_r): Likewise.
9903 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9904 (_nss_nisplus_getspnam_r): Likewise.
9905 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9907 * nscd/aicache.c (addhstaiX): Likewise.
9908 * nscd/cache.c (cache_search, prune_cache): Likewise.
9909 * nscd/connections.c (register_traced_file, send_ro_fd)
9910 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9911 (main_loop_epoll): Likewise.
9912 * nscd/grpcache.c (addgrbyX): Likewise.
9913 * nscd/hstcache.c (addhstbyX): Likewise.
9914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9915 * nscd/mem.c (gc, mempool_alloc): Likewise.
9916 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9917 (addinnetgrX): Likewise.
9918 * nscd/nscd-client.h (__nscd_acquire_maplock)
9919 (__nscd_drop_map_ref): Likewise.
9920 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9921 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9922 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9924 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9925 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9926 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9927 (__nscd_get_map_ref): Likewise.
9928 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9929 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9931 * nscd/pwdcache.c (addpwbyX): Likewise.
9932 * nscd/selinux.c (preserve_capabilities): Likewise.
9933 * nscd/servicescache.c (addservbyX): Likewise.
9934 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9935 * posix/fnmatch.c (fnmatch): Likewise.
9936 * posix/getopt.c (_getopt_internal_r): Likewise.
9937 * posix/glob.c (glob, glob_in_dir): Likewise.
9938 * posix/wordexp.c (exec_comm_child): Likewise.
9939 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9940 (getanswer_r, gaih_getanswer_slice): Likewise.
9941 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9942 * resolv/res_init.c: Likewise.
9943 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9944 * resolv/res_query.c (__libc_res_nquery): Likewise.
9945 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9947 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9948 * stdio-common/perror.c (perror): Likewise.
9949 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9950 * stdio-common/tmpnam.c (tmpnam): Likewise.
9951 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9952 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9953 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9955 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9956 * stdlib/putenv.c (putenv): Likewise.
9957 * stdlib/setenv.c (__add_to_environ): Likewise.
9958 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9959 * stdlib/strtol_l.c (INTERNAL): Likewise.
9960 * string/memmem.c (memmem): Likewise.
9961 * string/strerror.c (strerror): Likewise.
9962 * string/strnlen.c (__strnlen): Likewise.
9963 * string/test-memmem.c (simple_memmem): Likewise.
9964 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9965 * sunrpc/pm_getport.c (__get_socket): Likewise.
9966 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9967 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9968 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9969 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9971 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9972 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9973 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9974 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9975 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9976 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9978 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9980 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9981 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9982 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9983 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9984 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9986 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9987 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9988 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9989 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9990 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9991 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9993 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9997 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9998 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9999 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10000 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10001 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10002 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10003 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10004 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10006 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10007 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10009 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10010 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10012 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10014 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10016 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10018 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10020 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10022 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10024 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10025 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10026 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10027 * sysdeps/posix/sleep.c: Likewise.
10028 * sysdeps/posix/tempname.c: Likewise.
10029 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10030 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10032 * sysdeps/powerpc/powerpc32/dl-machine.h
10033 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10034 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10036 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10037 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10039 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10040 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10041 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10042 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10043 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10044 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10045 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10046 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10047 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10048 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10050 (elf_machine_lazy_rel): Likewise.
10051 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10053 (elf_machine_lazy_rel): Likewise.
10054 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10055 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10056 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10057 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10058 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10059 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10060 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10061 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10063 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10064 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10065 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10066 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10067 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10068 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10069 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10070 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10071 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10072 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10073 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10075 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10076 (__posix_fallocate64_l64): Likewise.
10077 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10078 (posix_fallocate): Likewise.
10079 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10081 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10082 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10083 (getifaddrs_internal): Likewise.
10084 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10085 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10086 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10087 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10088 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10089 (__posix_fallocate64_l64): Likewise.
10090 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10092 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10093 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10094 (__get_clockfreq): Likewise.
10095 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10096 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10097 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10100 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10101 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10102 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10104 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10105 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10106 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10107 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10108 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10109 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10110 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10112 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10113 (posix_fallocate): Likewise.
10114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10115 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10116 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10117 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10118 (elf_machine_rela, elf_machine_rela_relative)
10119 (elf_machine_lazy_rel): Likewise.
10120 * time/asctime.c (asctime_internal): Likewise.
10121 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10122 * time/tzset.c (__tzset_parse_tz): Likewise.
10123 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10124 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10125 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10126 * wcsmbs/wcsmbsload.h: Likewise.
10129 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10131 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10132 (arena_get2): Remove THREAD_STATS conditionals.
10133 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10134 (__malloc_stats, int): Likewise.
10136 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10138 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10139 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10141 * manual/setjmp.texi: Fix typos/grammar errors.
10143 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10144 Only return early when n is <= 0. Delete unused return statement.
10146 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10147 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10148 * debug/tst-longjmp_chk3.c: New file.
10150 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10151 (test_main): Replace code with set_fortify_handler call.
10152 * debug/test-strcpy_chk.c: Likewise.
10153 * debug/tst-chk1.c: Likewise.
10154 * debug/tst-longjmp_chk.c: Likewise.
10155 * test-skeleton.c: Include fcntl.h & paths.h
10156 (set_fortify_handler): Define.
10158 * debug/tst-longjmp_chk.c: Add header comment and include
10159 ../test-skeleton.c.
10160 (do_test): Mark static.
10161 (TEST_FUNCTION): Define.
10163 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10164 (IP_PMTUDISC_INTERFACE): Likewise.
10165 (IP_MULTICAST_IF): Likewise.
10166 (IP_MULTICAST_TTL): Likewise.
10167 (IP_MULTICAST_LOOP): Likewise.
10168 (IP_ADD_MEMBERSHIP): Likewise.
10169 (IP_DROP_MEMBERSHIP): Likewise.
10170 (IP_UNBLOCK_SOURCE): Likewise.
10171 (IP_BLOCK_SOURCE): Likewise.
10172 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10173 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10174 (IP_MSFILTER): Likewise.
10175 (MCAST_JOIN_GROUP): Likewise.
10176 (MCAST_BLOCK_SOURCE): Likewise.
10177 (MCAST_UNBLOCK_SOURCE): Likewise.
10178 (MCAST_LEAVE_GROUP): Likewise.
10179 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10180 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10181 (MCAST_MSFILTER): Likewise.
10182 (IP_MULTICAST_ALL): Likewise.
10183 (IP_UNICAST_IF): Likewise.
10185 * timezone/Makefile: Delete $(have-ksh) check.
10186 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10187 * timezone/tzselect.ksh: Add +x mode bits.
10189 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10190 (ANON_INODE_FS_MAGIC): Likewise.
10191 (BDEVFS_MAGIC): Likewise.
10192 (BINFMTFS_MAGIC): Likewise.
10193 (BTRFS_TEST_MAGIC): Likewise.
10194 (CRAMFS_MAGIC_WEND): Likewise.
10195 (DEBUGFS_MAGIC): Likewise.
10196 (ECRYPTFS_SUPER_MAGIC): Likewise.
10197 (EXT3_SUPER_MAGIC): Likewise.
10198 (EXT4_SUPER_MAGIC): Likewise.
10199 (FUTEXFS_SUPER_MAGIC): Likewise.
10200 (HOSTFS_SUPER_MAGIC): Likewise.
10201 (HUGETLBFS_MAGIC): Likewise.
10202 (MINIX3_SUPER_MAGIC): Likewise.
10203 (MTD_INODE_FS_MAGIC): Likewise.
10204 (NILFS_SUPER_MAGIC): Likewise.
10205 (OPENPROM_SUPER_MAGIC): Likewise.
10206 (PIPEFS_MAGIC): Likewise.
10207 (PSTOREFS_MAGIC): Likewise.
10208 (QNX6_SUPER_MAGIC): Likewise.
10209 (RAMFS_MAGIC): Likewise.
10210 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10211 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10212 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10213 (SECURITYFS_MAGIC): Likewise.
10214 (SELINUX_MAGIC): Likewise.
10215 (SMACK_MAGIC): Likewise.
10216 (SOCKFS_MAGIC): Likewise.
10217 (SQUASHFS_MAGIC): Likewise.
10218 (STACK_END_MAGIC): Likewise.
10219 (TMPFS_MAGIC): Likewise.
10220 (USBDEVICE_SUPER_MAGIC): Likewise.
10221 (V9FS_MAGIC): Likewise.
10222 (XENFS_SUPER_MAGIC): Likewise.
10223 (CRAMFS_MAGIC): Fix typo in comment.
10224 (EXT2_SUPER_MAGIC): Update comment.
10225 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10227 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10229 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10230 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10231 * sysdeps/unix/sysv/linux/arm: Move directory from
10232 ports/sysdeps/unix/sysv/linux/arm.
10233 * README: Update listing for arm-*-linux-gnueabi.
10235 * README: Remove mention of am33.
10237 2014-02-07 Roland McGrath <roland@hack.frob.com>
10239 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10240 than the comma operator, to avoid "rhs of comma has no effect"
10242 (__sigfillset, __sigandset, __sigorset): Likewise.
10243 * include/signal.h (__sigemptyset): Likewise.
10244 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10246 2014-02-07 Allan McRae <allan@archlinux.org>
10248 * version.h (RELEASE): Set to "development".
10249 (VERSION): Set to "2.19.90"
10250 * NEWS: Add 2.20 section.
10252 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10255 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10257 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10259 * manual/contrib.texi: Update entry for Carlos O'Donell,
10260 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10262 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10264 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10266 * sysdeps/unix/sysv/linux/kernel-features.h
10267 [__LINUX_KERNEL_VERSION >= 0x020621]
10268 (__ASSUME_PROC_PID_TASK_COMM): Define.
10270 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10273 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10274 conversion when destination buffer does not have enough space.
10275 * libio/tst-ftell-partial-wide.c: New test case.
10276 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10278 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10279 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10280 Leonard and Allan McRae.
10282 2014-02-04 David S. Miller <davem@davemloft.net>
10284 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10287 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10316 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10318 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10319 * shlib-versions: Likewise.
10321 2014-02-04 Roland McGrath <roland@hack.frob.com>
10322 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10324 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10325 (abilist-pattern): New variable, set to %-le.abilist.
10327 * Makerules (abilist-pattern): New variable.
10328 (vpath): Use $(abilist-pattern) in place of %.abilist.
10329 (check-abi-% pattern rule): Likewise.
10330 (check-abi, update-abi): Likewise.
10332 2014-02-04 Eric Wong <normalperson@yhbt.net>
10334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10336 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10338 * manual/startup.texi: Add next, previous, and top entries for
10339 the `Program Arguments' and `Environment Variables' nodes.
10341 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10343 * manual/macros.texi: Add comments before MTASC-safety macros.
10345 * manual/users.texi: Document MTASC-safety properties.
10347 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10348 (pthread_getspecific, pthread_setspecific): Format with
10349 @deftypefun, and add @safety note.
10350 * manual/signal.texi: Move comments that analyze the above
10351 functions to their home place.
10353 2014-02-03 Allan McRae <allan@archlinux.org>
10355 * po/sl.po: Update Slovenian translation from translation project.
10357 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10359 * manual/time.texi (timegm): Add missing blank after @c.
10360 Reported by Joseph Myers <joseph@codesourcery.com>.
10362 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10364 * manual/check-safety.sh: New.
10365 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10367 * manual/terminal.texi: Document MTASC-safety properties.
10369 * manual/filesys.texi: Document MTASC-safety properties.
10371 * manual/errno.texi: Document MTASC-safety properties.
10373 * manual/intro.texi: Document safety identifiers and
10376 * manual/string.texi (wcstok): Fix prototype.
10377 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10379 * manual/time.texi: Document MTASC-safety properties.
10381 * manual/string.texi: Document MTASC-safety properties.
10383 * manual/threads.texi: Document MTASC-safety properties.
10385 * manual/stdio.texi: Document MTASC-safety properties.
10387 * manual/syslog.texi: Document MTASC-safety properties.
10389 * manual/sysinfo.texi: Document MTASC-safety properties.
10391 * manual/startup.texi: Document MTASC-safety properties.
10393 * manual/socket.texi: Document MTASC-safety properties.
10395 * manual/signal.texi: Document MTASC-safety properties.
10397 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10399 * manual/setjmp.texi: Document MTASC-safety properties.
10401 * manual/search.texi: Document MTASC-safety properties.
10403 * manual/resource.texi: Document MTASC-safety properties.
10405 * manual/process.texi: Document MTASC-safety properties.
10407 * manual/platform.texi: Document MTASC-safety properties.
10409 * manual/pipe.texi: Document MTASC-safety properties.
10411 * manual/pattern.texi: Document MTASC-safety properties.
10413 * manual/message.texi: Document MTASC-safety properties.
10416 * manual/memory.texi: Document MTASC-safety properties.
10418 * manual/math.texi: Document MTASC-safety properties.
10420 * manual/locale.texi: Document MTASC-safety properties.
10422 * manual/llio.texi: Document MTASC-safety properties.
10424 * manual/libdl.texi: New.
10426 * manual/lang.texi: Document MTASC-safety properties.
10428 * manual/job.texi: Document MTASC-safety properties.
10430 * manual/getopt.texi: Document MTASC-safety properties.
10432 * manual/ctype.texi: Document MTASC-safety properties.
10434 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10437 * csu/libc-tls.c (static_map): Remove variable.
10438 (__libc_setup_tls): Use main executable's link map for TLS data.
10439 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10440 casing for LM_ID_BASE and GL(dl_nns).
10441 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10442 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10443 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10444 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10445 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10447 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10450 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10452 * manual/debug.texi: Document MTASC-safety properties.
10454 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10457 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10458 of __x86_64__ when disabling x87 inline functions.
10460 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10462 * manual/charset.texi: Document MTASC-safety properties.
10464 * manual/crypt.texi: Document MTASC-safety properties.
10466 * manual/conf.texi: Document MTASC-safety properties.
10468 * manual/arith.texi: Document MTASC-safety properties.
10470 * manual/argp.texi: Document MTASC-safety properties.
10472 * manual/macros.texi: Introduce macros to document multi
10473 thread, asynchronous signal and asynchronous cancellation
10475 * manual/intro.texi: Introduce the properties themselves.
10477 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10479 * sysdeps/sh/sh4/Makefile: New file.
10481 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10483 * math/gen-libm-test.pl ($srcdir): New variable.
10484 ($auto_input): Use it.
10486 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10489 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10490 access beyond array bounds when parsing netgroups file.
10492 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10493 the old buffer before realloc.
10495 2014-01-27 Allan McRae <allan@archlinux.org>
10497 * po/fr.po: Update French translation from translation project.
10499 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10501 * sysdeps/sh/libm-test-ulps: Regenerate.
10503 2014-01-24 David S. Miller <davem@davemloft.net>
10505 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10507 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10509 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10510 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10512 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10515 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10516 string pointers after reallocation.
10518 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10520 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10521 __SH4A__ instead of __SH_FPU_ANY__.
10523 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10525 * sysdeps/sh/fpu_control.h: New file.
10526 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10527 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10528 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10529 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10530 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10531 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10532 * sysdeps/sh/sys/ucontext.h: Remove.
10533 * sysdeps/sh/sys: Remove directory.
10535 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10537 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10538 s390/sys/ucontext.h.
10539 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10540 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10542 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10545 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10547 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10550 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10551 Adjust the vDSO correctly for internal calls.
10552 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10554 2014-01-20 Allan McRae <allan@archlinux.org>
10556 * po/ca.po: Update Catalan translation from translation project.
10558 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10560 * sysdeps/s390/sotruss-lib.c: New file.
10562 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10565 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10566 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10567 local calls issues by not having a PLT stub required for IFUNC calls.
10568 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10570 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10572 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10573 * math/test-fpucw-static.c: Likewise.
10575 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10578 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10580 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10582 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10583 implementation for powerpc.
10585 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10588 * sysdeps/posix/system.c (__libc_system): Do not enable
10589 asynchronous cancellation.
10591 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10594 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10595 handling only for numbers special also in the IEEE case.
10597 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10599 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10601 2014-01-11 Allan McRae <allan@archlinux.org>
10603 * po/bg.po: Update Bulgarian translation from translation project.
10605 * po/de.po: Update German translation from translation project.
10607 2014-01-10 Roland McGrath <roland@hack.frob.com>
10609 * sysdeps/generic/gcc-compat.h: New file.
10611 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10613 * benchtests/asin-inputs: Correct slow inputs.
10614 * benchtests/acos-inputs: Likewise.
10616 2014-01-10 Allan McRae <allan@archlinux.org>
10618 * po:sv.po: Update Swedish translation from translation project.
10620 * po/vi.po: Update Vietnamese translation from translation project.
10622 * po/eo.po: Update Esperanto translation from translation project.
10624 * po/cs.po: Update Czech translation from translation project.
10626 * po/nl.po: Update Dutch translation from translation project.
10628 * po/pl.po: Update Polish translation from translation project.
10630 * po/ru.po: Update Russian translation from translation project.
10632 * po/uk.po: Update Ukrainian translation from translation project.
10634 2014-01-08 Brooks Moses <bmoses@google.com>
10636 * elf/dl-load.c: Fix comment typo.
10638 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10640 * po/header.pot: Rename to...
10641 * po/pot.header: ... this.
10642 * po/Makefile: Use pot.header.
10644 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10645 Maxim Kuvyrkov <maxim@kugelworks.com>
10648 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10649 SRC and DEST against LEN.
10651 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10654 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10656 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10658 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10662 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10665 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10666 for large positive arguments.
10668 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10670 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10672 * math/auto-libm-test-in: Mark various tests with
10673 xfail-rounding:ldbl-128ibm.
10674 * math/auto-libm-test-out: Regenerated.
10677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10678 Increase overflow threshold.
10680 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10683 * stdio-common/vfprintf.c: Check for integer overflow.
10685 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10687 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10688 the first argument and return value of __tls_get_addr_internal.
10690 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10692 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10693 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10695 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10697 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10698 * sysdeps/s390/rtld-global-offsets.sym: New file.
10699 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10701 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10702 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10703 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10705 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10706 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10712 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10713 halfs of GPRs for high_gprs contexts.
10714 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10715 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10717 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10719 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10721 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10722 for high GPRs (uc_high_gprs) and for future extensions
10724 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10725 for future extensions (__reserved).
10726 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10728 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10729 SC_HIGHGPRS offset definition.
10730 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10731 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10733 * Versions.def: Add GLIBC_2.19 for libpthread.
10734 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10735 siglongjmp for libpthread with GLIBC_2.19 symver.
10736 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10737 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10738 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10739 * sysdeps/s390/__longjmp.c: New file.
10740 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10741 * sysdeps/s390/longjmp.c: New file.
10742 * sysdeps/s390/setjmp.S: New file.
10743 * sysdeps/s390/sigjmp.S: New file.
10744 * sysdeps/s390/v1-longjmp.c: New file.
10745 * sysdeps/s390/v1-setjmp.h: New file.
10746 * sysdeps/s390/v1-sigjmp.c: New file.
10747 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10748 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10749 GLIBC_2.19 version.
10750 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10751 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10752 versioned symbols for ____longjmp_chk.
10753 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10763 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10764 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10765 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10766 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10767 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10768 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10769 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10770 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10771 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10772 * sysdeps/s390/rtld-__longjmp.c: New file.
10773 * sysdeps/s390/rtld-setjmp.S: New file.
10775 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10779 Return -__logl (x) for small positive arguments without evaluating
10782 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10784 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10786 (__ptrace_peeksiginfo_args): ... this.
10787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10788 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10789 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10791 2014-01-06 Allan McRae <allan@archlinux.org>
10793 * inet/netinet/in.h: Fix typo in comment.
10795 2014-01-05 Andreas Jaeger <aj@suse.de>
10797 * sysdeps/i386/fpu/libm-test-ulps: Update.
10799 2014-01-05 Allan McRae <allan@archlinux.org>
10801 * po/libc.pot: Regenerated.
10803 * malloc/memusagestat.c: Fix gettext call formatting.
10805 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10807 * nscd/nscd.c: Improve usage() output.
10809 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10811 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10812 * sysdeps/unix/sysv/linux/configure: Regenerated.
10813 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10814 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10816 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10819 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10820 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10822 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10824 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10825 extra tokens at end of #undef directive.
10826 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10827 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10828 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10830 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10832 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10834 * math/auto-libm-test-in: Mark various tests with
10835 xfail-rounding:ldbl-128ibm.
10836 * math/auto-libm-test-out: Regenerated.
10838 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10842 numbers with subnormal high part when calculating exponent.
10845 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10849 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10851 (__ieee754_acoshl): Use __log1pl not __log1p.
10853 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10855 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10856 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10857 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10858 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10859 (reused_arena, arena_get2): Convert to GNU style.
10860 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10861 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10862 (memalign_check, __malloc_set_state): Likewise.
10863 * malloc/mallocbug.c (main): Likewise.
10864 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10865 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10866 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10867 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10868 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10869 (__posix_memalign, malloc_info): Likewise.
10870 * malloc/malloc.h: Likewise.
10871 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10872 (mallochook, memalignhook, reallochook, mabort): Likewise.
10873 * malloc/mcheck.h: Likewise.
10874 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10875 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10876 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10877 * malloc/morecore.c (__default_morecore): Likewise.
10878 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10879 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10880 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10881 (print_and_abort): Likewise.
10882 * malloc/obstack.h: Likewise.
10883 * malloc/set-freeres.c (__libc_freeres): Likewise.
10884 * malloc/tst-mallocstate.c (main): Likewise.
10885 * malloc/tst-mtrace.c (main): Likewise.
10886 * malloc/tst-realloc.c (do_test): Likewise.
10888 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10891 * nscd/netgroupcache.c (do_notfound): New function.
10892 (addgetnetgrentX): Use it.
10895 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10896 NSS_STATUS_NOTFOUND.
10898 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10900 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10903 2014-01-01 Allan McRae <allan@archlinux.org>
10905 * scripts/update-copyrights: Update configure input file suffix.
10907 * NEWS: Update copyright year.
10908 * catgets/gencat.c: Likewise.
10909 * csu/version.c: Likewise.
10910 * debug/catchsegv.sh: Likewise.
10911 * debug/pcprofiledump.c: Likewise.
10912 * debug/xtrace.sh: Likewise.
10913 * elf/ldconfig.c: Likewise.
10914 * elf/ldd.bash.in: Likewise.
10915 * elf/pldd.c: Likewise.
10916 * elf/sotruss.ksh: Likewise.
10917 * elf/sprof.c: Likewise.
10918 * iconv/iconv_prog.c: Likewise.
10919 * iconv/iconvconfig.c: Likewise.
10920 * locale/programs/locale.c: Likewise.
10921 * locale/programs/localedef.c: Likewise.
10922 * login/programs/pt_chown.c: Likewise.
10923 * malloc/memusage.sh: Likewise.
10924 * malloc/memusagestat.c: Likewise.
10925 * malloc/mtrace.pl: Likewise.
10926 * manual/libc.texinfo: Likewise.
10927 * nscd/nscd.c: Likewise.
10928 * nss/getent.c: Likewise.
10929 * nss/makedb.c: Likewise.
10930 * posix/getconf.c: Likewise.
10931 * scripts/test-installation.pl: Likewise.
10933 * All files with FSF copyright notices: Update copyright dates
10934 using scripts/update-copyrights.
10935 * intl/plural.c: Regenerated.
10936 * locale/programs/charmap-kw.h: Likewise.
10937 * locale/programs/locfile-kw.h: Likewise.
10939 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10941 * sysdeps/unix/sysv/linux/configure: Regenerated.
10942 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10943 the linux/fanotify.h header.
10944 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10945 HAVE_LINUX_FANOTIFY_H is defined.
10947 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10949 * benchtests/cos-inputs: New inputs.
10950 * benchtests/sin-inputs: Likewise.
10952 * benchtests/atan-inputs: New inputs. Fix name of multiple
10953 precision fallback inputs.
10955 * benchtests/atanh-inputs: New inputs.
10956 * benchtests/tanh-inputs: Likewise.
10958 * benchtests/acosh-inputs: New inputs.
10959 * benchtests/asinh-inputs: Likewise.
10961 * benchtests/cosh-inputs: New inputs.
10962 * benchtests/sinh-inputs: Likewise.
10964 * benchtests/acos-inputs: Add more inputs.
10965 * benchtests/asin-inputs: Likewise.
10967 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10970 * manual/arith.texi: Fix spelling.
10971 * manual/charset.texi: Likewise.
10972 * manual/errno.texi: Likewise.
10973 * manual/filesys.texi: Likewise.
10974 * manual/lang.texi: Likewise.
10975 * manual/llio.texi: Likewise.
10976 * manual/locale.texi: Likewise.
10977 * manual/message.texi: Likewise.
10978 * manual/resource.texi: Likewise.
10979 * manual/search.texi: Likewise.
10980 * manual/setjmp.texi: Likewise.
10981 * manual/stdio.texi: Likewise.
10982 * manual/string.texi: Likewise.
10983 * manual/sysinfo.texi: Likewise.
10984 * manual/time.texi: Likewise.
10986 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10988 * po/sl.po: New file.
10990 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10992 * .gitignore: Add core/.gdbinit/.gdb_history.
10994 2013-12-27 Allan McRae <allan@archlinux.org>
10997 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10998 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11000 2013-12-24 Brooks Moses <bmoses@google.com>
11002 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11003 all compilers that claim C++98 compliance, not just GCC.
11004 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11007 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11009 * NEWS: Restore accidentally deleted bug-fix entries.
11011 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11012 Ondřej Bílka <neleai@seznam.cz>
11015 * malloc/malloc.c (_int_free): Perform sanity check only if we
11018 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11021 * manual/stdio.texi (String Input Conversions): Clarify that character
11022 classes are not supported.
11024 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11028 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11032 Calculate results for small negative arguments directly rather
11033 than using reflection formula with special underflow handling.
11035 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11036 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11037 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11038 (fchflags): Likewise.
11039 (revoke): Likewise.
11040 (setlogin): Likewise.
11041 (sigaltstack): Likewise.
11043 (sigblock): Remove.
11044 (sigsetmask): Likewise.
11046 (waitpid): Likewise.
11047 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11048 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11050 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11051 * sysdeps/unix/bsd/Makefile: ... here.
11052 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11053 * sysdeps/unix/bsd/Versions: ... here.
11054 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11055 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11056 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11057 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11058 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11059 * sysdeps/unix/bsd/sigblock.c: ... here.
11060 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11061 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11062 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11063 * sysdeps/unix/bsd/sigvec.c: ... here.
11064 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11065 * sysdeps/unix/bsd/tcdrain.c: ... here.
11066 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11067 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11068 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11069 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11070 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11071 * sysdeps/unix/bsd/wait.c: ... here.
11072 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11073 * sysdeps/unix/bsd/wait3.c: ... here.
11074 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11075 * sysdeps/unix/bsd/waitpid.c: ... here.
11077 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11081 round-to-nearest for [!USE_AS_EXPM1L].
11082 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11083 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11084 more tests of exp and exp10. Expect some exp10 tests to miss
11085 exceptions or fail in directed rounding modes.
11086 * math/auto-libm-test-out: Regenerated.
11087 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11088 (exp10_test_tonearest): New function.
11089 (exp10_towardzero_test_data): New array.
11090 (exp10_test_towardzero): New function.
11091 (exp10_downward_test_data): New array.
11092 (exp10_test_downward): New function.
11093 (exp10_upward_test_data): New array.
11094 (exp10_test_upward): New function.
11095 (main): Call the new functions.
11096 * sysdeps/i386/fpu/libm-test-ulps: Update.
11097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11099 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11101 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11102 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11103 * math/auto-libm-test-out: Regenerated.
11104 * math/libm-test.inc (acosh_test_data): Add more tests.
11105 (atanh_test_data): Likewise.
11106 (ceil_test_data): Likewise.
11107 (copysign_test_data): Likewise.
11108 * sysdeps/i386/fpu/libm-test-ulps: Update.
11109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11111 * timezone/checktab.awk: Update from tzcode 2013i.
11112 * timezone/private.h: Likewise.
11113 * timezone/scheck.c: Likewise.
11114 * timezone/tzfile.h: Likewise.
11115 * timezone/tzselect.ksh: Likewise.
11116 * timezone/zdump.c: Likewise.
11117 * timezone/zic.c: Likewise.
11119 * math/auto-libm-test-in: Add tests of cpow.
11120 * math/auto-libm-test-out: Regenerated.
11121 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11122 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11124 (func_calc_desc): Add mpc_cc_c union field.
11125 (test_functions): Add cpow.
11126 (special_fill_2pi): New function.
11127 (special_real_inputs): Add 2pi.
11128 (calc_generic_results): Handle mpc_cc_c.
11129 * sysdeps/i386/fpu/libm-test-ulps: Update.
11130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11132 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11133 csqrt, ctan and ctanh.
11134 * math/auto-libm-test-out: Regenerated.
11135 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11136 (TEST_COND_x86): Likewise.
11137 (ccos_test_data): Use AUTO_TESTS_c_c.
11138 (ccosh_test_data): Likewise.
11139 (cexp_test_data): Likewise.
11140 (clog_test_data): Likewise.
11141 (csqrt_test_data): Likewise.
11142 (ctan_test_data): Likewise.
11143 (ctan_tonearest_test_data): Likewise.
11144 (ctan_towardzero_test_data): Likewise.
11145 (ctan_downward_test_data): Likewise.
11146 (ctan_upward_test_data): Likewise.
11147 (ctanh_test_data): Likewise.
11148 (ctanh_tonearest_test_data): Likewise.
11149 (ctanh_towardzero_test_data): Likewise.
11150 (ctanh_downward_test_data): Likewise.
11151 (ctanh_upward_test_data): Likewise.
11152 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11154 (func_calc_desc): Add mpc_c_c union field.
11155 (FUNC_mpc_c_c): New macro.
11156 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11157 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11159 (special_fill_min_subnorm_p120): New function.
11160 (special_real_inputs): Add min_subnorm_p120.
11161 (calc_generic_results): Handle mpc_c_c.
11162 * sysdeps/i386/fpu/libm-test-ulps: Update.
11163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11167 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11168 (do_sin_slow): New functions.
11169 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11170 (cslow2, csloww1, csloww2): Use the new functions.
11172 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11173 Use M to change sign of result instead of X. Assume X is
11175 (csloww1): Likewise.
11179 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11180 arguments A and DA.
11184 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11186 (sloww1): Don't adjust sign of DX.
11187 (csloww1): Likewise.
11188 (sloww2): Use X directly and don't adjust sign of DX.
11189 (csloww2): Likewise.
11191 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11193 * math/auto-libm-test-in: Add tests of cabs and carg.
11194 * math/auto-libm-test-out: Regenerated.
11195 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11196 (carg_test_data): Likewise.
11197 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11199 (func_calc_desc): Add mpc_c_f union field.
11200 (test_functions): Add cabs and carg.
11201 (calc_generic_results): Handle mpc_c_f.
11203 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11204 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11205 as a macro and a compat symbol.
11206 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11207 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11208 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11209 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11210 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11211 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11213 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11215 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11217 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11219 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11221 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11223 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11224 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11227 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11231 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11233 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11234 trailing whitespace removed.
11235 * scripts/config.guess: Update to version 2013-11-29.
11236 * scripts/config.sub: Update to version 2013-10-01.
11238 * math/auto-libm-test-in: Add tests of sincos.
11239 * math/auto-libm-test-out: Regenerated.
11240 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11241 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11243 (func_calc_desc): Add mpfr_f_11 union field.
11244 (test_functions): Add sincos.
11245 (calc_generic_results): Handle mpfr_f_11.
11246 * sysdeps/i386/fpu/libm-test-ulps: Update.
11247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11249 2013-12-19 Andreas Schwab <schwab@suse.de>
11251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11253 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11254 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11255 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11257 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11259 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11260 * sysdeps/i386/fpu/libm-test-ulps: Update.
11261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11264 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11265 round-to-nearest mode when using frndint.
11266 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11267 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11270 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11272 * math/auto-libm-test-out: Regenerated.
11273 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11274 (TEST_COND_x86): Likewise.
11275 (expm1_tonearest_test_data): New array.
11276 (expm1_test_tonearest): New function.
11277 (expm1_towardzero_test_data): New array.
11278 (expm1_test_towardzero): New function.
11279 (expm1_downward_test_data): New array.
11280 (expm1_test_downward): New function.
11281 (expm1_upward_test_data): New array.
11282 (expm1_test_upward): New function.
11283 (main): Run the new test functions.
11284 * sysdeps/i386/fpu/libm-test-ulps: Update.
11285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11287 * include/features.h: Update comment documenting feature test
11288 macros. Mention _DEFAULT_SOURCE in comment.
11289 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11290 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11291 _BSD_SOURCE and _SVID_SOURCE.
11292 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11293 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11294 !_SVID_SOURCE]: Likewise.
11295 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11296 (__USE_POSIX_IMPLICITLY): Define.
11297 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11298 (_POSIX_SOURCE): Undefine and redefine.
11299 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11300 (_POSIX_C_SOURCE): Likewise.
11301 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11302 (Feature Test Macros): Update documentation of default features.
11304 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11306 * benchtests/Makefile: Add bench-strtok.
11307 * benchtests/bench-strtok.c: New file: strtok benchtest.
11309 2013-12-19 Allan McRae <allan@archlinux.org>
11311 * manual/install.texi: Suppress menu for plain text output.
11312 * INSTALL: Regenerated.
11314 2013-12-18 Brooks Moses <bmoses@google.com>
11317 * misc/getauxval.c: Include errno.h.
11318 (__getauxval): Set errno to ENOENT if the requested type is not
11320 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11321 don't declare with __attribute_const__.
11322 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11323 * manual/startup.texi: Document that getauxval sets errno.
11325 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11327 * math/auto-libm-test-in: Add tests of jn and yn.
11328 * math/auto-libm-test-out: Regenerated.
11329 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11330 (yn_test_data): Likewise.
11331 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11333 (func_calc_desc): Add mpfr_if_f union field.
11334 (FUNC_mpfr_if_f): New macro.
11335 (test_functions): Add jn and yn.
11336 (calc_generic_results): Assert type of second input for
11337 mpfr_ff_f. Handle mpfr_if_f.
11338 (output_for_one_input_case): Disable all checking for arguments
11339 fitting floating-point types in case of an integer argument.
11340 * sysdeps/i386/fpu/libm-test-ulps: Update.
11341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11344 Don't expect fegetround reference in libm.so.
11346 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11348 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11349 $(config-cflags-nofma).
11351 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11353 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11354 * math/auto-libm-test-out: Regenerated.
11357 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11358 to determine exponent and adjust argument to have exponent of -1.
11359 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11361 * math/auto-libm-test-out: Regenerated.
11362 * sysdeps/i386/fpu/libm-test-ulps: Update.
11363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11365 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11367 * manual/probes.texi: Remove cases when per-thread arenas are
11370 2013-12-18 Andreas Schwab <schwab@suse.de>
11372 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11373 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11374 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11375 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11376 * sysdeps/i386/i686/multiarch/Makefile: Update.
11377 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11379 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11381 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11382 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11384 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11387 Support TZ transition times < 00:00:00.
11388 This is needed for version-3 tz-format files; it supports time
11389 stamps past 2037 for America/Godthab (the only entry in the tz
11390 database for which this change is relevant).
11391 * manual/time.texi (TZ Variable): Document transition times
11392 from -167:59:59 through -00:00:01.
11393 * time/tzset.c (tz_rule): Time of day is now signed.
11394 (__tzset_parse_tz): Parse negative time of day.
11396 Document TZ transition times >= 25:00:00.
11397 * manual/time.texi (TZ Variable): Document transition times from
11398 25:00:00 through 167:59:59. These are already supported, and this
11399 support will help with version-3 tz-format files.
11401 * manual/time.texi (TZ Variable): Modernize North America example
11402 to reflect current (i.e., 2007-and-later) daylight saving rules.
11404 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11406 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11408 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11409 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11412 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11413 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11414 * sysdeps/unix/bsd/clock.c: Likewise.
11415 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11416 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11417 * sysdeps/unix/bsd/init-posix.c: Likewise.
11418 * sysdeps/unix/bsd/poll.c: Likewise.
11419 * sysdeps/unix/bsd/ptsname.c: Likewise.
11420 * sysdeps/unix/bsd/seekdir.c: Likewise.
11421 * sysdeps/unix/bsd/setegid.c: Likewise.
11422 * sysdeps/unix/bsd/seteuid.c: Likewise.
11423 * sysdeps/unix/bsd/setgid.c: Likewise.
11424 * sysdeps/unix/bsd/setrgid.c: Likewise.
11425 * sysdeps/unix/bsd/setruid.c: Likewise.
11426 * sysdeps/unix/bsd/setsid.c: Likewise.
11427 * sysdeps/unix/bsd/setuid.c: Likewise.
11428 * sysdeps/unix/bsd/sigaction.c: Likewise.
11429 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11430 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11431 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11432 * sysdeps/unix/bsd/telldir.c: Likewise.
11433 * sysdeps/unix/bsd/times.c: Likewise.
11434 * sysdeps/unix/bsd/usleep.c: Likewise.
11436 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11437 ($(objpfx)libbsd-compat.a): Remove rule.
11439 * include/features.h (__FAVOR_BSD): Do not define.
11440 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11441 features conflicting with POSIX.
11442 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11443 (_BSD_SOURCE): Remove description of not being a subset of other
11444 feature test macros.
11445 * manual/job.texi (getpgrp): Do not document BSD version.
11446 (getpgid): Do not document by reference to BSD getpgrp.
11447 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11448 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11449 * signal/signal.h [__FAVOR_BSD]: Likewise.
11450 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11451 instead of making contents conditional on [__FAVOR_BSD].
11452 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11454 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11458 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11461 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11462 values below 2**-450, not 2**-500.
11463 * math/auto-libm-test-in: Don't allow spurious underflow from
11465 * math/auto-libm-test-out: Regenerated.
11469 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11470 values of ha and hb and sort them after adjusting subnormal
11472 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11474 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11475 values of ea and eb and sort them after adjusting subnormal
11477 * math/auto-libm-test-in: Do not expect some hypot tests of
11478 subnormals to fail. Add more hypot tests.
11479 * math/auto-libm-test-out: Regenerated.
11481 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11484 * sysdeps/sh/s_fma.c: New file.
11485 * sysdeps/sh/s_fmaf.c: New file.
11486 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11488 * sysdeps/sh/Implies: Add sh/soft-fp.
11490 2013-12-16 Roland McGrath <roland@hack.frob.com>
11492 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11493 level of indirection to members `objname', `errstring', `malloced'.
11494 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11495 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11496 it as the __longjmp argument (just pass 1 instead).
11497 (_dl_catch_error): Initialize C with argument pointers and address of
11498 volatile local ERRCODE rather than copying values out of C at return.
11500 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11502 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11503 * math/auto-libm-test-out: Regenerated.
11504 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11505 (hypot_test_data): Likewise.
11506 (pow_test_data): Likewise.
11507 (pow_tonearest_test_data): Likewise.
11508 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11510 (func_calc_desc): Add mpfr_ff_f union field.
11511 (FUNC_mpfr_ff_f): New macro.
11512 (test_functions): Add atan2, hypot and pow.
11513 (special_fill_min): New function.
11514 (special_fill_minus_min): Likewise.
11515 (special_fill_min_subnorm): Likewise.
11516 (special_fill_minus_min_subnorm): Likewise.
11517 (special_real_inputs): Add min, -min, min_subnorm and
11519 (calc_generic_results): Handle mpfr_ff_f.
11520 * sysdeps/i386/fpu/libm-test-ulps: Update.
11521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11523 2013-12-16 Will Newton <will.newton@linaro.org>
11525 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11526 (Aligned Memory Blocks): Add documentation for aligned_alloc
11527 and suggest it as an alternative to posix_memalign.
11528 (Hooks for Malloc): Document __memalign_hook is also called
11529 for aligned_alloc. (Summary of Malloc): Add summary for
11530 aligned alloc. Document __memalign_hook is also called
11533 2013-12-16 Will Newton <will.newton@linaro.org>
11535 * manual/memory.texi (Malloc Examples): Clarify default
11536 alignment documentation. Suggest posix_memalign rather
11537 than memalign or valloc.
11538 (Aligned Memory Blocks): Remove suggestion to use memalign
11539 or valloc. Remove obsolete comment about BSD.
11540 Document memalign errno values and mark the function obsolete.
11541 Document posix_memalign returned error codes. Mark valloc
11542 as obsolete. (Hooks for Malloc): __memalign_hook is also
11543 called for posix_memalign and valloc.
11544 (Summary of Malloc): Add posix_memalign to function summary.
11545 __memalign_hook is also called for posix_memalign and valloc.
11547 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11549 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11553 (sloww): Use mynumber union. Expand ternary operator into
11554 if-else statements.
11555 (cslow): use mynumber union.
11557 2013-12-16 Allan McRae <allan@archlinux.org>
11559 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11560 * configure: Regenerated.
11562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11565 * configure.ac: Added --enable-maintainer-mode. Check for
11566 autoconf when enabled.
11567 * configure: Regenerated.
11569 * nscd/nscd.service: New file.
11570 * nscd/nscd.tmpfiles: New file.
11572 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11575 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11576 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11577 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11578 (strstr): Add __strstr_sse2_unaligned ifunc.
11579 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11580 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11581 (strcasestr): Remove __strcasestr_sse42 ifunc.
11582 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11583 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11586 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11588 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11589 * sysdeps/sh/bits/fenv.h: ... here.
11590 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11592 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11594 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11597 hypotf multiarch implementations.
11598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11600 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11601 multiarch hypot for PPC64.
11602 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11603 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11604 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11605 multiarch hypotf for PPC64.
11607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11608 modff multiarch implementations.
11609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11612 multiarch modf for PPC64.
11613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11616 multiarch modff for PPC64.
11618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11619 and logl multiarch implementations.
11620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11623 multiarch logb for PPC64.
11624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11627 multiarch logb for PPC64.
11628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11631 multiarch logb for PPC64.
11633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11634 isinff multiarch implementation.
11635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11639 multiarch isinf for PPC64.
11640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11643 multiarch isinff for PPC64.
11645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11646 finitef multiarch implementation.
11647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11651 multiarch finite for PPC64.
11652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11655 multiarch finitef for PPC64.
11657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11658 lrint multiarch implementation.
11659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11663 multiarch llrint for PPC64.
11664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11665 multiarch lrint for PPC64.
11667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11668 copysignf multiarch implementation.
11669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11674 multiarch copysign for PPC64.
11675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11676 multiarch copysignf for PPC64.
11678 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11679 multiarch implementation.
11680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11688 multiarch llround for PPC64.
11689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11690 multiarch trunc for PPC64.
11691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11692 multiarch truncf for PPC64.
11694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11695 multiarch implementation.
11696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11704 multiarch llround for PPC64.
11705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11706 multiarch round for PPC64.
11707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11708 multiarch roundf for PPC64.
11710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11711 multiarch implementation.
11712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11720 multiarch llround for PPC64.
11721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11722 multiarch floor for PPC64.
11723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11724 multiarch floorf for PPC64.
11726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11727 multiarch implementation.
11728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11736 multiarch llround for PPC64.
11737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11738 multiarch ceil for PPC64.
11739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11740 multiarch ceilf for PPC64.
11742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11743 multiarch implementation.
11744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11751 multiarch llround for PPC64.
11752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11753 multiarch lround for PPC64.
11755 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11756 multiarch implementation.
11757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11764 multiarch isnan for PPC64.
11765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11766 multiarch isnanf for PPC64.
11768 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11769 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11770 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11771 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11772 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11775 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11776 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11777 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11781 multiarch implementations.
11782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11783 (__libc_ifunc_impl_list): Likewise.
11784 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11785 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11786 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11787 multiarch stpcpy for PPC64.
11789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11790 multiarch implementations.
11791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11792 (__libc_ifunc_impl_list): Likewise.
11793 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11794 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11795 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11796 multiarch strcpy for PPC64.
11798 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11799 redefine function name.
11800 (_wordcopy_fwd_dest_aligned): Likewise.
11801 (_wordcopy_bwd_aligned): Likewise.
11802 (_wordcopy_bwd_dest_aligned): Likewise.
11803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11804 multiarch implementations.
11805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11806 (__libc_ifunc_impl_list): Likewise.
11807 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11808 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11809 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11810 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11811 multiarch wcscpy for PPC64.
11813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11814 multiarch implementations.
11815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11816 (__libc_ifunc_impl_list): Likewise.
11817 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11818 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11819 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11820 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11821 multiarch wcscpy for PPC64.
11823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11824 multiarch implementations.
11825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11826 (__libc_ifunc_impl_list): Likewise.
11827 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11828 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11829 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11830 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11831 multiarch wcsrchr for PPC64.
11833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11834 multiarch implementations.
11835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11836 (__libc_ifunc_impl_list): Likewise.
11837 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11838 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11839 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11840 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11841 multiarch wcschr for PPC64.
11843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11844 multiarch implementations.
11845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11846 (__libc_ifunc_impl_list): Likewise.
11847 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11848 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11849 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11850 multiarch strchrnul for PPC64.
11852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11855 (__libc_ifunc_impl_list): Likewise.
11856 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11857 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11858 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11859 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11865 (__libc_ifunc_impl_list): Likewise.
11866 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11867 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11868 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11869 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11873 multiarch implementations.
11874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11875 (__libc_ifunc_impl_list): Likewise.
11876 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11877 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11878 strncasecmp for PPC64.
11879 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11880 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11881 multiarch strncasecmp_l for PPC64.
11883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11884 multiarch implementations.
11885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11886 (__libc_ifunc_impl_list): Likewise.
11887 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11888 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11889 multiarch strcasecmp for PPC64.
11890 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11892 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11893 multiarch strcasecmp_l for PPC64.
11895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11898 (__libc_ifunc_impl_list): Likewise.
11899 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11900 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11901 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11907 (__libc_ifunc_impl_list): Likewise.
11908 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11909 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11910 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11916 (__libc_ifunc_impl_list): Likewise.
11917 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11918 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11919 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11920 rawmemrchr for PPC64.
11922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11925 (__libc_ifunc_impl_list): Likewise.
11926 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11927 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11928 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11934 (__libc_ifunc_impl_list): Likewise.
11935 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11936 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11937 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11943 (__libc_ifunc_impl_list): Likewise.
11944 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11945 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11946 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11949 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11950 avoid cretion of __bzero symbol.
11951 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11953 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11955 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11958 multiarch implementations.
11959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11960 (__libc_ifunc_impl_list): Likewise.
11961 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11962 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11963 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11964 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11966 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11967 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11968 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11969 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11970 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11972 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11974 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11978 (__libc_ifunc_impl_list): Likewise.
11979 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11980 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11981 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11982 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11986 multiarch for POWER/PPC64.
11987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11988 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11989 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11990 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11991 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11992 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11993 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11994 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11995 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11998 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11999 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12000 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12002 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12003 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12004 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12005 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12006 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12007 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12008 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12009 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12010 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12011 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12012 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12021 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12023 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12025 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12027 * benchtests/Makefile (bench): Add exp2 and log2.
12028 (LDLIBS-bench-exp2): Add -lm.
12029 (LDLIBS-bench-log2): Likewise.
12030 * benchtests/exp2-inputs: New inputs file.
12031 * benchtests/log2-inputs: New inputs file.
12032 * benchtests/log-inputs: Add new inputs.
12033 * benchtests/tan-inputs: Likewise.
12035 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12037 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12039 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12040 (csloww2): ... from here.
12042 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12043 instead of structures.
12044 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12045 (POLYNOMIAL): Likewise.
12046 (TAYLOR_SLOW): Likewise.
12052 (sloww1); Likewise.
12053 (sloww2): Likewise.
12054 (bsloww1): Likewise.
12055 (bsloww2): Likewise.
12056 (cslow2): Likewise.
12057 (csloww): Likewise.
12058 (csloww1): Likewise.
12059 (csloww2): Likewise.
12061 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12063 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12064 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12065 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12066 * malloc/hooks.c (realloc_check): Likewise.
12068 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12069 * malloc/arena.c: Remove PER_THREAD conditional.
12070 [!PER_THREAD]: Remove code.
12071 (ptmalloc_unlock_all2): Likewise.
12072 (ptmalloc_init): Likewise.
12073 (_int_new_arena): Likewise.
12074 (arena_get2): Likewise.
12075 * malloc/hooks.c (__malloc_get_state): Likewise.
12076 (__malloc_set_state): Likewise.
12077 * malloc/malloc.c: Likewise.
12078 (struct malloc_state): Likewise.
12079 (struct malloc_par): Likewise.
12080 (__libc_realloc): Likewise.
12081 (__libc_mallopt): Likewise.
12083 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12085 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12087 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12089 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12090 macro to a function. Check for zero perturb_byte.
12091 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12093 * malloc/malloc.c: (force_reg): Remove.
12094 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12095 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12096 force_reg by atomic_forced_read.
12097 * malloc/arena.c (ptmalloc_init): Likewise.
12098 * malloc/hooks.c (top_check): Likewise.
12100 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12104 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12108 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12110 * math/auto-libm-test-in: Add tests of lgamma.
12111 * math/auto-libm-test-out: Regenerated.
12112 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12113 (M_LOG_2_SQRT_PIl): Likewise.
12114 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12115 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12117 (func_calc_desc): Add mpfr_f_f1 union field.
12118 (ARGS1): New macro.
12126 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12127 (test_functions): Add lgamma.
12128 (calc_generic_results): Handle mpfr_f_f1.
12129 * sysdeps/i386/fpu/libm-test-ulps: Update.
12130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12132 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12134 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12135 __mpn_add_n for PowerPC64/POWER7.
12136 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12137 __mpn_sub_n for PowerPC64/POWER7.
12139 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12140 __mpn_addmul_1 for PowerPC64.
12141 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12142 __mpn_submul_1 for PowerPC64.
12143 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12145 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12148 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12151 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12153 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12155 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12157 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12158 add multiarch folders.
12159 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12160 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12161 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12162 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12163 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12164 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12165 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12166 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12167 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12168 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12169 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12178 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12184 multiarch __ieee754_hypot for PowerPC32.
12185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12190 multiarch __ieee754_hypotf for PowerPC32.
12192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12193 long_double_symbol only if __logbl is defined.
12194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12195 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12197 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12199 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12201 path for implementation.
12202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12203 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12205 logb, and logbl multiarch implementations for PowerPC32.
12206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12211 multiarch logb for PowerPC32.
12212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12217 multiarch logbf for PowerPC32.
12218 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12222 multiarch logbl implementation for PowerPC32.
12224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12225 and modff multiarch implementations.
12226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12231 multiarch modf for PowerPC32.
12232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12237 multiarch modff for PowerPC32.
12239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12240 and lrintf multiarch implementations.
12241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12246 multiarch lrint for PowerPC32.
12247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12248 file: multiarch lrintf for PowerPC32.
12250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12251 and lroundf multiarch implementations.
12252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12259 multiarch lround for PowerPC32.
12260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12261 file: multiarch lroundf for PowerPC32.
12263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12264 copysign and copysignf multiarch implementations.
12265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12270 file: multiarch copysign for PowerPC32.
12271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12272 file: multiarch copysignf for PowerPC32.
12274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12275 and truncf multiarch implementations.
12276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12281 multiarch trunc for PowerPC32.
12282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12287 multiarch truncf for PowerPC32.
12289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12290 and roundf multiarch implementations.
12291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12296 multiarch round for PowerPC32.
12297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12302 multiarch roundf for PowerPC32.
12304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12305 and floorf multiarch implementations.
12306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12311 multiarch floor for PowerPC32.
12312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12317 multiarch floorf for PowerPC32.
12319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12320 and ceilf multiarch implementations.
12321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12326 multiarch ceil for PowerPC32.
12327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12332 multiarch ceilf for PowerPC32.
12334 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12336 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12337 FINITEF is defined.
12338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12339 and finitef multiarch implementations.
12340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12345 multiarch finite for PowerPC32.
12346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12349 file: multiarch finitef for PowerPC32.
12351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12352 and isinff multiarch implementations.
12353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12358 multiarch isinf for PowerPC32.
12359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12362 multiarch isinff for PowerPC32.
12364 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12365 alias when __isnan is defined.
12366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12367 and isnanf multiarch implementations.
12368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12377 multiarch isnan for PowerPC32.
12378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12383 multiarch isnanf for PowerPC32.
12385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12386 and sqrtf multiarch implementations.
12387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12392 multiarch sqrt for PowerPC32.
12393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12398 multiarch sqrtf for PowerPC32.
12400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12401 and llroundf multiarch implementations.
12402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12409 file: multiarch llround for PowerPC32.
12410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12411 file: multiarch llroundf for PowerPC32.
12413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12414 multiarch PowerPC32 fpu implementations.
12415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12420 multiarch llrint for PowerPC32.
12421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12430 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12432 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12434 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12436 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12437 multiarch wordcopy for PPC32.
12438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12441 (__libc_ifunc_impl_list): Likewise.
12442 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12443 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12444 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12445 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12446 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12447 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12449 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12454 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12456 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12457 multiarch wcscpy for PPC32.
12458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12461 (__libc_ifunc_impl_list): Likewise.
12462 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12463 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12464 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12465 sysdeps/powerpc/power6/wcscpy.c.
12467 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12470 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12472 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12474 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12475 multiarch wcsrchr for PPC32.
12476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12479 (__libc_ifunc_impl_list): Likewise.
12480 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12481 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12482 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12483 sysdeps/powerpc/power6/wcsrchr.c.
12485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12491 multiarch wcschr for PPc32.
12492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12495 (__libc_ifunc_impl_list): Likewise.
12496 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12497 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12498 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12499 sysdeps/powerpc/power6/wcschr.c.
12501 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12502 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12504 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12505 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12506 file: multiarch strchr for PPC32.
12507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12510 (__libc_ifunc_impl_list): Likewise.
12512 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12514 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12516 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12518 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12519 multiarch strchrnul for PPC32.
12520 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12522 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12523 (__libc_ifunc_impl_list): Likewise.
12525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12527 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12528 multiarch strncasecmp for PPC32.
12529 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12532 multiarch strncasecmp_l for PPC32.
12533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12534 strncasecmp multiarch objects.
12535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12536 (__libc_ifunc_impl_list): Likewise.
12538 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12540 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12541 multiarch strncasecmp for PPC32.
12542 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12544 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12545 multiarch strcasecmp_l for PPC32.
12546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12549 (__libc_ifunc_impl_list): Likewise.
12551 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12553 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12556 multiarch strncmp for PPC32.
12557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12559 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12560 (__libc_ifunc_impl_list): Likewise.
12562 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12563 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12565 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12566 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12570 (__libc_ifunc_impl_list): Likewise.
12572 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12574 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12576 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12580 (__libc_ifunc_impl_list): Likewise.
12582 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12584 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12586 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12587 multiarch rawmemchr for PPC32.
12588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12591 (__libc_ifunc_impl_list): Likewise.
12593 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12595 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12597 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12598 file: memrchr multiarch for PPC32.
12599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12602 (__libc_ifunc_impl_list): Likewise.
12604 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12605 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12607 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12608 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12609 multiarch memchr for PPC32.
12610 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12613 (__libc_ifunc_impl_list): Likewise.
12615 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12616 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12618 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12620 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12621 file: multiarch mempcpy for PPC32.
12622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12625 (__libc_ifunc_impl_list): Likewise.
12627 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12628 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12629 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12630 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12631 multiarch bzero for PPC32.
12632 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12634 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12636 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12637 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12638 file: multiarch memset for PPC32.
12639 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12641 memset multiarch objects.
12642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12643 (__libc_ifunc_impl_list): Likewise.
12645 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12647 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12648 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12650 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12651 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12653 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12654 (__libc_ifunc_impl_list): Likewise.
12656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12657 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12658 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12660 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12662 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12664 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12665 multiarch memcpy for PPC32.
12666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12669 (__libc_ifunc_impl_list): Likewise.
12671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12672 support multiarch for POWER/PPC32.
12673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12675 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12677 Implies file to make multiarch folder appers before the fpu and
12678 default folder for power4 configuration.
12680 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12682 * scripts/bench.pl: Append volatile keyword to type.
12684 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12686 * sysdeps/sh/sotruss-lib.c: New file.
12687 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12689 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12693 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12696 * math/w_tgamma.c: Include <errno.h>.
12697 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12698 * math/w_tgammaf.c: Include <errno.h>.
12699 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12700 * math/w_tgammal.c: Include <errno.h>.
12701 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12702 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12703 underflow. Add more tgamma tests.
12704 * math/auto-libm-test-out: Regenerated.
12705 * sysdeps/i386/fpu/libm-test-ulps: Update.
12706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12708 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12709 sin, sinh, tan, tanh, tgamma, y0 and y1.
12710 * math/auto-libm-test-out: Regenerated.
12711 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12712 (TEST_COND_x86): Likewise.
12713 (M_E2l): Remove macro.
12715 (M_2_SQRT_PIl): Likewise.
12716 (M_SQRT_PIl): Likewise.
12717 (M_1_DIV_El): Likewise.
12718 (log_test_data): Use AUTO_TESTS_f_f.
12719 (log10_test_data): Likewise.
12720 (log1p_test_data): Likewise.
12721 (log2_test_data): Likewise.
12722 (sin_test_data): Likewise.
12723 (sin_tonearest_test_data): Likewise.
12724 (sin_towardzero_test_data): Likewise.
12725 (sin_downward_test_data): Likewise.
12726 (sin_upward_test_data): Likewise.
12727 (sinh_test_data): Likewise.
12728 (sinh_tonearest_test_data): Likewise.
12729 (sinh_towardzero_test_data): Likewise.
12730 (sinh_downward_test_data): Likewise.
12731 (sinh_upward_test_data): Likewise.
12732 (tan_test_data): Likewise.
12733 (tan_tonearest_test_data): Likewise.
12734 (tan_towardzero_test_data): Likewise.
12735 (tan_downward_test_data): Likewise.
12736 (tan_upward_test_data): Likewise.
12737 (tanh_test_data): Likewise.
12738 (tgamma_test_data): Likewise.
12739 (y0_test_data): Likewise.
12740 (y1_test_data): Likewise.
12741 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12742 (special_real_inputs): Add pi/4.
12743 * sysdeps/i386/fpu/libm-test-ulps: Update.
12744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12746 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12748 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12749 "longjmp_target" static probes.
12750 (__longjmp): Rename to __longjmp_symbol.
12751 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12752 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12753 on which longjmp to generate.
12754 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12755 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12757 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12758 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12759 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12760 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12761 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12762 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12764 __longjmp_symbol based on which __longjmp to generate.
12765 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12767 (setjmp): Rename to setjmp_symbol.
12768 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12769 (_setjmp): Rename to _setjmp_symbol.
12770 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12771 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12772 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12773 which setjmp to generate.
12774 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12775 "longjmp_target" static probes.
12777 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12779 * benchtests/README: Add note about output arguments.
12780 * benchtests/bench-sincos.c: Remove file.
12781 * benchtests/sincos-inputs: New file.
12782 * scripts/bench.pl: Identify output arguments and define
12783 static variables for them.
12785 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12788 * Makefile (INSTALL): Add install-plain.texi as the primary
12790 * manual/install-plain.texi: New file.
12791 * manual/install.texi: Include node directive only for
12792 non-plaintext output.
12794 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12796 * stdlib/longlong.h: Update from GCC.
12800 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12801 * math/w_j0f.c (y0f): Likewise.
12802 * math/w_j0l.c (__y0l): Likewise.
12803 * math/w_j1.c (y1): Likewise.
12804 * math/w_j1f.c (y1f): Likewise.
12805 * math/w_j1l.c (__y1l): Likewise
12806 * math/w_jn.c (yn): Likewise.
12807 * math/w_jnf.c (ynf): Likewise.
12808 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12809 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12810 value for Bessel function domain errors outside _SVID_ mode.
12811 Adjust sign of return value for yn (negative integer, 0).
12812 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12813 by zero in return for negative x and set sign appropriately for
12815 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12816 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12817 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12818 expectations in error cases.
12819 (y1_test_data): Likewise.
12820 (yn_test_data): Likewise.
12821 * sysdeps/i386/fpu/libm-test-ulps: Update.
12822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12824 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12826 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12827 "64" to "64-v1". Add "64-v2".
12828 (abi-64-options): Rename to ...
12829 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12830 (abi-64-condition): Rename to ...
12831 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12832 (abi-64-ld-soname): Rename to ...
12833 (abi-64-v1-ld-soname): ... this.
12834 (abi-64-v2-options): Define.
12835 (abi-64-v2-condition): Likewise.
12836 (abi-64-v2-ld-soname): Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12838 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12843 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12844 Alan Modra <amodra@gmail.com>
12846 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12847 New versions for use with the ELFv2 ABI.
12848 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12849 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12851 (struct La_ppc64v2_retval): Likewise.
12852 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12853 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12854 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12855 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12856 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12857 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12858 Do not save or restore CR.
12859 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12860 (_dl_profile_resolve): Do no save or restore CR. Support extended
12861 return values for ELFv2 ABI. Fix location of FPR return registers.
12862 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12863 updated values for _CALL_ELF == 2.
12864 (La_regs, La_retval, int_retval): Likewise.
12866 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12868 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12869 (FRAME_MIN_SIZE_PARM): Likewise.
12870 (FRAME_BACKCHAIN): Likewise.
12871 (FRAME_CR_SAVE): Likewise.
12872 (FRAME_LR_SAVE): Likewise.
12873 (FRAME_TOC_SAVE): Likewise.
12874 (FRAME_PARM_SAVE): Likewise.
12875 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12876 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12877 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12878 (call_mcount_parm_offset): New macro.
12879 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12880 (PROF): Use symbolic stack frame offsets.
12881 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12882 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12883 Redefine in terms of FRAME_MIN_SIZE.
12884 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12885 (_dl_profile_resolve): Likewise. Update comment.
12886 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12887 symbols stack frame offsets.
12888 (__sigsetjmp): Likewise.
12889 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12890 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12891 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12892 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12895 (FRAME_BACKCHAIN): Remove.
12896 (FRAME_CR_SAVE): Likewise.
12897 (FRAME_LR_SAVE): Likewise.
12898 (FRAME_COMPILER_DW): Likewise.
12899 (FRAME_LINKER_DW): Likewise.
12900 (FRAME_TOC_SAVE): Likewise.
12901 (FRAME_PARM_SAVE): Likewise.
12902 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12903 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12904 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12906 (CHECK_SP): Use symbolic stack frame offsets.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12908 zone" instead of caller's parameter save area for temp storage.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12910 Likewise. Also, use symbolic stack frame offsets.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12912 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12913 our own stack frame instead of the caller's.
12914 (__socket): Use symbolic stack frame offsets.
12916 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12917 Alan Modra <amodra@gmail.com>
12919 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12921 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12922 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12923 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12925 (elf_machine_fixup_plt): Call it.
12926 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12928 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12929 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12930 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12931 r2 before calling target.
12933 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12934 Alan Modra <amodra@gmail.com>
12936 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12937 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12938 versions of macros to support ELFv2 ABI.
12939 (LOCALENTRY): New macro.
12940 (ENTRY, EALIGN): Use it.
12941 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12942 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12943 fall through into ENTRY entry point.
12944 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12945 Only define if _CALL_ELF != 2.
12947 (elf_machine_matches_host): Verify ABI version matches.
12948 (RTLD_START): Use LOCALENTRY.
12949 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12950 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12951 (PLT_ENTRY_WORDS): New macro.
12952 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12953 (elf_machine_runtime_setup): Support ELFv2 ABI.
12954 (elf_machine_fixup_plt): Likewise.
12955 (elf_machine_plt_conflict): Likewise.
12956 (resolve_ifunc): Likewise.
12957 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12958 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12961 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12963 (makecontext): Support ELFv2 ABI.
12964 * elf/elf.h (EF_PPC64_ABI): Define.
12966 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12968 * sysdeps/powerpc/powerpc64/sysdep.h
12969 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12970 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12971 (ENTRY) [ASSEMBLER]: ... but instead here ...
12972 (EALIGN) [ASSEMBLER]: ... and here.
12973 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12974 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12975 (ENTRY_2) [!ASSEMBLER]: Use it.
12976 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12977 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12978 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12979 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12980 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12982 Use PPC64_LOAD_FUNCPTR.
12984 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12986 2013-12-04 Alan Modra <amodra@gmail.com>
12988 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12989 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12990 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12991 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12994 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12995 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12996 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12997 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12998 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13000 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13003 (__makecontext): Fix incorrect CFI when backtracing out of
13004 context created via makecontext.
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13006 (__setcontext): Fix incorrect CFI during switch to new context.
13007 (__novec_setcontext): Likewise.
13009 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13012 * time/strptime_l.c (__strptime_internal): Allow modifiers
13014 * time/tst-strptime.c (day_tests): Add testcase.
13016 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13018 * scripts/bench.pl: Skip over blank lines.
13020 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13023 * manual/time.texi (Calendar Time): Clarify what timezone functions
13026 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13030 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13032 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13034 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13035 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13036 * debug/memset_chk.c (__memset_chk): Likewise.
13037 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13038 * debug/strncpy_chk.c: Likewise.
13040 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13044 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13045 (__ieee754_exp): For possibly underflowing results, check size of
13046 result and force underflow exception if required.
13047 * math/auto-libm-test-in: Add more tests of exp.
13048 * math/auto-libm-test-out: Regenerated.
13049 * sysdeps/i386/fpu/libm-test-ulps: Update.
13050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13053 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13054 * math/w_exp2f.c (__exp2f): Likewise.
13055 * math/w_exp2l.c (__exp2l): Likewise.
13056 * math/auto-libm-test-in: Do not allow missing errno on exp2
13058 * math/auto-libm-test-out: Regenerated.
13060 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13063 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13064 handle filename validation.
13065 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13068 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13071 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13072 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13073 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13075 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13076 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13077 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13079 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13080 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13081 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13082 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13083 Add more erfc tests.
13084 * math/auto-libm-test-out: Regenerated.
13085 * sysdeps/i386/fpu/libm-test-ulps: Update.
13086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13088 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13089 exp2, expm1, j0 and j1.
13090 * math/auto-libm-test-out: Regenerated.
13091 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13092 (erfc_test_data): Likewise.
13093 (exp_test_data): Likewise.
13094 (exp_tonearest_test_data): Likewise.
13095 (exp_towardzero_test_data): Likewise.
13096 (exp_downward_test_data): Likewise.
13097 (exp_upward_test_data): Likewise.
13098 (exp10_test_data): Likewise.
13099 (exp2_test_data): Likewise.
13100 (expm1_test_data): Likewise.
13101 (j0_test_data): Likewise.
13102 (j1_test_data): Likewise.
13103 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13104 (input_flag_type): Add flag_xfail_rounding.
13105 (input_flags): Add xfail-rounding.
13106 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13107 (output_for_one_input_case): Handle flag_xfail_rounding.
13108 * sysdeps/i386/fpu/libm-test-ulps: Update.
13109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13111 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13114 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13117 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13120 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13121 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13122 (STAP_PROBE0): New macro.
13123 (STAP_PROBE1): Likewise.
13124 (STAP_PROBE2): Likewise.
13125 (STAP_PROBE3): Likewise.
13126 (STAP_PROBE4): Likewise.
13128 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13130 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13132 2013-12-02 Steve Ellcey <sellcey@mips.com>
13134 * benchtests/Makefile (bench): Add sqrt.
13135 (LDLIBS-bench-sqrt): New.
13136 * benchtests/sqrt-input: New.
13138 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13140 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13141 (GAIH_EAI): Likewise.
13142 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13143 (gaih_inet): Likewise.
13144 (getaddrinfo): Don't use GAIH_EAI.
13146 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13147 (struct gaih): Remove definition.
13149 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13151 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13152 Use HERRNOP directly.
13154 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13158 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13160 * math/gen-auto-libm-tests.c (test_functions): Add more
13161 single-argument functions.
13162 (special_fill_pi_2): New function.
13163 (special_fill_minus_pi_2): Likewise.
13164 (special_fill_pi_6): Likewise.
13165 (special_fill_minus_pi_6): Likewise.
13166 (special_fill_pi_3): Likewise.
13167 (special_fill_2pi_3): Likewise.
13168 (special_fill_e): Likewise.
13169 (special_fill_1_e): Likewise.
13170 (special_fill_e_minus_1): Likewise.
13171 (special_real_inputs): Add more special inputs.
13172 (output_for_one_input_case): Do not require ERANGE on underflow to
13173 zero if round-to-nearest result does not underflow to zero, unless
13174 exact results required.
13175 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13176 atan, atanh, cbrt, cos and cosh.
13177 * math/auto-libm-test-out: Regenerated.
13178 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13179 (acos_tonearest_test_data): Likewise.
13180 (acos_towardzero_test_data): Likewise.
13181 (acos_downward_test_data): Likewise.
13182 (acos_upward_test_data): Likewise.
13183 (acosh_test_data): Likewise.
13184 (asin_test_data): Likewise.
13185 (asin_tonearest_test_data): Likewise.
13186 (asin_towardzero_test_data): Likewise.
13187 (asin_upward_test_data): Likewise.
13188 (asinh_test_data): Likewise.
13189 (atan_test_data): Likewise.
13190 (atanh_test_data): Likewise.
13191 (cbrt_test_data): Likewise.
13192 (cos_test_data): Likewise.
13193 (cos_tonearest_test_data): Likewise.
13194 (cos_towardzero_test_data): Likewise.
13195 (cos_downward_test_data): Likewise.
13196 (cos_upward_test_data): Likewise.
13197 (cosh_test_data): Likewise.
13198 (cosh_tonearest_test_data): Likewise.
13199 (cosh_towardzero_test_data): Likewise.
13200 (cosh_downward_test_data): Likewise.
13201 (cosh_upward_test_data): Likewise.
13202 * sysdeps/i386/fpu/libm-test-ulps: Update.
13203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13205 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13208 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13209 * math/w_exp10f.c (__exp10f): Likewise.
13210 * math/w_exp10l.c (__exp10l): Likewise.
13211 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13212 errno settings in existing tests.
13215 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13216 precision control set to double precision.
13217 * sysdeps/i386/fpu/w_sqrt.c: New file.
13218 * math/auto-libm-test-in: Add more tests.
13219 * math/auto-libm-test-out: Update.
13221 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13222 (sqrt_test_tonearest): New function.
13223 (sqrt_towardzero_test_data): New variable.
13224 (sqrt_test_towardzero): New function.
13225 (sqrt_downward_test_data): New variable.
13226 (sqrt_test_downward): New function.
13227 (sqrt_upward_test_data): New variable.
13228 (sqrt_test_upward): New function.
13229 (main): Call the new functions.
13231 * math/gen-auto-libm-tests.c: New file.
13232 * math/auto-libm-test-in: Likewise.
13233 * math/auto-libm-test-out: New generated file.
13234 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13236 (%beautify): Add generated representations of zero.
13237 (top level): Set $auto_input and call parse_auto_input.
13238 (beautify): Remove trailing "f" from hex float constants.
13239 (parse_args): Handle XFAIL_TEST.
13240 (convert_condition): New function.
13241 (or_value): Likewise.
13242 (or_cond_value): Likewise.
13243 (generate_testfile): Handle AUTO_TESTS_* lines.
13244 (parse_auto_input): New function.
13245 * math/libm-test.inc (XFAIL_TEST): New macro.
13246 (ERRNO_UNCHANGED): Update value.
13247 (ERRNO_EDOM): Likewise.
13248 (ERRNO_ERANGE): Likewise.
13249 (IGNORE_RESULT): Likewise.
13250 (TEST_COND_flt_32): New macro.
13251 (TEST_COND_dbl_64): Likewise.
13252 (TEST_COND_ldbl_96_intel): Likewise.
13253 (TEST_COND_ldbl_96_m68k): Likewise.
13254 (TEST_COND_ldbl_128): Likewise.
13255 (TEST_COND_ldbl_128ibm): Likewise.
13256 (TEST_COND_long32): Likewise.
13257 (TEST_COND_long64): Likewise.
13258 (TEST_COND_before_rounding): Likewise.
13259 (TEST_COND_after_rounding): Likewise.
13260 (enable_test): Handle XFAIL_TEST flag.
13261 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13262 with finite results.
13263 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13264 auto-libm-test-out.
13266 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13267 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13270 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13271 __tls_get_addr_internal instead of __tls_get_offset in order to
13272 avoid GOT pointer dependency. Make rtld export
13273 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13274 __tls_get_addr since we are a __tls_get_offset platform.
13275 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13276 GOT pointer being set up before.
13277 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13279 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13281 * manual/math.texi (Errors in Math Functions): Document accuracy
13285 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13286 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13287 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13289 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13291 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13302 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13303 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13304 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13305 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13306 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13308 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13310 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13312 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13313 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13314 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13315 atomic-feupdateenv and flt-rounds.
13316 * sysdeps/powerpc/nofpu/Versions (libc): Add
13317 __atomic_feholdexcept, __atomic_feclearexcept,
13318 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13319 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13320 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13321 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13322 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13327 * manual/arith.texi (FP Exceptions): Document that exceptions may
13328 not be raised when matherr is used.
13329 (Math Error Reporting): Document overflow in directed rounding
13330 modes. Document that errno may not be set when finite values are
13331 returned on overflow. Document intent to set errno on underflow
13332 only for underflow to zero.
13335 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13336 round-to-nearest then adjust result for other rounding modes.
13337 * include/fenv.h (fegetround): Use libm_hidden_proto.
13338 * math/fegetround.c (fegetround): Use libm_hidden_def.
13339 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13340 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13341 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13342 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13344 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13345 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13346 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13347 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13349 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13352 * nss/Versions (libnss_files): Add
13353 _nss_files_gethostbyname3_r.
13354 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13356 (HOST_DB_LOOKUP): Remove macro.
13357 (_nss_files_gethostbyname_r): Implement function without the
13358 HOST_DB_LOOKUP macro.
13359 (_nss_files_gethostbyname2_r): Likewise.
13361 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13363 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13365 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13367 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13368 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13371 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13373 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13374 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13375 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13376 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13377 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13378 __fe_nomask_env_priv and attribute_hidden.
13379 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13380 (libc_feupdateenv_test_ppc): Likewise.
13381 (libc_feresetround_ppc): Likewise.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13383 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13384 compat_symbol macro.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13386 (__fe_nomask_env): Likewise.
13387 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13389 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13391 * string/Makefile: Remove ifunc tests.
13392 * string/test-string.h: Define TEST_IFUNC.
13393 * string/test-bcopy-ifunc.c: Remove.
13394 * string/test-bzero-ifunc.c: Likewise.
13395 * string/test-memccpy-ifunc.c: Likewise.
13396 * string/test-memchr-ifunc.c: Likewise.
13397 * string/test-memcmp-ifunc.c: Likewise.
13398 * string/test-memcpy-ifunc.c: Likewise.
13399 * string/test-memmem-ifunc.c: Likewise.
13400 * string/test-memmove-ifunc.c: Likewise.
13401 * string/test-mempcpy-ifunc.c: Likewise.
13402 * string/test-memrchr-ifunc.c: Likewise.
13403 * string/test-memset-ifunc.c: Likewise.
13404 * string/test-rawmemchr-ifunc.c: Likewise.
13405 * string/test-stpcpy-ifunc.c: Likewise.
13406 * string/test-stpncpy-ifunc.c: Likewise.
13407 * string/test-strcasecmp-ifunc.c: Likewise.
13408 * string/test-strcasestr-ifunc.c: Likewise.
13409 * string/test-strcat-ifunc.c: Likewise.
13410 * string/test-strchr-ifunc.c: Likewise.
13411 * string/test-strchrnul-ifunc.c: Likewise.
13412 * string/test-strcmp-ifunc.c: Likewise.
13413 * string/test-strcpy-ifunc.c: Likewise.
13414 * string/test-strcspn-ifunc.c: Likewise.
13415 * string/test-strlen-ifunc.c: Likewise.
13416 * string/test-strncasecmp-ifunc.c: Likewise.
13417 * string/test-strncat-ifunc.c: Likewise.
13418 * string/test-strncmp-ifunc.c: Likewise.
13419 * string/test-strncpy-ifunc.c: Likewise.
13420 * string/test-strnlen-ifunc.c: Likewise.
13421 * string/test-strpbrk-ifunc.c: Likewise.
13422 * string/test-strrchr-ifunc.c: Likewise.
13423 * string/test-strspn-ifunc.c: Likewise.
13424 * string/test-strstr-ifunc.c: Likewise.
13426 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13428 * benchtests/Makefile: Remove ifunc tests.
13429 * benchtests/bench-string.h: Define TEST_IFUNC.
13430 * benchtests/bench-bcopy-ifunc.c: Remove.
13431 * benchtests/bench-bzero-ifunc.c: Likewise.
13432 * benchtests/bench-memccpy-ifunc.c: Likewise.
13433 * benchtests/bench-memchr-ifunc.c: Likewise.
13434 * benchtests/bench-memcmp-ifunc.c: Likewise.
13435 * benchtests/bench-memcpy-ifunc.c: Likewise.
13436 * benchtests/bench-memmem-ifunc.c: Likewise.
13437 * benchtests/bench-memmove-ifunc.c: Likewise.
13438 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13439 * benchtests/bench-memrchr-ifunc.c: Likewise.
13440 * benchtests/bench-memset-ifunc.c: Likewise.
13441 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13442 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13443 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13444 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13445 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13446 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13447 * benchtests/bench-strcat-ifunc.c: Likewise.
13448 * benchtests/bench-strchr-ifunc.c: Likewise.
13449 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13450 * benchtests/bench-strcmp-ifunc.c: Likewise.
13451 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13452 * benchtests/bench-strcpy-ifunc.c: Likewise.
13453 * benchtests/bench-strcspn-ifunc.c: Likewise.
13454 * benchtests/bench-strlen-ifunc.c: Likewise.
13455 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13456 * benchtests/bench-strncat-ifunc.c: Likewise.
13457 * benchtests/bench-strncmp-ifunc.c: Likewise.
13458 * benchtests/bench-strncpy-ifunc.c: Likewise.
13459 * benchtests/bench-strnlen-ifunc.c: Likewise.
13460 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13461 * benchtests/bench-strrchr-ifunc.c: Likewise.
13462 * benchtests/bench-strsep-ifunc.c: Likewise.
13463 * benchtests/bench-strspn-ifunc.c: Likewise.
13464 * benchtests/bench-strstr-ifunc.c: Likewise.
13466 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13468 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13470 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13472 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13473 * rt/aio.h: Likewise.
13474 * sysdeps/gnu/bits/utmp.h: Likewise.
13475 * sysdeps/gnu/bits/utmpx.h: Likewise.
13476 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13477 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13478 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13479 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13480 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13481 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13482 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13483 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13484 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13485 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13486 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13487 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13488 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13490 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13491 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13492 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13493 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13494 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13495 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13496 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13497 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13498 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13499 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13500 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13502 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13503 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13504 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13505 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13506 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13507 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13508 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13509 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13510 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13511 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13512 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13513 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13514 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13515 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13516 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13517 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13519 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13522 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13523 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13525 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13527 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13528 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13531 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13533 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13534 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13535 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13536 (__fesetround): Remove define.
13537 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13538 rounding and exceptions handling.
13539 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13540 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13541 (__fe_nomask_env): Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13543 __fegetround instead of fegetround.
13544 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13545 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13547 2013-11-21 Roland McGrath <roland@hack.frob.com>
13549 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13552 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13554 2013-11-21 Meador Inge <meadori@codesourcery.com>
13557 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13558 (encrypt_r): Likewise.
13559 * malloc/obstack.h (obstack_free): Likewise.
13560 * posix/unistd.h (encrypt): Likewise.
13562 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13564 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13565 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13566 DL_CALL_DT_FINI() that call the functions directly.
13567 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13568 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13569 * elf/dl-fini.c: Likewise.
13571 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13573 * malloc/hooks.c (memalign_check): Add alignment rounding.
13574 * malloc/malloc.c (_mid_memalign): New function.
13575 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13576 Implement by calling _mid_memalign.
13577 * manual/probes.texi (Memory Allocation Probes): Remove
13578 memory_valloc_retry and memory_pvalloc_retry.
13580 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13582 * locale/programs/locarchive.c (open_archive): Add const
13583 qualifier to ARCHIVEFNAME and copy default fname to
13587 * libio/tst-widetext.input: Rename Oriya to Odia.
13588 * locale/iso-639.def: Likewise.
13590 * manual/probes.texi (Mathematical Function Probes): Add
13591 documentation for sin, cos, asin and acos probes.
13592 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13593 (__sin32): Add slowasin probe.
13594 (__cos32): Add slowacos probe.
13595 (__mpsin): Add slowsin probe.
13596 (__mpcos): Add slowcos probe.
13598 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13601 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13602 thread-local __sim_exceptions_thread and global
13603 __sim_exceptions_global.
13604 (__sim_disabled_exceptions): Change to thread-local
13605 __sim_disabled_exceptions_thread and global
13606 __sim_disabled_exceptions_global.
13607 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13608 and global __sim_round_mode_global.
13609 (__simulate_exceptions): Use thread-local floating-point state and
13610 set global state from it as needed.
13611 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13612 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13613 __sim_round_mode_thread.
13614 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13615 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13616 and global __sim_exceptions_global.
13617 (__sim_disabled_exceptions): Change to thread-local
13618 __sim_disabled_exceptions_thread and global
13619 __sim_disabled_exceptions_global.
13620 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13621 and global __sim_round_mode_global.
13622 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13623 (SIM_SET_GLOBAL): Likewise.
13624 * sysdeps/powerpc/soft-fp/sfp-machine.h
13625 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13626 __sim_round_mode_thread.
13627 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13628 __sim_disabled_exceptions_thread.
13629 (__sim_exceptions): Change to __sim_exceptions_thread.
13630 (__sim_disabled_exceptions): Change to
13631 __sim_disabled_exceptions_thread.
13632 (__sim_round_mode): Change to __sim_round_mode_thread.
13633 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13634 thread-local floating-point state and set global state from it as
13636 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13637 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13638 (__sim_disabled_exceptions): Remove extern declaration.
13639 (feenableexcept): Use thread-local floating-point state and set
13640 global state from it as needed.
13641 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13642 extern declaration.
13643 (__sim_disabled_exceptions): Likewise.
13644 (__sim_round_mode): Likewise.
13645 (__fegetenv): Use thread-local floating-point state.
13646 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13647 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13648 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13649 floating-point state and set global state from it as needed.
13650 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13651 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13652 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13654 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13655 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13657 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13658 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13659 Use __sim_round_mode_thread.
13660 * math/test-fenv-tls.c: New file.
13661 * math/Makefile (tests): Add test-fenv-tls.
13662 ($(objpfx)test-fenv-tls): Depend on
13663 $(common-objpfx)nptl/libpthread.so.
13665 2013-11-19 Andreas Schwab <schwab@suse.de>
13667 * locale/programs/locale.c (show_info): Decode wordarray elements.
13668 * locale/categories.def (LC_MONETARY): Add element for
13669 _NL_MONETARY_CRNCYSTR.
13670 * locale/C-monetary.c (conversion_rate): New variable.
13671 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13674 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13676 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13677 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13679 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13681 * elf/Makefile (tst-auxv): New test.
13682 * elf/tst-auxv.c: New
13683 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13685 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13687 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13688 (hidden_proto): Caller changed.
13689 (hidden_tls_proto): New macro.
13690 (libc_hidden_tls_proto): Likewise.
13691 (rtld_hidden_tls_proto): Likewise.
13692 (libm_hidden_tls_proto): Likewise.
13693 (libresolv_hidden_tls_proto): Likewise.
13694 (librt_hidden_tls_proto): Likewise.
13695 (libdl_hidden_tls_proto): Likewise.
13696 (libnss_files_hidden_tls_proto): Likewise.
13697 (libnsl_hidden_tls_proto): Likewise.
13698 (libnss_nisplus_hidden_tls_proto): Likewise.
13699 (libutil_hidden_tls_proto): Likewise.
13701 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13704 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13705 (decompose_rpath): Defer expansion to fillin_rpath.
13706 (_dl_init_paths): Pass linkmap to fillin_rpath.
13708 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13710 * benchtests/Makefile: Add strsep.
13711 * benchtests/bench-strsep.c: New file: strsep benchtest.
13712 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13714 2013-11-18 Andreas Schwab <schwab@suse.de>
13716 * locale/programs/locale.c (show_info) [case byte]: Check for
13717 '\377' instead of '\177'.
13718 * locale/C-monetary.c (not_available): Always use "\377".
13719 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13720 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13721 detect unavailable sign_posn locale elements.
13722 * locale/localeconv.c (__localeconv): For grouping and
13723 mon_grouping handle "\177" and "\377" like no grouping.
13724 (INT_ELEM): New macro. Use it to set all numeric members.
13725 * locale/programs/ld-monetary.c (monetary_read)
13726 <tok_mon_grouping>: Normalize single -1 to the empty string.
13727 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13730 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13733 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13734 when we match (nil).
13735 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13737 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13739 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13740 (NO_TEST_INLINE): Update value.
13741 (ERRNO_UNCHANGED): Likewise.
13742 (ERRNO_EDOM): Likewise.
13743 (ERRNO_ERANGE): Likewise.
13744 (IGNORE_RESULT): Likewise.
13745 (check_float_internal): Check signs of NaN results if
13746 TEST_NAN_SIGN used.
13747 (check_complex): Pass TEST_NAN_SIGN flag through to second
13748 check_float_internal call.
13749 (copysign_test_data): Add tests with quiet NaNs as second
13750 argument. Use TEST_NAN_SIGN.
13751 (fabs_test_data): Add test of negative quiet NaN argument. Use
13753 (signbit_test_data): Add tests of quiet NaN argument.
13754 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13756 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13758 (parse_args): Handle function results specified as IGNORE.
13759 * math/libm-test.inc (IGNORE_RESULT): New macro.
13760 (check_float_internal): Do not check numerical result if flag
13762 (check_complex): Pass through IGNORE_RESULT to second
13763 check_float_internal call.
13764 (check_int): Do not check numerical result if flag IGNORE_RESULT
13766 (check_long): Likewise.
13767 (check_bool): Likewise.
13768 (check_longlong): Likewise.
13769 (lrint_test_data): Add tests of infinite and NaN arguments.
13770 (lrint_tonearest_test_data): Likewise.
13771 (lrint_towardzero_test_data): Likewise.
13772 (lrint_downward_test_data): Likewise.
13773 (lrint_upward_test_data): Likewise.
13774 (llrint_test_data): Likewise.
13775 (llrint_tonearest_test_data): Likewise.
13776 (llrint_towardzero_test_data): Likewise.
13777 (llrint_downward_test_data): Likewise.
13778 (llrint_upward_test_data): Likewise.
13779 (lround_test_data): Likewise.
13780 (llround_test_data): Likewise.
13782 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13783 (ERRNO_UNCHANGED): Update value.
13784 (ERRNO_EDOM): Likewise.
13785 (ERRNO_ERANGE): Likewise.
13786 (NO_TEST_INLINE_FLOAT): New macro.
13787 (NO_TEST_INLINE_DOUBLE): Likewise.
13788 (enable_test): New function.
13789 (RUN_TEST_f_f): Check enable_test before running test.
13790 (RUN_TEST_2_f): Likewise.
13791 (RUN_TEST_fff_f): Likewise.
13792 (RUN_TEST_c_f): Likewise.
13793 (RUN_TEST_f_f1): Likewise.
13794 (RUN_TEST_fF_f1): Likewise.
13795 (RUN_TEST_fI_f1): Likewise.
13796 (RUN_TEST_ffI_f1): Likewise.
13797 (RUN_TEST_c_c): Likewise.
13798 (RUN_TEST_cc_c): Likewise.
13799 (RUN_TEST_f_i): Likewise.
13800 (RUN_TEST_f_i_tg): Likewise.
13801 (RUN_TEST_ff_i_tg): Likewise.
13802 (RUN_TEST_f_b): Likewise.
13803 (RUN_TEST_f_b_tg): Likewise.
13804 (RUN_TEST_f_l): Likewise.
13805 (RUN_TEST_f_L): Likewise.
13806 (RUN_TEST_fFF_11): Likewise.
13807 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13809 (cosh_test_data): Likewise.
13810 (exp_test_data): Likewise.
13811 (expm1_test_data): Likewise.
13812 (hypot_test_data): Likewise.
13813 (pow_test_data): Likewise.
13814 (sinh_test_data): Likewise.
13815 (tanh_test_data): Likewise.
13816 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13819 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13820 tests with quiet NaN input and output.
13821 (acosh_test_data): Likewise.
13822 (asin_test_data): Likewise.
13823 (asinh_test_data): Likewise.
13824 (atan_test_data): Likewise.
13825 (atanh_test_data): Likewise.
13826 (atan2_test_data): Likewise.
13827 (cbrt_test_data): Likewise.
13828 (cos_test_data): Likewise.
13829 (cosh_test_data): Likewise.
13830 (erf_test_data): Likewise.
13831 (erfc_test_data): Likewise.
13832 (exp_test_data): Likewise.
13833 (exp10_test_data): Likewise.
13834 (exp2_test_data): Likewise.
13835 (expm1_test_data): Likewise.
13836 (hypot_test_data): Likewise.
13837 (j0_test_data): Likewise.
13838 (j1_test_data): Likewise.
13839 (jn_test_data): Likewise.
13840 (lgamma_test_data): Likewise.
13841 (log_test_data): Likewise.
13842 (log10_test_data): Likewise.
13843 (log1p_test_data): Likewise.
13844 (log2_test_data): Likewise.
13845 (pow_test_data): Likewise.
13846 (scalb_test_data): Likewise.
13847 (sin_test_data): Likewise.
13848 (sincos_test_data): Likewise.
13849 (sinh_test_data): Likewise.
13850 (tan_test_data): Likewise.
13851 (tanh_test_data): Likewise.
13852 (tgamma_test_data): Likewise.
13853 (y0_test_data): Likewise.
13854 (y1_test_data): Likewise.
13855 (yn_test_data): Likewise.
13858 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13859 argument being NaN and avoid computations with second argument in
13861 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13862 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13863 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13865 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13867 * locale/iso-639.def: Add Chitwani Tharu (the).
13869 2013-11-14 Andreas Schwab <schwab@suse.de>
13871 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13872 word instead of empty string.
13874 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13877 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13879 (__fe_nomask_env): Likewise.
13881 2013-11-13 Steve Ellcey <sellcey@mips.com>
13883 * benchtests/bench-timing.h: Include time.h.
13885 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13888 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13890 * sysdeps/unix/sysv/linux/configure: Regenerated.
13892 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13895 * stdlib/strtod_l.c (round_and_return): Do not consider
13896 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13897 exponent one less than half the least subnormal exponent.
13898 * stdlib/test-strtod-round-data: Add more tests.
13899 * stdlib/tst-strtod-round.c (tests): Regenerated.
13901 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13904 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13905 (__fe_mask_env): Likewise.
13906 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13907 libm_hidden_proto and add function prototype.
13908 (__fe_mask_env): Add function prototype.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13910 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13912 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13914 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13916 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13918 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13919 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13921 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13923 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13924 of htab_find_slot().
13926 2013-11-11 David S. Miller <davem@davemloft.net>
13929 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13930 symbol in the non-vis3 case in static builds.
13931 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13932 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13933 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13934 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13936 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13939 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13942 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13944 * benchtests/Makefile: Add bench-strtod.
13945 * benchtests/bench-strtod.c: New file: strtod benchtest
13947 2013-11-11 Andreas Schwab <schwab@suse.de>
13950 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13951 terminating NUL in key length.
13953 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13955 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13956 Add artificial ODP entry for vDSO symbol for PPC64.
13957 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13958 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13960 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13963 * nss/getent.c (services_keys): Recognize services starting with digit.
13965 2013-11-06 David S. Miller <davem@davemloft.net>
13968 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13969 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13971 2013-11-06 Will Newton <will.newton@linaro.org>
13973 * manual/memory.texi (Malloc Examples): Remove register
13974 keyword from examples.
13976 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13978 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13980 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13983 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13984 depending on [__GCC_IEC_559 > 0].
13985 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13986 depending on [__GCC_IEC_559_COMPLEX > 0].
13988 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13990 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13993 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13995 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13997 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14000 * malloc/malloc (malloc_info): Do not handle first bin as
14003 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14005 * locale/iso-639.def: Add Central Nahuatl (nhn).
14007 2013-11-01 Bruno Haible <bruno@clisp.org>
14010 * manual/math.texi (BSD Random): Specify range upper bound as
14013 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14015 * locale/iso-639.def: Add Meadow Mari (mhr).
14017 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14019 [BZ #14752], [BZ #15763]
14020 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14022 * rt/tst_shm.c: Add test for escaping directory.
14024 2013-10-31 Andreas Schwab <schwab@suse.de>
14027 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14028 followed by 'x' as part of digit sequence.
14029 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14031 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14034 * configure.ac: allow GNU Make 4.0 and greater.
14035 * configure: Regenerated.
14037 2013-10-30 Will Newton <will.newton@linaro.org>
14040 * malloc/hooks.c (memalign_check): Limit alignment to the
14041 maximum representable power of two.
14042 * malloc/malloc.c (__libc_memalign): Likewise.
14043 * malloc/tst-memalign.c (do_test): Add test for very
14044 large alignment values.
14045 * malloc/tst-posix_memalign.c (do_test): Likewise.
14047 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14050 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14051 (munmap_chunk): Likewise.
14052 (mremap_chunk): Likewise.
14054 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14057 * stdlib/div.c (div): Remove obsolete code.
14058 * stdlib/ldiv.c (ldiv): Likewise.
14059 * stdlib/lldiv.c (lldiv): Likewise.
14061 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14064 * nss/nss_files/files-XXX.c (get_contents_ret): New
14066 (get_contents): New function.
14067 (internal_getent): Use it. Expand size of LINEBUFLEN.
14069 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14071 * configure.in: Moved to ...
14072 * configure.ac: ... here. Change reference to configure.in
14074 * sysdeps/arm/preconfigure.ac: ... here.
14075 configure.in to configure.ac.
14076 * sysdeps/gnu/configure.in: Moved to ...
14077 * sysdeps/gnu/configure.ac: ... here.
14078 * sysdeps/i386/configure.in: Moved to ...
14079 * sysdeps/i386/configure.ac: ... here.
14080 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14081 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14082 * sysdeps/mach/configure.in: Moved to ...
14083 * sysdeps/mach/configure.ac: ... here.
14084 * sysdeps/mach/hurd/configure.in: Moved to ...
14085 * sysdeps/mach/hurd/configure.ac: ... here.
14086 * sysdeps/powerpc/configure.in: Moved to ...
14087 * sysdeps/powerpc/configure.ac: ... here.
14088 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14089 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14090 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14091 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14092 * sysdeps/s390/s390-32/configure.in: Moved to ...
14093 * sysdeps/s390/s390-32/configure.ac: ... here.
14094 * sysdeps/s390/s390-64/configure.in: Moved to ...
14095 * sysdeps/s390/s390-64/configure.ac: ... here.
14096 * sysdeps/sh/configure.in: Moved to ...
14097 * sysdeps/sh/configure.ac: ... here.
14098 * sysdeps/sparc/configure.in: Moved to ...
14099 * sysdeps/sparc/configure.ac: ... here.
14100 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14101 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14102 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14103 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14104 * sysdeps/x86_64/configure.in: Moved to ...
14105 * sysdeps/x86_64/configure.ac: ... here.
14106 * sysdeps/x86_64/preconfigure.in: Moved to ...
14107 * sysdeps/x86_64/preconfigure.ac: ... here.
14108 * aclocal.m4: Change reference to configure.in to configure.ac.
14109 * config.h.in: Likewise.
14110 * manual/install.texi: Likewise.
14111 * manual/maint.texi: Likewise.
14112 * Makefile: Likewise.
14113 * malloc/Makefile: Likewise.
14114 * nscd/Makefile: Likewise.
14115 * Makeconfig: Change reference to configure.in and
14116 preconfigure.in to configure.ac and preconfigure.ac
14118 * INSTALL: Regenerated.
14119 * configure: Likewise.
14120 * sysdeps/gnu/configure: Likewise.
14121 * sysdeps/i386/configure: Likewise.
14122 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14123 * sysdeps/mach/configure: Likewise.
14124 * sysdeps/mach/hurd/configure: Likewise.
14125 * sysdeps/powerpc/configure: Likewise.
14126 * sysdeps/powerpc/powerpc32/configure: Likewise.
14127 * sysdeps/powerpc/powerpc64/configure: Likewise.
14128 * sysdeps/s390/s390-32/configure: Likewise.
14129 * sysdeps/s390/s390-64/configure: Likewise.
14130 * sysdeps/sh/configure: Likewise.
14131 * sysdeps/sparc/configure: Likewise.
14132 * sysdeps/unix/sysv/linux/configure: Likewise.
14133 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14134 * sysdeps/x86_64/configure: Likewise.
14135 * sysdeps/x86_64/preconfigure: Likewise.
14137 2013-10-29 Andreas Schwab <schwab@suse.de>
14139 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14141 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14143 * benchtests/pow-inputs: Add new inputs.
14145 * benchtests/exp-inputs: Add new inputs.
14147 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14148 conditional check for return value.
14149 (__cos32): Likewise.
14151 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14153 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14154 to provide a boost for large inputs with word alignment.
14155 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14156 implementation based on optimized PPC64 strcpy.
14157 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14158 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14159 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14160 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14162 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14165 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14167 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14170 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14171 * time/tst-strptime.c (day_tests): Add testcase.
14173 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14176 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14178 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14181 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14182 MAP_FAILED on error.
14184 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14187 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14188 heap for large requests.
14190 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14193 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14194 result if the result has no associated interface.
14195 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14196 interface for all 127.X.Y.Z addresses.
14198 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14200 * locale/iso-639.def: Add Ligurian (lij)
14202 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14205 * sunrpc/rpc_main.c: Document rpcgen -5.
14207 2013-10-19 Michael Stahl <mstahl@redhat.com>
14209 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14211 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14214 * posix/glob.c: Match only directories when trailing slash is present.
14215 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14216 (main): Add testcase.
14218 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14221 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14223 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14225 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14226 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14227 AUTH_DES and cindex for FIPS 140-2.
14228 (DES Encryption): Add cindex FIPS 46-3.
14230 * locale/locarchive.h (struct locarhandle): Add fname.
14231 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14232 if an optional argument was specified to --list-archive,
14234 * locale/programs/locarchive.c (show_archive_content): Take new
14235 argument fname and pass it via ah.fname to open_archive.
14236 * locale/programs/localedef.h: Update decl.
14237 (open_archive): If AH->fname is non-null, open that file
14238 rather than the default file name, and don't ignore ENOENT.
14239 (create_archive): Set AH.fname to NULL.
14240 (delete_locales_from_archive): Likewise.
14241 (add_locales_to_archive): Likewise.
14242 * locale/programs/locfile.c (write_all_categories): Likewise.
14244 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14245 Aldy Hernandez <aldyh@redhat.com>
14247 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14248 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14249 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14250 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14251 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14252 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14253 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14254 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14255 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14256 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14257 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14258 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14259 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14260 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14261 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14263 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14265 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14267 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14269 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14270 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14272 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14273 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14274 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14275 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14277 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14278 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14279 * sysdeps/powerpc/preconfigure: Likewise.
14280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14282 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14283 Replace contents of file by #include of <fenv_libc.h>.
14284 * sysdeps/powerpc/soft-fp/sfp-machine.h
14285 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14287 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14288 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14289 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14290 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14291 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14292 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14294 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14295 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14296 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14297 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14298 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14300 Allow copysignl PLT reference to be missing.
14302 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14303 Joseph Myers <joseph@codesourcery.com
14306 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14308 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14310 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14312 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14313 * elf/tst-tls1.c: Likewise.
14314 * elf/tst-tls10.h: Likewise.
14315 * elf/tst-tls14.c: Likewise.
14316 * elf/tst-tls2.c: Likewise.
14317 * elf/tst-tls3.c: Likewise.
14318 * elf/tst-tls4.c: Likewise.
14319 * elf/tst-tls5.c: Likewise.
14320 * elf/tst-tls6.c: Likewise.
14321 * elf/tst-tls7.c: Likewise.
14322 * elf/tst-tls8.c: Likewise.
14323 * elf/tst-tls9.c: Likewise.
14324 * elf/tst-tlsmod1.c: Likewise.
14325 * elf/tst-tlsmod13.c: Likewise.
14326 * elf/tst-tlsmod13a.c: Likewise.
14327 * elf/tst-tlsmod14a.c: Likewise.
14328 * elf/tst-tlsmod16a.c: Likewise.
14329 * elf/tst-tlsmod16b.c: Likewise.
14330 * elf/tst-tlsmod2.c: Likewise.
14331 * elf/tst-tlsmod3.c: Likewise.
14332 * elf/tst-tlsmod4.c: Likewise.
14333 * elf/tst-tlsmod5.c: Likewise.
14334 * elf/tst-tlsmod6.c: Likewise.
14336 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14339 * malloc/malloc.c: remove checks for statistics.
14341 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14344 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14345 * inet/tst-network.c: Add testcase.
14347 2013-10-17 Andreas Schwab <schwab@suse.de>
14350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14351 to determine canonical name.
14353 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14355 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14356 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14360 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14361 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14362 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14363 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14364 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14365 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14369 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14370 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14372 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14373 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14374 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14375 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14377 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14378 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14379 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14380 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14381 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14382 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14383 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14384 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14385 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14387 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14388 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14389 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14391 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14392 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14393 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14394 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14395 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14396 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14397 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14398 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14399 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14401 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14403 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14404 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14405 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14406 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14408 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14409 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14410 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14412 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14414 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14417 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14418 make result into a quiet NaN.
14420 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14422 * soft-fp/adddf3.c: Fix horizontal whitespace.
14423 * soft-fp/addsf3.c: Likewise.
14424 * soft-fp/addtf3.c: Likewise.
14425 * soft-fp/divdf3.c: Likewise.
14426 * soft-fp/divsf3.c: Likewise.
14427 * soft-fp/divtf3.c: Likewise.
14428 * soft-fp/double.h: Likewise.
14429 * soft-fp/eqdf2.c: Likewise.
14430 * soft-fp/eqsf2.c: Likewise.
14431 * soft-fp/eqtf2.c: Likewise.
14432 * soft-fp/extenddftf2.c: Likewise.
14433 * soft-fp/extended.h: Likewise.
14434 * soft-fp/extendsfdf2.c: Likewise.
14435 * soft-fp/extendsftf2.c: Likewise.
14436 * soft-fp/extendxftf2.c: Likewise.
14437 * soft-fp/fixdfdi.c: Likewise.
14438 * soft-fp/fixdfsi.c: Likewise.
14439 * soft-fp/fixdfti.c: Likewise.
14440 * soft-fp/fixsfdi.c: Likewise.
14441 * soft-fp/fixsfsi.c: Likewise.
14442 * soft-fp/fixsfti.c: Likewise.
14443 * soft-fp/fixtfdi.c: Likewise.
14444 * soft-fp/fixtfsi.c: Likewise.
14445 * soft-fp/fixtfti.c: Likewise.
14446 * soft-fp/fixunsdfdi.c: Likewise.
14447 * soft-fp/fixunsdfsi.c: Likewise.
14448 * soft-fp/fixunsdfti.c: Likewise.
14449 * soft-fp/fixunssfdi.c: Likewise.
14450 * soft-fp/fixunssfsi.c: Likewise.
14451 * soft-fp/fixunssfti.c: Likewise.
14452 * soft-fp/fixunstfdi.c: Likewise.
14453 * soft-fp/fixunstfsi.c: Likewise.
14454 * soft-fp/fixunstfti.c: Likewise.
14455 * soft-fp/floatdidf.c: Likewise.
14456 * soft-fp/floatdisf.c: Likewise.
14457 * soft-fp/floatditf.c: Likewise.
14458 * soft-fp/floatsidf.c: Likewise.
14459 * soft-fp/floatsisf.c: Likewise.
14460 * soft-fp/floatsitf.c: Likewise.
14461 * soft-fp/floattidf.c: Likewise.
14462 * soft-fp/floattisf.c: Likewise.
14463 * soft-fp/floattitf.c: Likewise.
14464 * soft-fp/floatundidf.c: Likewise.
14465 * soft-fp/floatundisf.c: Likewise.
14466 * soft-fp/floatunditf.c: Likewise.
14467 * soft-fp/floatunsidf.c: Likewise.
14468 * soft-fp/floatunsisf.c: Likewise.
14469 * soft-fp/floatunsitf.c: Likewise.
14470 * soft-fp/floatuntidf.c: Likewise.
14471 * soft-fp/floatuntisf.c: Likewise.
14472 * soft-fp/floatuntitf.c: Likewise.
14473 * soft-fp/fmadf4.c: Likewise.
14474 * soft-fp/fmasf4.c: Likewise.
14475 * soft-fp/fmatf4.c: Likewise.
14476 * soft-fp/gedf2.c: Likewise.
14477 * soft-fp/gesf2.c: Likewise.
14478 * soft-fp/getf2.c: Likewise.
14479 * soft-fp/ledf2.c: Likewise.
14480 * soft-fp/lesf2.c: Likewise.
14481 * soft-fp/letf2.c: Likewise.
14482 * soft-fp/muldf3.c: Likewise.
14483 * soft-fp/mulsf3.c: Likewise.
14484 * soft-fp/multf3.c: Likewise.
14485 * soft-fp/negdf2.c: Likewise.
14486 * soft-fp/negsf2.c: Likewise.
14487 * soft-fp/negtf2.c: Likewise.
14488 * soft-fp/op-1.h: Likewise.
14489 * soft-fp/op-2.h: Likewise.
14490 * soft-fp/op-4.h: Likewise.
14491 * soft-fp/op-8.h: Likewise.
14492 * soft-fp/op-common.h: Likewise.
14493 * soft-fp/quad.h: Likewise.
14494 * soft-fp/single.h: Likewise.
14495 * soft-fp/soft-fp.h: Likewise.
14496 * soft-fp/sqrtdf2.c: Likewise.
14497 * soft-fp/sqrtsf2.c: Likewise.
14498 * soft-fp/sqrttf2.c: Likewise.
14499 * soft-fp/subdf3.c: Likewise.
14500 * soft-fp/subsf3.c: Likewise.
14501 * soft-fp/subtf3.c: Likewise.
14502 * soft-fp/truncdfsf2.c: Likewise.
14503 * soft-fp/trunctfdf2.c: Likewise.
14504 * soft-fp/trunctfsf2.c: Likewise.
14505 * soft-fp/trunctfxf2.c: Likewise.
14506 * soft-fp/unorddf2.c: Likewise.
14507 * soft-fp/unordsf2.c: Likewise.
14508 * soft-fp/unordtf2.c: Likewise.
14510 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14512 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14513 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14515 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14517 * elf/dl-libc.c: Clear initfini list after freeing.
14519 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14521 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14522 * soft-fp/addsf3.c: Likewise.
14523 * soft-fp/addtf3.c: Likewise.
14524 * soft-fp/divdf3.c: Likewise.
14525 * soft-fp/divsf3.c: Likewise.
14526 * soft-fp/divtf3.c: Likewise.
14527 * soft-fp/double.h: Likewise.
14528 * soft-fp/eqdf2.c: Likewise.
14529 * soft-fp/eqsf2.c: Likewise.
14530 * soft-fp/eqtf2.c: Likewise.
14531 * soft-fp/extenddftf2.c: Likewise.
14532 * soft-fp/extended.h: Likewise.
14533 * soft-fp/extendsfdf2.c: Likewise.
14534 * soft-fp/extendsftf2.c: Likewise.
14535 * soft-fp/extendxftf2.c: Likewise.
14536 * soft-fp/fixdfdi.c: Likewise.
14537 * soft-fp/fixdfsi.c: Likewise.
14538 * soft-fp/fixdfti.c: Likewise.
14539 * soft-fp/fixsfdi.c: Likewise.
14540 * soft-fp/fixsfsi.c: Likewise.
14541 * soft-fp/fixsfti.c: Likewise.
14542 * soft-fp/fixtfdi.c: Likewise.
14543 * soft-fp/fixtfsi.c: Likewise.
14544 * soft-fp/fixtfti.c: Likewise.
14545 * soft-fp/fixunsdfdi.c: Likewise.
14546 * soft-fp/fixunsdfsi.c: Likewise.
14547 * soft-fp/fixunsdfti.c: Likewise.
14548 * soft-fp/fixunssfdi.c: Likewise.
14549 * soft-fp/fixunssfsi.c: Likewise.
14550 * soft-fp/fixunssfti.c: Likewise.
14551 * soft-fp/fixunstfdi.c: Likewise.
14552 * soft-fp/fixunstfsi.c: Likewise.
14553 * soft-fp/fixunstfti.c: Likewise.
14554 * soft-fp/floatdidf.c: Likewise.
14555 * soft-fp/floatdisf.c: Likewise.
14556 * soft-fp/floatditf.c: Likewise.
14557 * soft-fp/floatsidf.c: Likewise.
14558 * soft-fp/floatsisf.c: Likewise.
14559 * soft-fp/floatsitf.c: Likewise.
14560 * soft-fp/floattidf.c: Likewise.
14561 * soft-fp/floattisf.c: Likewise.
14562 * soft-fp/floattitf.c: Likewise.
14563 * soft-fp/floatundidf.c: Likewise.
14564 * soft-fp/floatundisf.c: Likewise.
14565 * soft-fp/floatunsidf.c: Likewise.
14566 * soft-fp/floatunsisf.c: Likewise.
14567 * soft-fp/floatuntidf.c: Likewise.
14568 * soft-fp/floatuntisf.c: Likewise.
14569 * soft-fp/floatuntitf.c: Likewise.
14570 * soft-fp/fmadf4.c: Likewise.
14571 * soft-fp/fmasf4.c: Likewise.
14572 * soft-fp/fmatf4.c: Likewise.
14573 * soft-fp/gedf2.c: Likewise.
14574 * soft-fp/gesf2.c: Likewise.
14575 * soft-fp/getf2.c: Likewise.
14576 * soft-fp/ledf2.c: Likewise.
14577 * soft-fp/lesf2.c: Likewise.
14578 * soft-fp/letf2.c: Likewise.
14579 * soft-fp/muldf3.c: Likewise.
14580 * soft-fp/mulsf3.c: Likewise.
14581 * soft-fp/multf3.c: Likewise.
14582 * soft-fp/negdf2.c: Likewise.
14583 * soft-fp/negsf2.c: Likewise.
14584 * soft-fp/negtf2.c: Likewise.
14585 * soft-fp/op-1.h: Likewise.
14586 * soft-fp/op-2.h: Likewise.
14587 * soft-fp/op-4.h: Likewise.
14588 * soft-fp/op-8.h: Likewise.
14589 * soft-fp/op-common.h: Likewise.
14590 * soft-fp/quad.h: Likewise.
14591 * soft-fp/single.h: Likewise.
14592 * soft-fp/soft-fp.h: Likewise.
14593 * soft-fp/sqrtdf2.c: Likewise.
14594 * soft-fp/sqrtsf2.c: Likewise.
14595 * soft-fp/sqrttf2.c: Likewise.
14596 * soft-fp/subdf3.c: Likewise.
14597 * soft-fp/subsf3.c: Likewise.
14598 * soft-fp/subtf3.c: Likewise.
14599 * soft-fp/truncdfsf2.c: Likewise.
14600 * soft-fp/trunctfdf2.c: Likewise.
14601 * soft-fp/trunctfsf2.c: Likewise.
14602 * soft-fp/trunctfxf2.c: Likewise.
14603 * soft-fp/unorddf2.c: Likewise.
14604 * soft-fp/unordsf2.c: Likewise.
14605 * soft-fp/unordtf2.c: Likewise.
14607 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14610 * misc/error.c (error_tail): Fix possible buffer overflow.
14612 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14615 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14618 2013-10-14 P. J. McDermott <pj@pehjota.net>
14621 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14622 testing pipefail option.
14624 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14626 * soft-fp/double.h: Indent preprocessor directives inside #if.
14627 * soft-fp/extended.h: Likewise.
14628 * soft-fp/op-2.h: Likewise.
14629 * soft-fp/op-4.h: Likewise.
14630 * soft-fp/op-common.h: Likewise.
14631 * soft-fp/quad.h: Likewise.
14632 * soft-fp/single.h: Likewise.
14633 * soft-fp/soft-fp.h: Likewise.
14635 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14637 * iconv/iconv_prog.c: Fix typos.
14638 * stdio-common/psiginfo-data.h: Likewise.
14640 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14643 * locale/setlocale.c: Fix typo.
14645 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14648 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14649 signaling NaN arguments.
14650 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14651 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14654 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14655 unordered operands.
14656 * soft-fp/gesf2.c (__gesf2): Likewise.
14657 * soft-fp/getf2.c (__getf2): Likewise.
14658 * soft-fp/ledf2.c (__ledf2): Likewise.
14659 * soft-fp/lesf2.c (__lesf2): Likewise.
14660 * soft-fp/letf2.c (__letf2): Likewise.
14662 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14663 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14664 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14665 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14666 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14667 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14668 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14669 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14670 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14671 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14672 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14673 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14674 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14675 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14676 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14677 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14678 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14679 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14680 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14681 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14682 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14683 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14684 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14685 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14686 * soft-fp/floattidf.c (__floattidf): Likewise.
14687 * soft-fp/floattisf.c (__floattisf): Likewise.
14688 * soft-fp/floattitf.c (__floattitf): Likewise.
14689 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14690 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14691 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14692 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14693 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14694 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14695 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14696 * soft-fp/gesf2.c (__gesf2): Likewise.
14697 * soft-fp/getf2.c (__getf2): Likewise.
14698 * soft-fp/ledf2.c (__ledf2): Likewise.
14699 * soft-fp/lesf2.c (__lesf2): Likewise.
14700 * soft-fp/letf2.c (__letf2): Likewise.
14702 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14703 Undefine and redefine.
14704 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14705 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14706 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14707 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14708 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14709 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14710 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14711 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14712 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14713 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14714 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14715 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14716 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14717 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14718 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14721 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14722 without decrementing exponent if mantissa >= that for the
14723 denominator, not >.
14724 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14725 denominator, not >. Decrement exponent in < case instead of
14726 incrementing in >= case.
14727 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14728 without decrementing exponent if mantissa >= that for the
14729 denominator, not >.
14731 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14732 computing saturated result for unsigned overflow.
14734 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14735 Jeff Law <law@redhat.com>
14737 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14738 (atan2Mp): Add systemtap probe marker.
14739 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14740 (__ieee754_log): Add systemtap probe marker.
14741 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14742 (atanMp): Add systemtap probe marker.
14743 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14744 (tanMp): Add systemtap probe marker.
14745 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14746 (__slowexp): Add systemtap probe marker.
14747 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14748 (__slowpow): Add systemtap probe marker.
14749 * manual/probes.texi: Document probes.
14751 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14754 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14756 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14758 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14759 written to buffer but not flushed.
14760 * libio/iofwrite_u.c: Likewise.
14761 * libio/iopadn.c: Return bytes returned even if EOF was
14763 * libio/iowpadn.c: Likewise.
14764 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14765 if _IO_padn does not write the whole buffer.
14766 [!COMPILE_WPRINTF] (PAD): Likewise.
14768 2013-10-10 David S. Miller <davem@davemloft.net>
14770 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14773 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14775 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14776 instead of FSF address.
14777 * soft-fp/fixdfti.c: Likewise.
14778 * soft-fp/fixsfti.c: Likewise.
14779 * soft-fp/fixtfti.c: Likewise.
14780 * soft-fp/fixunsdfti.c: Likewise.
14781 * soft-fp/fixunssfti.c: Likewise.
14782 * soft-fp/fixunstfti.c: Likewise.
14783 * soft-fp/floattidf.c: Likewise.
14784 * soft-fp/floattisf.c: Likewise.
14785 * soft-fp/floattitf.c: Likewise.
14786 * soft-fp/floatuntidf.c: Likewise.
14787 * soft-fp/floatuntisf.c: Likewise.
14788 * soft-fp/floatuntitf.c: Likewise.
14789 * soft-fp/trunctfxf2.c: Likewise.
14791 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14792 * soft-fp/fixdfti.c: Likewise.
14793 * soft-fp/fixsfti.c: Likewise.
14794 * soft-fp/fixtfti.c: Likewise.
14795 * soft-fp/fixunsdfti.c: Likewise.
14796 * soft-fp/fixunssfti.c: Likewise.
14797 * soft-fp/fixunstfti.c: Likewise.
14798 * soft-fp/floattidf.c: Likewise.
14799 * soft-fp/floattisf.c: Likewise.
14800 * soft-fp/floattitf.c: Likewise.
14801 * soft-fp/floatuntidf.c: Likewise.
14802 * soft-fp/floatuntisf.c: Likewise.
14803 * soft-fp/floatuntitf.c: Likewise.
14804 * soft-fp/trunctfxf2.c: Likewise.
14806 2013-10-10 David S. Miller <davem@davemloft.net>
14808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14810 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14812 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14813 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14814 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14815 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14816 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14817 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14818 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14821 for NaNs before doing comparisons on argument.
14822 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14825 2013-10-10 Will Newton <will.newton@linaro.org>
14827 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14828 passed to _int_memalign does not overflow.
14830 2013-10-10 Torvald Riegel <triegel@redhat.com>
14832 * scripts/bench.pl: Add include-sources directive.
14833 * benchtests/README: Update documentation.
14835 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14837 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14838 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14839 instead of FP_INIT_ROUNDMODE.
14840 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14841 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14844 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14845 copy class of input value.
14846 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14847 not handle exceptions.
14848 * soft-fp/negsf2.c (__negsf2): Likewise.
14849 * soft-fp/negtf2.c (__negtf2): Likewise.
14850 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14852 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14854 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14855 semicolon. From Linux kernel.
14857 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14859 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14861 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14864 * manual/socket.texi: Added statement about buffer
14865 for gethostbyname2_r.
14867 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14869 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14870 Use .p2align directive instead, throughout.
14871 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14872 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14873 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14874 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14875 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14876 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14877 * sysdeps/x86_64/strchr.S: Likewise.
14878 * sysdeps/x86_64/strrchr.S: Likewise.
14880 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14882 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14884 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14886 * sysdeps/generic/math_private.h (__mpsin1): Remove
14888 (__mpcos1): Likewise.
14889 (__mpsin): New argument __range_reduce.
14890 (__mpcos): Likewise.
14891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14892 (slow): Use __mpsin and __mpcos.
14896 (sloww1): Likewise.
14897 (sloww2): Likewise.
14898 (bsloww): Likewise.
14899 (bsloww1): Likewise.
14900 (bsloww2): Likewise.
14901 (cslow2): Likewise.
14902 (csloww): Likewise.
14903 (csloww1): Likewise.
14904 (csloww2): Likewise.
14905 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14906 range_reduce. Merge in __mpsin1.
14907 (__mpcos): Likewise.
14908 (__mpsin1): Remove.
14909 (__mpcos1): Likewise.
14911 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14913 * locale/loadlocale.c (_nl_intern_locale_data): Use
14915 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14916 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14917 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14918 obstack data is appropriately aligned.
14919 (obstack_int32_grow_fast): Likewise.
14920 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14921 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14922 (add_locale_uint32_array): Likewise.
14924 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14926 * benchtests/Makefile: Remove ARGLIST and RET variables.
14927 ($(objpfx)bench-%.c): Pass only function name to the script.
14928 * benchtests/README: Update documentation.
14929 * benchtests/acos-inputs: Add new directives.
14930 * benchtests/acosh-inputs: Likewise.
14931 * benchtests/asin-inputs: Likewise.
14932 * benchtests/asinh-inputs: Likewise.
14933 * benchtests/atan-inputs: Likewise.
14934 * benchtests/atanh-inputs: Likewise.
14935 * benchtests/cos-inputs: Likewise.
14936 * benchtests/cosh-inputs: Likewise.
14937 * benchtests/exp-inputs: Likewise.
14938 * benchtests/log-inputs: Likewise.
14939 * benchtests/pow-inputs: Likewise.
14940 * benchtests/rint-inputs: Likewise.
14941 * benchtests/sin-inputs: Likewise.
14942 * benchtests/sinh-inputs: Likewise.
14943 * benchtests/tan-inputs: Likewise.
14944 * benchtests/tanh-inputs: Likewise.
14945 * scripts/bench.pl: Add support for new directives.
14947 2013-10-07 Alan Modra <amodra@gmail.com>
14949 * README: Fix careless merge.
14951 2013-10-05 Alan Modra <amodra@gmail.com>
14953 * NEWS: Mention powerpc64le support and bugs fixed.
14954 * README: Both big-endian and little-endian powerpc64 supported.
14956 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14958 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14959 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14960 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14961 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14963 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14965 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14968 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14970 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14971 Move -mhard-float appending from
14972 ports/sysdeps/powerpc/powerpc32/Makefile.
14973 [$(with-fp) = yes] (ASFLAGS): Likewise.
14974 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14975 * sysdeps/powerpc/nofpu: Move directory from
14976 ports/sysdeps/powerpc/nofpu.
14977 * sysdeps/powerpc/soft-fp: Move directory from
14978 ports/sysdeps/powerpc/soft-fp.
14979 * sysdeps/powerpc/powerpc32/405: Move directory from
14980 ports/sysdeps/powerpc/powerpc32/405.
14981 * sysdeps/powerpc/powerpc32/440: Move directory from
14982 ports/sysdeps/powerpc/powerpc32/440.
14983 * sysdeps/powerpc/powerpc32/464: Move directory from
14984 ports/sysdeps/powerpc/powerpc32/464.
14985 * sysdeps/powerpc/powerpc32/476: Move directory from
14986 ports/sysdeps/powerpc/powerpc32/476.
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14988 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14990 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14992 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14994 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14996 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14997 * README: Update for powerpc-*-linux-gnu software floating point
15000 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15001 case to powerpc/powerpc32*.
15002 * sysdeps/unix/sysv/linux/configure: Regenerated.
15004 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15005 (_FPU_MASK_OM): Define as 0x04.
15006 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15011 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15014 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15017 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15020 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15021 and setcontext_e500.
15023 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15025 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15027 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15029 * manual/threads.texi (Default Thread Attributes): Fix typo.
15031 2013-10-04 Will Newton <will.newton@linaro.org>
15033 * malloc/Makefile: Add tst-memalign.
15034 * malloc/tst-memalign.c: New file.
15036 * malloc/tst-posix_memalign.c: Add comments.
15037 (do_test): Add comments and call free on all potentially
15038 allocated pointers. Add space after cast.
15040 * malloc/tst-pvalloc.c: Add comments.
15041 (do_test): Add comments and call free on all potentially
15042 allocated pointers. Remove duplicate check for NULL pointer.
15043 Add space after cast.
15045 * malloc/tst-valloc.c: Add comments.
15046 (do_test): Add comments and call free on all potentially
15047 allocated pointers. Remove duplicate check for NULL pointer.
15048 Add space after cast.
15050 2013-10-04 Alan Modra <amodra@gmail.com>
15052 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15053 Use stdint types in rather than __attribute__((mode())).
15054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15056 2013-10-04 Alan Modra <amodra@gmail.com>
15058 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15059 Correct handling of unaligned relocs for little-endian.
15060 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15062 2013-10-04 Alan Modra <amodra@gmail.com>
15064 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15065 * configure: Regenerate.
15066 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15067 * shlib-versions: Likewise.
15069 2013-10-04 Alan Modra <amodra@gmail.com>
15071 * string/tester.c (test_memrchr): Increment reported test cycle.
15073 2013-10-04 Alan Modra <amodra@gmail.com>
15075 * string/test-memcpy.c (do_one_test): When reporting errors, print
15076 string address and don't overrun end of string.
15078 2013-10-04 Alan Modra <amodra@gmail.com>
15080 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15081 insrdi. Make better use of reg selection to speed exit slightly.
15082 Schedule entry path a little better. Remove useless "are we done"
15083 checks on entry to main loop. Handle wrapping around zero address.
15084 Correct main loop count. Handle single left-over word from main
15085 loop inline rather than by using loop_small. Remove extra word
15086 case in loop_small caused by wrong loop count. Add little-endian
15088 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15089 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15091 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15092 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15093 support. Avoid rlwimi.
15094 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15096 2013-10-04 Alan Modra <amodra@gmail.com>
15098 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15099 insrdi. Formatting.
15100 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15101 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15102 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15103 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15104 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15105 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15107 2013-10-04 Alan Modra <amodra@gmail.com>
15109 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15110 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15112 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15113 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15114 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15115 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15116 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15117 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15118 use of regs. Use power7 mtocrf. Tidy function tails.
15120 2013-10-04 Alan Modra <amodra@gmail.com>
15122 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15123 Formatting. Consistently use rXXX register defines or rN defines.
15124 Use early exit labels that avoid restoring unused non-volatile regs.
15125 Make cr field use more consistent with rWORDn compares. Rename
15126 regs used as shift registers for unaligned loop, using rN defines
15127 for short lifetime/multiple use regs.
15128 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15129 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15130 addi 1,1,64 to pop stack frame. Simplify return value code.
15131 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15133 2013-10-04 Alan Modra <amodra@gmail.com>
15135 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15136 support. Correct typos, formatting. Optimize tail. Use insrdi
15137 rather than rlwimi.
15138 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15139 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15140 little-endian support. Correct typos.
15141 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15142 rather than rlwimi.
15143 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15144 in loop and entry code to keep "and." results.
15145 (strchr): Add little-endian support. Comment. Move cntlzd
15147 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15149 2013-10-04 Alan Modra <amodra@gmail.com>
15151 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15152 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15153 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15154 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15156 2013-10-04 Alan Modra <amodra@gmail.com>
15158 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15159 (rTMP): Define as r11.
15160 (strcmp): Add little-endian support. Optimise tail.
15161 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15162 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15163 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15164 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15165 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15166 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15167 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15169 2013-10-04 Alan Modra <amodra@gmail.com>
15171 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15172 little-endian support. Remove unnecessary "are we done" tests.
15173 Handle "s" wrapping around zero and extremely large "size".
15174 Correct main loop count. Handle single left-over word from main
15175 loop inline rather than by using small_loop. Correct comments.
15176 Delete "zero" tail, use "end_max" instead.
15177 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15179 2013-10-04 Alan Modra <amodra@gmail.com>
15181 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15182 support. Don't branch over align.
15183 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15184 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15185 support. Rearrange tmp reg use to suit. Comment.
15186 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15188 2013-10-04 Alan Modra <amodra@gmail.com>
15190 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15192 2013-10-04 Alan Modra <amodra@gmail.com>
15194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15195 conditional form of branch and link when obtaining pc.
15196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15198 2013-10-04 Alan Modra <amodra@gmail.com>
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15205 2013-10-04 Alan Modra <amodra@gmail.com>
15207 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15208 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15209 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15210 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15211 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15212 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15213 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15214 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15215 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15216 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15218 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15219 Alistair Popple <alistair@ozlabs.au.ibm.com>
15220 Alan Modra <amodra@gmail.com>
15223 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15224 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15225 _dl_hwcap access for little-endian.
15226 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15227 destroy vmx regs when saving unaligned.
15228 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15229 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15230 destroy vmx regs when saving unaligned.
15232 2013-10-04 Alan Modra <amodra@gmail.com>
15234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15235 Don't use a union to pack hi/low value.
15237 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15239 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15241 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15242 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15243 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15244 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15245 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15247 2013-10-04 Alan Modra <amodra@gmail.com>
15249 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15250 constants to usual value for .cst8 section, and remove redundant
15252 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15253 constant for 0x1p52. Load little-endian words of double from
15254 correct stack offsets.
15256 2013-10-04 Alan Modra <amodra@gmail.com>
15258 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15259 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15260 words of double from correct stack offsets.
15261 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15262 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15263 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15264 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15265 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15266 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15268 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15269 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15271 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15272 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15273 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15274 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15275 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15276 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15277 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15279 2013-10-04 Alan Modra <amodra@gmail.com>
15281 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15282 64-bit int/double union.
15283 (_FPU_SETCW): Likewise.
15284 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15285 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15287 2013-10-04 Alan Modra <amodra@gmail.com>
15289 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15290 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15292 2013-10-04 Alan Modra <amodra@gmail.com>
15294 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15295 use vector int constants.
15296 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15298 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15300 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15301 array with long long.
15302 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15303 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15304 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15305 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15306 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15307 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15308 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15309 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15310 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15311 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15312 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15313 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15314 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15316 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15318 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15319 (__signbit): Likewise. Correct for little-endian.
15320 (__signbitl): Call __signbit.
15321 (lrint): Correct for little-endian.
15322 (lrintf): Call lrint.
15324 2013-10-04 Alan Modra <amodra@gmail.com>
15326 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15327 union 32-bit int array member with 64-bit int array.
15328 (t515, tm256): Double rather than long double.
15329 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15331 2013-10-04 Alan Modra <amodra@gmail.com>
15333 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15335 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15336 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15337 version of math_ldbl.h.
15339 2013-10-04 Alan Modra <amodra@gmail.com>
15341 [BZ #15734], [BZ #15735]
15342 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15343 all uses of ieee875 long double macros and unions. Simplify test
15344 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15345 ldbl_extract_mantissa value for ix,iy exponents. Properly
15346 normalize after ldbl_extract_mantissa, and don't add hidden bit
15347 already handled. Don't treat low word of ieee854 mantissa like
15348 low word of IBM long double and mask off bit when testing for
15350 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15351 all uses of ieee875 long double macros and unions. Simplify tests
15352 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15353 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15354 two1022, instead use their values. Recognise that tests for large
15355 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15356 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15357 Rewrite all uses of ieee875 long double macros and unions. Simplify
15358 test for 0.0L and nan. Correct negation.
15359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15360 ieee875 long double macros and unions. Correct output for large
15361 magnitude x. Correct absolute value calculation.
15362 (__erfcl): Likewise.
15363 * math/libm-test.inc: Add tests for errors discovered in IBM long
15364 double versions of fmodl, remainderl, erfl and erfcl.
15366 2013-10-04 Alan Modra <amodra@gmail.com>
15368 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15369 all uses of ieee854 long double macros and unions. Simplify tests
15370 for long doubles that are fully specified by the high double.
15371 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15373 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15374 Remove dead code too.
15375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15376 (__ieee754_ynl): Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15378 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15380 Remove dead code too.
15381 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15384 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15386 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15389 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15390 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15391 Comment on variable precision.
15392 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15395 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15397 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15398 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15399 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15401 2013-10-04 Alan Modra <amodra@gmail.com>
15403 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15404 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15405 all uses of ieee854 long double macros and unions.
15406 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15407 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15408 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15409 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15410 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15411 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15413 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15414 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15415 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15416 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15417 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15418 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15419 Simplify sign and nan test too.
15420 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15421 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15422 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15423 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15425 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15426 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15429 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15430 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15431 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15432 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15435 2013-10-04 Alan Modra <amodra@gmail.com>
15437 * stdio-common/printf_size.c (__printf_size): Don't use
15438 union ieee854_long_double in fpnum union.
15439 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15440 signbit macro to retrieve sign from long double.
15441 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15442 retrieve sign from long double.
15443 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15444 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15445 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15446 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15447 * math/test-misc.c (main): Don't use union ieee854_long_double.
15449 2013-10-04 Alan Modra <amodra@gmail.com>
15452 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15453 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15454 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15455 calculation. Remove unnecessary test for denormal exponent.
15456 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15457 Correct handling of denormals. Avoid undefined shift behaviour.
15458 Correct normalisation of low mantissa when low double is denormal.
15459 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15460 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15461 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15462 Correct normalisation of low mantissa. Test for overflow of high
15463 mantissa and normalise.
15464 (ldbl_nearbyint): Use more readable constant for two52.
15465 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15466 (__mpn_construct_long_double): Fix test for overflow of high
15467 mantissa and correct normalisation. Avoid undefined shift.
15469 2013-10-04 Alan Modra <amodra@gmail.com>
15471 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15472 (union ibm_extended_long_double): Define as an array of ieee754_double.
15473 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15474 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15475 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15476 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15480 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15483 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15485 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15487 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15488 page size instead of calling getpagesize.
15490 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15491 (LOCFILE_ALIGN_MASK): Likewise.
15492 (LOCFILE_ALIGN_UP): Likewise.
15493 (LOCFILE_ALIGNED_P): Likewise.
15494 * locale/programs/ld-collate.c (collate_output): Use the new
15495 macros instead of __alignof__ (int32_t).
15496 * locale/weight.h (findidx): Likewise.
15498 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15501 * manual/string.texi: Fix strncat and wcsncat.
15503 2013-10-03 Brooks Moses <bmoses@google.com>
15506 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15507 * Makerules: ...here, and adjust associated comments.
15509 2013-10-02 Will Newton <will.newton@linaro.org>
15511 * malloc/Makefile: Add tst-pvalloc.
15512 * malloc/tst-pvalloc.c: New file.
15514 2013-10-02 Will Newton <will.newton@linaro.org>
15516 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15517 improve test coverage.
15519 2013-10-02 Will Newton <will.newton@linaro.org>
15521 * malloc/Makefile: Add tst-posix_memalign.
15522 * malloc/tst-posix_memalign.c: New file.
15524 2013-10-01 Eric Blake <eblake@redhat.com>
15526 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15527 Use __THROWNL rather than __THROW on static functions.
15529 2013-09-30 Petr Machata <pmachata@redhat.com>
15531 * elf/elf.h (R_AARCH64_ABS16): New macro.
15532 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15533 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15534 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15535 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15536 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15537 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15538 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15539 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15540 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15541 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15542 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15543 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15544 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15545 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15546 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15547 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15548 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15549 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15550 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15551 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15552 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15553 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15554 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15555 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15556 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15557 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15558 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15559 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15560 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15561 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15562 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15563 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15564 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15565 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15566 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15567 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15568 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15569 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15570 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15571 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15572 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15573 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15574 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15575 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15576 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15577 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15578 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15579 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15580 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15581 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15582 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15583 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15584 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15585 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15586 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15587 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15588 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15589 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15590 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15591 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15592 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15593 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15594 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15595 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15596 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15597 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15598 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15599 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15600 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15601 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15602 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15603 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15604 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15605 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15606 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15607 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15608 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15609 (R_AARCH64_TLSDESC_LDR): Likewise.
15610 (R_AARCH64_TLSDESC_ADD): Likewise.
15611 (R_AARCH64_TLSDESC_CALL): Likewise.
15613 2013-09-30 Andreas Schwab <schwab@suse.de>
15616 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15617 the nss database lookup.
15618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15621 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15623 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15625 2013-09-28 P. J. McDermott <pj@pehjota.net>
15627 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15628 ${Bash-specific parameter/pattern/string} parameter expansion.
15629 * sysdeps/unix/make-syscalls.sh: Likewise.
15631 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15633 * sysdeps/sh/stackguard-macros.h: New file.
15635 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15638 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15639 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15640 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15641 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15642 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15644 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15646 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15647 Fix thread ID register.
15649 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15651 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15652 [POSIX || UNIX98]: Require rather than permitting all symbols from
15654 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15655 element of struct sched_param.
15656 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15657 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15658 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15659 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15662 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15664 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15665 argument calculation.
15667 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15669 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15671 [POSIX] (pthread_attr_t): Do not require type.
15672 [POSIX] (pthread_cond_t): Likewise.
15673 [POSIX] (pthread_condattr_t): Likewise.
15674 [POSIX] (pthread_key_t): Likewise.
15675 [POSIX] (pthread_mutex_t): Likewise.
15676 [POSIX] (pthread_mutexattr_t): Likewise.
15677 [POSIX] (pthread_once_t): Likewise.
15678 [POSIX] (pthread_t): Likewise.
15679 [POSIX-based standards] (pthread_atfork): Expect function.
15681 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15682 Richard Sandiford <richard@codesourcery.com>
15684 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15685 (swap_endianness_p): New extern variable.
15686 (set_big_endian): New inline function.
15687 (maybe_swap_uint32): Likewise.
15688 (maybe_swap_uint32_array): Likewise.
15689 (maybe_swap_uint32_obstack): Likewise.
15690 * locale/programs/locfile.c: Include <stdbool.h>.
15691 (swap_endianness_p): New variable.
15692 (add_locale_uint32): Call maybe_swap_uint32.
15693 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15694 (write_locale_data): Call maybe_swap_uint32_array.
15695 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15697 (obstack_int32_grow_fast): Likewise.
15698 (output_weightwc): Call maybe_swap_uint32_obstack.
15699 (collate_output): Likewise.
15700 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15701 (OPT_LITTLE_ENDIAN): Likewise.
15702 (options): Add --little-endian and --big-endian options.
15703 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15704 * locale/programs/locarchive.c: Include "locfile.h".
15708 (create_archive): Use the new macros to access fields of
15709 structures directly mapped from or written to locale archives.
15710 (oldlocrecentcmp): Likewise.
15711 (enlarge_archive): Likewise.
15712 (insert_name): Likewise.
15713 (add_alias): Likewise.
15714 (add_locale): Likewise.
15715 (delete_locales_from_archive): Likewise.
15716 (show_archive_content): Likewise.
15717 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15720 2013-09-24 Roland McGrath <roland@hack.frob.com>
15722 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15723 http://www.gnu.org/doc/freemanuals.texi.
15724 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15726 2013-09-24 Will Newton <will.newton@linaro.org>
15728 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15731 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15733 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15736 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15738 * manual/threads.texi (POSIX Threads): Fix a typo.
15740 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15743 * string/tst-strcoll-overflow.c: New test case.
15744 * string/Makefile (xtests): Add tst-strcoll-overflow.
15745 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15746 cache if string sizes may cause integer overflow.
15749 * string/strcoll_l.c (coll_seq): New members rule, idx,
15750 save_idx and back_us.
15751 (get_next_seq_nocache): New function.
15752 (do_compare_nocache): New function.
15753 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15756 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15759 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15760 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15761 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15764 * elf/Makefile (tests): Add tst-ptrguard1.
15765 (tests-static): Add tst-ptrguard1-static.
15766 (tst-ptrguard1-ARGS): Define.
15767 (tst-ptrguard1-static-ARGS): Define.
15768 * elf/tst-ptrguard1.c: New file.
15769 * elf/tst-ptrguard1-static.c: New file.
15770 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15771 * sysdeps/i386/stackguard-macros.h: Likewise.
15772 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15773 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15774 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15775 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15776 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15777 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15779 2013-09-23 Hector Marco <hecmargi@upv.es>
15780 Ismael Ripoll <iripoll@disca.upv.es>
15781 Carlos O'Donell <carlos@redhat.com>
15784 * sysdeps/generic/stackguard-macros.h: Define
15785 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15786 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15787 Define __pointer_chk_guard_local.
15788 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15789 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15791 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15794 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15796 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15798 * include/string.h (__ffs): Declare as hidden.
15799 * string/ffs.c (__ffs): Define as hidden.
15800 * sysdeps/i386/ffs.c (__ffs): Likewise.
15801 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15802 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15803 * sysdeps/s390/ffs.c (__ffs): Likewise.
15804 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15806 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15808 * NEWS: Mention malloc probes.
15810 * malloc/arena.c (new_heap): New memory_heap_new probe.
15811 (grow_heap): New memory_heap_more probe.
15812 (shrink_heap): New memory_heap_less probe.
15813 (heap_trim): New memory_heap_free probe.
15814 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15815 (systrim): New memory_sbrk_less probe.
15816 * manual/probes.texi: Document them.
15818 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15819 * manual/probes.texi: Document it.
15821 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15822 (__libc_realloc): Add memory_realloc_retry probe.
15823 (__libc_memalign): Add memory_memalign_retry probe.
15824 (__libc_valloc): Add memory_valloc_retry probe.
15825 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15826 (__libc_calloc): Add memory_calloc_retry probe.
15827 * manual/probes.texi: Document them.
15829 * malloc/arena.c (get_free_list): Add probe
15830 memory_arena_reuse_free_list.
15831 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15832 and memory_arena_reuse.
15833 (arena_get2) [!PER_THREAD]: Likewise.
15834 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15835 memory_arena_reuse_realloc.
15836 * manual/probes.texi: Document them.
15838 * malloc/malloc.c (__libc_free): Add
15839 memory_mallopt_free_dyn_thresholds probe.
15840 (__libc_mallopt): Add multiple memory_mallopt probes.
15841 * manual/probes.texi: Document them.
15843 * malloc/malloc.c: Include stap-probe.h.
15844 (__libc_mallopt): Add memory_mallopt probe.
15845 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15846 * manual/probes.texi: New.
15847 * manual/Makefile (chapters): Add probes.
15848 * manual/threads.texi: Set next node.
15850 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15852 [BZ #15963, #13985]
15853 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15854 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15855 Add `Chinese' to `nan' entry name.
15857 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15859 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15860 (POLYNOMIAL): Likewise.
15861 (TAYLOR_SINCOS): Likewise.
15862 (TAYLOR_SLOW): Likewise.
15863 (__sin): Use TAYLOR_SINCOS.
15865 (slow): Use TAYLOR_SLOW.
15867 (bsloww): Likewise.
15868 (csloww): Likewise.
15870 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15872 * stdlib/strtod_l.c: Fix buffer overrun.
15874 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15876 * benchtests/Makefile (bench): Add sincos.
15877 * benchtests/bench-sincos.c: New file.
15879 * math/libm-test.inc (cos_test_data): New test inputs.
15880 (sin_test_data): Likewise.
15882 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15888 (sloww1): Likewise.
15889 (sloww2): Likewise.
15890 (bsloww1): Likewise.
15891 (bsloww2): Likewise.
15892 (cslow2): Likewise.
15893 (csloww1): Likewise.
15894 (csloww2): Likewise.
15896 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15901 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15905 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15907 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15908 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15909 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15910 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15911 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15912 * elf/cache.c (print_entry): Handle the new cache flags.
15914 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15915 Aldy Hernandez <aldyh@redhat.com>
15917 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15918 Change condition to [_SOFT_FLOAT].
15919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15931 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15934 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15937 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15939 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15940 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15941 (__longjmp): Use LOAD_GP to load saved GPRs.
15942 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15943 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15944 (__sigsetjmp): Use SAVE_GP to save GPRs.
15946 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15947 Do not append -msoft-float.
15948 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15950 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15952 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15954 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15957 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15958 (_FPU_GETCW): Use initial "__" on variable and field names but not
15959 on macro parameter name.
15960 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15961 parentheses around reference to macro parameter.
15963 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15965 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15967 (ctype_startup): Use uint32_t in cast and sizeof for
15970 2013-09-11 Jia Liu <proljc@gmail.com>
15972 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15974 [__FreeBSD__]: Likewise.
15976 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15979 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15980 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15981 (strchr): Remove __strchr_sse42 ifunc selection.
15982 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15983 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15985 2013-09-11 Will Newton <will.newton@linaro.org>
15987 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15988 parameter to RES. Remove hardcoded 1000 value.
15989 * benchtests/bench-skeleton.c (main): Pass RES parameter
15990 to TIMING_INIT and multiply result by 1000.
15992 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15996 2013-09-11 Andreas Schwab <schwab@suse.de>
15998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16000 (O_TMPFILE) [__USE_GNU]: Define.
16001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16004 2013-09-11 Will Newton <will.newton@linaro.org>
16007 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16010 2013-09-11 Will Newton <will.newton@linaro.org>
16013 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16016 2013-09-11 Will Newton <will.newton@linaro.org>
16019 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16022 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16024 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16025 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16027 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16028 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16030 2013-09-10 Allan McRae <allan@archlinux.org>
16033 * manual/arith.texi (Parsing of Floats): Clarify
16037 * manual/install.texi (Running make install): Mention
16039 * INSTALL: Regenerated.
16041 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16043 * csu/init-first.c (_init): Remove the !SHARED condition around
16044 FPU control word initialization.
16045 * elf/dl-support.c (_dl_fpu_control): New variable.
16046 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16047 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16048 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16049 * math/test-fpucw-static.c: New file.
16050 * math/test-fpucw-ieee.c: New file.
16051 * math/test-fpucw-ieee-static.c: New file.
16052 * math/Makefile (tests): Add `test-fpucw-ieee' and
16054 (tests-static): New variable.
16055 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16057 [($(build-shared),yes)]
16058 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16060 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16063 2013-09-09 Allan McRae <allan@archlinux.org>
16066 * manual/string.texi (Collation Functions): Fix typo in
16068 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16071 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16074 * libio/memstream.c (open_memstream): Fix memory leak.
16075 * libio/wmemstream.c (open_wmemstream): Likewise.
16078 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16080 2013-09-09 Will Newton <will.newton@linaro.org>
16082 * malloc/Makefile: Add tst-realloc to tests.
16083 * malloc/tst-realloc.c: New file.
16085 2013-09-09 Allan McRae <allan@archlinux.org>
16088 * COPYING: Update from GNU website to fix FSF address.
16089 * COPYING.LIB: Likewise.
16091 2013-09-06 David S. Miller <davem@davemloft.net>
16093 * po/zh_TW.po: Update Chinese (traditional) translation from
16094 translation project.
16096 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16097 Joseph Myers <joseph@codesourcery.com>
16099 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16101 (obstack_chunk_alloc): New macro.
16102 (obstack_chunk_free): Likewise.
16103 (record_offset): New function.
16104 (init_locale_data): Likewise.
16105 (align_locale_data): Likewise.
16106 (add_locale_empty): Likewise.
16107 (add_locale_raw_data): Likewise.
16108 (add_locale_raw_obstack): Likewise.
16109 (add_locale_string): Likewise.
16110 (add_locale_wstring): Likewise.
16111 (add_locale_uint32): Likewise.
16112 (add_locale_uint32_array): Likewise.
16113 (add_locale_char): Likewise.
16114 (start_locale_structure): Likewise.
16115 (end_locale_structure): Likewise.
16116 (start_locale_prelude): Likewise.
16117 (end_locale_prelude): Likewise.
16118 (write_locale_data): Take locale_file structure rather than an
16120 * locale/programs/locfile.h: Include "obstack.h".
16121 (struct locale_file): Change to store locale file contents instead
16123 (init_locale_data): New prototype.
16124 (align_locale_data): Likewise.
16125 (add_locale_empty): Likewise.
16126 (add_locale_raw_data): Likewise.
16127 (add_locale_raw_obstack): Likewise.
16128 (add_locale_string): Likewise.
16129 (add_locale_wstring): Likewise.
16130 (add_locale_uint32): Likewise.
16131 (add_locale_uint32_array): Likewise.
16132 (add_locale_char): Likewise.
16133 (start_locale_structure): Likewise.
16134 (end_locale_structure): Likewise.
16135 (start_locale_prelude): Likewise.
16136 (end_locale_prelude): Likewise.
16137 (write_locale_data): Update prototype.
16138 * locale/programs/3level.h (struct TABLE): Remove result field.
16139 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16140 Use new locale_file interface.
16141 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16142 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16143 * locale/programs/ld-address.c (address_output): Use new
16144 locale_file interface.
16145 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16147 (collate_finish): Don't call collseq_table_finalize.
16148 (collate_output): Use new locale_file interface.
16149 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16151 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16152 (TABLE): Move defines earlier in file.
16153 (ELEMENT): Likewise.
16154 (DEFAULT): Likewise.
16155 (wctrans_table_add): Move macro and inline function earlier in
16157 (struct wctype_table): Move type earlier in file.
16158 (add_locale_wctype_table): New static prototype.
16159 (struct locale_ctype_t): Use logical types instead of struct iovec
16160 pointers for members.
16161 (ctype_output): Use new locale_file interface.
16162 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16163 new locale_file interface.
16164 (allocate_arrays): Update for use of new locale_file interface.
16165 * locale/programs/ld-identification.c (identification_output): Use
16166 new locale_file interface.
16167 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16168 * locale/programs/ld-messages.c (messages_output): Likewise.
16169 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16170 * locale/programs/ld-name.c (name_output): Likewise.
16171 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16172 * locale/programs/ld-paper.c (paper_output): Likewise.
16173 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16174 * locale/programs/ld-time.c (time_output): Likewise.
16176 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16178 * benchtests/Makefile: Add memrchr benchmark.
16179 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16180 benchmark as memrchr.
16181 * benchtests/bench-memrchr-ifunc.c: New file.
16182 * benchtests/bench-memrchr.c: New file.
16184 2013-09-06 Will Newton <will.newton@linaro.org>
16186 * benchtests/Makefile (string-bench): Add memcpy.
16188 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16189 Cong Wang <amwang@redhat.com>
16192 * sysdeps/unix/sysv/linux/bits/in.h
16193 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16194 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16195 before __USE_KERNEL_IPV6_DEFS uses.
16196 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16198 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16199 sockaddr_in6, or ipv6_mreq.
16201 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16203 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16204 memory access for final bytes in some large inputs.
16205 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16207 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16209 * string/test-memrchr.c: New file.
16210 * string/test-memrchr-ifunc.c: New file.
16211 * string/Makefile: Add new memrchr testcase.
16213 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16215 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16216 fanotify_init returns EPERM.
16218 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16220 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16222 (top level): Treat second token from macro or constant entries for
16223 allowed headers as allowed.
16224 * include/complex.h: Condition internal declarations on
16226 * include/fenv.h: Condition include of <stdbool.h> and internal
16227 declarations on [!_ISOMAC].
16229 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16232 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16234 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16236 * configure.in (--enable-versioning): Remove configure option.
16237 (libc_cv_asm_symver_directive): Remove configure test.
16238 (libc_cv_ld_version_script_option): Likewise.
16239 (VERSIONING): Remove variable and AC_SUBST.
16240 (DO_VERSIONING): Remove AC_DEFINE.
16241 * configure: Regenerated.
16242 * config.h.in (DO_VERSIONING): Remove macro.
16243 * Makerules [$(versioning) = yes]: Change conditionals to
16244 [$(build-shared) = yes].
16245 * config.make.in (versioning): Remove variable.
16246 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16247 [$(build-shared) = yes].
16248 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16249 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16250 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16251 [$(build-shared) = yes].
16252 * extra-lib.mk [$(versioning) = yes]: Likewise.
16253 * hurd/Makefile [$(versioning) = yes]: Likewise.
16254 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16256 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16258 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16259 [SHARED && !NO_HIDDEN].
16260 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16262 [SHARED && DO_VERSIONING]: Likewise..
16263 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16264 [$(build-shared) = yes].
16265 * manual/install.texi (--disable-versioning): Remove
16267 * INSTALL: Regenerated.
16268 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16270 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16271 [$(build-shared) = yes].
16272 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16273 * sysdeps/i386/i686/multiarch/strstr-c.c
16274 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16275 [SHARED && !NO_HIDDEN].
16276 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16277 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16278 * sysdeps/powerpc/powerpc32/dl-machine.c
16279 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16280 * sysdeps/powerpc/powerpc32/sysdep.h
16281 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16282 to [SHARED && PIC && !NO_HIDDEN].
16283 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16284 conditional to [SHARED].
16286 2013-09-04 Will Newton <will.newton@linaro.org>
16288 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16289 * benchtests/bench-string.h: Include bench-timing.h instead
16290 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16291 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16292 call to HP_TIMING_DIFF_INIT.
16293 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16294 instead of hp-timing.h macros.
16295 * benchtests/bench-memchr.c: Likewise.
16296 * benchtests/bench-memcmp.c: Likewise.
16297 * benchtests/bench-memcpy.c: Likewise.
16298 * benchtests/bench-memmem.c: Likewise.
16299 * benchtests/bench-memmove.c: Likewise.
16300 * benchtests/bench-memset.c: Likewise.
16301 * benchtests/bench-rawmemchr.c: Likewise.
16302 * benchtests/bench-strcasecmp.c: Likewise.
16303 * benchtests/bench-strcasestr.c: Likewise.
16304 * benchtests/bench-strcat.c: Likewise.
16305 * benchtests/bench-strchr.c: Likewise.
16306 * benchtests/bench-strcmp.c: Likewise.
16307 * benchtests/bench-strcpy.c: Likewise.
16308 * benchtests/bench-strcpy_chk.c: Likewise.
16309 * benchtests/bench-strlen.c: Likewise.
16310 * benchtests/bench-strncasecmp.c: Likewise.
16311 * benchtests/bench-strncat.c: Likewise.
16312 * benchtests/bench-strncmp.c: Likewise.
16313 * benchtests/bench-strncpy.c: Likewise.
16314 * benchtests/bench-strnlen.c: Likewise.
16315 * benchtests/bench-strpbrk.c: Likewise.
16316 * benchtests/bench-strrchr.c: Likewise.
16317 * benchtests/bench-strspn.c: Likewise.
16318 * benchtests/bench-strstr.c: Likewise.
16320 2013-09-04 Will Newton <will.newton@linaro.org>
16322 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16324 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16327 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16328 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16329 * math/libm-test.inc (lgamma_test_data): Add more tests.
16330 * sysdeps/i386/fpu/libm-test-ulps: Update.
16331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16333 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16335 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16339 Add strcmp-sse2-unaligned
16340 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16342 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16344 * Versions.def (libc): Add GLIBC_2.19.
16346 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16348 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16349 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16351 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16354 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16355 intermediate calculations in recurrence.
16356 (__ieee754_ynf): Likewise.
16357 * math/libm-test.inc (jn_test_data): Do not allow spurious
16358 underflow exception. Add more tests.
16359 (yn_test_data): Add more tests.
16360 * sysdeps/i386/fpu/libm-test-ulps: Update.
16361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16363 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16365 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16367 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16369 * csu/init-first.c: Fix then/than typos.
16370 * locale/programs/ld-collate.c: Likewise.
16371 * locale/programs/linereader.h: Likewise.
16372 * manual/charset.texi: Likewise.
16373 * manual/filesys.texi: Likewise.
16374 * manual/stdio.texi: Likewise.
16375 * manual/string.texi: Likewise.
16376 * stdlib/fmtmsg.c: Likewise.
16377 * sysdeps/i386/stpncpy.S: Likewise.
16378 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16379 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16380 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16381 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16383 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16385 * elf/dl-open.c: Fix typos.
16386 * iconvdata/gbbig5.c: Likewise.
16387 * iconvdata/iso-2022-jp.c: Likewise.
16388 * iconv/gconv_int.h: Likewise.
16389 * iconv/loop.c: Likewise.
16390 * nis/rpcsvc/nis.h: Likewise.
16391 * resolv/ns_name.c: Likewise.
16392 * stdio-common/vfscanf.c: Likewise.
16393 * streams/stropts.h: Likewise.
16394 * sunrpc/rpc_thread.c: Likewise.
16395 * sysdeps/i386/strpbrk.S: Likewise.
16396 * sysdeps/ieee754/k_standard.c: Likewise.
16397 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16399 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16400 * sysdeps/mach/hurd/profil.c: Likewise.
16401 * sysdeps/s390/dl-procinfo.h: Likewise.
16402 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16403 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16404 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16405 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16406 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16408 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16410 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16413 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16415 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16416 aix specific files.
16417 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16418 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16419 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16420 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16421 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16422 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16423 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16424 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16426 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16427 Roland McGrath <roland@hack.frob.com>
16429 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16430 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16432 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16434 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16435 __executable_start symbol instead of _start.
16437 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16439 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16440 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16442 * sysdeps/gnu/ldsodefs.h: ... this new file.
16444 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16445 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16446 instead of ELFOSABI_LINUX.
16448 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16449 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16450 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16451 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16453 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16454 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16455 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16457 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16458 (ibm_extended_long_double): Add ieee_nan member.
16459 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16460 (do_test): New function.
16462 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16464 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16465 functions, renamed from truncdfsf_test, trunctfsf_test,
16467 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16469 (do_test): Run all these.
16471 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16473 * argp/argp-help.c: Fix typos.
16474 * argp/argp-parse.c: Likewise.
16475 * debug/backtracesyms.c: Likewise.
16476 * elf/elf.h: Likewise.
16477 * malloc/malloc.c: Likewise.
16478 * nis/nis_print.c: Likewise.
16479 * resolv/res_comp.c: Likewise.
16480 * stdlib/stdlib.h: Likewise.
16481 * sunrpc/clnt_tcp.c: Likewise.
16482 * sunrpc/clnt_udp.c: Likewise.
16483 * sunrpc/clnt_unix.c: Likewise.
16484 * sysdeps/unix/bsd/ptsname.c: Likewise.
16485 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16486 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16493 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16495 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16497 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16500 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16503 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16504 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16505 ($(objpfx)bug-dl-leaf): New rule.
16506 ($(objpfx)bug-dl-leaf.so): Likewise.
16507 ($(objpfx)bug-dl-leaf.out): Likewise.
16508 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16509 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16510 * dlfcn/bug-dl-leaf.c: New test.
16511 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16512 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16513 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16514 (dlclose): Likewise.
16515 (dlmopen): Likewise.
16517 2013-08-27 Roland McGrath <roland@hack.frob.com>
16519 * include/netdb.h [!_ISOMAC]:
16520 Don't include <tls.h>.
16521 (h_errno, __libc_h_errno): Move declaration and macros out of
16524 * include/resolv.h [_RESOLV_H_]:
16525 Don't include <tls.h>.
16526 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16527 * resolv/res_libc.c: Don't include <tls.h>.
16528 (_res): Use __attribute__ ((nocommon)) in place of
16529 __attribute__ ((section (".bss"))).
16531 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16532 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16534 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16536 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16537 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16539 * resolv/res_mkquery.c: Include <sys/time.h>.
16541 * inet/ifreq.c: Moved to ...
16542 * sysdeps/unix/ifreq.c: ... here.
16543 * inet/ifreq.c: New file, true stub version.
16545 * socket/sa_len.c: New file.
16546 * socket/Makefile (aux): Add it.
16547 * sysdeps/unix/sysv/linux/Makefile
16548 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16549 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16550 and #include <socket/sa_len.c>.
16551 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16552 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16554 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16555 * bits/socket.h: ... here.
16557 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16558 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16559 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16561 2013-08-27 Andreas Schwab <schwab@suse.de>
16564 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16565 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16566 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16567 * string/test-strcasecmp.c (test_main): Run tests in several
16569 * string/test-strncasecmp.c (test_main): Likewise.
16571 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16572 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16573 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16575 (__strncasecmp_ssse3) [PIC]: Likewise.
16577 2013-08-26 Roland McGrath <roland@hack.frob.com>
16579 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16581 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16582 instead of explicitly declaring xdecrypt.
16583 * nis/nss_nis/nis-publickey.c: Likewise.
16585 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16588 * nscd/aicache.c: Include res_hconf.h.
16589 (addhstaiX): Initialize res_hconf.
16591 2013-08-26 Andreas Schwab <schwab@suse.de>
16593 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16594 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16596 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16598 * nscd/aicache.c (addhstaiX): Fix indentation.
16600 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16602 * configure.ac: Quote $build_pt_chown test.
16603 * configure: Regenerated.
16605 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16608 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16609 * math/s_cexpf.c (__cexpf): Likewise.
16610 * math/s_cexpl.c (__cexpl): Likewise.
16611 * math/libm-test.inc (cexp_test_data): Correct expected return
16612 value for NaN + i0. Add another test.
16614 2013-08-22 David S. Miller <davem@davemloft.net>
16616 * po/ca.po: Update Catalan translation from translation project.
16617 * po/uk.po: Add Ukrainian translations from translation project.
16619 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16622 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16623 is infinite, not alongside NaN test.
16624 * math/s_fdimf.c (__fdimf): Likewise.
16625 * math/s_fdiml.c (__fdiml): Likewise.
16626 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16627 errno is unchanged.
16629 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16631 * argp/argp-help.c: Fix typos.
16632 * crypt/speeds.c: Likewise.
16633 * csu/check_fds.c: Likewise.
16634 * elf/dl-load.c: Likewise.
16635 * elf/dl-open.c: Likewise.
16636 * elf/reldep3.c: Likewise.
16637 * elf/reldep.c: Likewise.
16638 * elf/sprof.c: Likewise.
16639 * iconv/iconv_charmap.c: Likewise.
16640 * iconv/skeleton.c: Likewise.
16641 * iconv/strtab.c: Likewise.
16642 * io/lockf64.c: Likewise.
16643 * libio/libioP.h: Likewise.
16644 * resolv/gai_notify.c: Likewise.
16645 * resolv/ns_name.c: Likewise.
16646 * resolv/ns_samedomain.c: Likewise.
16647 * resolv/res_send.c: Likewise.
16648 * stdlib/random.c: Likewise.
16649 * sunrpc/rpc/xdr.h: Likewise.
16650 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16651 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16652 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16653 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16654 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16655 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16658 * sysdeps/mach/hurd/check_fds.c: Likewise.
16659 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16660 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16661 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16662 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16663 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16664 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16665 * sysdeps/pthread/aio_notify.c: Likewise.
16666 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16667 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16668 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16670 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16672 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16674 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16675 version if bit_Slow_SSE4_2 is set.
16676 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16677 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16679 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16682 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16683 trampoline stack frame information.
16684 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16685 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16686 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16687 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16688 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16689 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16690 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16691 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16693 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16694 interrupting a syscall and set with option SA_SIGINFO.
16696 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16699 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16700 argument is infinite.
16701 * math/s_cprojf.c (__cprojf): Likewise.
16702 * math/s_cprojl.c (__cprojl): Likewise.
16703 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16704 * math/libm-test.inc (cproj_test_data): Add more tests.
16706 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16708 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16709 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16710 size. Use __ffs to determine corresponding shift.
16712 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16713 Roland McGrath <roland@hack.frob.com>
16715 * Makefile (INSTALL): Remove trailing blank lines from output of
16718 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16720 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16721 Align 32 bit compat elf_greg to 8 bytes.
16723 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16725 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16727 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16729 * string/strcoll_l.c (coll_seq): New structure.
16730 (get_next_seq_cached): New function.
16731 (get_next_seq): New function.
16732 (do_compare): New function.
16733 (STRCOLL): Use GNU style definition. Simplify implementation
16734 by using get_next_seq, get_next_seq_cached and do_compare.
16736 2013-08-16 Florian Weimer <fweimer@redhat.com>
16740 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16742 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16744 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16745 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16746 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16748 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16749 GETDENTS_64BIT_ALIGNED.
16750 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16751 * manual/filesys.texi (Reading/Closing Directory): Document
16752 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16754 * manual/conf.texi (Limits for Files): Add portability note to
16755 NAME_MAX, PATH_MAX.
16756 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16758 2013-08-13 Andreas Schwab <schwab@suse.de>
16761 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16763 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16764 LDBL_MAX_EXP >= 16384]: Add tests for it.
16766 2013-08-12 David S. Miller <davem@davemloft.net>
16768 * version.h (RELEASE): Set to "development".
16769 (VERSION): Set to "2.18.90".
16770 * NEWS: Add 2.19 section.
16772 2013-08-03 David S. Miller <davem@davemloft.net>
16774 * po/ko.po: Update Korean translation from translation project.
16776 2013-08-01 David S. Miller <davem@davemloft.net>
16778 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16779 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16782 2013-07-30 David S. Miller <davem@davemloft.net>
16784 * po/fr.po: Update French translation from translation project.
16786 2013-07-28 David S. Miller <davem@davemloft.net>
16788 * po/cs.po: Update Czech translation from translation project.
16790 * po/sv.po: Update Swedish translation from translation project.
16792 2013-07-27 David S. Miller <davem@davemloft.net>
16794 * po/eo.po: Update Esperanto translation from translation project.
16796 * po/vi.po: Update Vietnamese translation from translation project.
16798 * po/de.po: Update German translation from translation project.
16800 2013-07-26 David S. Miller <davem@davemloft.net>
16802 * po/bg.po: Update Bulgarian translation from translation project.
16804 * po/nl.po: Update Dutch translation from translation project.
16805 * po/pl.po: Update Polish translation from translation project.
16806 * po/ru.po: Update Russian translation from translation project.
16808 2013-07-24 David S. Miller <davem@davemloft.net>
16810 * po/libc.pot: Update.
16812 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16814 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16815 variable page size.
16816 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16817 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16818 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16820 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16822 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16824 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16825 Andreas Schwab <schwab@suse.de>
16826 Roland McGrath <roland@hack.frob.com>
16827 Joseph Myers <joseph@codesourcery.com>
16828 Carlos O'Donell <carlos@redhat.com>
16831 * config.h.in: Define HAVE_PT_CHOWN.
16832 * config.make.in (build-pt-chown): New variable.
16833 * configure.in (--enable-pt_chown): New configure option.
16834 * configure: Regenerate.
16835 * login/Makefile: Include Makeconfig. Build pt_chown only if
16836 build-pt-chown is enabled.
16837 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16838 pt_chown to fix pty ownership.
16839 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16841 * manual/install.texi (Configuring and compiling): Mention
16842 --enable-pt_chown. Add @findex for grantpt.
16843 * INSTALL: Regenerate.
16845 2013-07-20 David S. Miller <davem@davemloft.net>
16847 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16848 difference between 32-bit and 64-bit.
16850 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16853 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16854 Avoid system header dependency with -ffreestanding.
16855 ($(objpfx)bits/syscall%d): Likewise.
16857 2013-07-13 David S. Miller <davem@davemloft.net>
16859 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16860 underflows from atanl/atan2l due to bug 15319.
16861 (casinh_test_data): Likewise.
16863 2013-07-07 David S. Miller <davem@davemloft.net>
16865 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16867 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16869 * sysdeps/i386/fpu/libm-test-ulps: Update.
16870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16872 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16874 * configure.in (--enable-lock-elision): Fix message text.
16875 * INSTALL: Regenerate.
16876 * configure: Regenerate.
16878 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16882 2013-07-03 Andreas Jaeger <aj@suse.de>
16884 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16886 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16887 (ptrace_peeksiginfo_args): Add.
16888 (__ptrace_peeksiginfo_flags): Add.
16889 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16890 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16891 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16893 2013-07-03 Allan McRae <allan@archlinux.org>
16895 * sysdeps/i386/fpu/libm-test-ulps: Update.
16897 2013-07-02 David S. Miller <davem@davemloft.net>
16899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16901 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16905 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16907 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16910 2013-07-02 Andi Kleen <ak@linux.intel.com>
16912 * config.h.in (ENABLE_LOCK_ELISION): Add.
16913 * configure.in (--enable-lock-elision): Add option.
16914 * manual/install.texi: Document --enable lock elision.
16915 * configure: Regenerate
16916 * INSTALL: Regenerate.
16918 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16920 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16921 SSE4.2 strcasecmp for libc.a.
16922 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16924 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16927 * soft-fp/op-common.h (_FP_FMA): New macro.
16928 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16929 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16930 (_FP_MUL_MEAT_1_imm): ... here.
16931 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16932 (_FP_MUL_MEAT_1_wide): ... here.
16933 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16934 (_FP_MUL_MEAT_1_hard): ... here.
16935 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16936 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16937 (_FP_MUL_MEAT_2_wide): ... here.
16938 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16939 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16940 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16941 (_FP_MUL_MEAT_2_gmp): ... here.
16942 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16943 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16944 (_FP_MUL_MEAT_4_wide): ... here.
16945 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16946 (_FP_MUL_MEAT_4_gmp): ... here.
16947 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16948 (_FP_WFRACBITS_DW_S): Likewise.
16949 (_FP_WFRACXBITS_DW_S): Likewise.
16950 (_FP_HIGHBIT_DW_S): Likewise.
16951 (FP_FMA_S): Likewise.
16952 (_FP_FRAC_HIGH_DW_S): Likewise.
16953 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16954 (_FP_WFRACBITS_DW_D): Likewise.
16955 (_FP_WFRACXBITS_DW_D): Likewise.
16956 (_FP_HIGHBIT_DW_D): Likewise.
16957 (FP_FMA_D): Likewise.
16958 (_FP_FRAC_HIGH_DW_D): Likewise.
16959 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16960 (_FP_WFRACBITS_DW_E): Likewise.
16961 (_FP_WFRACXBITS_DW_E): Likewise.
16962 (_FP_HIGHBIT_DW_E): Likewise.
16963 (FP_FMA_E): Likewise.
16964 (_FP_FRAC_HIGH_DW_E): Likewise.
16965 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16966 (_FP_WFRACBITS_DW_Q): Likewise.
16967 (_FP_WFRACXBITS_DW_Q): Likewise.
16968 (_FP_HIGHBIT_DW_Q): Likewise.
16969 (FP_FMA_Q): Likewise.
16970 (_FP_FRAC_HIGH_DW_Q): Likewise.
16971 * soft-fp/fmasf4.c: New file.
16972 * soft-fp/fmadf4.c: Likewise.
16973 * soft-fp/fmatf4.c: Likewise.
16975 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16978 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16982 (index_Slow_SSE4_2): Likewise.
16983 (index_Prefer_PMINUB_for_stringop): Likewise.
16984 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16985 bit_Slow_SSE4_2 is set.
16986 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16987 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16989 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16991 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16992 rtld_global._dl_hwcap2.
16993 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16995 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16996 POWER8 feature descriptions defined in _dl_hwcap2.
16997 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16998 string handling for POWER8 feature bits.
16999 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17000 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17001 _dl_powerpc_cap_flags.
17002 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17003 * sysdeps/powerpc/rtld-global-offsets.sym
17004 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17005 _dl_hwcap2 in the rtld_global_ro structure.
17007 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17009 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17010 hardware capabilities in support of AT_HWCAP2.
17011 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17012 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17014 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17015 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17016 explicitly the unknown a_type display mechanism is used.
17017 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17018 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17020 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17021 to macro prototype for AT_HWCAP2 support.
17022 * sysdeps/i386/dl-procinfo.h: Likewise.
17023 * sysdeps/s390/dl-procinfo.h: Likewise.
17024 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17025 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17026 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17027 return -1 for unknown a_type display fallback.
17028 * sysdeps/sparc/dl-procinfo.h: Likewise.
17029 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17030 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17032 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17034 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17035 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17037 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17040 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17041 mprotect making __stack_prot writable.
17043 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17044 Joseph Myers <joseph@codesourcery.com>
17046 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17047 as being properly aligned.
17049 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17051 * dlfcn/modstatic5.c: New file.
17052 * dlfcn/tststatic5.c: New file.
17053 * dlfcn/Makefile (tests): Add tststatic5.
17054 (tests-static): Likewise.
17055 (modules-names): Add modstatic5.
17056 (tststatic5-ENV): New variable.
17057 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17060 * elf/dl-support.c (_dl_main_map): New variable.
17061 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17062 (_dl_nns, _dl_load_adds): Set to 1.
17063 (_dl_initial_searchlist): Refer to _dl_main_map.
17064 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17065 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17066 call to _dl_get_origin.
17067 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17069 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17070 * dlfcn/modstatic3.c: New file.
17071 * dlfcn/tststatic3.c: New file.
17072 * dlfcn/tststatic4.c: New file.
17073 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17074 (tests-static): Likewise.
17075 (modules-names): Add modstatic3.
17076 (tststatic3-ENV, tststatic4-ENV): New variables.
17077 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17078 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17080 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17082 * configure.in (CC): Require GCC version 4.4 or later.
17083 * configure: Regenerated.
17084 * manual/install.texi (Tools for Compilation): Update GCC version
17086 * INSTALL: Regenerated.
17088 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17091 * string/test-memcmp.c (check2): New.
17092 (main): Call check2.
17094 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17096 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17099 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17101 (dl_open_worker) [!SHARED]: ... here.
17103 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17105 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17107 2013-06-25 Richard Henderson <rth@redhat.com>
17109 * locale/programs/locarchive.c: Include <libc-internal.h>
17111 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17113 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17114 trailing whitespace removed.
17116 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17119 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17120 * locale/programs/locarchive.c: Include libc-mmap.h.
17121 (prepare_address_space): Take two new outputs (the mmap base and len).
17122 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17124 (create_archive): Declare new mmap base and len values for
17125 prepare_address_space, and store the result in ah.
17126 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17127 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17128 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17129 Declare new mmap base and len values for
17130 prepare_address_space, and store the result in new_ah.
17131 (open_archive): Declare new mmap base and len values for
17132 prepare_address_space, and store the result in ah.
17133 (close_archive): If ah->mmap_base is not NULL, use that and
17134 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17135 * sysdeps/generic/libc-mmap.h: New file.
17137 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17139 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17140 (ALIGN_UP): Likewise.
17141 (PTR_ALIGN_DOWN): Likewise.
17142 (PTR_ALIGN_UP): Likewise.
17144 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17146 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17147 entry mapped to PPC_PLATFORM_POWER8.
17148 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17150 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17151 (_dl_string_platform): Add case for exporting platform position for
17153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17154 search path to sysdeps/powerpc/powerpc32/power8 directory.
17155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17156 search path to sysdeps/powerpc/powerpc64/power8 directory.
17157 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17158 power7 directories.
17159 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17160 power7 directories.
17162 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17164 * INSTALL: Regenerate.
17166 * nscd/connections.c (nscd_init): Fix comment.
17168 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17170 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17173 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17174 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17176 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17178 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17180 (DL_DST_REQ_STATIC): Remove macro.
17182 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17185 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17186 with a shift of 0 bits.
17188 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17190 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17193 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17196 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17198 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17200 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17201 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17202 accepts -fno-tree-loop-distribute-patterns.
17203 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17204 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17206 * string/memset.c (memset): Likewise.
17207 * string/test-memmove.c (simple_memmove): Disable loop transformation
17209 * string/test-memset.c (simple_memset): Likewise.
17210 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17211 * benchtests/bench-memset.c (simple_memset): Likewise.
17212 * configure: Regenerated.
17214 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17216 * math/test-misc.c (main): Ignore fesetround failure when failures
17217 of subsequent rounding tests would be ignored.
17220 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17221 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17222 * math/fegetenv.c (__fegetenv): Return 0.
17223 * math/fegetexcept.c (fegetexcept): Return 0.
17224 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17226 * math/feholdexcpt.c (feholdexcept): Return 0.
17227 * math/fesetenv.c (__fesetenv): Return 0.
17228 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17229 argument FE_TONEAREST.
17230 * math/feupdateenv.c (__feupdateenv): Return 0.
17231 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17233 2013-06-18 Roland McGrath <roland@hack.frob.com>
17235 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17236 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17237 ($(objpfx)rtld-%.os rules): Use them.
17239 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17241 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17244 2013-06-17 Roland McGrath <roland@hack.frob.com>
17246 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17247 length of target pattern, then descending length of dependency pattern.
17248 * configure.in (AWK): Require gawk 3.1.2 or newer.
17249 * manual/install.texi (Tools for Compilation): Say that we do.
17250 * configure: Regenerated.
17252 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17253 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17254 * scripts/sysd-rules.awk: ... this new script.
17255 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17256 than a glob-style pattern.
17258 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17260 * math/test-misc.c (main): Do not treat incorrectly rounded
17261 conversions as failure unless ROUNDING_TESTS passes.
17263 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17266 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17267 restore exception state around main square root computation, then
17268 check for inexactness explicitly.
17270 * math/libm-test.inc (fma_test_data): Add another test.
17272 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17274 * manual/threads.texi (Non-POSIX Extensions): New document
17275 node. Document pthread_getattr_default_np and
17276 pthread_setattr_default_np.
17278 * Versions.def (libpthread): Add GLIBC_2.18.
17279 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17288 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17299 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17302 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17304 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17305 H.J. Lu <hjl.tools@gmail.com>
17308 * sysdeps/x86_64/rtld-memset.c: Remove file.
17309 * sysdeps/x86_64/rtld-memset.S: New file.
17311 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17313 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17314 (test_in_one_mode): Take arguments for whether the rounding mode
17315 is supported for each floating-point type.
17316 (do_test): Pass new arguments to test_in_one_mode using
17319 2013-06-13 Roland McGrath <roland@hack.frob.com>
17321 * posix/tst-waitid.c (do_test): Distinguish different instances of
17322 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17323 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17324 before entering the kernel for waitpid.
17326 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17328 * NEWS: Fix note on clock function precision. Text by Roland
17331 2013-06-13 Roland McGrath <roland@hack.frob.com>
17333 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17334 it into place only when and if the sanity check passes.
17336 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17338 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17339 output for whether conversion result is exact. Take argument
17340 indicating whether type is IBM long double.
17341 (round_for_all): Change need_exact field to ibm_ld.
17342 * stdlib/tst-strtod-round.c (struct exactness): New type.
17343 (struct test): Change bool ld_ok field to struct exactness exact.
17344 (TEST): Update all definitions for change to field.
17345 (tests): Regenerate array contents.
17346 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17347 field value. Check for IBM long double here.
17348 (do_test): Update calls to test_in_one_mode.
17350 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17353 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17354 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17356 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17359 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17360 generated by the compiler on loop optimizations.
17361 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17362 general definitions.
17364 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17366 * math/bug-nextafter.c: Include <math-tests.h>.
17367 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17369 * math/bug-nexttoward.c: Include <math-tests.h>.
17370 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17372 * math/test-misc.c: Include <math-tests.h>.
17373 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17376 2013-06-12 Andreas Jaeger <aj@suse.de>
17378 * po/ia.po: Update Interlingua translation from translation
17381 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17383 * include/fenv.h: Include stdbool.h.
17384 (struct rm_ctx): New structure.
17385 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17387 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17388 (SET_RESTORE_ROUNDF): Likewise.
17389 (SET_RESTORE_ROUNDL): Likewise.
17390 (SET_RESTORE_ROUND_NOEX): Likewise.
17391 (SET_RESTORE_ROUND_NOEXF): Likewise.
17392 (SET_RESTORE_ROUND_NOEXL): Likewise.
17393 (SET_RESTORE_ROUND_53BIT): Likewise.
17394 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17395 (libc_feresetround_noexf_ctx): Likewise.
17396 (libc_feresetround_noexl_ctx): Likewise.
17397 (libc_feholdsetround_53bit_ctx): Likewise.
17398 (libc_feresetround_53bit_ctx): Likewise.
17399 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17400 (libc_feholdexcept_setround_sse_ctx): New function.
17401 (libc_fesetenv_sse_ctx): Likewise.
17402 (libc_feupdateenv_sse_ctx): Likewise.
17403 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17404 (libc_feholdexcept_setround_387_ctx): Likewise.
17405 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17406 (libc_feholdsetround_387_prec_ctx): Likewise.
17407 (libc_feholdsetround_387_ctx): Likewise.
17408 (libc_feholdsetround_387_53bit_ctx): Likewise.
17409 (libc_feholdsetround_sse_ctx): Likewise.
17410 (libc_feresetround_sse_ctx): Likewise.
17411 (libc_feresetround_387_ctx): Likewise.
17412 (libc_feupdateenv_387_ctx): Likewise.
17413 (libc_feholdexcept_setroundf_ctx): Define macro.
17414 (libc_fesetenvf_ctx): Likewise.
17415 (libc_feupdateenvf_ctx): Likewise.
17416 (libc_feholdsetroundf_ctx): Likewise.
17417 (libc_feresetroundf_ctx): Likewise.
17418 (libc_feholdexcept_setround_ctx): Likewise.
17419 (libc_fesetenv_ctx): Likewise.
17420 (libc_feupdateenv_ctx): Likewise.
17421 (libc_feholdsetround_ctx): Likewise.
17422 (libc_feresetround_ctx): Likewise.
17423 (libc_feholdexcept_setroundl_ctx): Likewise.
17424 (libc_feupdateenvl_ctx): Likewise.
17425 (libc_feholdsetroundl_ctx): Likewise.
17426 (libc_feresetroundl_ctx): Likewise.
17427 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17428 (libc_feresetround_53bit_ctx): Likewise.
17430 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17432 * locale/iso-639.def: Convert to UTF-8.
17434 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17436 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17437 (EXCEPTION_TESTS_double): Likewise.
17438 (EXCEPTION_TESTS_long_double): Likewise.
17439 (EXCEPTION_TESTS): Likewise.
17440 * math/libm-test.inc (test_exceptions): Only test exceptions if
17441 EXCEPTION_TESTS (FLOAT).
17443 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17445 * benchtests/Makefile (string-bench): Add strcpy_chk and
17447 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17448 * benchtests/bench-stpcpy_chk.c: New file.
17449 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17450 * benchtests/bench-strcpy_chk.c: New file.
17451 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17453 (do_test): Likewise.
17455 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17457 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17458 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17459 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17460 with tabs where appropriate.
17461 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17463 [PPC_PLATFORM_PPC440]: Likewise.
17464 [PPC_PLATFORM_PPC464]: Likewise.
17465 [PPC_PLATFORM_PPC476]: Likewise.
17466 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17467 ppc464, and ppc476 platform strings merging from ports/
17470 2013-06-11 Andreas Schwab <schwab@suse.de>
17473 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17474 (from_ucs4_idx): Regenerate.
17475 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17476 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17477 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17478 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17479 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17480 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17481 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17482 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17483 from FROM_LOOP and TO_LOOP specific macros.
17484 (BODY): Handle combining characters.
17485 * iconvdata/BIG5HKSCS.irreversible: Update.
17486 * iconvdata/BIG5HKSCS.precomposed: New file.
17487 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17489 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17491 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17493 * include/sys/time.h: Fix indentation and add copyright header.
17495 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17496 (do_test): Likewise.
17497 * string/test-memchr.c (do_one_test): Likewise.
17498 (do_test): Likewise.
17499 * string/test-memcmp.c (do_one_test): Likewise.
17500 (do_test): Likewise.
17501 * string/test-memcpy.c (do_one_test): Likewise.
17502 (do_test): Likewise.
17503 * string/test-memmem.c (do_one_test): Likewise.
17504 (do_test): Likewise.
17505 (do_random_tests): Likewise.
17506 * string/test-memmove.c (do_one_test): Likewise.
17507 (do_test): Likewise.
17508 * string/test-memset.c (do_one_test): Likewise.
17509 (do_test): Likewise.
17510 * string/test-rawmemchr.c (do_one_test): Likewise.
17511 (do_test): Likewise.
17512 * string/test-strcasecmp.c (do_one_test): Likewise.
17513 (do_test): Likewise.
17514 * string/test-strcasestr.c (do_one_test): Likewise.
17515 (do_test): Likewise.
17516 * string/test-strcat.c (do_one_test): Likewise.
17517 (do_test): Likewise.
17518 * string/test-strchr.c (do_one_test): Likewise.
17519 (do_test): Likewise.
17520 * string/test-strcmp.c (do_one_test): Likewise.
17521 (do_test): Likewise.
17522 * string/test-strcpy.c (do_one_test): Likewise.
17523 (do_test): Likewise.
17524 * string/test-string.h: Likewise.
17525 (test_init): Likewise.
17526 * string/test-strlen.c (do_one_test): Likewise.
17527 (do_test): Likewise.
17528 * string/test-strncasecmp.c (do_one_test): Likewise.
17529 (do_test): Likewise.
17530 * string/test-strncat.c (do_one_test): Likewise.
17531 (do_test): Likewise.
17532 * string/test-strncmp.c (do_one_test): Likewise.
17533 (do_test_limit): Likewise.
17534 (do_test): Likewise.
17535 * string/test-strncpy.c (do_one_test): Likewise.
17536 (do_test): Likewise.
17537 * string/test-strnlen.c (do_one_test): Likewise.
17538 (do_test): Likewise.
17539 * string/test-strpbrk.c (do_one_test): Likewise.
17540 (do_test): Likewise.
17541 * string/test-strrchr.c (do_one_test): Likewise.
17542 (do_test): Likewise.
17543 * string/test-strspn.c (do_one_test): Likewise.
17544 (do_test): Likewise.
17545 * string/test-strstr.c (do_one_test): Likewise.
17546 (do_test): Likewise.
17548 * benchtests/Makefile (string-bench): Add string benchmarks.
17549 * benchtests/bench-bcopy-ifunc.c: New file.
17550 * benchtests/bench-bcopy.c: New file.
17551 * benchtests/bench-bzero-ifunc.c: New file.
17552 * benchtests/bench-bzero.c: New file.
17553 * benchtests/bench-memccpy-ifunc.c: New file.
17554 * benchtests/bench-memccpy.c: New file.
17555 * benchtests/bench-memchr-ifunc.c: New file.
17556 * benchtests/bench-memchr.c: New file.
17557 * benchtests/bench-memcmp-ifunc.c: New file.
17558 * benchtests/bench-memcmp.c: New file.
17559 * benchtests/bench-memmem-ifunc.c: New file.
17560 * benchtests/bench-memmem.c: New file.
17561 * benchtests/bench-memmove-ifunc.c: New file.
17562 * benchtests/bench-memmove.c: New file.
17563 * benchtests/bench-mempcpy-ifunc.c: New file.
17564 * benchtests/bench-mempcpy.c: New file.
17565 * benchtests/bench-memset-ifunc.c: New file.
17566 * benchtests/bench-memset.c: New file.
17567 * benchtests/bench-rawmemchr-ifunc.c: New file.
17568 * benchtests/bench-rawmemchr.c: New file.
17569 * benchtests/bench-stpcpy-ifunc.c: New file.
17570 * benchtests/bench-stpcpy.c: New file.
17571 * benchtests/bench-stpncpy-ifunc.c: New file.
17572 * benchtests/bench-stpncpy.c: New file.
17573 * benchtests/bench-strcasecmp-ifunc.c: New file.
17574 * benchtests/bench-strcasecmp.c: New file.
17575 * benchtests/bench-strcasestr-ifunc.c: New file.
17576 * benchtests/bench-strcasestr.c: New file.
17577 * benchtests/bench-strcat-ifunc.c: New file.
17578 * benchtests/bench-strcat.c: New file.
17579 * benchtests/bench-strchr-ifunc.c: New file.
17580 * benchtests/bench-strchr.c: New file.
17581 * benchtests/bench-strchrnul-ifunc.c: New file.
17582 * benchtests/bench-strchrnul.c: New file.
17583 * benchtests/bench-strcmp-ifunc.c: New file.
17584 * benchtests/bench-strcmp.c: New file.
17585 * benchtests/bench-strcpy-ifunc.c: New file.
17586 * benchtests/bench-strcpy.c: New file.
17587 * benchtests/bench-strcspn-ifunc.c: New file.
17588 * benchtests/bench-strcspn.c: New file.
17589 * benchtests/bench-strlen-ifunc.c: New file.
17590 * benchtests/bench-strlen.c: New file.
17591 * benchtests/bench-strncasecmp-ifunc.c: New file.
17592 * benchtests/bench-strncasecmp.c: New file.
17593 * benchtests/bench-strncat-ifunc.c: New file.
17594 * benchtests/bench-strncat.c: New file.
17595 * benchtests/bench-strncmp-ifunc.c: New file.
17596 * benchtests/bench-strncmp.c: New file.
17597 * benchtests/bench-strncpy-ifunc.c: New file.
17598 * benchtests/bench-strncpy.c: New file.
17599 * benchtests/bench-strnlen-ifunc.c: New file.
17600 * benchtests/bench-strnlen.c: New file.
17601 * benchtests/bench-strpbrk-ifunc.c: New file.
17602 * benchtests/bench-strpbrk.c: New file.
17603 * benchtests/bench-strrchr-ifunc.c: New file.
17604 * benchtests/bench-strrchr.c: New file.
17605 * benchtests/bench-strspn-ifunc.c: New file.
17606 * benchtests/bench-strspn.c: New file.
17607 * benchtests/bench-strstr-ifunc.c: New file.
17608 * benchtests/bench-strstr.c: New file.
17610 * benchtests/Makefile: Disable parallel execution of targets.
17611 (string-bench): Add memcpy.
17612 (benchset): New variable to store a list of benchmark sets.
17613 (bench-func): Renamed from bench.
17614 (bench-set): New target.
17615 (bench): Depend on bench-func and bench-set.
17616 * benchtests/README: Add section on benchmark sets.
17617 * benchtests/bench-memcpy-ifunc.c: New file.
17618 * benchtests/bench-memcpy.c: New file.
17619 * benchtests/bench-string.h: New file.
17621 2013-06-11 Andreas Schwab <schwab@suse.de>
17624 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17625 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17626 values in the triple.
17627 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17628 terminator in the group key.
17630 2013-06-11 Andreas Jaeger <aj@suse.de>
17632 * po/zh_TW.po: Update Chinese (traditional) translation from
17633 translation project.
17635 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17637 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17638 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17639 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17640 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17641 (clock_getcpuclockid): Likewise.
17642 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17643 Add weak_alias and libc_hidden_def.
17644 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17645 * rt/clock_gettime.c (clock_gettime): Rename to
17646 __clock_gettime. Add weak_alias and libc_hidden_def.
17647 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17648 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17649 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17650 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17651 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17653 * rt/clock_settime.c (clock_settime): Rename to
17654 __clock_settime. Add weak_alias and libc_hidden_def.
17655 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17657 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17659 * mach/err_boot.sub: Remove trailing whitespace.
17660 * mach/err_ipc.sub: Likewise.
17661 * mach/err_mach.sub: Likewise.
17663 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17664 (ROUNDING_TESTS_double): Likewise.
17665 (ROUNDING_TESTS_long_double): Likewise.
17666 (ROUNDING_TESTS): Likewise.
17667 * math/libm-test.inc: Include <math-tests.h>.
17668 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17669 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17670 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17671 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17673 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17675 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17678 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17680 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17681 otherwise empty TRANS lines.
17682 * sysdeps/gnu/errlist.c: Regenerated.
17684 * catgets/gencat.c (error_print): Use (void) in function
17686 * crypt/crypt_util.c (__init_des): Likewise.
17687 * crypt/speeds.c (Stop): Likewise.
17689 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17690 * inet/ruserpass.c (token): Likewise.
17691 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17692 * intl/localealias.c (extend_alias_table): Likewise.
17693 * intl/plural-exp.c (init_germanic_plural): Likewise.
17694 * libio/fcloseall.c (__fcloseall): Likewise.
17695 * libio/genops.c (_IO_flush_all): Likewise.
17696 (_IO_flush_all_linebuffered): Likewise.
17697 (_IO_cleanup): Likewise.
17698 (_IO_iter_begin): Likewise.
17699 (_IO_iter_end): Likewise.
17700 (_IO_list_lock): Likewise.
17701 (_IO_list_unlock): Likewise.
17702 (_IO_list_resetlock): Likewise.
17703 * libio/getchar.c (getchar): Likewise.
17704 * libio/getchar_u.c (getchar_unlocked): Likewise.
17705 * libio/getwchar.c (getwchar): Likewise.
17706 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17707 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17708 * login/getpt.c (__getpt): Likewise.
17709 * login/tst-utmp.c (main): Likewise.
17710 * malloc/hooks.c (__malloc_check_init): Likewise.
17711 * malloc/malloc.c (__malloc_stats): Likewise.
17712 * malloc/mtrace.c (tr_break): Likewise.
17713 (mtrace): Likewise.
17714 (muntrace): Likewise.
17715 * misc/fstab.c (endfsent): Likewise.
17716 * misc/getclktck.c (__getclktck): Likewise.
17717 * misc/getdtsz.c (__getdtablesize): Likewise.
17718 * misc/gethostid.c (gethostid): Likewise.
17719 * misc/getpagesize.c (__getpagesize): Likewise.
17720 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17721 (__get_nprocs): Likewise.
17722 (__get_phys_pages): Likewise.
17723 (__get_avphys_pages): Likewise.
17724 * misc/getttyent.c (getttyent): Likewise.
17725 (setttyent): Likewise.
17726 (endttyent): Likewise.
17727 * misc/getusershell.c (getusershell): Likewise.
17728 (endusershell): Likewise.
17729 (setusershell): Likewise.
17730 (initshells): Likewise.
17731 * misc/hsearch.c (__hdestroy): Likewise.
17732 * misc/sync.c (sync): Likewise.
17733 * misc/syslog.c (closelog_internal): Likewise.
17734 (closelog): Likewise.
17735 * misc/ttyslot.c (ttyslot): Likewise.
17736 * misc/vhangup.c (vhangup): Likewise.
17737 * posix/fork.c (__fork): Likewise.
17738 * posix/getegid.c (__getegid): Likewise.
17739 * posix/geteuid.c (__geteuid): Likewise.
17740 * posix/getgid.c (__getgid): Likewise.
17741 * posix/getpid.c (__getpid): Likewise.
17742 * posix/getppid.c (__getppid): Likewise.
17743 * posix/getuid.c (__getuid): Likewise.
17744 * posix/pause.c (pause): Likewise.
17745 * posix/setpgrp.c (setpgrp): Likewise.
17746 * posix/setsid.c (__setsid): Likewise.
17747 * posix/test-vfork.c (noop): Likewise.
17748 * resolv/gethnamaddr.c (_endhtent): Likewise.
17749 (_gethtent): Likewise.
17750 (ht_endhostent): Likewise.
17751 (gethostent): Likewise.
17752 (dns_service): Likewise.
17753 * stdlib/drand48.c (drand48): Likewise.
17754 * stdlib/lrand48.c (lrand48): Likewise.
17755 * stdlib/mrand48.c (mrand48): Likewise.
17756 * stdlib/rand.c (rand): Likewise.
17757 * stdlib/random.c (__random): Likewise.
17758 * stdlib/setenv.c (clearenv): Likewise.
17759 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17760 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17761 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17762 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17763 (__get_nprocs): Likewise.
17764 (__get_phys_pages): Likewise.
17765 (__get_avphys_pages): Likewise.
17766 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17767 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17768 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17769 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17770 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17771 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17772 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17773 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17774 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17775 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17776 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17777 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17778 * sysdeps/posix/clock.c (clock): Likewise.
17779 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17780 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17781 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17782 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17783 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17784 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17785 (__get_nprocs_conf): Likewise.
17786 (__get_phys_pages): Likewise.
17787 (__get_avphys_pages): Likewise.
17788 * time/clock.c (clock): Likewise.
17789 * time/tzset.c (__tzname_max): Likewise.
17791 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17793 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17794 (__bswap_32): Do not use "register".
17795 * crypt/crypt.c (_ufc_doit_r): Likewise.
17796 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17797 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17798 * gmon/gmon.c (__monstartup): Likewise.
17799 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17800 * hurd/hurdmalloc.c (more_memory): Likewise.
17801 (malloc): Likewise.
17803 (realloc): Likewise.
17804 (malloc_fork_prepare): Likewise.
17805 (malloc_fork_parent): Likewise.
17806 (malloc_fork_child): Likewise.
17807 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17808 (_svcauth_des): Likewise.
17809 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17810 * inet/inet_net.c (inet_network): Likewise.
17811 * inet/inet_netof.c (inet_netof): Likewise.
17812 * inet/rcmd.c (__validuser2_sa): Likewise.
17813 * io/fts.c (fts_open): Likewise.
17814 (fts_load): Likewise.
17815 (fts_close): Likewise.
17816 (fts_read): Likewise.
17817 (fts_children): Likewise.
17818 (fts_build): Likewise.
17819 (fts_stat): Likewise.
17820 (fts_sort): Likewise.
17821 (fts_alloc): Likewise.
17822 (fts_lfree): Likewise.
17823 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17824 (_IO_file_xsgetn): Likewise.
17825 (_IO_file_xsgetn_mmap): Likewise.
17826 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17827 (_IO_cookie_write): Likewise.
17828 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17829 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17830 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17831 * malloc/obstack.c (_obstack_begin): Likewise.
17832 (_obstack_begin_1): Likewise.
17833 (_obstack_newchunk): Likewise.
17834 (_obstack_allocated_p): Likewise.
17835 (obstack_free): Likewise.
17836 (_obstack_memory_used): Likewise.
17837 * misc/getttyent.c (getttynam): Likewise.
17838 (getttyent): Likewise.
17841 * misc/getusershell.c (initshells): Likewise.
17842 * misc/syslog.c (__vsyslog_chk): Likewise.
17843 * misc/ttyslot.c (ttyslot): Likewise.
17844 * nis/nis_hash.c (__nis_hash): Likewise.
17845 * posix/fnmatch_loop.c (FCT): Likewise.
17846 * posix/getconf.c (print_all): Likewise.
17848 * posix/getopt.c (exchange): Likewise.
17849 * posix/glob.c (globfree): Likewise.
17850 (prefix_array): Likewise.
17851 (__glob_pattern_type): Likewise.
17852 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17853 (NS_GET32): Likewise.
17854 (NS_PUT16): Likewise.
17855 (NS_PUT32): Likewise.
17856 * resolv/gethnamaddr.c (getanswer): Likewise.
17857 (gethostbyname2): Likewise.
17858 (gethostbyaddr): Likewise.
17859 (_gethtent): Likewise.
17860 (_gethtbyname2): Likewise.
17861 (_gethtbyaddr): Likewise.
17862 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17863 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17864 * resolv/res_init.c (__res_vinit): Likewise.
17865 (net_mask): Likewise.
17866 * resolv/res_mkquery.c (outchar): Likewise.
17868 * stdio-common/printf_fp.c (outchar): Likewise.
17870 * stdio-common/printf_fphex.c (outchar): Likewise.
17872 * stdio-common/printf_size.c (outchar): Likewise.
17874 * stdio-common/test_rdwr.c (main): Likewise.
17875 * stdio-common/tfformat.c (matches): Likewise.
17876 * stdio-common/vfprintf.c (outchar): Likewise.
17877 (printf_unknown): Likewise.
17878 (buffered_vfprintf): Likewise.
17879 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17880 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17881 (ReadFile): Likewise.
17882 * stdlib/qsort.c (SWAP): Likewise.
17883 (_quicksort): Likewise.
17884 * stdlib/setenv.c (__add_to_environ): Likewise.
17885 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17886 * stdlib/strtol_l.c (__strtol_l): Likewise.
17887 * stdlib/tst-strtod.c (main): Likewise.
17888 * stdlib/tst-strtol.c (main): Likewise.
17889 * stdlib/tst-strtoll.c (main): Likewise.
17890 * string/bits/string2.h (__strcmp_cc): Likewise.
17891 (__strcmp_cg): Likewise.
17892 (__strcspn_c1): Likewise.
17893 (__strcspn_c2): Likewise.
17894 (__strcspn_c3): Likewise.
17895 (__strspn_c1): Likewise.
17896 (__strspn_c2): Likewise.
17897 (__strspn_c3): Likewise.
17898 (__strsep_1c): Likewise.
17899 (__strsep_2c): Likewise.
17900 (__strsep_3c): Likewise.
17901 * string/memccpy.c (__memccpy): Likewise.
17902 * string/stpcpy.c (__stpcpy): Likewise.
17903 * string/strcmp.c (strcmp): Likewise.
17904 * string/strrchr.c (strrchr): Likewise.
17905 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17907 * sysdeps/mach/hurd/getcwd.c
17908 (_hurd_canonicalize_directory_name_internal): Likewise.
17909 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17910 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17911 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17912 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17913 Likewise, in both definitions.
17914 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17916 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17917 64] (__bswap_64): Likewise.
17918 * time/test_time.c (main): Likewise.
17919 * time/tzfile.c (__tzfile_read): Likewise.
17920 (__tzfile_compute): Likewise.
17921 * time/tzset.c (__tzset_parse_tz): Likewise.
17922 (tzset_internal): Likewise.
17923 (compute_change): Likewise.
17924 * wcsmbs/wcscat.c (__wcscat): Likewise.
17925 * wcsmbs/wcschr.c (wcschr): Likewise.
17926 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17927 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17928 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17929 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17930 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17931 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17932 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17933 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17934 * wcsmbs/wmemset.c (wmemset): Likewise.
17936 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17938 * scripts/config.guess: Update to version 2013-05-16.
17939 * scripts/config.sub: Update to version 2013-04-24.
17940 * scripts/install-sh: Update to version 2011-11-20.07.
17941 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17942 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17944 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17946 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17947 * elf/sln.c: Likewise.
17948 * hurd/hurd/ioctl.h: Likewise.
17949 * hurd/hurdmalloc.c: Likewise.
17950 * hurd/xattr.c: Likewise.
17951 * include/shlib-compat.h: Likewise.
17952 * inet/ruserpass.c: Likewise.
17953 * libio/iofgets_u.c: Likewise.
17954 * libio/iofgetws_u.c: Likewise.
17955 * locale/programs/ld-identification.c: Likewise.
17956 * locale/programs/ld-time.c: Likewise.
17957 * mach/msg-destroy.c: Likewise.
17958 * nss/nss_files/files-netgrp.c: Likewise.
17959 * resolv/res_data.c: Likewise.
17960 * soft-fp/op-1.h: Likewise.
17961 * soft-fp/op-2.h: Likewise.
17962 * soft-fp/op-4.h: Likewise.
17963 * soft-fp/op-common.h: Likewise.
17964 * stdio-common/printf_fphex.c: Likewise.
17965 * stdlib/strtod_l.c: Likewise.
17966 * sunrpc/rpc/clnt.h: Likewise.
17967 * sysdeps/generic/framestate.c: Likewise.
17968 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17969 * sysdeps/i386/bsd-setjmp.S: Likewise.
17970 * sysdeps/i386/__longjmp.S: Likewise.
17971 * sysdeps/i386/setjmp.S: Likewise.
17972 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17973 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17974 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17975 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17990 * sysdeps/ieee754/support.c: Likewise.
17991 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17992 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17993 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17994 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17995 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17996 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17997 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17998 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17999 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18000 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18001 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18002 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18003 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18004 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18005 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18006 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18007 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18010 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18012 * posix/transbug.c: Remove executable mode.
18014 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18016 * crypt/speeds.c: Remove trailing whitespace.
18017 * dlfcn/default.c: Likewise.
18018 * elf/ifuncdep2.c: Likewise.
18019 * elf/ifuncmain1.c: Likewise.
18020 * elf/ifuncmain1vis.c: Likewise.
18021 * elf/testobj.h: Likewise.
18022 * elf/tst-stackguard1.c: Likewise.
18023 * gmon/sys/gmon.h: Likewise.
18024 * hurd/hurdmsg.c: Likewise.
18025 * hurd/new-fd.c: Likewise.
18026 * hurd/ports-get.c: Likewise.
18027 * iconvdata/ibm1008_420.c: Likewise.
18028 * inet/tst-getni1.c: Likewise.
18029 * inet/tst-getni2.c: Likewise.
18030 * libio/ioungetc.c: Likewise.
18031 * libio/wfiledoalloc.c: Likewise.
18032 * manual/libm-err-tab.pl: Likewise.
18033 * math/w_dremf.c: Likewise.
18034 * misc/ftruncate.c: Likewise.
18035 * posix/bug-glob2.c: Likewise.
18036 * posix/tst-pcre.c: Likewise.
18037 * posix/wait4.c: Likewise.
18038 * resolv/README: Likewise.
18039 * resolv/res_debug.h: Likewise.
18040 * resolv/tst-inet_ntop.c: Likewise.
18041 * setjmp/bug269-setjmp.c: Likewise.
18042 * soft-fp/extended.h: Likewise.
18043 * soft-fp/op-1.h: Likewise.
18044 * soft-fp/op-2.h: Likewise.
18045 * soft-fp/op-4.h: Likewise.
18046 * soft-fp/op-8.h: Likewise.
18047 * soft-fp/testit.c: Likewise.
18048 * stdio-common/bug16.c: Likewise.
18049 * stdlib/random.c: Likewise.
18050 * sunrpc/rpcsvc/rquota.x: Likewise.
18051 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18056 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18057 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18058 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18059 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18060 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18061 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18062 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18063 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18065 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18067 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18068 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18069 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18070 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18071 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18073 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18074 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18075 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18076 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18077 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18078 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18079 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18080 * sysdeps/ieee754/s_lib_version.c: Likewise.
18081 * sysdeps/mach/hurd/check_fds.c: Likewise.
18082 * sysdeps/mach/hurd/getsockname.c: Likewise.
18083 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18084 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18085 * sysdeps/powerpc/bits/link.h: Likewise.
18086 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18087 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18088 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18089 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18090 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18091 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18092 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18093 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18094 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18095 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18096 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18097 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18098 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18099 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18100 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18101 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18102 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18103 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18104 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18105 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18106 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18107 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18108 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18109 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18110 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18111 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18113 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18114 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18115 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18116 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18118 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18119 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18120 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18121 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18122 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18123 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18124 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18125 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18126 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18127 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18128 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18129 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18130 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18131 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18132 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18133 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18134 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18135 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18136 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18138 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18139 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18140 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18141 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18142 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18143 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18144 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18145 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18146 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18147 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18148 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18149 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18150 * sysdeps/powerpc/sysdep.h: Likewise.
18151 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18152 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18153 * sysdeps/sh/dl-trampoline.S: Likewise.
18154 * sysdeps/sh/memset.S: Likewise.
18155 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18156 * sysdeps/sh/strlen.S: Likewise.
18157 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18158 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18159 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18160 * sysdeps/sparc/sparc32/rem.S: Likewise.
18161 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18162 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18163 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18164 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18165 * sysdeps/sparc/sparc32/urem.S: Likewise.
18166 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18167 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18168 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18169 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18170 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18171 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18172 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18173 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18174 * sysdeps/unix/bsd/times.c: Likewise.
18175 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18176 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18180 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18181 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18182 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18183 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18184 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18185 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18186 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18187 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18188 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18189 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18190 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18191 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18192 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18193 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18194 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18195 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18196 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18197 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18198 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18199 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18200 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18201 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18202 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18203 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18204 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18205 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18206 * sysdeps/x86_64/strcspn.S: Likewise.
18208 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18210 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18211 generated file. Regenerate properly from gen-translit.pl.
18212 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18213 locale/C-translit.h.
18215 2013-06-05 Andreas Schwab <schwab@suse.de>
18218 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18219 week as 6 instead of -1.
18220 * time/tst-strptime.c (day_tests): Add test case.
18222 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18224 * sysdeps/generic/math_private.h
18225 (libc_feholdexcept_setround_53bit): Replace with
18226 libc_feholdsetround_53bit.
18227 (libc_feupdateenv_53bit): Replace with
18228 libc_feresetround_53bit.
18229 (SET_RESTORE_ROUND_53BIT): Adjust.
18231 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18233 * string/test-strchrnul.c: Add copyright header.
18235 * posix/tst-getaddrinfo4.c: Increase test timeout.
18237 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18240 * math/libm-test.inc (MAX_EXP): Remove
18242 (ulp): Use MIN_EXP - MANT_DIG.
18243 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18245 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18247 * po/be.po: Revert last change.
18248 * po/zh_CN.po: Likewise.
18249 * po/header.pot: Likewise.
18251 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18253 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18254 link-libc-deps to empty as target-specific variable.
18255 * Makerules (link-libc-args): New variable.
18256 (libc-for-link): Likewise.
18257 (link-libc-deps): Likewise.
18258 (lib%.so): Depend on $(link-libc-deps). Link with
18260 (build-module): Link with $(link-libc-args).
18261 (build-module-asneeded): Likewise.
18262 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18264 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18265 target-specific variable.
18266 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18267 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18268 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18270 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18272 ($(objpfx)libpcprofile.so): Likewise.
18273 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18275 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18276 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18277 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18279 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18280 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18281 * login/Makefile ($(objpfx)libutil.so): Likewise.
18282 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18283 * math/Makefile ($(objpfx)libm.so): Likewise.
18284 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18285 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18286 variable instead of depending directly on libc.
18287 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18288 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18290 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18292 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18293 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18294 ($(objpfx)libanl.so): Likewise.
18295 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18297 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18299 * sysdeps/i386/fpu/Makefile: Remove file.
18300 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18301 ($(objpfx)libm.so): Remove dependency on ld.so.
18303 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18306 * nis/yp_xdr.c (XDRMAXNAME): Define.
18307 (XDRMAXRECORD): Define.
18308 (xdr_domainname): Use XDRMAXNAME.
18309 (xdr_mapname): Likewise.
18310 (xdr_peername): Likewise.
18311 (xdr_keydat): Use XDRMAXRECORD.
18312 (xdr_valdat): Likewise.
18314 2013-05-30 Jeff Law <law@redhat.com>
18317 * manual/errno.texi (ESTALE): Update to account for more than
18318 just NFS file systems.
18319 * sysdeps/gnu/errlist.c: Regenerated.
18321 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18324 * elf/Makefile (tests): Add tst-null-argv.
18325 (modules-names): Add tst-null-argv-lib.
18326 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18327 (tst-null-argv-ENV): Set environment for tst-null-argv.
18328 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18329 (RTLD_PROGNAME): New macro.
18330 * elf/tst-null-argv.c: New test case.
18331 * elf/tst-null-argv-lib.c: Library for test case.
18332 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18333 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18334 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18335 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18336 * elf/dl-init.c (call_init): Likewise.
18337 (_dl_init): Likewise.
18338 * elf/dl-load.c (print_search_path): Likewise.
18339 (_dl_map_object): Likewise.
18340 * elf/dl-lookup.c (do_lookup_x): Likewise.
18341 (add_dependency): Likewise.
18342 (_dl_lookup_symbol_x): Likewise.
18343 (_dl_debug_bindings): Likewise.
18344 * elf/dl-open.c (_dl_show_scope): Likewise.
18345 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18346 * elf/dl-version.c (match_symbol): Likewise.
18347 (_dl_check_map_versions): Likewise.
18348 * elf/rtld.c (dl_main): Likewise.
18349 (print_unresolved): Use RTLD_PROGNAME.
18350 (print_missing_version): Likewise.
18351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18352 (elf_machine_rela): Likewise.
18353 * sysdeps/powerpc/powerpc32/dl-machine.c
18354 (__process_machine_rela): Likewise.
18355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18357 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18359 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18361 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18362 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18364 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18366 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18368 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18370 * po/be.po: Add descriptive title.
18371 * po/zh_CN.po: Likewise.
18372 * po/header.pot: Likewise.
18374 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18376 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18378 (enlarge_archive): Likewise.
18380 2013-05-28 Ben North <ben@redfrontdoor.org>
18382 * manual/arith.texi (frexp): It is the magnitude of the return
18383 value which lies in [0.5, 1), not the return value itself.
18385 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18389 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18391 * stdio-common/bug26.c (main): Correct fscanf template.
18393 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18394 declare _dl_skip_args.
18396 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18399 * manual/platform.texi: Add missing @end deftypefun.
18401 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18404 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18405 bit of mantissa of 2^16382.
18406 * math/libm-test.inc (hypot_test_data): Add more tests.
18408 * math/libm-test.inc: Add drem and pow10 to list of tested
18410 (pow10_test): New function.
18411 (drem_test): Likewise.
18412 (drem_test_tonearest): Likewise.
18413 (drem_test_towardzero): Likewise.
18414 (drem_test_downward): Likewise.
18415 (drem_test_upward): Likewise.
18416 (main): Call the new functions.
18418 * math/libm-test.inc (finite_test_data): Remove.
18419 (finite_test): Run tests from isfinite_test_data.
18420 (gamma_test_data): Remove.
18421 (gamma_test): Run tests from lgamma_test_data.
18422 * sysdeps/i386/fpu/libm-test-ulps: Update.
18423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18425 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18427 * manual/platform.texi: Add PowerPC PPR function set documentation.
18428 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18431 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18433 * math/libm-test.inc (MAX_EXP): Define.
18435 (ulp): New function.
18436 (check_float_internal): Use ULPDIFF.
18437 (cpow_test): Disable failing test.
18438 (check_ulp): Test ulp() implemetnation.
18439 (main): Call check_ulp before starting tests.
18441 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18443 * math/gen-libm-test.pl (generate_testfile): Do not handle
18444 START_DATA and END_DATA.
18445 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18447 (acos_tonearest_test_data): Likewise.
18448 (acos_towardzero_test_data): Likewise.
18449 (acos_downward_test_data): Likewise.
18450 (acos_upward_test_data): Likewise.
18451 (acosh_test_data): Likewise.
18452 (asin_test_data): Likewise.
18453 (asin_tonearest_test_data): Likewise.
18454 (asin_towardzero_test_data): Likewise.
18455 (asin_downward_test_data): Likewise.
18456 (asin_upward_test_data): Likewise.
18457 (asinh_test_data): Likewise.
18458 (atan_test_data): Likewise.
18459 (atanh_test_data): Likewise.
18460 (atan2_test_data): Likewise.
18461 (cabs_test_data): Likewise.
18462 (cacos_test_data): Likewise.
18463 (cacosh_test_data): Likewise.
18464 (carg_test_data): Likewise.
18465 (casin_test_data): Likewise.
18466 (casinh_test_data): Likewise.
18467 (catan_test_data): Likewise.
18468 (catanh_test_data): Likewise.
18469 (cbrt_test_data): Likewise.
18470 (ccos_test_data): Likewise.
18471 (ccosh_test_data): Likewise.
18472 (ceil_test_data): Likewise.
18473 (cexp_test_data): Likewise.
18474 (cimag_test_data): Likewise.
18475 (clog_test_data): Likewise.
18476 (clog10_test_data): Likewise.
18477 (conj_test_data): Likewise.
18478 (copysign_test_data): Likewise.
18479 (cos_test_data): Likewise.
18480 (cos_tonearest_test_data): Likewise.
18481 (cos_towardzero_test_data): Likewise.
18482 (cos_downward_test_data): Likewise.
18483 (cos_upward_test_data): Likewise.
18484 (cosh_test_data): Likewise.
18485 (cosh_tonearest_test_data): Likewise.
18486 (cosh_towardzero_test_data): Likewise.
18487 (cosh_downward_test_data): Likewise.
18488 (cosh_upward_test_data): Likewise.
18489 (cpow_test_data): Likewise.
18490 (cproj_test_data): Likewise.
18491 (creal_test_data): Likewise.
18492 (csin_test_data): Likewise.
18493 (csinh_test_data): Likewise.
18494 (csqrt_test_data): Likewise.
18495 (ctan_test_data): Likewise.
18496 (ctan_tonearest_test_data): Likewise.
18497 (ctan_towardzero_test_data): Likewise.
18498 (ctan_downward_test_data): Likewise.
18499 (ctan_upward_test_data): Likewise.
18500 (ctanh_test_data): Likewise.
18501 (ctanh_tonearest_test_data): Likewise.
18502 (ctanh_towardzero_test_data): Likewise.
18503 (ctanh_downward_test_data): Likewise.
18504 (ctanh_upward_test_data): Likewise.
18505 (erf_test_data): Likewise.
18506 (erfc_test_data): Likewise.
18507 (exp_test_data): Likewise.
18508 (exp_tonearest_test_data): Likewise.
18509 (exp_towardzero_test_data): Likewise.
18510 (exp_downward_test_data): Likewise.
18511 (exp_upward_test_data): Likewise.
18512 (exp10_test_data): Likewise.
18513 (exp2_test_data): Likewise.
18514 (expm1_test_data): Likewise.
18515 (fabs_test_data): Likewise.
18516 (fdim_test_data): Likewise.
18517 (finite_test_data): Likewise.
18518 (floor_test_data): Likewise.
18519 (fma_test_data): Likewise.
18520 (fma_towardzero_test_data): Likewise.
18521 (fma_downward_test_data): Likewise.
18522 (fma_upward_test_data): Likewise.
18523 (fmax_test_data): Likewise.
18524 (fmin_test_data): Likewise.
18525 (fmod_test_data): Likewise.
18526 (fpclassify_test_data): Likewise.
18527 (frexp_test_data): Likewise.
18528 (gamma_test_data): Likewise.
18529 (hypot_test_data): Likewise.
18530 (ilogb_test_data): Likewise.
18531 (isfinite_test_data): Likewise.
18532 (isgreater_test_data): Likewise.
18533 (isgreaterequal_test_data): Likewise.
18534 (isinf_test_data): Likewise.
18535 (isless_test_data): Likewise.
18536 (islessequal_test_data): Likewise.
18537 (islessgreater_test_data): Likewise.
18538 (isnan_test_data): Likewise.
18539 (isnormal_test_data): Likewise.
18540 (issignaling_test_data): Likewise.
18541 (isunordered_test_data): Likewise.
18542 (j0_test_data): Likewise.
18543 (j1_test_data): Likewise.
18544 (jn_test_data): Likewise.
18545 (ldexp_test_data): Likewise.
18546 (lgamma_test_data): Likewise.
18547 (lrint_test_data): Likewise.
18548 (lrint_tonearest_test_data): Likewise.
18549 (lrint_towardzero_test_data): Likewise.
18550 (lrint_downward_test_data): Likewise.
18551 (lrint_upward_test_data): Likewise.
18552 (llrint_test_data): Likewise.
18553 (llrint_tonearest_test_data): Likewise.
18554 (llrint_towardzero_test_data): Likewise.
18555 (llrint_downward_test_data): Likewise.
18556 (llrint_upward_test_data): Likewise.
18557 (log_test_data): Likewise.
18558 (log10_test_data): Likewise.
18559 (log1p_test_data): Likewise.
18560 (log2_test_data): Likewise.
18561 (logb_test_data): Likewise.
18562 (logb_downward_test_data): Likewise.
18563 (lround_test_data): Likewise.
18564 (llround_test_data): Likewise.
18565 (modf_test_data): Likewise.
18566 (nearbyint_test_data): Likewise.
18567 (nextafter_test_data): Likewise.
18568 (nexttoward_test_data): Likewise.
18569 (pow_test_data): Likewise.
18570 (pow_tonearest_test_data): Likewise.
18571 (pow_towardzero_test_data): Likewise.
18572 (pow_downward_test_data): Likewise.
18573 (pow_upward_test_data): Likewise.
18574 (remainder_test_data): Likewise.
18575 (remainder_tonearest_test_data): Likewise.
18576 (remainder_towardzero_test_data): Likewise.
18577 (remainder_downward_test_data): Likewise.
18578 (remainder_upward_test_data): Likewise.
18579 (remquo_test_data): Likewise.
18580 (rint_test_data): Likewise.
18581 (rint_tonearest_test_data): Likewise.
18582 (rint_towardzero_test_data): Likewise.
18583 (rint_downward_test_data): Likewise.
18584 (rint_upward_test_data): Likewise.
18585 (round_test_data): Likewise.
18586 (scalb_test_data): Likewise.
18587 (scalbn_test_data): Likewise.
18588 (scalbln_test_data): Likewise.
18589 (signbit_test_data): Likewise.
18590 (sin_test_data): Likewise.
18591 (sin_tonearest_test_data): Likewise.
18592 (sin_towardzero_test_data): Likewise.
18593 (sin_downward_test_data): Likewise.
18594 (sin_upward_test_data): Likewise.
18595 (sincos_test_data): Likewise.
18596 (sinh_test_data): Likewise.
18597 (sinh_tonearest_test_data): Likewise.
18598 (sinh_towardzero_test_data): Likewise.
18599 (sinh_downward_test_data): Likewise.
18600 (sinh_upward_test_data): Likewise.
18601 (sqrt_test_data): Likewise.
18602 (tan_test_data): Likewise.
18603 (tan_tonearest_test_data): Likewise.
18604 (tan_towardzero_test_data): Likewise.
18605 (tan_downward_test_data): Likewise.
18606 (tan_upward_test_data): Likewise.
18607 (tanh_test_data): Likewise.
18608 (tgamma_test_data): Likewise.
18609 (trunc_test_data): Likewise.
18610 (y0_test_data): Likewise.
18611 (y1_test_data): Likewise.
18612 (yn_test_data): Likewise.
18613 (significand_test_data): Likewise.
18615 * math/gen-libm-test.pl (@functions): Remove variable.
18616 (generate_testfile): Don't handle START and END lines.
18617 * math/libm-test.inc (START): New macro.
18619 (END_COMPLEX): Likewise.
18620 (acos_test): Use END macro without arguments.
18621 (acos_test_tonearest): Likewise.
18622 (acos_test_towardzero): Likewise.
18623 (acos_test_downward): Likewise.
18624 (acos_test_upward): Likewise.
18625 (acosh_test): Likewise.
18626 (asin_test): Likewise.
18627 (asin_test_tonearest): Likewise.
18628 (asin_test_towardzero): Likewise.
18629 (asin_test_downward): Likewise.
18630 (asin_test_upward): Likewise.
18631 (asinh_test): Likewise.
18632 (atan_test): Likewise.
18633 (atanh_test): Likewise.
18634 (atan2_test): Likewise.
18635 (cabs_test): Likewise.
18636 (cacos_test): Use END_COMPLEX macro without arguments.
18637 (cacosh_test): Likewise.
18638 (carg_test): Use END macro without arguments.
18639 (casin_test): Use END_COMPLEX macro without arguments.
18640 (casinh_test): Likewise.
18641 (catan_test): Likewise.
18642 (catanh_test): Likewise.
18643 (cbrt_test): Use END macro without arguments.
18644 (ccos_test): Use END_COMPLEX macro without arguments.
18645 (ccosh_test): Likewise.
18646 (ceil_test): Use END macro without arguments.
18647 (cexp_test): Use END_COMPLEX macro without arguments.
18648 (cimag_test): Use END macro without arguments.
18649 (clog_test): Use END_COMPLEX macro without arguments.
18650 (clog10_test): Likewise.
18651 (conj_test): Likewise.
18652 (copysign_test): Use END macro without arguments.
18653 (cos_test): Likewise.
18654 (cos_test_tonearest): Likewise.
18655 (cos_test_towardzero): Likewise.
18656 (cos_test_downward): Likewise.
18657 (cos_test_upward): Likewise.
18658 (cosh_test): Likewise.
18659 (cosh_test_tonearest): Likewise.
18660 (cosh_test_towardzero): Likewise.
18661 (cosh_test_downward): Likewise.
18662 (cosh_test_upward): Likewise.
18663 (cpow_test): Use END_COMPLEX macro without arguments.
18664 (cproj_test): Likewise.
18665 (creal_test): Use END macro without arguments.
18666 (csin_test): Use END_COMPLEX macro without arguments.
18667 (csinh_test): Likewise.
18668 (csqrt_test): Likewise.
18669 (ctan_test): Likewise.
18670 (ctan_test_tonearest): Likewise.
18671 (ctan_test_towardzero): Likewise.
18672 (ctan_test_downward): Likewise.
18673 (ctan_test_upward): Likewise.
18674 (ctanh_test): Likewise.
18675 (ctanh_test_tonearest): Likewise.
18676 (ctanh_test_towardzero): Likewise.
18677 (ctanh_test_downward): Likewise.
18678 (ctanh_test_upward): Likewise.
18679 (erf_test): Use END macro without arguments.
18680 (erfc_test): Likewise.
18681 (exp_test): Likewise.
18682 (exp_test_tonearest): Likewise.
18683 (exp_test_towardzero): Likewise.
18684 (exp_test_downward): Likewise.
18685 (exp_test_upward): Likewise.
18686 (exp10_test): Likewise.
18687 (exp2_test): Likewise.
18688 (expm1_test): Likewise.
18689 (fabs_test): Likewise.
18690 (fdim_test): Likewise.
18691 (finite_test): Likewise.
18692 (floor_test): Likewise.
18693 (fma_test): Likewise.
18694 (fma_test_towardzero): Likewise.
18695 (fma_test_downward): Likewise.
18696 (fma_test_upward): Likewise.
18697 (fmax_test): Likewise.
18698 (fmin_test): Likewise.
18699 (fmod_test): Likewise.
18700 (fpclassify_test): Likewise.
18701 (frexp_test): Likewise.
18702 (gamma_test): Likewise.
18703 (hypot_test): Likewise.
18704 (ilogb_test): Likewise.
18705 (isfinite_test): Likewise.
18706 (isgreater_test): Likewise.
18707 (isgreaterequal_test): Likewise.
18708 (isinf_test): Likewise.
18709 (isless_test): Likewise.
18710 (islessequal_test): Likewise.
18711 (islessgreater_test): Likewise.
18712 (isnan_test): Likewise.
18713 (isnormal_test): Likewise.
18714 (issignaling_test): Likewise.
18715 (isunordered_test): Likewise.
18716 (j0_test): Likewise.
18717 (j1_test): Likewise.
18718 (jn_test): Likewise.
18719 (ldexp_test): Likewise.
18720 (lgamma_test): Likewise.
18721 (lrint_test): Likewise.
18722 (lrint_test_tonearest): Likewise.
18723 (lrint_test_towardzero): Likewise.
18724 (lrint_test_downward): Likewise.
18725 (lrint_test_upward): Likewise.
18726 (llrint_test): Likewise.
18727 (llrint_test_tonearest): Likewise.
18728 (llrint_test_towardzero): Likewise.
18729 (llrint_test_downward): Likewise.
18730 (llrint_test_upward): Likewise.
18731 (log_test): Likewise.
18732 (log10_test): Likewise.
18733 (log1p_test): Likewise.
18734 (log2_test): Likewise.
18735 (logb_test): Likewise.
18736 (logb_test_downward): Likewise.
18737 (lround_test): Likewise.
18738 (llround_test): Likewise.
18739 (modf_test): Likewise.
18740 (nearbyint_test): Likewise.
18741 (nextafter_test): Likewise.
18742 (nexttoward_test): Likewise.
18743 (pow_test): Likewise.
18744 (pow_test_tonearest): Likewise.
18745 (pow_test_towardzero): Likewise.
18746 (pow_test_downward): Likewise.
18747 (pow_test_upward): Likewise.
18748 (remainder_test): Likewise.
18749 (remainder_test_tonearest): Likewise.
18750 (remainder_test_towardzero): Likewise.
18751 (remainder_test_downward): Likewise.
18752 (remainder_test_upward): Likewise.
18753 (remquo_test): Likewise.
18754 (rint_test): Likewise.
18755 (rint_test_tonearest): Likewise.
18756 (rint_test_towardzero): Likewise.
18757 (rint_test_downward): Likewise.
18758 (rint_test_upward): Likewise.
18759 (round_test): Likewise.
18760 (scalb_test): Likewise.
18761 (scalbn_test): Likewise.
18762 (scalbln_test): Likewise.
18763 (signbit_test): Likewise.
18764 (sin_test): Likewise.
18765 (sin_test_tonearest): Likewise.
18766 (sin_test_towardzero): Likewise.
18767 (sin_test_downward): Likewise.
18768 (sin_test_upward): Likewise.
18769 (sincos_test): Likewise.
18770 (sinh_test): Likewise.
18771 (sinh_test_tonearest): Likewise.
18772 (sinh_test_towardzero): Likewise.
18773 (sinh_test_downward): Likewise.
18774 (sinh_test_upward): Likewise.
18775 (sqrt_test): Likewise.
18776 (tan_test): Likewise.
18777 (tan_test_tonearest): Likewise.
18778 (tan_test_towardzero): Likewise.
18779 (tan_test_downward): Likewise.
18780 (tan_test_upward): Likewise.
18781 (tanh_test): Likewise.
18782 (tgamma_test): Likewise.
18783 (trunc_test): Likewise.
18784 (y0_test): Likewise.
18785 (y1_test): Likewise.
18786 (yn_test): Likewise.
18787 (significand_test): Likewise.
18789 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18792 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18794 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18797 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18798 __ppc_mdoio and __ppc_mdoom.
18799 * manual/platform.texi: Document new functions __ppc_yield,
18800 __ppc_mdoio and __ppc_mdoom.
18802 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18804 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18805 (main): Mention "tls" pseudo-hwcap is legacy.
18806 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18808 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18810 * math/gen-libm-test.pl (parse_args): Output only string of
18811 arguments as text for test name, not full call or descriptions of
18812 tests for extra outputs.
18813 (generate_testfile): Do not pass function name to parse_args.
18814 Generate this_func variable from START.
18815 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18817 (struct test_ff_f_data): Likewise.
18818 (test_ff_f_data_nexttoward): Likewise.
18819 (struct test_fi_f_data): Likewise.
18820 (struct test_fl_f_data): Likewise.
18821 (struct test_if_f_data): Likewise.
18822 (struct test_fff_f_data): Likewise.
18823 (struct test_c_f_data): Likewise.
18824 (struct test_f_f1_data): Likewise. Remove field extra_name.
18825 (struct test_fF_f1_data): Likewise.
18826 (struct test_ffI_f1_data): Likewise.
18827 (struct test_c_c_data): Rename test_name field to arg_str.
18828 (struct test_cc_c_data): Likewise.
18829 (struct test_f_i_data): Likewise.
18830 (struct test_ff_i_data): Likewise.
18831 (struct test_f_l_data): Likewise.
18832 (struct test_f_L_data): Likewise.
18833 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18835 (COMMON_TEST_SETUP): New macro.
18836 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18837 (COMMON_TEST_CLEANUP): Likewise.
18838 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18839 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18841 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18842 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18844 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18845 (RUN_TEST_fff_f): Take argument string. Call new setup and
18847 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18848 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18850 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18851 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18853 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18854 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18856 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18857 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18859 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18860 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18862 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18863 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18865 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18866 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18868 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18869 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18871 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18872 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18874 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18875 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18877 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18878 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18880 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18881 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18883 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18884 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18886 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18887 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18889 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18890 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18892 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18894 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18896 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18897 to _sifields.sigfault.
18898 (si_addr_lsb): Define new macro.
18899 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18901 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18903 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18906 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18908 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18910 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18911 loading the domain.
18913 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18915 * math/gen-libm-test.pl (parse_args): Do not include expected
18916 result in test name.
18917 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18919 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18920 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18921 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18924 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18926 * benchtests/Makefile: Sort function entries.
18928 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18929 tanh, asinh, acosh, atanh.
18930 * benchtests/acos-inputs: New file.
18931 * benchtests/acosh-inputs: New file.
18932 * benchtests/asin-inputs: New file.
18933 * benchtests/asinh-inputs: New file.
18934 * benchtests/atanh-inputs: New file.
18935 * benchtests/cosh-inputs: New file.
18936 * benchtests/log-inputs: New file.
18937 * benchtests/sinh-inputs: New file.
18938 * benchtests/tanh-inputs: New file.
18940 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18943 * posix/tst-getaddrinfo4.c: New test.
18944 * posix/Makefile (tests): Add it.
18946 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18949 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18950 when no services were used.
18951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18952 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18954 2013-05-21 Andreas Schwab <schwab@suse.de>
18957 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18958 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18960 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18961 redundant variable declarations and reallocation of buffer when
18962 parsing as IPv6 address. Always set NSS status when called from
18963 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18964 buffer too small. Correct computation of needed size.
18965 * nss/Makefile (tests): Add test-digits-dots.
18966 * nss/test-digits-dots.c: New test.
18968 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18970 * benchtests/Makefile: Remove instructions for adding
18972 * benchtests/README: New file to explain how to execute and
18973 enhance the benchmark tests.
18975 2013-05-21 Andreas Schwab <schwab@suse.de>
18978 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18979 * setjmp/tst-sigsetjmp.c: New test.
18981 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18983 * sysdeps/x86_64/memset.S (memset): New implementation.
18984 (__bzero): Likewise.
18985 (__memset_tail): New function.
18987 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18989 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18990 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18991 __memcpy_sse2_unaligned ifunc selection.
18992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18993 Add memcpy-sse2-unaligned.S.
18994 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18995 Add: __memcpy_sse2_unaligned.
18997 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19000 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19001 math_force_eval before restoring floating-point envrionment.
19002 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19005 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19007 (__nearbyintl): Use math_force_eval before restoring
19008 floating-point environment.
19009 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19011 * math/gen-libm-test.pl (special_functions): Remove.
19012 (parse_args): Don't handle TEST_extra. Handle functions with no
19014 * math/libm-test.inc (struct test_sincos_data): Replace with
19015 struct test_fFF_11_data.
19016 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19017 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19018 (sincos_test_data): Change element type to struct
19019 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19020 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19021 RUN_TEST_LOOP_sincos.
19022 * math/README.libm-test: Don't mention special handling of
19023 individual functions.
19024 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19025 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19026 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19027 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19028 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19031 * math/gen-libm-test.pl (get_variable): Remove function.
19032 (parse_args): Don't show pointer parameters to call in test
19033 names. Use "extra output N" in test names for extra outputs
19034 rather than naming variables.
19036 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19039 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19040 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19041 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19043 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19045 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19048 * math/gen-libm-test.pl (@tests): Remove variable.
19049 ($count): Likewise.
19050 (new_test): Remove function.
19051 (show_exceptions): New function.
19052 (special_functions): Use show_exceptions instead of new_test.
19053 (parse_args): Likewise.
19054 (generate_testfile): Pass only function name in generated call to
19055 print_max_error or print_complex_max_error.
19056 (get_ulps): Do not handle complex tests specially.
19057 (output_test): Rename to ...
19058 (get_all_ulps_for_test): ... this. Return a string rather than
19059 printing to a file. Require ulps to be present.
19060 (output_ulps): Generate arrays rather than #defines.
19061 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19062 (struct ulp_data): New type.
19063 (BUILD_COMPLEX_ULP): Remove macro.
19064 (compare_ulp_data): New function.
19065 (find_ulps): Likewise.
19066 (find_test_ulps): Likewise.
19067 (find_function_ulps): Likewise.
19068 (find_complex_function_ulps): Likewise.
19069 (print_max_error): Determine allowed ulps using
19070 find_function_ulps.
19071 (print_complex_max_error): Determine allowed ulps using
19072 find_complex_function_ulps.
19073 (check_float_internal): Determine max ulps using find_test_ulps.
19074 (check_float): Do not take max_ulp parameter. Update call to
19075 check_float_internal.
19076 (check_complex): Likewise.
19077 (check_int): Do not take max_ulp parameter.
19078 (check_long): Likewise.
19079 (check_bool): Likewise.
19080 (check_longlong): Likewise.
19081 (struct test_f_f_data): Remove max_ulp field.
19082 (struct test_ff_f_data): Likewise.
19083 (struct test_ff_f_data_nexttoward): Likewise.
19084 (struct test_fi_f_data): Likewise.
19085 (struct test_fl_f_data): Likewise.
19086 (struct test_if_f_data): Likewise.
19087 (struct test_fff_f_data): Likewise.
19088 (struct test_c_f_data): Likewise.
19089 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19090 (struct test_fF_f1_data): Likewise.
19091 (struct test_ffI_f1_data): Likewise.
19092 (struct test_c_c_data): Remove max_ulp field.
19093 (struct test_cc_c_data): Likewise.
19094 (struct test_f_i_data): Likewise.
19095 (struct test_ff_i_data): Likewise.
19096 (struct test_f_l_data): Likewise.
19097 (struct test_f_L_data): Likewise.
19098 (struct test_sincos_data): Likewise.
19099 (RUN_TEST_f_f): Do not handle ulps.
19100 (RUN_TEST_LOOP_f_f): Likewise.
19101 (RUN_TEST_2_f): Likewise.
19102 (RUN_TEST_LOOP_2_f): Likewise.
19103 (RUN_TEST_fff_f): Likewise.
19104 (RUN_TEST_LOOP_fff_f): Likewise.
19105 (RUN_TEST_c_f): Likewise.
19106 (RUN_TEST_LOOP_c_f): Likewise.
19107 (RUN_TEST_f_f1): Likewise.
19108 (RUN_TEST_LOOP_f_f1): Likewise.
19109 (RUN_TEST_fF_f1): Likewise.
19110 (RUN_TEST_LOOP_fF_f1): Likewise.
19111 (RUN_TEST_fI_f1): Likewise.
19112 (RUN_TEST_LOOP_fI_f1): Likewise.
19113 (RUN_TEST_ffI_f1): Likewise.
19114 (RUN_TEST_LOOP_ffI_f1): Likewise.
19115 (RUN_TEST_c_c): Likewise.
19116 (RUN_TEST_LOOP_c_c): Likewise.
19117 (RUN_TEST_cc_c): Likewise.
19118 (RUN_TEST_LOOP_cc_c): Likewise.
19119 (RUN_TEST_f_i): Likewise.
19120 (RUN_TEST_LOOP_f_i): Likewise.
19121 (RUN_TEST_f_i_tg): Likewise.
19122 (RUN_TEST_LOOP_f_i_tg): Likewise.
19123 (RUN_TEST_ff_i_tg): Likewise.
19124 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19125 (RUN_TEST_f_b): Likewise.
19126 (RUN_TEST_LOOP_f_b): Likewise.
19127 (RUN_TEST_f_b_tg): Likewise.
19128 (RUN_TEST_LOOP_f_b_tg): Likewise.
19129 (RUN_TEST_f_l): Likewise.
19130 (RUN_TEST_LOOP_f_l): Likewise.
19131 (RUN_TEST_f_L): Likewise.
19132 (RUN_TEST_LOOP_f_L): Likewise.
19133 (RUN_TEST_sincos): Likewise.
19134 (RUN_TEST_LOOP_sincos): Likewise.
19136 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19140 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19141 main case of finite arguments, set rounding mode to FE_TONEAREST
19142 and discard exceptions.
19143 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19145 (remainder_tonearest_test_data): New variable.
19146 (remainder_test_tonearest): New function.
19147 (remainder_towardzero_test_data): New variable.
19148 (remainder_test_towardzero): New function.
19149 (remainder_downward_test_data): New variable.
19150 (remainder_test_downward): New function.
19151 (remainder_upward_test_data): New variable.
19152 (remainder_test_upward): New function.
19153 (main): Call the new test functions.
19155 * math/libm-test.inc (struct test_f_f1_data): Remove field
19157 (struct test_fF_f1_data): Likewise.
19158 (struct test_ffI_f1_data): Likewise.
19159 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19160 based on value of EXTRA_EXPECTED.
19161 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19162 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19163 EXTRA_VAR based on value of EXTRA_EXPECTED.
19164 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19165 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19166 EXTRA_VAR based on value of EXTRA_EXPECTED.
19167 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19168 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19169 EXTRA_VAR based on value of EXTRA_EXPECTED.
19170 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19171 * math/gen-libm-test.pl (parse_args): Don't output initializers
19172 for extra output values.
19174 * math/libm-test.inc (check_int): Expect result to be exactly
19175 equal to expected value and do not handle ulps.
19176 (check_long): Likewise.
19177 (check_longlong): Likewise.
19179 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19181 (cimag_test_data): Likewise.
19182 (conj_test_data): Likewise.
19183 (copysign_test_data): Likewise.
19184 (cproj_test_data): Likewise.
19185 (creal_test_data): Likewise.
19186 (fabs_test_data): Likewise.
19187 (fdim_test_data): Likewise.
19188 (finite_test_data): Likewise.
19189 (floor_test_data): Likewise.
19190 (fmax_test_data): Likewise.
19191 (fmin_test_data): Likewise.
19192 (fmod_test_data): Likewise.
19193 (fpclassify_test_data): Likewise.
19194 (frexp_test_data): Likewise.
19195 (ilogb_test_data): Likewise.
19196 (isfinite_test_data): Likewise.
19197 (isgreater_test_data): Likewise.
19198 (isgreaterequal_test_data): Likewise.
19199 (isinf_test_data): Likewise.
19200 (isless_test_data): Likewise.
19201 (islessequal_test_data): Likewise.
19202 (islessgreater_test_data): Likewise.
19203 (isnan_test_data): Likewise.
19204 (isnormal_test_data): Likewise.
19205 (issignaling_test_data): Likewise.
19206 (isunordered_test_data): Likewise.
19207 (ldexp_test_data): Likewise.
19208 (lrint_test_data): Likewise.
19209 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19210 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19211 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19212 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19213 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19214 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19216 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19217 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19218 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19219 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19221 (lrint_downward_test_data): Test for "inexact" exceptions.
19222 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19223 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19224 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19226 (lrint_upward_test_data): Test for "inexact" exceptions.
19227 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19229 (llrint_test_data): Test for "inexact" exceptions.
19230 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19231 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19232 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19233 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19234 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19235 (llrint_downward_test_data): Test for "inexact" exceptions.
19236 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19237 (llrint_upward_test_data): Test for "inexact" exceptions.
19238 (logb_test_data): Likewise.
19239 (logb_downward_test_data): Likewise.
19240 (nextafter_test_data): Likewise.
19241 (nexttoward_test_data): Likewise.
19242 (remainder_test_data): Likewise.
19243 (remquo_test_data): Likewise.
19244 (scalbn_test_data): Likewise.
19245 (scalbln_test_data): Likewise.
19246 (signbit_test_data): Likewise.
19247 (sqrt_test_data): Likewise.
19248 (significand_test_data): Likewise.
19250 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19253 * benchtests/bench-modf.c (struct args): Mark arg0 as
19255 * scripts/bench.pl: Mark members of struct args as volatile.
19257 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19260 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19261 negative infinity on POWER6 or lower.
19262 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19264 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19267 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19268 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19269 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19270 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19271 (_FP_SETQNAN): New macro.
19272 (_FP_SETQNAN_SEMIRAW): Likewise.
19273 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19274 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19275 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19276 (FP_EXTEND): Use _FP_FRAC_SNANP.
19277 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19278 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19280 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19282 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19285 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19287 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19288 with DIVIDE_BY_ZERO_EXCEPTION.
19289 (gamma_test_data): Likewise.
19290 (lgamma_test_data): Likewise.
19291 (log_test_data): Likewise.
19292 (log10_test_data): Likewise.
19293 (log2_test_data): Likewise.
19294 (tgamma_test_data): Likewise.
19296 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19297 (acos_test_tonearest): Likewise.
19298 (acos_test_towardzero): Likewise.
19299 (acos_test_downward): Likewise.
19300 (acos_test_upward): Likewise.
19301 (acosh_test): Likewise.
19302 (asin_test): Likewise.
19303 (asin_test_tonearest): Likewise.
19304 (asin_test_towardzero): Likewise.
19305 (asin_test_downward): Likewise.
19306 (asin_test_upward): Likewise.
19307 (asinh_test): Likewise.
19308 (atan_test): Likewise.
19309 (atanh_test): Likewise.
19310 (atan2_test): Likewise.
19311 (cabs_test): Likewise.
19312 (cacos_test): Likewise.
19313 (cacosh_test): Likewise.
19314 (casin_test): Likewise.
19315 (casinh_test): Likewise.
19316 (catan_test): Likewise.
19317 (catanh_test): Likewise.
19318 (cbrt_test): Likewise.
19319 (ccos_test): Likewise.
19320 (ccosh_test): Likewise.
19321 (cexp_test): Likewise.
19322 (clog_test): Likewise.
19323 (clog10_test): Likewise.
19324 (cos_test): Likewise.
19325 (cos_test_tonearest): Likewise.
19326 (cos_test_towardzero): Likewise.
19327 (cos_test_downward): Likewise.
19328 (cos_test_upward): Likewise.
19329 (cosh_test): Likewise.
19330 (cosh_test_tonearest): Likewise.
19331 (cosh_test_towardzero): Likewise.
19332 (cosh_test_downward): Likewise.
19333 (cosh_test_upward): Likewise.
19334 (cpow_test): Likewise.
19335 (csin_test): Likewise.
19336 (csinh_test): Likewise.
19337 (csqrt_test): Likewise.
19338 (ctan_test): Likewise.
19339 (ctan_test_tonearest): Likewise.
19340 (ctan_test_towardzero): Likewise.
19341 (ctan_test_downward): Likewise.
19342 (ctan_test_upward): Likewise.
19343 (ctanh_test): Likewise.
19344 (ctanh_test_tonearest): Likewise.
19345 (ctanh_test_towardzero): Likewise.
19346 (ctanh_test_downward): Likewise.
19347 (ctanh_test_upward): Likewise.
19348 (erf_test): Likewise.
19349 (erfc_test): Likewise.
19350 (exp_test): Likewise.
19351 (exp_test_tonearest): Likewise.
19352 (exp_test_towardzero): Likewise.
19353 (exp_test_downward): Likewise.
19354 (exp_test_upward): Likewise.
19355 (exp10_test): Likewise.
19356 (exp2_test): Likewise.
19357 (expm1_test): Likewise.
19358 (fmod_test): Likewise.
19359 (gamma_test): Likewise.
19360 (hypot_test): Likewise.
19361 (j0_test): Likewise.
19362 (j1_test): Likewise.
19363 (jn_test): Likewise.
19364 (lgamma_test): Likewise.
19365 (log_test): Likewise.
19366 (log10_test): Likewise.
19367 (log1p_test): Likewise.
19368 (log2_test): Likewise.
19369 (logb_test_downward): Likewise.
19370 (pow_test): Likewise.
19371 (pow_test_tonearest): Likewise.
19372 (pow_test_towardzero): Likewise.
19373 (pow_test_downward): Likewise.
19374 (pow_test_upward): Likewise.
19375 (remainder_test): Likewise.
19376 (remquo_test): Likewise.
19377 (sin_test): Likewise.
19378 (sin_test_tonearest): Likewise.
19379 (sin_test_towardzero): Likewise.
19380 (sin_test_downward): Likewise.
19381 (sin_test_upward): Likewise.
19382 (sincos_test): Likewise.
19383 (sinh_test): Likewise.
19384 (sinh_test_tonearest): Likewise.
19385 (sinh_test_towardzero): Likewise.
19386 (sinh_test_downward): Likewise.
19387 (sinh_test_upward): Likewise.
19388 (sqrt_test): Likewise.
19389 (tan_test): Likewise.
19390 (tan_test_tonearest): Likewise.
19391 (tan_test_towardzero): Likewise.
19392 (tan_test_downward): Likewise.
19393 (tan_test_upward): Likewise.
19394 (tanh_test): Likewise.
19395 (tgamma_test): Likewise.
19396 (y0_test): Likewise.
19397 (y1_test): Likewise.
19398 (yn_test): Likewise.
19400 * math/gen-libm-test.pl (adjust_arg): Remove function.
19401 (special_function): Remove argument $in_func. Only handle
19402 generating output for tables of tests, not inside functions.
19403 (parse_args): Likewise.
19404 (generate_testfile): Remove variable $in_func. Update call to
19406 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19407 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19408 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19409 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19410 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19411 (MAX_VALUE_INIT): Rename macro to max_value.
19412 (MIN_VALUE_INIT): Rename macro to min_value.
19413 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19414 (plus_zero): Remove variable.
19415 (minus_zero): Likewise.
19416 (plus_infty): Likewise.
19417 (minus_infty): Likewise.
19418 (qnan_value): Likewise.
19419 (max_value): Likewise.
19420 (min_value): Likewise.
19421 (min_subnorm_value): Likewise.
19423 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19425 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19426 uint64_t or uint32_t usage.
19427 * crypt/sha256-block.c: Likewise.
19428 * crypt/sha256-crypt.c: Likewise.
19429 * crypt/sha256.c: Likewise.
19430 * crypt/sha512-block.c: Likewise.
19431 * crypt/sha512-crypt.c: Likewise.
19432 * crypt/sha512.c: Likewise.
19433 * debug/backtrace-tst.c: Likewise.
19434 * debug/pcprofiledump.c: Likewise.
19435 * elf/cache.c: Likewise.
19436 * elf/dl-cache.c: Likewise.
19437 * elf/dl-misc.c: Likewise.
19438 * elf/dl-profile.c: Likewise.
19439 * elf/dl-support.c: Likewise.
19440 * elf/ldconfig.c: Likewise.
19441 * elf/sprof.c: Likewise.
19442 * iconv/dummy-repertoire.c: Likewise.
19443 * iconv/iconv_charmap.c: Likewise.
19444 * iconv/skeleton.c: Likewise.
19445 * iconvdata/8bit-generic.c: Likewise.
19446 * iconvdata/cp737.h: Likewise.
19447 * iconvdata/cp775.h: Likewise.
19448 * iconvdata/ibm1008.h: Likewise.
19449 * iconvdata/ibm1025.h: Likewise.
19450 * iconvdata/ibm1046.h: Likewise.
19451 * iconvdata/ibm1097.h: Likewise.
19452 * iconvdata/ibm1112.h: Likewise.
19453 * iconvdata/ibm1122.h: Likewise.
19454 * iconvdata/ibm1123.h: Likewise.
19455 * iconvdata/ibm1124.h: Likewise.
19456 * iconvdata/ibm1129.h: Likewise.
19457 * iconvdata/ibm1130.h: Likewise.
19458 * iconvdata/ibm1132.h: Likewise.
19459 * iconvdata/ibm1133.h: Likewise.
19460 * iconvdata/ibm1137.h: Likewise.
19461 * iconvdata/ibm1140.h: Likewise.
19462 * iconvdata/ibm1141.h: Likewise.
19463 * iconvdata/ibm1142.h: Likewise.
19464 * iconvdata/ibm1143.h: Likewise.
19465 * iconvdata/ibm1144.h: Likewise.
19466 * iconvdata/ibm1145.h: Likewise.
19467 * iconvdata/ibm1146.h: Likewise.
19468 * iconvdata/ibm1147.h: Likewise.
19469 * iconvdata/ibm1148.h: Likewise.
19470 * iconvdata/ibm1149.h: Likewise.
19471 * iconvdata/ibm1153.h: Likewise.
19472 * iconvdata/ibm1154.h: Likewise.
19473 * iconvdata/ibm1155.h: Likewise.
19474 * iconvdata/ibm1156.h: Likewise.
19475 * iconvdata/ibm1157.h: Likewise.
19476 * iconvdata/ibm1158.h: Likewise.
19477 * iconvdata/ibm1160.h: Likewise.
19478 * iconvdata/ibm1161.h: Likewise.
19479 * iconvdata/ibm1162.h: Likewise.
19480 * iconvdata/ibm1163.h: Likewise.
19481 * iconvdata/ibm1164.h: Likewise.
19482 * iconvdata/ibm1166.h: Likewise.
19483 * iconvdata/ibm1167.h: Likewise.
19484 * iconvdata/ibm12712.h: Likewise.
19485 * iconvdata/ibm1390.h: Likewise.
19486 * iconvdata/ibm1399.h: Likewise.
19487 * iconvdata/ibm16804.h: Likewise.
19488 * iconvdata/ibm4517.h: Likewise.
19489 * iconvdata/ibm4899.h: Likewise.
19490 * iconvdata/ibm4909.h: Likewise.
19491 * iconvdata/ibm4971.h: Likewise.
19492 * iconvdata/ibm5347.h: Likewise.
19493 * iconvdata/ibm803.h: Likewise.
19494 * iconvdata/ibm856.h: Likewise.
19495 * iconvdata/ibm901.h: Likewise.
19496 * iconvdata/ibm902.h: Likewise.
19497 * iconvdata/ibm9030.h: Likewise.
19498 * iconvdata/ibm9066.h: Likewise.
19499 * iconvdata/ibm921.h: Likewise.
19500 * iconvdata/ibm922.h: Likewise.
19501 * iconvdata/ibm9448.h: Likewise.
19502 * iconvdata/isiri-3342.h: Likewise.
19503 * iconvdata/jis0201.h: Likewise.
19504 * include/link.h: Likewise.
19505 * include/netdb.h: Likewise.
19506 * inet/check_native.c: Likewise.
19507 * inet/check_pf.c: Likewise.
19508 * inet/getipv4sourcefilter.c: Likewise.
19509 * inet/getnameinfo.c: Likewise.
19510 * inet/getsourcefilter.c: Likewise.
19511 * inet/htonl.c: Likewise.
19512 * inet/setipv4sourcefilter.c: Likewise.
19513 * inet/setsourcefilter.c: Likewise.
19514 * inet/test-inet6_opt.c: Likewise.
19515 * inet/tst-network.c: Likewise.
19516 * locale/C-collate.c: Likewise.
19517 * locale/C-ctype.c: Likewise.
19518 * locale/C-time.c: Likewise.
19519 * locale/C-translit.h: Likewise.
19520 * locale/loadarchive.c: Likewise.
19521 * locale/programs/3level.h: Likewise.
19522 * locale/programs/charmap.c: Likewise.
19523 * locale/programs/charmap.h: Likewise.
19524 * locale/programs/ld-address.c: Likewise.
19525 * locale/programs/ld-collate.c: Likewise.
19526 * locale/programs/ld-ctype.c: Likewise.
19527 * locale/programs/ld-identification.c: Likewise.
19528 * locale/programs/ld-measurement.c: Likewise.
19529 * locale/programs/ld-messages.c: Likewise.
19530 * locale/programs/ld-monetary.c: Likewise.
19531 * locale/programs/ld-name.c: Likewise.
19532 * locale/programs/ld-numeric.c: Likewise.
19533 * locale/programs/ld-paper.c: Likewise.
19534 * locale/programs/ld-telephone.c: Likewise.
19535 * locale/programs/ld-time.c: Likewise.
19536 * locale/programs/linereader.c: Likewise.
19537 * locale/programs/locale.c: Likewise.
19538 * locale/programs/locarchive.c: Likewise.
19539 * locale/programs/locfile.h: Likewise.
19540 * locale/programs/repertoire.c: Likewise.
19541 * locale/programs/simple-hash.c: Likewise.
19542 * locale/programs/simple-hash.h: Likewise.
19543 * malloc/memusage.c: Likewise.
19544 * malloc/memusagestat.c: Likewise.
19545 * nis/nis_defaults.c: Likewise.
19546 * nis/nis_hash.c: Likewise.
19547 * nis/nis_print.c: Likewise.
19548 * nis/nis_xdr.c: Likewise.
19549 * nscd/connections.c: Likewise.
19550 * nscd/hstcache.c: Likewise.
19551 * nscd/nscd_gethst_r.c: Likewise.
19552 * nscd/nscd_getserv_r.c: Likewise.
19553 * nscd/nscd_helper.c: Likewise.
19554 * nscd/servicescache.c: Likewise.
19555 * nss/makedb.c: Likewise.
19556 * nss/nss_db/db-XXX.c: Likewise.
19557 * nss/nss_db/db-initgroups.c: Likewise.
19558 * nss/nss_db/db-netgrp.c: Likewise.
19559 * nss/nss_files/files-network.c: Likewise.
19560 * nss/nss_files/files-parse.c: Likewise.
19561 * posix/bug-regex5.c: Likewise.
19562 * posix/fnmatch_loop.c: Likewise.
19563 * posix/regcomp.c: Likewise.
19564 * posix/regexec.c: Likewise.
19565 * posix/tst-rfc3484-2.c: Likewise.
19566 * posix/tst-rfc3484-3.c: Likewise.
19567 * posix/tst-rfc3484.c: Likewise.
19568 * resolv/nss_dns/dns-canon.c: Likewise.
19569 * resolv/nss_dns/dns-network.c: Likewise.
19570 * resolv/res_init.c: Likewise.
19571 * resolv/res_mkquery.c: Likewise.
19572 * resolv/tst-aton.c: Likewise.
19573 * stdlib/cxa_atexit.c: Likewise.
19574 * stdlib/cxa_finalize.c: Likewise.
19575 * stdlib/gen-fpioconst.c: Likewise.
19576 * stdlib/strtol_l.c: Likewise.
19577 * string/tst-endian.c: Likewise.
19578 * sunrpc/auth_des.c: Likewise.
19579 * sunrpc/clnt_udp.c: Likewise.
19580 * sunrpc/rtime.c: Likewise.
19581 * sunrpc/svcauth_des.c: Likewise.
19582 * sunrpc/xdr.c: Likewise.
19583 * sunrpc/xdr_intXX_t.c: Likewise.
19584 * sunrpc/xdr_rec.c: Likewise.
19585 * sysdeps/generic/ldconfig.h: Likewise.
19586 * sysdeps/generic/ldsodefs.h: Likewise.
19587 * sysdeps/generic/memusage.h: Likewise.
19588 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19589 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19590 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19591 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19598 * sysdeps/posix/getaddrinfo.c: Likewise.
19599 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19600 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19601 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19602 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19603 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19604 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19605 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19606 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19607 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19608 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19609 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19610 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19611 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19612 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19613 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19614 * sysdeps/x86_64/dl-tls.h: Likewise.
19615 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19616 * time/alt_digit.c: Likewise.
19617 * time/era.c: Likewise.
19618 * wcsmbs/tst-c16c32-1.c: Likewise.
19620 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19622 * math/libm-test.inc (struct test_sincos_data): New type.
19623 (RUN_TEST_LOOP_sincos): New macro.
19624 (sincos_test_data): New variable.
19625 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19627 2013-05-16 Richard Henderson <rth@redhat.com>
19629 * math/atest-exp2.c (LIMB64): New macro.
19630 (CONSTSZ): New macro.
19631 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19633 (print_mpn_fp): ... to function scope.
19634 (read_mpn_hex): Remove.
19635 (get_log2): Remove.
19636 (exp2_mpn): Use mp_log2.
19637 (main): Use mp_exp1.
19639 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19641 * math/libm-test.inc: Remove comment about not testing "inexact"
19643 (INEXACT_EXCEPTION): New macro.
19644 (NO_INEXACT_EXCEPTION): Likewise.
19645 (INVALID_EXCEPTION_OK): Update value.
19646 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19647 (OVERFLOW_EXCEPTION_OK): Likewise.
19648 (UNDERFLOW_EXCEPTION_OK): Likewise.
19649 (IGNORE_ZERO_INF_SIGN): Likewise.
19650 (ERRNO_UNCHANGED): Likewise.
19651 (ERRNO_EDOM): Likewise.
19652 (ERRNO_ERANGE): Likewise.
19653 (test_exceptions): Handle testing "inexact" exceptions.
19654 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19655 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19656 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19657 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19659 (rint_towardzero_test_data): Likewise.
19660 (rint_downward_test_data): Likewise.
19661 (rint_upward_test_data): Likewise.
19663 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19664 with OVERFLOW_EXCEPTION.
19665 (exp10_test_data): Likewise.
19666 (exp2_test_data): Likewise.
19667 (expm1_test_data): Likewise.
19668 (lgamma_test_data): Likewise.
19669 (pow_test_data): Likewise.
19670 (tgamma_test_data): Likewise.
19671 (yn_test_data): Remove duplicate test of overflow.
19673 * math/libm-test.inc (struct test_cc_c_data): New type.
19674 (RUN_TEST_LOOP_cc_c): New macro.
19675 (cpow_test_data): New variable.
19676 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19678 * math/libm-test.inc (struct test_f_L_data): New type.
19679 (RUN_TEST_LOOP_f_L): New macro.
19680 (llrint_test_data): New variable.
19681 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19682 (llrint_tonearest_test_data): New variable.
19683 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19684 (llrint_towardzero_test_data): New variable.
19685 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19686 (llrint_downward_test_data): New variable.
19687 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19688 (llrint_upward_test_data): New variable.
19689 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19690 (llround_test_data): New variable.
19691 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19693 2013-05-13 Peter Collingbourne <pcc@google.com>
19695 * math/atest-exp2.c (get_log2): Remove const attribute.
19697 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19699 * math/libm-test.inc (struct test_f_l_data): New type.
19700 (RUN_TEST_LOOP_f_l): New macro.
19701 (lrint_test_data): New variable.
19702 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19703 (lrint_tonearest_test_data): New variable.
19704 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19705 (lrint_towardzero_test_data): New variable.
19706 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19707 (lrint_downward_test_data): New variable.
19708 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19709 (lrint_upward_test_data): New variable.
19710 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19711 (lround_test_data): New variable.
19712 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19714 2013-05-15 Peter Collingbourne <pcc@google.com>
19716 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19717 (EXTRACT_WORDS64) Use where appropriate.
19718 (INSERT_WORDS64) Likewise.
19720 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19721 constraints with x constraints.
19722 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19724 * malloc/obstack.c (_obstack_compat): Add initializer.
19726 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19728 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19729 si_trapno and add si_addr_lsb to _sifields.sigfault.
19730 (si_trapno): Remove macro.
19731 (si_addr_lsb): Define new macro.
19732 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19734 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19736 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19737 instead of TEST_f_l.
19738 (llrint_test_tonearest): Likewise.
19739 (llrint_test_towardzero): Likewise.
19740 (llrint_test_downward): Likewise.
19741 (llrint_test_upward): Likewise.
19742 (llround_test): Likewise.
19744 * math/libm-test.inc (struct test_f_i_data): Add comment.
19745 (RUN_TEST_LOOP_f_b): New macro.
19746 (RUN_TEST_LOOP_f_b_tg): Likewise.
19747 (finite_test_data): New variable.
19748 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19749 (isfinite_test_data): New variable.
19750 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19751 (isinf_test_data): New variable.
19752 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19753 (isnan_test_data): New variable.
19754 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19755 (isnormal_test_data): New variable.
19756 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19757 (issignaling_test_data): New variable.
19758 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19759 (signbit_test_data): New variable.
19760 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19762 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19763 with INVALID_EXCEPTION.
19764 (acosh_test_data): Likewise.
19765 (asin_test_data): Likewise.
19766 (atanh_test_data): Likewise.
19767 (fmod_test_data): Likewise.
19768 (log_test_data): Likewise.
19769 (log10_test_data): Likewise.
19770 (log2_test_data): Likewise.
19771 (pow_test_data): Likewise.
19772 (sqrt_test_data): Likewise.
19773 (y0_test_data): Likewise.
19774 (y1_test_data): Likewise.
19775 (yn_test_data): Likewise.
19777 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19780 * math/libm-test.inc (struct test_ff_i_data): New type.
19781 (RUN_TEST_LOOP_ff_i_tg): New macro.
19782 (isgreater_test_data): New variable.
19783 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19784 (isgreaterequal_test_data): New variable.
19785 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19786 (isless_test_data): New variable.
19787 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19788 (islessequal_test_data): New variable.
19789 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19790 (islessgreater_test_data): New variable.
19791 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19792 (isunordered_test_data): New variable.
19793 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19795 2013-05-14 David S. Miller <davem@davemloft.net>
19797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19799 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19801 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19803 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19805 (struct test_f_i_data): Change type of max_ulp to int.
19807 * math/libm-test.inc (test_ffI_f1_data): New type.
19808 (RUN_TEST_LOOP_ffI_f1): New macro.
19809 (remquo_test_data): New variable.
19810 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19812 * setjmp/tst-setjmp-fp.c: New file.
19813 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19814 (link-libm): New variable.
19815 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19817 * math/libm-test.inc (struct test_f_i_data): New type.
19818 (RUN_TEST_LOOP_f_i): New macro.
19819 (RUN_TEST_LOOP_f_i_tg): Likewise.
19820 (fpclassify_test_data): New variable.
19821 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19822 (ilogb_test_data): New variable.
19823 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19825 * math/libm-test.inc (scalbln_test): Correct function name in END
19828 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19829 (RUN_TEST_LOOP_fI_f1): New macro.
19830 (frexp_test_data): New variable.
19831 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19833 * math/libm-test.inc (struct test_fF_f1_data): New type.
19834 (RUN_TEST_LOOP_fF_f1): New macro.
19835 (modf_test_data): New variable.
19836 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19838 * math/libm-test.inc (struct test_f_f1_data): New type.
19839 (RUN_TEST_LOOP_f_f1): New macro.
19840 (gamma_test_data): New variable.
19841 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19842 (lgamma_test_data): New variable.
19843 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19845 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19847 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19848 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19849 (main): Comment "tls" pseudo-hwcap.
19851 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19853 * math/libm-test.inc (struct test_fl_f_data): New type.
19854 (RUN_TEST_LOOP_fl_f): New variable.
19855 (scalbln_test_data): New variable.
19856 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19858 * math/libm-test.inc (struct test_fi_f_data): New type.
19859 (RUN_TEST_LOOP_fi_f): New macro.
19860 (ldexp_test_data): New variable.
19861 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19862 (scalbn_test_data): New variable.
19863 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19865 * math/libm-test.inc (struct test_c_f_data): New type.
19866 (RUN_TEST_LOOP_c_f): New macro.
19867 (cabs_test_data): New variable.
19868 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19869 (carg_test_data): New variable.
19870 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19871 (cimag_test_data): New variable.
19872 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19873 (creal_test_data): New variable.
19874 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19876 * math/libm-test.inc (struct test_if_f_data): New type.
19877 (RUN_TEST_LOOP_if_f): New macro.
19878 (jn_test_data): New variable.
19879 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19880 (yn_test_data): New variable.
19881 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19883 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19885 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19887 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19888 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19890 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19892 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19893 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19894 (bench-deps): Add bench-timing.h.
19895 * benchtests-bench-skeleton.c: Include bench-timing.h.
19896 (main): Use TIMING_* macros instead of clock_gettime.
19897 * benchtests/bench-timing.h: New file.
19900 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19901 Renamed from _LIB_VERSION.
19902 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19904 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19906 * math/libm-test.inc (struct test_fff_f_data): New type.
19907 (RUN_TEST_LOOP_fff_f): New macro.
19908 (fma_test_data): New variable.
19909 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19910 (fma_towardzero_test_data): New variable.
19911 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19912 (fma_downward_test_data): New variable.
19913 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19914 (fma_upward_test_data): New variable.
19915 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19917 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19918 (struct test_c_c_data): New type.
19919 (RUN_TEST_LOOP_c_c): New macro.
19920 (cacos_test_data): New variable.
19921 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19922 (cacosh_test_data): New variable.
19923 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19924 (casin_test_data): New variable.
19925 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19926 (casinh_test_data): New variable.
19927 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19928 (catan_test_data): New variable.
19929 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19930 (catanh_test_data): New variable.
19931 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19932 (ccos_test_data): New variable.
19933 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19934 (ccosh_test_data): New variable.
19935 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19936 (cexp_test_data): New variable.
19937 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19938 (clog_test_data): New variable.
19939 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19940 (clog10_test_data): New variable.
19941 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19942 (conj_test_data): New variable.
19943 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19944 (cproj_test_data): New variable.
19945 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19946 (csin_test_data): New variable.
19947 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19948 (csinh_test_data): New variable.
19949 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19950 (csqrt_test_data): New variable.
19951 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19952 (ctan_test_data): New variable.
19953 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19954 (ctan_tonearest_test_data): New variable.
19955 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19956 (ctan_towardzero_test_data): New variable.
19957 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19958 (ctan_downward_test_data): New variable.
19959 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19960 (ctan_upward_test_data): New variable.
19961 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19962 (ctanh_test_data): New variable.
19963 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19964 (ctanh_tonearest_test_data): New variable.
19965 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19966 (ctanh_towardzero_test_data): New variable.
19967 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19968 (ctanh_downward_test_data): New variable.
19969 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19970 (ctanh_upward_test_data): New variable.
19971 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19972 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19975 * math/libm-test.inc (struct test_ff_f_data): New type.
19976 (struct test_ff_f_data_nexttoward): Likewise.
19977 (RUN_TEST_LOOP_2_f): New macro.
19978 (RUN_TEST_LOOP_ff_f): Likewise.
19979 (atan2_test_data): New variable.
19980 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19981 (copysign_test_data): New variable.
19982 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19983 (fdim_test_data): New variable.
19984 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19985 (fmax_test_data): New variable.
19986 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19987 (fmin_test_data): New variable.
19988 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19989 (fmod_test_data): New variable.
19990 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19991 (hypot_test_data): New variable.
19992 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19993 (nextafter_test_data): New variable.
19994 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19995 (nexttoward_test_data): New variable.
19996 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19997 (pow_test_data): New variable.
19998 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19999 (pow_tonearest_test_data): New variable.
20000 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20001 (pow_towardzero_test_data): New variable.
20002 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20003 (pow_downward_test_data): New variable.
20004 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20005 (pow_upward_test_data): New variable.
20006 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20007 (remainder_test_data): New variable.
20008 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20009 (scalb_test_data): New variable.
20010 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20011 * sysdeps/i386/fpu/libm-test-ulps: Update.
20013 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20015 * math/libm-test.inc (fma_test): Use max_value instead of local
20017 (nextafter_test): Likewise.
20019 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20020 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20021 (acos_downward_test_data): New variable.
20022 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20023 (acos_upward_test_data): New variable.
20024 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20025 (acosh_test_data): New variable.
20026 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20027 (asin_test_data): New variable.
20028 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20029 (asin_tonearest_test_data): New variable.
20030 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20031 (asin_towardzero_test_data): New variable.
20032 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20033 (asin_downward_test_data): New variable.
20034 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20035 (asin_upward_test_data): New variable.
20036 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20037 (asinh_test_data): New variable.
20038 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20039 (atan_test_data): New variable.
20040 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20041 (atanh_test_data): New variable.
20042 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20043 (cbrt_test_data): New variable.
20044 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20045 (ceil_test_data): New variable.
20046 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20047 (cos_test_data): New variable.
20048 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20049 (cos_tonearest_test_data): New variable.
20050 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20051 (cos_towardzero_test_data): New variable.
20052 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20053 (cos_downward_test_data): New variable.
20054 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20055 (cos_upward_test_data): New variable.
20056 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20057 (cosh_test_data): New variable.
20058 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20059 (cosh_tonearest_test_data): New variable.
20060 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20061 (cosh_towardzero_test_data): New variable.
20062 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20063 (cosh_downward_test_data): New variable.
20064 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20065 (cosh_upward_test_data): New variable.
20066 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20067 (erf_test_data): New variable.
20068 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20069 (erfc_test_data): New variable.
20070 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20071 (exp_test_data): New variable.
20072 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20073 (exp_tonearest_test_data): New variable.
20074 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20075 (exp_towardzero_test_data): New variable.
20076 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20077 (exp_downward_test_data): New variable.
20078 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20079 (exp_upward_test_data): New variable.
20080 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20081 (exp10_test_data): New variable.
20082 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20083 (exp2_test_data): New variable.
20084 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20085 (expm1_test_data): New variable.
20086 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20087 (fabs_test_data): New variable.
20088 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20089 (floor_test_data): New variable.
20090 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20091 (j0_test_data): New variable.
20092 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20093 (j1_test_data): New variable.
20094 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20095 (log_test_data): New variable.
20096 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20097 (log10_test_data): New variable.
20098 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20099 (log1p_test_data): New variable.
20100 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20101 (log2_test_data): New variable.
20102 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20103 (logb_test_data): New variable.
20104 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20105 (logb_downward_test_data): New variable.
20106 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20107 (nearbyint_test_data): New variable.
20108 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20109 (rint_test_data): New variable.
20110 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20111 (rint_tonearest_test_data): New variable.
20112 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20113 (rint_towardzero_test_data): New variable.
20114 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20115 (rint_downward_test_data): New variable.
20116 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20117 (rint_upward_test_data): New variable.
20118 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20119 (round_test_data): New variable.
20120 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20121 (sin_test_data): New variable.
20122 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20123 (sin_tonearest_test_data): New variable.
20124 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20125 (sin_towardzero_test_data): New variable.
20126 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20127 (sin_downward_test_data): New variable.
20128 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20129 (sin_upward_test_data): New variable.
20130 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20131 (sinh_test_data): New variable.
20132 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20133 (sinh_tonearest_test_data): New variable.
20134 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20135 (sinh_towardzero_test_data): New variable.
20136 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20137 (sinh_downward_test_data): New variable.
20138 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20139 (sinh_upward_test_data): New variable.
20140 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20141 (sqrt_test_data): New variable.
20142 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20143 (tan_test_data): New variable.
20144 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20145 (tan_tonearest_test_data): New variable.
20146 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20147 (tan_towardzero_test_data): New variable.
20148 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20149 (tan_downward_test_data): New variable.
20150 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20151 (tan_upward_test_data): New variable.
20152 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20153 (tanh_test_data): New variable.
20154 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20155 (tgamma_test_data): New variable.
20156 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20157 (trunc_test_data): New variable.
20158 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20159 (y0_test_data): New variable.
20160 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20161 (y1_test_data): New variable.
20162 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20163 (significand_test_data): New variable.
20164 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20166 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20169 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20171 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20173 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20175 2013-05-10 Andreas Jaeger <aj@suse.de>
20178 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20179 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20181 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20183 * math/gen-libm-test.pl (adjust_arg): New function.
20184 (special_functions): Handle generating output in both functions
20186 (parse_args): Likewise.
20187 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20188 $in_func argument to parse_args.
20189 * math/libm-test.inc (struct test_f_f_data): New type.
20190 (IF_ROUND_INIT_): New macro.
20191 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20192 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20193 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20194 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20195 (ROUND_RESTORE_): Likewise.
20196 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20197 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20198 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20199 (ROUND_RESTORE_FE_UPWARD): Likewise.
20200 (RUN_TEST_LOOP_f_f): New macro.
20201 (acos_test_data): New variable.
20202 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20203 (acos_tonearest_test_data): New variable.
20204 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20206 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20208 * benchtests/bench-skeleton.c (startup): Fix coding style.
20210 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20213 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20214 negative infinity argument.
20215 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20216 negative infinity argument.
20217 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20218 negative infinity argument.
20219 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20222 2013-05-10 Florian Weimer <fweimer@redhat.com>
20224 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20225 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20226 * iconv/iconv_prog.c (main): Likewise.
20227 * locale/programs/charmap-dir.c (charmap_readdir)
20228 (fopen_uncompressed): Likewise.
20229 * locale/programs/locfile.c (siblings_uncached)
20230 (write_locale_data): Use lstat64 instead of lstat.
20231 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20234 2013-05-10 Andreas Jaeger <aj@suse.de>
20237 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20239 Include <locale.h>.
20241 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20243 * elf/dl-close.c (_dl_close_worker): Add comments.
20245 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20248 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20250 (__ieee754_rem_pio2l): Update comments.
20253 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20255 (__ieee754_rem_pio2l): Update comments.
20257 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20258 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20260 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20263 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20264 (M_PI_34_LOG10El): Likewise.
20265 (M_PI2_LOG10El): Likewise.
20266 (M_PI4_LOG10El): Likewise.
20267 (M_PI_LOG10El): Likewise.
20269 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20273 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20275 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20276 (MINUS_ZERO_INIT): Likewise.
20277 (PLUS_INFTY_INIT): Likewise.
20278 (MINUS_INFTY_INIT): Likewise.
20279 (QNAN_VALUE_INIT): Likewise.
20280 (MAX_VALUE_INIT): Likewise.
20281 (MIN_VALUE_INIT): Likewise.
20282 (MIN_SUBNORM_VALUE_INIT): Likewise.
20283 (plus_zero): Initialize with PLUS_ZERO_INIT.
20284 (minus_zero): Initialize with MINUS_ZERO_INIT.
20285 (plus_infty): Initialize with PLUS_INFTY_INIT.
20286 (minus_infty): Initialize with MINUS_INFTY_INIT.
20287 (qnan_value): Initialize with QNAN_VALUE_INIT.
20288 (max_value): Initialize with MAX_VALUE_INIT.
20289 (min_value): Initialize with MIN_VALUE_INIT.
20290 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20292 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20293 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20294 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20295 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20297 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20298 (RUN_TEST_2_f): Likewise.
20299 (RUN_TEST_ff_f): Likewise.
20300 (RUN_TEST_fi_f): Likewise.
20301 (RUN_TEST_fl_f): Likewise.
20302 (RUN_TEST_fff_f): Likewise.
20303 (RUN_TEST_c_f): Likewise.
20304 (RUN_TEST_f_f1): Likewise.
20305 (RUN_TEST_fF_f1): Likewise.
20306 (RUN_TEST_fI_f1): Likewise.
20307 (RUN_TEST_ffI_f1): Likewise.
20308 (RUN_TEST_c_c): Likewise.
20309 (RUN_TEST_cc_c): Likewise.
20310 (RUN_TEST_f_i): Likewise.
20311 (RUN_TEST_f_i_tg): Likewise.
20312 (RUN_TEST_ff_i_tg): Likewise.
20313 (RUN_TEST_f_b): Likewise.
20314 (RUN_TEST_f_b_tg): Likewise.
20315 (RUN_TEST_f_l): Likewise.
20316 (RUN_TEST_f_L): Likewise.
20317 (RUN_TEST_sincos): Likewise.
20318 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20319 whether to show exceptions. Do not include ");\n" in return
20321 (special_functions): Output call to RUN_TEST_sincos instead of
20322 check_float calls. Update calls to new_test.
20323 (parse_args): Output call to single RUN_TEST_* macro instead of
20324 check_* calls and other assignments. Update calls to new_test.
20330 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20331 input to result for tgamma overflow.
20332 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20333 (gamma_coeff): New variable.
20334 (NCOEFF): New macro.
20335 (gamma_positive): New function.
20336 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20337 underflow here. Use gamma_positive instead of exp (lgamma) for
20339 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20340 (gamma_coeff): New variable.
20341 (NCOEFF): New macro.
20342 (gammaf_positive): New function.
20343 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20344 underflow here. Use gamma_positive instead of exp (lgamma) for
20346 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20347 (gamma_coeff): New variable.
20348 (NCOEFF): New macro.
20349 (gammal_positive): New function.
20350 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20351 underflow here. Use gamma_positive instead of exp (lgamma) for
20353 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20354 (gamma_coeff): New variable.
20355 (NCOEFF): New macro.
20356 (gammal_positive): New function.
20357 (__ieee754_gammal_r): Handle positive infinity, overflow and
20358 underflow here. Handle NaN the same as positive infinity. Remove
20359 check x < 0xffffffff for negative integers. Use gamma_positive
20360 instead of exp (lgamma) for other arguments.
20361 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20362 (gamma_coeff): New variable.
20363 (NCOEFF): New macro.
20364 (gammal_positive): New function.
20365 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20366 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20370 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20371 * sysdeps/generic/math_private.h (__gamma_productf): New
20373 (__gamma_product): Likewise.
20374 (__gamma_productl): Likewise.
20375 * math/Makefile (libm-calls): Add gamma_product.
20376 * math/libm-test.inc (tgamma_test): Add more tests.
20377 * sysdeps/i386/fpu/libm-test-ulps: Update.
20378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20380 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20382 * benchtests/bench-skeleton.c (main): Preheat CPU.
20384 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20386 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20388 2013-05-07 Roland McGrath <roland@hack.frob.com>
20390 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20391 and _dl_skip_args_internal.
20393 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20395 * manual/message.texi (Message Translation): Talk about users.
20396 Message to key mapping impacts design.
20398 2013-05-06 Roland McGrath <roland@hack.frob.com>
20400 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20402 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20404 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20405 * sysdeps/wordsize-64/glob64.c: ... here.
20407 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20408 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20411 * debug/getlogin_r_chk.c: Moved to ...
20412 * login/getlogin_r_chk.c: ... here.
20413 * debug/Makefile (routines): Move getlogin_r_chk to ...
20414 * login/Makefile (routines): ... here.
20415 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20416 * login/Versions (libc: GLIBC_2.4): ... here.
20418 * io/poll.c (__poll): Renamed from poll.
20419 Add libc_hidden_def.
20420 (poll): Define as weak alias.
20422 * debug/ptsname_r_chk.c: Moved to ...
20423 * login/ptsname_r_chk.c: ... here.
20424 * debug/Makefile (routines): Move ptsname_r_chk to ...
20425 * login/Makefile (routines): ... here.
20426 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20427 * login/Versions (libc: GLIBC_2.4): ... here.
20429 * posix/getlogin.c: Moved to ...
20430 * login/getlogin.c: ... here.
20431 * posix/getlogin_r.c: Moved to ...
20432 * login/getlogin_r.c: ... here.
20433 * posix/getlogin_r.c: Moved to ...
20434 * login/getlogin_r.c: ... here.
20435 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20436 * login/Makefile (routines): ... here.
20437 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20438 * login/Versions (libc: GLIBC_2.0): ... here.
20440 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20441 (setrlimit): Define as weak alias.
20443 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20444 Call __ names for open, ftruncate, and close.
20445 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20446 (truncate): Define as weak alias.
20448 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20450 * math/gen-libm-test.pl (parse_args): Initialize x before each
20451 test of frexp, modf and remquo.
20453 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20454 test signgam value.
20456 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20460 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20462 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20464 2013-05-06 Roland McGrath <roland@hack.frob.com>
20466 * elf/dl-writev.h: New file.
20467 * elf/dl-misc.c: Include it.
20468 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20469 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20471 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20473 * math/libm-test.inc (noXFails): Remove variable.
20474 (noXPasses): Likewise.
20475 (BUILD_COMPLEX_INT): Remove macro.
20476 (print_screen): Remove xfail argument.
20477 (print_screen_max_error): Likewise.
20478 (update_stats): Likewise.
20479 (print_max_error): Likewise. Update calls to other affected
20481 (print_complex_max_error): Likewise.
20482 (test_single_exception): Update calls to print_screen.
20483 (test_single_errno): Likewise.
20484 (check_float_internal): Remove xfail argument. Update calls to
20485 other affected functions.
20486 (check_float): Likewise.
20487 (check_complex): Likewise.
20488 (check_int): Likewise.
20489 (check_long): Likewise.
20490 (check_bool): Likewise.
20491 (check_longlong): Likewise.
20492 (main): Don't print noXFails and noXPasses.
20493 * math/gen-libm-test.pl (top level): Don't mention expected
20494 failure handling in comment.
20495 (new_test): Don't handle expected failures.
20496 (parse_args): Don't mention expected failure handling in comment.
20497 (generate_testfile): Don't handle expected failures.
20498 (parse_ulps): Likewise.
20499 (print_ulps_file): Likewise.
20500 (get_failure): Remove function.
20501 (output_test): Don't handle expected failures.
20502 * make/README.libm-test: Don't mention expected failure handling.
20504 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20505 (minus_zero): Likewise.
20506 (plus_infty): Likewise.
20507 (minus_infty): Likewise.
20508 (qnan_value): Likewise.
20509 (max_value): Likewise.
20510 (min_value): Likewise.
20511 (min_subnorm_value): Likewise.
20512 (initialize): Do not initialize those variables dynamically.
20514 2013-05-03 Roland McGrath <roland@hack.frob.com>
20516 * io/open.c (__open_2): Moved to ...
20517 * io/open_2.c: ... this new file.
20518 * io/open64.c (__open64_2): Moved to ...
20519 * io/open64_2.c: ... this new file.
20520 * io/openat.c (__openat_2): Moved to ...
20521 * io/openat_2.c: ... this new file.
20522 * io/openat64.c (__openat64_2): Moved to ...
20523 * io/openat64_2.c: ... this new file.
20524 * io/Makefile (routines): Add them.
20525 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20526 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20527 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20528 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20529 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20530 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20531 (__openat64): Add hidden_ver.
20532 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20533 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20535 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20536 Separately conditionalize setting of GLRO(dl_sysinfo) so
20537 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20538 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20540 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20542 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20543 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20545 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20546 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20547 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20548 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20549 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20551 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20553 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20554 test signgam value.
20556 * math/libm-test.inc (hypot_test): Do not use
20557 IGNORE_ZERO_INF_SIGN.
20559 2013-05-03 Andreas Jaeger <aj@suse.de>
20561 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20563 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20564 (PF_MAX): Adjust for VSOCK change.
20566 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20570 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20573 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20574 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20575 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20577 2013-05-02 David S. Miller <davem@davemloft.net>
20579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20581 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20583 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20585 2013-05-01 Roland McGrath <roland@hack.frob.com>
20587 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20589 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20592 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20593 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20594 Use __attribute__ ((__gnu_inline__)).
20595 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20596 Don't use __attribute__ ((__gnu_inline__)).
20598 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20601 * math/s_catan.c (__catan): Handle small real or imaginary part of
20602 input specially to avoid spurious underflow.
20603 * math/s_catanf.c (__catanf): Likewise.
20604 * math/s_catanh.c (__catanh): Likewise.
20605 * math/s_catanhf.c (__catanhf): Likewise.
20606 * math/s_catanhl.c (__catanhl): Likewise.
20607 * math/s_catanl.c (__catanl): Likewise.
20608 * math/libm-test.inc (catan_test): Add more tests.
20609 (catanh_test): Likewise.
20610 * sysdeps/i386/fpu/libm-test-ulps: Update.
20611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20613 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20617 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20620 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20621 accurately for denominator in atan2.
20622 * math/s_catanf.c (__catanf): Likewise.
20623 * math/s_catanh.c (__catanh): Likewise.
20624 * math/s_catanhf.c (__catanhf): Likewise.
20625 * math/s_catanhl.c (__catanhl): Likewise.
20626 * math/s_catanl.c (__catanl): Likewise.
20627 * math/libm-test.inc (catan_test): Add more tests.
20628 (catanh_test): Likewise.
20629 * sysdeps/i386/fpu/libm-test-ulps: Update.
20630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20632 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20634 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20636 * benchtests/Makefile (bench): Remove slow benchmarks.
20637 * benchtests/atan-inputs: Add slow benchmark inputs.
20638 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20639 (BENCH_FUNC): Accept variant offset.
20641 * benchtests/bench-skeleton.c (main): Run benchmark for each
20643 * benchtests/cos-inputs: Add slow benchmark inputs.
20644 * benchtests/exp-inputs: Likewise.
20645 * benchtests/pow-inputs: Likewise.
20646 * benchtests/sin-inputs: Likewise.
20647 * benchtests/slowatan-inputs: Remove.
20648 * benchtests/slowatan.c: Remove.
20649 * benchtests/slowcos-inputs: Remove.
20650 * benchtests/slowcos.c: Remove.
20651 * benchtests/slowexp-inputs: Remove.
20652 * benchtests/slowexp.c: Remove.
20653 * benchtests/slowpow-inputs: Remove.
20654 * benchtests/slowpow.c: Remove.
20655 * benchtests/slowsin-inputs: Remove.
20656 * benchtests/slowsin.c: Remove.
20657 * benchtests/slowtan-inputs: Remove.
20658 * benchtests/slowtan.c: Remove.
20659 * benchtests/tan-inputs: Add slow benchmark inputs.
20660 * scripts/bench.pl: Parse comments and directives.
20662 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20664 ($(objpfx)bench-%.c): Remove *-ITER.
20665 * benchtests/bench-modf.c: Remove definition of ITER.
20666 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20667 (main): Loop for DURATION seconds instead of fixed number of
20669 * scripts/bench.pl: Don't expect iterations in parameters.
20671 2013-04-29 Roland McGrath <roland@hack.frob.com>
20673 * io/fchdir.c (__fchdir): Renamed from fchdir.
20674 (fchdir): Define as weak alias.
20676 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20678 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20679 (ERRNO_EDOM): Likewise.
20680 (ERRNO_ERANGE): Likewise.
20681 (noErrnoTests): New variable.
20682 (init_max_error): Set errno to 0.
20683 (test_single_errno): New function.
20684 (test_errno): Likewise.
20685 (check_float_internal): Call test_errno. Set errno to 0.
20686 (check_complex): Refer to errno tests in comment.
20687 (check_int): Call test_errno. Set errno to 0.
20688 (check_long): Likewise.
20689 (check_bool): Likewise.
20690 (check_longlong): Likewise.
20691 (cos_test): Use ERRNO_* flags for errno tests instead of
20693 (expm1_test): Likewise.
20694 (fmod_test): Likewise.
20695 (ilogb_test): Likewise.
20696 (lgamma_test): Likewise.
20697 (pow_test): Likewise.
20698 (remainder_test): Likewise.
20699 (sin_test): Likewise.
20700 (tan_test): Likewise.
20701 (yn_test): Likewise.
20702 (initialize): Set errno to 0.
20703 (main): Print number of errno tests.
20704 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20706 2013-04-29 Andreas Jaeger <aj@suse.de>
20709 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20713 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20714 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20718 * stdlib/random.c (__initstate): Return NULL if
20722 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20723 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20726 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20730 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20732 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20733 of individual tests.
20734 (casin_test): Likewise.
20735 (casinh_test): Likewise.
20737 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20740 * math/s_catan.c (__catan): Handle arguments with large real or
20741 imaginary part separately without squaring.
20742 * math/s_catanf.c (__catanf): Likewise.
20743 * math/s_catanh.c (__catanh): Likewise.
20744 * math/s_catanhf.c (__catanhf): Likewise.
20745 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20747 (__catanhl): Handle arguments with large real or imaginary part
20748 separately without squaring.
20749 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20751 (__catanl): Handle arguments with large real or imaginary part
20752 separately without squaring.
20753 * math/libm-test.inc (catan_test): Add more tests.
20754 (catanh_test): Likewise.
20755 * sysdeps/i386/fpu/libm-test-ulps: Update.
20756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20758 2013-04-27 Andreas Jaeger <aj@suse.de>
20761 * stdlib/stdlib.h: Update guards for qecvt.
20762 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20765 2013-04-27 Allan McRae <allan@archlinux.org>
20767 * sysdeps/i386/fpu/libm-test-ulps: Update.
20769 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20772 * math/s_catan.c: Include <float.h>.
20773 (__catan): Ensure underflow exception occurs for underflowed
20775 * math/s_catanf.c: Include <float.h>.
20776 (__catanf): Ensure underflow exception occurs for underflowed
20778 * math/s_catanh.c: Include <float.h>.
20779 (__catanh): Ensure underflow exception occurs for underflowed
20781 * math/s_catanhf.c: Include <float.h>.
20782 (__catanhf): Ensure underflow exception occurs for underflowed
20784 * math/s_catanhl.c: Include <float.h>.
20785 (__catanhl): Ensure underflow exception occurs for underflowed
20787 * math/s_catanl.c: Include <float.h>.
20788 (__catanl): Ensure underflow exception occurs for underflowed
20790 * math/libm-test.inc (catan_test): Add more tests.
20791 (catanh_test): Likewise.
20794 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20795 underflowed result.
20796 * math/s_ccoshf.c (__ccoshf): Likewise.
20797 * math/s_ccoshl.c (__ccoshl): Likewise.
20798 * math/s_csin.c (__csin): Likewise.
20799 * math/s_csinf.c (__csinf): Likewise.
20800 * math/s_csinh.c (__csinh): Likewise.
20801 * math/s_csinhf.c (__csinhf): Likewise.
20802 * math/s_csinhl.c (__csinhl): Likewise.
20803 * math/s_csinl.c (__csinl): Likewise.
20804 * math/libm-test.inc (ccos_test): Add more tests.
20805 (ccosh_test): Likewise.
20806 (csin_test): Likewise.
20807 (csinh_test): Likewise.
20809 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20811 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20812 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20813 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20814 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20815 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20816 powerpc/power5+/fpu folders.
20817 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20820 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20824 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20826 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20827 additions to variable.
20828 [$(config-machine) = x86_64] (modules-names): Likewise.
20829 ($(objpfx)tst-audit3): Remove dependency.
20830 ($(objpfx)tst-audit3.out): Likewise.
20831 ($(objpfx)tst-audit4): Likewise.
20832 ($(objpfx)tst-audit4.out): Likewise.
20833 ($(objpfx)tst-audit5): Likewise.
20834 ($(objpfx)tst-audit5.out): Likewise.
20835 ($(objpfx)tst-audit6): Likewise.
20836 ($(objpfx)tst-audit6.out): Likewise.
20837 ($(objpfx)tst-audit7): Likewise.
20838 ($(objpfx)tst-audit7.out): Likewise.
20839 (tst-audit3-ENV): Remove variable.
20840 (tst-audit4-ENV): Likewise.
20841 (tst-audit5-ENV): Likewise.
20842 (tst-audit6-ENV): Likewise.
20843 (tst-audit7-ENV): Likewise.
20844 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20845 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20846 addition to variable.
20847 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20848 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20849 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20850 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20851 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20852 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20853 tst-audit3, tst-audit4 and tst-audit5.
20854 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20855 tst-audit6 and tst-audit7.
20856 [$(subdir) = elf] (modules-names): Add audit modules for those
20858 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20859 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20860 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20861 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20862 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20863 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20864 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20865 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20866 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20867 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20868 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20869 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20870 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20871 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20872 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20873 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20875 [$(subdir) = elf && $(config-cflags-avx) = yes]
20876 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20877 [$(subdir) = elf && $(config-cflags-avx) = yes]
20878 (CFLAGS-tst-auditmod4a.c): Likewise.
20879 [$(subdir) = elf && $(config-cflags-avx) = yes]
20880 (CFLAGS-tst-auditmod4b.c): Likewise.
20881 [$(subdir) = elf && $(config-cflags-avx) = yes]
20882 (CFLAGS-tst-auditmod6b.c): Likewise.
20883 [$(subdir) = elf && $(config-cflags-avx) = yes]
20884 (CFLAGS-tst-auditmod6c.c): Likewise.
20885 [$(subdir) = elf && $(config-cflags-avx) = yes]
20886 (CFLAGS-tst-auditmod7b.c): Likewise.
20887 * elf/tst-audit3.c: Move to ...
20888 * sysdeps/x86_64/tst-audit3.c: ... here.
20889 * elf/tst-audit4.c: Move to ...
20890 * sysdeps/x86_64/tst-audit4.c: ... here.
20891 * elf/tst-audit5.c: Move to ...
20892 * sysdeps/x86_64/tst-audit5.c: ... here.
20893 * elf/tst-audit6.c: Move to ...
20894 * sysdeps/x86_64/tst-audit6.c: ... here.
20895 * elf/tst-audit7.c: Move to ...
20896 * sysdeps/x86_64/tst-audit7.c: ... here.
20897 * elf/tst-auditmod3a.c: Move to ...
20898 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20899 * elf/tst-auditmod3b.c: Move to ...
20900 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20901 * elf/tst-auditmod4a.c: Move to ...
20902 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20903 * elf/tst-auditmod4b.c: Move to ...
20904 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20905 * elf/tst-auditmod5a.c: Move to ...
20906 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20907 * elf/tst-auditmod5b.c: Move to ...
20908 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20909 * elf/tst-auditmod6a.c: Move to ...
20910 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20911 * elf/tst-auditmod6b.c: Move to ...
20912 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20913 * elf/tst-auditmod6c.c: Move to ...
20914 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20915 * elf/tst-auditmod7a.c: Move to ...
20916 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20917 * elf/tst-auditmod7b.c: Move to ...
20918 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20920 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20923 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20924 define unconditionally.
20925 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20926 define unconditionally.
20927 (INT8_C, INT16_C, etc.): Likewise.
20929 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20931 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20932 __ehdr_start with hidden visibility.
20934 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20936 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20938 * math/libm-test.inc (cos_test): Use accurate hex constants.
20939 (sincost_test): Likewise.
20941 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20943 * math/libm-test.inc (catan_test): Add more tests.
20944 (catanh_test): Likewise.
20946 * math/s_catanf.c (__catanf): Use suffixed floating-point
20948 * math/s_catanhf.c (__catanhf): Likewise.
20949 * math/s_catanhl.c (__catanhl): Likewise.
20950 * math/s_catanl.c (__catanl): Likewise.
20953 * math/s_catan.c (__catan): Calculate imaginary part of result
20954 with log1p not log unless computing log of number close to 0.
20955 * math/s_catanf.c (__catanf): Likewise.
20956 * math/s_catanl.c (__catanl): Likewise.
20957 * math/s_catanh.c (__catanh): Calculate real part of result with
20958 log1p not log unless computing log of number close to 0.
20959 * math/s_catanhf.c (__catanhf): Likewise.
20960 * math/s_catanhl.c (__catanhl): Likewise.
20961 * math/libm-test.inc (catan_test): Add more tests.
20962 (catanh_test): Likewise.
20963 * sysdeps/i386/fpu/libm-test-ulps: Update.
20964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20966 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20968 * benchtests/Makefile: Mention files in which fast and slow
20969 paths of math functions are implemented.
20971 2013-04-23 Roland McGrath <roland@hack.frob.com>
20973 * sysdeps/posix/timespec_get.c: New file.
20975 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20977 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20979 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20981 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20982 powerpc/power5/fpu folders.
20983 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20984 * benchtests/Makefile: Add modf testcase.
20985 * benchtests/bench-modf.c: New file: Benchmark test for mo
20987 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20990 * time/Makefile (tests): Add tst-strptime-whitespace.
20991 * time/strptime_l.c (get_number): Use ISSPACE.
20992 (__strptime_internal): Likewise.
20993 * time/tst-strptime-whitespace.c: New test case.
20995 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20997 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20999 (_nss_files_init): Set it here.
21001 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21003 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21004 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21007 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21009 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21011 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21013 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21016 2013-04-21 David S. Miller <davem@davemloft.net>
21018 * po/ru.po: Update Russion translation from translation project.
21020 2013-04-17 Adam Conrad <adconrad@0c3.net>
21022 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21025 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21027 * configure.in: Remove i386 configure warning. Remove i386 case.
21028 * configure: Regenerate.
21029 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21030 Add example to error message.
21031 * sysdeps/i386/configure: Regenerate.
21033 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21035 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21037 * benchtests/cos-inputs: New file.
21038 * benchtests/slowcos-inputs: New file.
21039 * benchtests/slowcos.c: New file.
21040 * benchtests/slowtan-inputs: New file.
21041 * benchtests/slowtan.c: New file.
21042 * benchtests/tan-inputs: New file.
21044 2013-04-16 Roland McGrath <roland@hack.frob.com>
21046 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21049 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21051 * benchtests/Makefile: Include cppflags-iterator.mk to add
21052 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21054 * Makefile.in (bench-clean): New target.
21055 * benchtests/Makefile (bench-clean): Likewise.
21057 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21059 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21061 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21063 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21065 2013-04-15 Andreas Schwab <schwab@suse.de>
21067 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21069 * nscd/pwdcache.c (cache_addpw): Likewise.
21070 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21073 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21075 * benchtests/Makefile (bench): Write all output to
21076 bench-out.tmp together.
21078 2013-04-15 Andreas Schwab <schwab@suse.de>
21080 * nscd/nscd.c (main): Don't fork again after closing files.
21082 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21084 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21086 * benchtests/Rules (bench-deps): Collect dependencies into a
21087 single variable. Add Makefile to dependencies.
21088 ($(objpfx)bench-%.c): Depend on bench-deps.
21090 2013-04-12 Roland McGrath <roland@hack.frob.com>
21091 Xavier Roche <roche+kml2@exalead.com>
21094 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21095 just that it's a file descriptor.
21096 * manual/llio.texi (Synchronizing AIO Operations): Update description
21097 for EBADF error from aio_fsync.
21099 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21101 * Rules (bench): Move target definition...
21102 * benchtests/Makefile: ... here.
21104 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21106 * math/libm-test.inc (cos_test): Fix PI/2 test.
21107 (sincos_test): Likewise.
21108 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21109 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21111 2013-04-11 Andreas Schwab <schwab@suse.de>
21114 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21115 accept exponent character only when digits were seen.
21116 * stdio-common/Makefile (tests): Add bug26.
21117 * stdio-common/bug26.c: New file.
21120 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21123 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21125 * Makeconfig (rtld-prefix): Define built linker prefix.
21126 * Rules (run-bench): Use it.
21127 * math/Makefile (run-regen-ulps): Likewise.
21129 * Rules (bench): Remove eval.
21131 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21132 Roland McGrath <roland@hack.frob.com>
21133 Ondrej Bilka <neleai@seznam.cz>
21136 * time/getdate.c: Include ctype.h and alloca.h.
21137 (__getdate_r): Trim leading and trailing spaces of input.
21138 * time/tst-getdate.c (tests): Add tests with leading and
21141 2013-04-08 Roland McGrath <roland@hack.frob.com>
21144 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21145 when computing value.
21147 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21149 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21150 Use testrun.sh to run libm tests.
21153 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21155 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21158 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21160 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21162 * Makefile.in (regen-ulps): New target.
21163 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21164 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21165 [ifneq (no,$(PERL)] (regen-ulps): New target.
21166 [ifeq (no,$(PERL)] (regen-ulps): New target.
21167 * math/libm-test.inc (ulps_file_name): Define.
21168 (output_dir): New variable.
21169 (options): Add "output-dir" option.
21170 (parse_opt): Handle 'o' case.
21171 (main): If output_dir is non-NULL use it as a prefix
21173 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21175 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21177 [BZ #10060, #10062]
21178 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21179 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21180 fail configure if __sync_val_compare_and_swap is not inlined.
21181 * sysdeps/i386/configure: Regenerate.
21182 * configure.in: Build for i686 when configured for i386.
21183 * configure: Regenerate.
21184 * README: Remove i386 reference.
21186 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21188 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21189 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21191 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21193 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21194 (lmsnanval): New variables.
21195 (F): Add conversion tests.
21196 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21197 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21199 * stdio-common/tstdiomisc.c (F): Properly collect individual
21202 [BZ #14686, #15336]
21203 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21204 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21205 Instead, use input NaN values or generate a qNaN by arithmetic
21206 operation. Also fix bugs to comply with the standard.
21207 * math/libm-test.inc (remainder_test): Add more tests.
21209 [BZ #15335, #15342]
21210 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21211 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21212 input NaN values or generate a qNaN by arithmetic operation.
21214 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21217 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21220 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21223 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21224 underflowed result.
21225 * math/s_cexpf.c (__cexpf): Likewise.
21226 * math/s_cexpl.c (__cexpl): Likewise.
21227 * math/libm-test.inc (cexp_test): Add more tests.
21229 2013-04-03 Andreas Schwab <schwab@suse.de>
21232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21233 order arrays from heap if bigger than alloca cutoff.
21235 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21237 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21238 (SNAN_TESTS_double): Refer to GCC PR56831.
21239 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21242 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21244 * Rules (bench): Move bench.out after the run is complete.
21246 * Rules (bench): Echo currently running benchmark.
21248 * benchtests/Makefile (bench): Add atan and slowatan.
21249 * benchtests/atan-inputs: New file.
21250 * benchtests/slowatan-inputs: New file.
21251 * benchtests/slowatan.c: New file.
21253 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21254 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21258 * sysdeps/unix/sysv/linux/kernel-features.h
21259 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21260 __ASSUME_XFS_RESTRICTED_CHOWN.
21261 * sysdeps/unix/sysv/linux/pathconf.c
21262 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21263 Save and restore errno.
21265 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21268 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21269 arguments using __kernel_casinh.
21270 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21271 arguments using __kernel_casinhf.
21272 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21273 arguments using __kernel_casinhl.
21274 * math/libm-test.inc (cacosh_test): Add more tests.
21275 * sysdeps/i386/fpu/libm-test-ulps: Update.
21276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21278 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21280 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21283 * bench/Makefile (bench): Add sin and slowsin.
21284 * benchtests/sin-inputs: New file.
21285 * benchtests/slowsin-inputs: New file.
21286 * benchtests/slowsin.c: New file.
21288 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21289 (bench): Add slowexp and slowpow.
21290 (exp-ITER): Increase iterations.
21291 (pow-ITER): Likewise.
21292 * benchtests/exp-inputs: Change input.
21293 * benchtests/pow-inputs: Likewise.
21294 * benchtests/slowexp-inputs: New file.
21295 * benchtests/slowexp.c: New file.
21296 * benchtests/slowpow-inputs: New file.
21297 * benchtests/slowpow.c: New file.
21299 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21301 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21303 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21304 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21305 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21306 * benchtests/Makefile: Add rint benchtest.
21307 * benchtests/rint-inputs: Input for rint benchtest.
21309 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21311 * Versions.def (libm): Add GLIBC_2.18.
21312 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21313 hidden libm prototypes.
21314 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21315 * math/Makefile (libm-calls): Add s_issignaling.
21316 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21317 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21318 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21320 * math/math.h [__USE_GNU] (issignaling): New macro.
21321 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21322 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21323 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21324 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21325 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21326 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21327 * manual/arith.texi (issignaling): New section.
21328 * manual/libm-err-tab.pl (@all_functions): Update comment.
21329 * math/gen-libm-test.pl (parse_args): Apply special handling for
21331 * math/libm-test.inc (print_float, issignaling_test): New
21333 (check_float_internal): Add issignaling checks.
21334 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21335 default definition.
21336 * sysdeps/powerpc/math-tests.h: New file.
21337 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21339 * math/test-snan.c (TEST_FUNC): Likewise.
21341 2013-03-30 David S. Miller <davem@davemloft.net>
21343 * po/de.po: Update from translation team.
21345 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21348 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21349 imaginary part less than 1.0 and real part less than 0.5
21351 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21352 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21353 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21354 (cacos_test): Add more tests.
21355 (casin_test): Likewise.
21356 (casinh_test): Likewise.
21357 * sysdeps/i386/fpu/libm-test-ulps: Update.
21358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21360 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21362 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21363 ONE with its value.
21365 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21366 (__pow_mp): Replace ONE and MONE with their values.
21367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21368 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21369 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21370 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21371 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21372 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21374 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21376 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21377 (__pow_mp): Replace ZERO and MZERO with their values.
21378 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21379 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21380 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21382 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21383 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21386 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21388 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21390 2013-03-28 Roland McGrath <roland@hack.frob.com>
21392 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21393 Declare with __attribute__ ((weak)).
21394 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21395 Call __call_tls_dtors only if it's not NULL.
21397 2013-03-28 Roland McGrath <roland@hack.frob.com>
21399 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21400 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21401 magic __ehdr_start linker symbol if it's defined.
21402 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21403 them up here if it was already done.
21405 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21406 (_dl_aux_init): Use const in cast when setting it.
21407 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21408 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21409 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21411 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21413 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21414 * csu/libc-tls.c: Nor here.
21415 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21417 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21418 (__libc_message): Never call vsyslog.
21420 2013-03-28 Alan Modra <amodra@gmail.com>
21422 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21424 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21427 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21430 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21434 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21437 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21438 Don't add gid passed as argument.
21440 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21442 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21445 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21446 imaginary part between 1.0 and 1.5 and real part less than 0.5
21448 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21449 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21450 * math/libm-test.inc (cacos_test): Add more tests.
21451 (casin_test): Likewise.
21452 (casinh_test): Likewise.
21453 * sysdeps/i386/fpu/libm-test-ulps: Update.
21454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21456 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21458 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21461 (denorm): Likewise.
21462 (__dbl_mp): Likewise.
21463 (add_magnitudes): Likewise.
21464 (sub_magnitudes): Likewise.
21472 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21474 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21475 (__dubcos): Likewise.
21476 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21477 (__ieee754_acos): Likewise.
21478 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21479 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21480 (__exp1): Likewise.
21481 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21484 (my_log2): Likewise.
21485 (checkint): Likewise.
21486 * sysdeps/ieee754/dbl-64/e_remainder.c
21487 (__ieee754_remainder): Likewise.
21488 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21489 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21490 (bsloww): Likewise.
21491 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21493 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21494 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21495 MANTISSA_STORE_T to store computations on mantissa. Use
21496 macros for rounding and division.
21497 (denorm): Likewise.
21498 (__dbl_mp): Likewise.
21499 (add_magnitudes): Likewise.
21500 (sub_magnitudes): Likewise.
21503 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21504 powers of two in terms of TWOPOW macro.
21505 (mp_no): Make type of mantissa as MANTISSA_T.
21506 [!RADIXI]: Define RADIXI.
21507 [!TWO52]: Define TWO52.
21508 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21510 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21512 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21513 llroundl symbol when building for PPC32.
21515 2013-03-24 Mark H Weaver <mhw@netris.org>
21517 * manual/arith.texi (Normalization Functions): Fix prototypes for
21518 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21520 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21523 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21524 high value to check if expl overflow.
21525 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21526 to check for underflow and overflow.
21527 * math/libm-test.inc: Add exp test.
21529 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21532 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21535 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21537 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21540 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21542 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21543 wrap blocks consisting of several statements.
21545 * sysdeps/generic/math-tests.h: New file.
21546 * sysdeps/i386/fpu/math-tests.h: Likewise.
21547 * math/test-snan.c: Include it.
21548 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21550 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21553 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21554 (__ieee754_j0l): Do not improve calculations using cos of twice
21555 input for inputs above LDBL_MAX / 2.0L.
21556 (__ieee754_y0l): Likewise.
21557 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21558 (__ieee754_j1l): Do not improve calculations using cos of twice
21559 input for inputs above LDBL_MAX / 2.0L.
21560 (__ieee754_y1l): Likewise.
21561 * math/libm-test.inc (j0_test): Add another test.
21562 (j1_test): Likewise.
21563 (y0_test): Likewise.
21564 (y1_test): Likewise.
21565 * sysdeps/i386/fpu/libm-test-ulps: Update.
21567 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21569 * Rules ($(objpfx)bench-%.c): Include code from a C source
21572 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21575 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21576 imaginary part 1.0 and real part less than 0.5 specially.
21577 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21578 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21579 * math/libm-test.inc (cacos_test): Add more tests.
21580 (casin_test): Likewise.
21581 (casinh_test): Likewise.
21582 * sysdeps/i386/fpu/libm-test-ulps: Update.
21583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21585 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21587 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21588 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21590 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21592 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21593 * config.make.in (config-cflags-sse4): Remove variable.
21594 (config-cflags-avx): Likewise.
21595 (config-cflags-sse2avx): Likewise.
21596 (config-cflags-novzeroupper): Likewise.
21597 (config-asflags-i686): Likewise.
21598 (have-mfma4): Likewise.
21599 (have-as-vis3): Likewise.
21601 * configure.in (MIG): Do not AC_SUBST.
21602 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21603 (libc_cv_cc_sse4): Do not AC_SUBST.
21604 (libc_cv_cc_avx): Likewise.
21605 (libc_cv_cc_sse2avx): Likewise.
21606 (libc_cv_cc_novzeroupper): Likewise.
21607 (libc_cv_cc_fma4): Likewise.
21608 (libc_cv_as_i686): Likewise.
21609 (libc_cv_sparc_as_vis3): Likewise.
21610 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21612 (config-asflags-i686): Likewise.
21613 (config-cflags-avx): Likewise.
21614 (config-cflags-sse2avx): Likewise.
21615 (have-mfma4): Likewise.
21616 (config-cflags-novzeroupper): Likewise.
21617 * sysdeps/mach/configure.in (MIG): Likewise.
21618 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21619 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21621 (config-cflags-avx): Likewise.
21622 (config-cflags-sse2avx): Likewise.
21623 (have-mfma4): Likewise.
21624 (config-cflags-novzeroupper): Likewise.
21625 * configure: Regenerated.
21626 * sysdeps/i386/configure: Likewise.
21627 * sysdeps/mach/configure: Likewise.
21628 * sysdeps/sparc/configure: Likewise.
21629 * sysdeps/x86_64/configure: Likewise.
21631 2013-03-20 Roland McGrath <roland@hack.frob.com>
21634 * locale/programs/localedef.c (options): Put N_ translation marker
21635 on argument names, not just descriptions.
21637 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21639 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21641 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21644 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21646 2013-03-19 Roland McGrath <roland@hack.frob.com>
21648 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21649 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21650 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21651 [!BEFORE_ABORT] (before_abort): New function.
21652 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21653 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21654 (writev_for_fatal): New function.
21655 (WRITEV_FOR_FATAL): New macro; call that.
21656 (backtrace_and_maps): New function.
21657 (BEFORE_ABORT): New macro; call that.
21658 (struct str_list): Type removed.
21659 (__libc_message, __libc_fatal): Functions removed.
21660 Include <sysdeps/posix/libc_fatal.c> instead.
21662 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21664 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21666 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21669 2013-03-19 Andreas Schwab <schwab@suse.de>
21671 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21672 * sysdeps/gnu/configure: Regenerate.
21674 * configure.in: Substitute libc_cv_rtlddir.
21675 * configure: Regenerate.
21676 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21677 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21678 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21679 * elf/Makefile (install-others, CFLAGS-interp.c)
21680 (ldso_install, common-ldd-rewrite): Likewise.
21681 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21682 $(inst_slibdir)/$(rtld-installed-name).
21683 * scripts/rellns-sh: Add -p option.
21684 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21687 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21689 * manual/nptl.texi: Renamed to ...
21690 * manual/threads.texi: ... this.
21691 * manual/Makefile (chapters): Update.
21693 2013-03-18 Roland McGrath <roland@hack.frob.com>
21696 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21697 on argument names, not just descriptions.
21698 * malloc/memusagestat.c (options): Likewise.
21699 * nss/getent.c (options): Likewise.
21701 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21704 * iconv/iconv_prog.c (options): Put N_ translation marker
21705 on argument names, not just descriptions.
21706 * iconv/iconvconfig.c (options): Likewise.
21708 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21710 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21711 implementation which is faster on all x86_64 architectures.
21712 Tested on AMD, Intel Nehalem, SNB, IVB.
21713 * sysdeps/x86_64/strnlen.S: Likewise.
21715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21716 Remove all multiarch strlen and strnlen versions.
21717 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21718 Remove strlen and strnlen related parts.
21720 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21721 Inline strlen part.
21722 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21724 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21725 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21726 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21727 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21728 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21729 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21731 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21733 * manual/memory.texi (Malloc Tunable Parameters):
21734 Sort parameters alphabetically. Add comments for missing entries.
21736 2013-03-17 David S. Miller <davem@davemloft.net>
21738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21740 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21743 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21744 for arguments at most half maximum finite value.
21745 * math/libm-test.inc (j0_test): Add more tests.
21746 (j1_test): Likewise.
21747 (y0_test): Likewise.
21748 (y1_test): Likewise.
21749 * sysdeps/i386/fpu/libm-test-ulps: Update.
21750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21753 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21754 1 / x and functions P and Q for arguments above 0x1p256L.
21755 (__ieee754_y0l): Likewise.
21756 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21757 (__ieee754_y1l): Likewise.
21758 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21759 (j1_test): Likewise.
21760 (y0_test): Likewise.
21761 (y1_test): Likewise.
21763 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21765 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21768 2013-03-15 Roland McGrath <roland@hack.frob.com>
21770 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21771 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21772 zero since it's initialized to EXEC_PAGESIZE.
21774 * sysdeps/unix/sysv/linux/ldsodefs.h
21775 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21776 * sysdeps/generic/ldsodefs.h: ... here.
21778 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21780 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21782 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21784 * math/test-snan.c: Renamed from
21785 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21786 * math/Makefile (tests): Add test-snan.
21787 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21790 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21791 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21793 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21794 __builtin_nan family of functions.
21795 * math/libm-test.inc (initialize): Initialize qnan_value with
21796 __builtin_nan family of functions.
21797 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21799 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21801 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21802 storage class. Initialize qNaN_var and sNaN_var with
21803 __builtin_nan and __builtin_nans families of functions,
21806 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21807 (sqrt_test): Remove duplicate test with qNaN input.
21808 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21809 (round_test, signbit_test, significand_test): Note missing +/-Inf
21810 as well as qNaN tests.
21812 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21813 qNaN_var. Fix a few strings, too.
21814 * math/libm-test.inc (nan_value): Rename to qnan_value.
21815 * math/gen-libm-test.pl (%beautify): Adjust to that.
21816 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21817 * math/test-misc.c (main): Likewise.
21818 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21819 to __qnan_bytes, and __qnan_union, respectively.
21820 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21822 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21823 and lqnanval, respectively.
21824 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21825 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21826 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21827 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21829 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21830 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21833 * math/test-misc.c (main): Fix copy'n'pastos.
21834 * misc/tst-efgcvt.c (special): Likewise.
21836 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21837 Remove declarations.
21839 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21841 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21842 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21843 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21844 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21846 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21848 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21849 macro to return vdso values correctly in IFUNC implementations.
21850 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21851 Optimization by using IFUNC.
21853 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21854 Richard Henderson <rth@redhat.com>
21855 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21857 * Makefile.in (bench): New target.
21858 * NEWS: Mention the benchmark framework.
21859 * Rules (bench): Likewise.
21860 (binaries-bench): Generate binaries for functions to
21862 * benchtests/Makefile: New makefile for benchmark tests.
21863 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21865 * benchtests/exp-inputs: New input file for EXP function.
21866 * benchtests/pow-inputs: New input file for POW function.
21867 * scripts/bench.pl: New script to generate source files for
21868 benchmark programs.
21870 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21872 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21873 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21874 computations on mantissa. Use macros for rounding and
21876 (denorm): Likewise.
21877 (__dbl_mp): Likewise.
21878 (add_magnitudes): Likewise.
21879 (sub_magnitudes): Likewise.
21882 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21883 powers of two in terms of TWOPOW macro.
21884 (mp_no): Make type of mantissa as MANTISSA_T.
21885 [!RADIXI]: Define RADIXI.
21886 [!TWO52]: Define TWO52.
21887 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21889 * manual/nptl.texi (cindex): Modify threads to pthreads.
21891 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21893 * sysdeps/x86_64/preconfigure: Regenerated.
21895 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21898 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21900 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21901 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21903 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21904 * math/libm-test.inc (j0_test): Do not allow one spurious
21905 underflow exception.
21906 (y1_test): Likewise.
21908 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21910 * manual/Makefile (chapters): Add nptl.
21911 * manual/debug.texi (Debugging Support): Add link to Threads
21913 * manual/nptl.texi: New file.
21915 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21917 2013-03-14 Petr Baudis <pasky@ucw.cz>
21919 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21920 for non-NULL pointer before the memory validity test. Pointed
21921 out by Holger Brunck <holger.brunck@keymile.com>.
21923 2013-03-13 Andreas Schwab <schwab@suse.de>
21925 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21928 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21930 * timezone/zic.c: Update from tzcode 2013b.
21932 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21934 * manual/install.texi (Configuring and compiling):
21935 Mention i686 and i586.
21936 * INSTALL: Regenerate.
21938 2013-03-12 Roland McGrath <roland@hack.frob.com>
21940 * sysdeps/init_array/elf-init.c: New file.
21942 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21943 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21945 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21946 __gmon_start__ as global, but as static with a .preinit_array pointer.
21947 * sysdeps/init_array/gmon-start.c: New file. Use that.
21948 * sysdeps/init_array/crti.S: New file, empty except for comments.
21949 * sysdeps/init_array/crtn.S: Likewise.
21951 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21953 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21956 Remove Prefer_SSE_for_memop.
21957 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21958 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21959 HAS_PREFER_SSE_FOR_MEMOP.
21960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21962 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21963 Remove bzero, memset ifunc support.
21964 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21965 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21966 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21967 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21969 2013-03-11 Andreas Schwab <schwab@suse.de>
21972 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21975 (GLIBC_2.16): Remove pthread_atfork.
21977 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21979 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21980 (ptestcases.h): Likewise.
21982 2013-03-08 Roland McGrath <roland@hack.frob.com>
21984 * Makeconfig ($(common-objpfx)config.status): Depend on
21985 sysdeps/*/preconfigure{,.in} too.
21987 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21989 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21990 (__free_hook): Use void * instead of __malloc_ptr_t.
21991 (__malloc_hook): Likewise.
21992 (__realloc_hook): Likewise.
21993 (__memalign_hook): Likewise.
21994 (__after_morecore_hook): Likewise.
21995 * malloc/arena.c (save_malloc_hook): Likewise.
21996 (save_free_hook): Likewise.
21997 * malloc/hooks.c (malloc_hook_ini): Likewise.
21998 (realloc_hook_ini): Likewise.
21999 (memalign_hook_ini): Likewise.
22000 * malloc/malloc.c (malloc_hook_ini): Likewise.
22001 (realloc_hook_ini): Likewise.
22002 (memalign_hook_ini): Likewise.
22003 (__free_hook): Likewise.
22004 (__malloc_hook): Likewise.
22005 (__realloc_hook): Likewise.
22006 (__memalign_hook): Likewise.
22007 (__libc_malloc): Likewise.
22008 (__libc_free): Likewise.
22009 (__libc_realloc): Likewise.
22010 (__libc_memalign): Likewise.
22011 (__libc_valloc): Likewise.
22012 (__libc_pvalloc): Likewise.
22013 (__libc_calloc): Likewise.
22014 (__posix_memalign): Likewise.
22015 * malloc/morecore.c (__sbrk): Likewise.
22016 (__default_morecore): Likewise.
22018 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22020 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22021 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22022 __malloc_ptrdiff_t.
22024 * malloc/malloc.h (__malloc_size_t): Remove macro.
22025 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22027 (old_memalign_hook): Likewise.
22028 (old_realloc_hook): Likewise.
22029 (struct hdr): Likewise.
22031 (mallochook): Likewise.
22032 (memalignhook): Likewise.
22033 (reallochook): Likewise.
22034 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22035 (tr_old_realloc_hook): Likewise.
22036 (tr_old_memalign_hook): Likewise.
22037 (tr_mallochook): Likewise.
22038 (tr_reallochook): Likewise.
22039 (tr_memalignhook): Likewise.
22041 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22044 default_ldbl_pack and using as default implementation.
22045 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22047 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22048 redundant definition.
22049 (ldbl_insert_mantissa): Likewise.
22050 (ldbl_canonicalize): Likewise.
22051 (ldbl_nearbyint): Likewise.
22052 (ldbl_pack): Rename to ldbl_pack_ppc.
22053 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22054 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22055 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22057 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22060 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22061 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22062 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22064 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22065 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22066 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22068 2013-03-07 Andreas Jaeger <aj@suse.de>
22070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22073 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22075 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22076 Include mpa.h and declare __MPEXP.
22077 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22078 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22079 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22080 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22081 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22082 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22083 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22085 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22086 (__slowpow): Use long double EXPL and LOGL functions to
22088 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22089 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22090 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22091 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22092 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22093 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22096 intermediate variable to calculate exponent.
22098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22102 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22103 [!NO__SQR]: Define __sqr.
22104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22105 and NO__SQR. Remove all code except __mul and __sqr. Include
22106 sysdeps/ieee754/dbl-64/mpa.c.
22107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22110 * posix/Makefile (tests): Add tst-pathconf.
22111 * posix/tst-pathconf.c: New test case.
22112 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22114 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22116 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22118 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22120 2013-03-06 Andreas Jaeger <aj@suse.de>
22122 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22123 definition via __MAP_ANONYMOUS.
22125 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22126 it's not part of Linux headers.
22128 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22129 (MAP_HUGE_MASK): Define.
22131 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22133 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22134 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22136 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22137 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22139 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22140 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22142 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22144 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22145 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22146 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22147 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22148 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22149 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22151 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22154 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22155 Handle f2fs and efivarfs.
22157 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22160 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22161 (EFIVARFS_MAGIC): Add.
22162 (F2FS_LINK_MAX): Add.
22164 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22166 * stdio-common/vfprintf.c: Replace __builtin_expect with
22169 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22172 * sysdeps/generic/bp-sym.h: Remove file.
22173 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22174 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22175 <bp-sym.h> and <bp-asm.h>.
22176 (__longjmp): Don't use BP_SYM.
22177 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22179 (memcpy): Don't use BP_SYM.
22180 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22181 <bp-sym.h> and <bp-asm.h>.
22182 (memcpy): Don't use BP_SYM.
22183 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22185 (memcpy): Don't use BP_SYM.
22186 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22188 (memset): Don't use BP_SYM.
22189 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22190 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22191 (__bzero): Don't use BP_SYM.
22192 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22193 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22194 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22195 <bp-sym.h> and <bp-asm.h>.
22196 (memcmp): Don't use BP_SYM. Remove comment about bounded
22198 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22199 <bp-sym.h> and <bp-asm.h>.
22200 (memcpy): Don't use BP_SYM.
22201 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22202 <bp-sym.h> and <bp-asm.h>.
22203 (memset): Don't use BP_SYM.
22204 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22205 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22206 (__bzero): Don't use BP_SYM.
22207 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22208 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22209 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22210 <bp-sym.h> and <bp-asm.h>.
22211 (strncmp): Don't use BP_SYM. Remove comment about bounded
22213 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22214 <bp-sym.h> and <bp-asm.h>.
22215 (memcpy): Don't use BP_SYM.
22216 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22217 <bp-sym.h> and <bp-asm.h>.
22218 (memset): Don't use BP_SYM.
22219 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22220 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22221 (__bzero): Don't use BP_SYM.
22222 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22223 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22224 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22225 <bp-sym.h> and <bp-asm.h>.
22226 (__memchr): Don't use BP_SYM.
22227 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22228 <bp-sym.h> and <bp-asm.h>.
22229 (memcmp): Don't use BP_SYM. Remove comment about bounded
22231 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22232 <bp-sym.h> and <bp-asm.h>.
22233 (memcpy): Don't use BP_SYM.
22234 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22235 <bp-sym.h> and <bp-asm.h>.
22236 (__mempcpy): Don't use BP_SYM.
22237 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22238 <bp-sym.h> and <bp-asm.h>.
22239 (__memrchr): Don't use BP_SYM.
22240 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22241 <bp-sym.h> and <bp-asm.h>.
22242 (memset): Don't use BP_SYM.
22243 (__bzero): Likewise.
22244 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22245 <bp-sym.h> and <bp-asm.h>.
22246 (__rawmemchr): Don't use BP_SYM.
22247 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22248 <bp-sym.h> and <bp-asm.h>.
22249 (__STRCMP): Don't use BP_SYM.
22250 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22251 <bp-sym.h> and <bp-asm.h>.
22252 (strchr): Don't use BP_SYM.
22253 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22254 <bp-sym.h> and <bp-asm.h>.
22255 (__strchrnul): Don't use BP_SYM.
22256 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22257 <bp-sym.h> and <bp-asm.h>.
22258 (strlen): Don't use BP_SYM.
22259 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22260 <bp-sym.h> and <bp-asm.h>.
22261 (strncmp): Don't use BP_SYM. Remove comment about bounded
22263 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22264 <bp-sym.h> and <bp-asm.h>.
22265 (__strnlen): Don't use BP_SYM.
22266 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22267 <bp-sym.h> and <bp-asm.h>.
22268 (__GI__setjmp): Don't use BP_SYM.
22269 (_setjmp): Likewise.
22270 (__sigsetjmp): Likewise.
22271 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22272 (L(start_addresses)): Don't use BP_SYM.
22273 (_start): Likewise.
22274 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22276 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22277 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22278 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22279 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22280 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22282 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22283 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22284 about bounded pointers.
22285 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22286 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22287 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22289 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22290 about bounded pointers. Remove GKM FIXME comments.
22291 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22292 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22294 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22295 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22296 Remove GKM FIXME comments.
22297 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22298 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22299 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22301 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22302 about bounded pointers. Remove GKM FIXME comment.
22303 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22305 (strncmp): Don't use BP_SYM. Remove comment about bounded
22307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22308 <bp-sym.h> and <bp-asm.h>.
22309 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22311 <bp-sym.h> and <bp-asm.h>.
22312 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22315 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22317 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22320 2013-03-05 David S. Miller <davem@davemloft.net>
22322 * po/es.po: Update from translation team.
22324 2013-03-05 Andreas Jaeger <aj@suse.de>
22326 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22327 <bits/mman-linux.h>.
22328 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22330 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22331 <bits/mman-linux.h> to end of file.
22332 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22334 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22335 <bits/mman-linux.h> to end of file.
22336 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22338 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22339 <bits/mman-linux.h> to end of file.
22341 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22342 (MCL_CURRENT, MCL_FUTURE): Define here.
22344 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22347 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22349 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22351 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22353 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22354 fourth parameter needed for rt_sigprocmask syscall.
22355 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22356 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22357 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22358 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22359 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22360 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22362 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22365 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22366 comment about bounded pointers.
22367 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22368 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22370 2013-03-04 Andreas Jaeger <aj@suse.de>
22372 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22373 common definitions.
22375 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22376 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22377 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22378 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22379 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22382 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22385 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22386 __ieee754_sqrl instead of __sqrl.
22388 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22390 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22391 * sysdeps/powerpc/fpu_control.h: ... here.
22392 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22393 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22394 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22395 * sysdeps/powerpc/bits/mathinline.h: ... here.
22397 2013-03-01 Roland McGrath <roland@hack.frob.com>
22399 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22400 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22401 to just [NEED_DL_SYSINFO_DSO].
22402 * elf/dl-support.c: Likewise.
22403 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22404 * elf/rtld.c (dl_main): Likewise.
22405 * elf/setup-vdso.h (setup_vdso): Likewise.
22406 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22407 * sysdeps/unix/sysv/linux/dl-sysdep.c
22408 (_dl_discover_osversion): Likewise.
22410 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22412 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22413 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22415 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22417 * NEWS: Mention libm performance improvements and non-x86 PI
22420 * csu/libc-start.c (__pthread_initialize_minimal): Change
22421 function arguments.
22422 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22424 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22427 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22428 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22429 <bp-sym.h> and <bp-asm.h>.
22430 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22431 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22433 (memcpy): Don't use BP_SYM.
22434 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22436 (__mpn_add_n): Don't use BP_SYM.
22437 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22438 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22440 (__mpn_addmul_1): Don't use BP_SYM.
22441 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22442 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22444 (_setjmp): Don't use BP_SYM.
22445 (__novmx_setjmp): Likewise.
22446 (__GI__setjmp): Likewise.
22447 (__vmx_setjmp): Likewise.
22448 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22450 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22451 (__bzero): Don't use BP_SYM.
22452 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22453 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22454 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22455 <bp-sym.h> and <bp-asm.h>.
22456 (memcpy): Don't use BP_SYM.
22457 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22458 <bp-sym.h> and <bp-asm.h>.
22459 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22460 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22461 <bp-sym.h> and <bp-asm.h>.
22462 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22463 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22465 (__mpn_lshift): Don't use BP_SYM.
22466 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22467 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22469 (memset): Don't use BP_SYM.
22470 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22471 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22472 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22474 (__mpn_mul_1): Don't use BP_SYM.
22475 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22476 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22477 <bp-sym.h> and <bp-asm.h>.
22478 (memcmp): Don't use BP_SYM.
22479 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22480 <bp-sym.h> and <bp-asm.h>.
22481 (memcpy): Don't use BP_SYM.
22482 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22483 <bp-sym.h> and <bp-asm.h>.
22484 (memset): Don't use BP_SYM.
22485 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22486 <bp-sym.h> and <bp-asm.h>.
22487 (strncmp): Don't use BP_SYM.
22488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22489 <bp-sym.h> and <bp-asm.h>.
22490 (memcpy): Don't use BP_SYM.
22491 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22492 <bp-sym.h> and <bp-asm.h>.
22493 (memset): Don't use BP_SYM.
22494 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22495 <bp-sym.h> and <bp-asm.h>.
22496 (__memchr): Don't use BP_SYM.
22497 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22498 <bp-sym.h> and <bp-asm.h>.
22499 (memcmp): Don't use BP_SYM.
22500 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22501 <bp-sym.h> and <bp-asm.h>.
22502 (memcpy): Don't use BP_SYM.
22503 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22504 <bp-sym.h> and <bp-asm.h>.
22505 (__mempcpy): Don't use BP_SYM.
22506 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22507 <bp-sym.h> and <bp-asm.h>.
22508 (__memrchr): Don't use BP_SYM.
22509 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22510 <bp-sym.h> and <bp-asm.h>.
22511 (memset): Don't use BP_SYM.
22512 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22513 <bp-sym.h> and <bp-asm.h>.
22514 (__rawmemchr): Don't use BP_SYM.
22515 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22516 <bp-sym.h> and <bp-asm.h>.
22517 (__STRCMP): Don't use BP_SYM.
22518 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22519 <bp-sym.h> and <bp-asm.h>.
22520 (strchr): Don't use BP_SYM.
22521 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22522 <bp-sym.h> and <bp-asm.h>.
22523 (__strchrnul): Don't use BP_SYM.
22524 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22525 <bp-sym.h> and <bp-asm.h>.
22526 (strlen): Don't use BP_SYM.
22527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22528 <bp-sym.h> and <bp-asm.h>.
22529 (strncmp): Don't use BP_SYM.
22530 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22531 <bp-sym.h> and <bp-asm.h>.
22532 (__strnlen): Don't use BP_SYM.
22533 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22535 (__mpn_rshift): Don't use BP_SYM.
22536 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22537 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22538 <bp-sym.h> and <bp-asm.h>.
22539 (__sigsetjmp): Don't use BP_SYM.
22540 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22541 (L(start_addresses)): Don't use BP_SYM.
22542 (_start): Likewise.
22543 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22545 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22546 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22547 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22548 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22550 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22551 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22552 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22553 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22555 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22557 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22558 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22560 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22562 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22563 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22564 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22566 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22568 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22570 (strncmp): Don't use BP_SYM,
22571 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22573 (__mpn_sub_n): Don't use BP_SYM.
22574 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22575 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22577 (__mpn_submul_1): Don't use BP_SYM.
22578 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22580 <bp-sym.h> and <bp-asm.h>.
22581 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22583 <bp-sym.h> and <bp-asm.h>.
22584 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22587 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22590 Use ZK to minimize writes to Z.
22591 (sub_magnitudes): Simplify code a bit.
22592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22593 Use ZK to minimize writes to Z.
22594 (sub_magnitudes): Simplify code a bit.
22596 2013-02-27 Roland McGrath <roland@hack.frob.com>
22598 * csu/gmon-start.c: Add special exception to license text.
22600 2013-02-27 Richard Henderson <rth@redhat.com>
22602 * scripts/config.guess: Update from config.git.
22603 * scripts/config.sub: Likewise.
22605 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22609 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22611 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22613 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22615 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22617 2013-02-26 Roland McGrath <roland@hack.frob.com>
22619 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22620 [$(build-shared = yes].
22622 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22624 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22625 (__mul): Reduce iterations for calculating mantissa.
22627 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22629 (__mpranred): Likewise.
22632 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22633 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22635 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22637 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22638 Define __attribute__.
22640 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22642 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22644 * posix/regex_internal.h (__attribute): Remove.
22645 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22646 (re_string_context_at): Likewise.
22647 (bitset_not): Use __attribute__ and mark function as possibly
22649 (bitset_merge): Likewise.
22650 (bitset_mask): Likewise.
22651 (re_string_char_size_at): Likewise.
22652 (re_string_wchar_at): Likewise.
22653 (re_string_elem_size_at): Likewise.
22655 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22657 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22661 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22665 (denorm): Likewise.
22666 (__dbl_mp): Likewise.
22667 (add_magnitudes): Likewise.
22668 (sub_magnitudes): Likewise.
22672 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22675 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22678 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22682 up changes with default code.
22683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22686 2013-02-24 Allan McRae <allan@archlinux.org>
22688 * manual/socket.texi (The Internet Namespace): Order menu items
22689 to match that in the file.
22691 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22692 node listing of the info page menu.
22694 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22697 * sysdeps/i386/bp-asm.h: Remove file.
22698 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22699 (PARMS): Do not use macros from bp-asm.h.
22703 (__mpn_add_n): Do not use BP_SYM
22704 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22706 (PARMS): Do not use macros from bp-asm.h.
22709 (__mpn_addmul_1): Do not use BP_SYM
22710 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22712 (PARMS): Do not use macros from bp-asm.h.
22713 (SIGMSK): Likewise.
22714 (_setjmp): Likewise. Do not use BP_SYM.
22715 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22717 (PARMS): Do not use macros from bp-asm.h.
22718 (SIGMSK): Likewise.
22719 (setjmp): Likewise. Do not use BP_SYM.
22720 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22722 (PARMS): Do not use macros from bp-asm.h.
22723 (__frexp): Do not use BP_SYM.
22725 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22727 (PARMS): Do not use macros from bp-asm.h.
22728 (__frexpf): Do not use BP_SYM.
22729 (frexpf): Likewise.
22730 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22732 (PARMS): Do not use macros from bp-asm.h.
22733 (__frexpl): Do not use BP_SYM.
22734 (frexpl): Likewise.
22735 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22737 (PARMS): Do not use macros from bp-asm.h.
22738 (__remquo): Do not use BP_SYM.
22739 (remquo): Likewise.
22740 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22742 (PARMS): Do not use macros from bp-asm.h.
22743 (__remquof): Do not use BP_SYM.
22744 (remquof): Likewise.
22745 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22747 (PARMS): Do not use macros from bp-asm.h.
22748 (__remquol): Do not use BP_SYM.
22749 (remquol): Likewise.
22750 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22752 (PARMS): Do not use macros from bp-asm.h.
22755 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22756 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22758 (PARMS): Do not use macros from bp-asm.h.
22759 (strlen): Do not use BP_SYM.
22760 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22762 (PARMS): Do not use macros from bp-asm.h.
22766 (__mpn_add_n): Do not use BP_SYM.
22767 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22769 (PARMS): Do not use macros from bp-asm.h.
22772 (__mpn_addmul_1): Do not use BP_SYM.
22773 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22776 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22778 (PARMS): Do not use macros from bp-asm.h.
22781 (__mpn_lshift): Do not use BP_SYM.
22782 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22784 (PARMS): Do not use macros from bp-asm.h.
22788 (memcpy): Likewise. Do not use BP_SYM.
22789 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22790 libc_hidden_def and weak_alias.
22791 (mempcpy): Do not use BP_SYM in weak_alias.
22792 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22794 (PARMS): Do not use macros from bp-asm.h.
22797 [!BZERO_P] (CHR): Likewise.
22798 (memset): Likewise. Do not use BP_SYM.
22799 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22801 (PARMS): Do not use macros from bp-asm.h.
22804 (__mpn_mul_1): Do not use BP_SYM.
22805 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22807 (PARMS): Do not use macros from bp-asm.h.
22810 (__mpn_rshift): Do not use BP_SYM.
22811 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22813 (PARMS): Do not use macros from bp-asm.h.
22816 (strchr): Likewise. Do not use BP_SYM.
22817 (index): Do not use BP_SYM in weak_alias.
22818 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22820 (PARMS): Do not use macros from bp-asm.h.
22823 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22824 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22826 (PARMS): Do not use macros from bp-asm.h.
22827 (strlen): Do not use BP_SYM.
22828 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22830 (PARMS): Do not use macros from bp-asm.h.
22834 (__mpn_sub_n): Do not use BP_SYM.
22835 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22837 (PARMS): Do not use macros from bp-asm.h.
22840 (__mpn_submul_1): Do not use BP_SYM.
22841 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22843 (PARMS): Do not use macros from bp-asm.h.
22847 (__mpn_add_n): Do not use BP_SYM.
22848 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22851 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22853 (PARMS): Do not use macros from bp-asm.h.
22856 (memcmp): Do not use BP_SYM.
22857 (bcmp): Do not use BP_SYM in weak_alias.
22858 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22860 (PARMS): Do not use macros from bp-asm.h.
22864 (memcpy): Likewise. Do not use BP_SYM.
22865 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22867 (PARMS): Do not use macros from bp-asm.h.
22871 (memmove): Likewise. Do not use BP_SYM.
22872 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22874 (PARMS): Do not use macros from bp-asm.h.
22878 (__mempcpy): Likewise. Do not use BP_SYM.
22879 (mempcpy): Do not use BP_SYM in weak_alias.
22880 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22882 (PARMS): Do not use macros from bp-asm.h.
22885 [!BZERO_P] (CHR): Likewise.
22886 (memset): Likewise. Do not use BP_SYM.
22887 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22889 (PARMS): Do not use macros from bp-asm.h.
22891 (strcmp): Do not use BP_SYM.
22892 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22894 (PARMS): Do not use macros from bp-asm.h.
22897 [USE_AS_STRTOK_R] (SAVE): Likewise.
22898 (FUNCTION): Likewise. Do not use BP_SYM.
22899 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22901 (strtok_r): Likewise.
22902 (__GI___strtok_r): Likewise.
22903 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22904 (PARMS): Do not use macros from bp-asm.h.
22907 (__mpn_lshift): Do not use BP_SYM.
22908 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22909 (PARMS): Do not use macros from bp-asm.h.
22912 (__memchr): Do not use BP_SYM.
22913 (memchr): Do not use BP_SYM in weak_alias.
22914 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22915 (PARMS): Do not use macros from bp-asm.h.
22918 (memcmp): Do not use BP_SYM.
22919 (bcmp): Do not use BP_SYM in weak_alias.
22920 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22921 (PARMS): Do not use macros from bp-asm.h.
22924 (__mpn_mul_1): Do not use BP_SYM.
22925 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22927 (PARMS): Do not use macros from bp-asm.h.
22930 (__rawmemchr): Do not use BP_SYM.
22931 (rawmemchr): Do not use BP_SYM in weak_alias.
22932 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22933 (PARMS): Do not use macros from bp-asm.h.
22936 (__mpn_rshift): Do not use BP_SYM.
22937 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22938 (PARMS): Do not use macros from bp-asm.h.
22939 (SIGMSK): Likewise.
22940 (__sigsetjmp): Likewise. Do not use BP_SYM.
22941 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22942 (_start): Do not use BP_SYM.
22943 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22944 (PARMS): Do not use macros from bp-asm.h.
22947 (__stpcpy): Likewise. Do not use BP_SYM.
22948 (stpcpy): Do not use BP_SYM in weak_alias.
22949 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22951 (PARMS): Do not use macros from bp-asm.h.
22955 (__stpncpy): Likewise. Do not use BP_SYM.
22956 (stpncpy): Do not use BP_SYM in weak_alias.
22957 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22958 (PARMS): Do not use macros from bp-asm.h.
22961 (strchr): Likewise. Do not use BP_SYM.
22962 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22964 (PARMS): Do not use macros from bp-asm.h.
22967 (__strchrnul): Likewise. Do not use BP_SYM.
22968 (strchrnul): Do not use BP_SYM in weak_alias.
22969 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22971 (PARMS): Do not use macros from bp-asm.h.
22973 (strcspn): Do not use BP_SYM.
22974 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22976 (PARMS): Do not use macros from bp-asm.h.
22979 (strpbrk): Likewise. Do not use BP_SYM.
22980 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22982 (PARMS): Do not use macros from bp-asm.h.
22985 (strrchr): Likewise. Do not use BP_SYM.
22986 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22987 (PARMS): Do not use macros from bp-asm.h.
22989 (strspn): Do not use BP_SYM.
22990 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22991 (PARMS): Do not use macros from bp-asm.h.
22995 (FUNCTION): Likewise. Do not use BP_SYM.
22996 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22998 (strtok_r): Likewise.
22999 (__GI___strtok_r): Likewise.
23000 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23001 (PARMS): Do not use macros from bp-asm.h.
23005 (__mpn_sub_n): Do not use BP_SYM.
23006 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23008 (PARMS): Do not use macros from bp-asm.h.
23011 (__mpn_submul_1): Do not use BP_SYM.
23012 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23014 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23016 (PARMS): Do not use macros from bp-asm.h.
23021 (__clone): Do not use BP_SYM.
23022 (clone): Do not use BP_SYM in weak_alias.
23023 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23025 (PARMS): Do not use macros from bp-asm.h.
23027 (__mmap64): Do not use BP_SYM.
23028 (mmap64): Do not use BP_SYM in weak_alias.
23029 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23030 <bp-sym.h> and <bp-asm.h>.
23031 (PARMS): Do not use macros from bp-asm.h.
23032 (__posix_fadvise64_l64): Do not use BP_SYM.
23033 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23034 (PARMS): Do not use macros from bp-asm.h.
23036 (semtimedop): Do not use BP_SYM.
23037 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23040 2013-02-21 Allan McRae <allan@archlinux.org>
23042 * manual/message.texi (Charset conversion in gettext):
23043 Move @end statement to beginning of line.
23045 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23052 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23053 (denorm): Likewise.
23054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23057 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23059 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23060 tail-call to the resolved function if pltexit isn't needed.
23062 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23065 or Y being zero as being unlikely.
23066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23069 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23071 * manual/nss.texi (System Databases and Name Service Switch):
23072 Remove frobnicate @pxref.
23074 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23076 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23077 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23079 2013-02-20 Petr Machata <pmachata@redhat.com>
23081 * elf/elf.h (R_ARM_TARGET1): New macro.
23082 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23083 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23084 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23085 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23086 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23087 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23088 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23089 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23090 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23091 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23092 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23093 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23094 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23095 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23096 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23097 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23098 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23099 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23100 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23101 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23102 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23103 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23104 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23105 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23106 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23107 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23108 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23109 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23110 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23111 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23112 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23113 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23114 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23115 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23116 (R_ARM_THM_GOT_BREL12): Likewise.
23117 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23118 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23119 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23120 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23121 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23122 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23123 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23124 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23125 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23127 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23129 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23130 __attribute_used__ to __attribute__ ((unused)).
23132 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23134 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23137 comment formatting.
23138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23140 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23143 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23145 (ENTER): Remove both macro definitions.
23147 (CHECK_BOUNDS_LOW): Likewise.
23148 (CHECK_BOUNDS_HIGH): Likewise.
23149 (CHECK_BOUNDS_BOTH): Likewise.
23150 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23151 (RETURN_BOUNDED_POINTER): Likewise.
23152 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23153 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23154 (POP_ERRNO_LOCATION_RETURN): Likewise.
23155 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23156 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23157 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23159 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23160 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23161 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23162 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23163 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23164 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23165 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23166 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23167 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23168 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23169 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23170 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23171 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23172 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23174 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23175 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23177 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23178 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23179 * sysdeps/i386/i586/memset.S (memset): Likewise.
23180 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23181 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23182 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23184 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23185 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23186 Change uses of L(2) to L(out).
23187 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23188 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23189 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23190 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23191 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23193 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23194 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23196 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23197 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23198 (RETURN): Do not use macro LEAVE.
23199 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23200 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23201 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23202 * sysdeps/i386/i686/memset.S (memset): Likewise.
23203 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23204 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23205 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23206 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23208 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23209 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23210 L(1_2) and L(1_3) into L(1).
23211 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23212 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23213 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23214 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23215 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23216 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23217 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23218 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23219 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23221 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23222 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23223 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23224 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23225 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23226 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23227 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23228 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23229 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23230 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23231 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23232 * sysdeps/i386/strspn.S (strspn): Likewise.
23233 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23235 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23236 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23237 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23238 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23239 L(1_3) into L(1_1).
23240 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23241 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23242 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23244 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23246 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23248 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23251 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23253 * math/atest-exp.c (exp_mpn): Remove ROUND.
23254 * math/atest-exp2.c (exp_mpn): Likewise.
23255 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23257 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23258 * stdlib/tst-tls-atexit-lib.c: Likewise.
23259 * stdlib/tst-tls-atexit.c: Likewise.
23261 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23263 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23264 and __attribute_alloc_size__.
23266 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23268 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23269 __attribute_alloc_size__.
23270 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23271 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23273 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23275 * include/programs/xmalloc.h: New file.
23276 * catgets/gencat.c: Include it.
23277 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23278 * elf/pldd.c: Likewise.
23279 * iconv/iconv_charmap.c: Likewise.
23280 * iconv/iconvconfig.c: Likewise.
23281 * iconv/strtab.c: Likewise.
23282 * locale/programs/locale.c: Likewise.
23283 * locale/programs/localedef.h: Likewise.
23284 * locale/programs/simple-hash.c: Likewise.
23285 * nscd/nscd.h: Likewise.
23286 * nss/makedb.c: Likewise.
23287 * sysdeps/generic/ldconfig.h: Likewise.
23289 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23291 * Versions.def: Add GLIBC_2.18.
23292 * include/link.h (struct link_map): New member l_tls_dtor_count.
23293 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23294 (__call_tls_dtors): Likewise.
23295 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23296 __cxa_thread_atexit_impl.
23297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23305 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23313 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23314 (tests): Add test case tst-tls-atexit.
23315 (modules-names): Add shared library for tst-tls-atexit.
23316 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23317 (GLIBC_PRIVATE): Add __call_tls_dtors.
23318 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23320 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23321 * stdlib/tst-tls-atexit.c: New test case.
23322 * stdlib/tst-tls-atexit-lib.c: New test case.
23324 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23326 * elf/Versions (ld): Add _dl_find_dso_for_object.
23327 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23328 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23329 (dl_open_worker): Use _dl_find_dso_for_object.
23330 * elf/dl-sym.c (do_sym): Likewise.
23331 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23333 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23335 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23336 Syntactic changes only.
23337 (_dl_runtime_profile): Do a tail-call to the resolved function.
23339 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23342 * sysdeps/x86_64/bp-asm.h: Remove file.
23343 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23344 <bp-sym.h> and <bp-asm.h>.
23345 (__clone): Do not use BP_SYM.
23346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23347 <bp-sym.h> and <bp-asm.h>.
23348 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23349 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23351 (_setjmp): Do not use BP_SYM.
23352 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23354 (setjmp): Do not use BP_SYM.
23355 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23357 (mempcpy): Do not use BP_SYM in weak_alias.
23358 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23360 (strchr): Do not use BP_SYM.
23361 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23363 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23364 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23365 (_start): Do not use BP_SYM.
23366 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23368 (strcat): Do not use BP_SYM.
23369 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23371 (STRCMP): Do not use BP_SYM.
23372 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23374 (STRCPY): Do not use BP_SYM.
23375 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23377 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23379 (FUNCTION): Do not use BP_SYM.
23380 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23382 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23384 2013-02-17 Andreas Jaeger <aj@suse.de>
23386 * time/Versions: Sort entries.
23387 * string/Versions: Likewise.
23388 * resolv/Versions: Likewise.
23389 * posix/Versions: Likewise.
23390 * iconv/Versions: Likewise.
23391 * elf/Versions: Likewise.
23392 * wcsmbs/Versions: Likewise.
23394 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23396 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23397 loop termination condition.
23399 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23400 variable to calculate EZ.
23403 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23404 the lower precision input.
23406 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23409 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23410 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23411 (run-via-rtld-prefix): Do not handle %-bp tests.
23412 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23413 (all-object-suffixes): Remove .ob.
23414 (bppfx): Remove variable.
23415 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23416 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23417 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23418 [$(build-bounded) = yes] (libtype.ob): Likewise.
23419 * Makerules (elide-routines.ob): Remove variable.
23420 (do-tests-clean): Do not handle *-bp.out.
23421 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23422 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23423 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23424 (tests): Do not include $(tests-bp.out).
23425 (xtests): Do not include $(xtests-bp.out).
23426 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23427 [$(build-bounded) = yes] ($(addprefix
23428 $(objpfx),$(binaries-bounded))): Remove rule.
23429 ($(objpfx)%-bp.out): Remove rule.
23430 * config.make.in (build-bounded): Remove variable.
23431 * crypt/Makefile [$(build-bounded) = yes]
23432 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23433 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23434 append to variable.
23435 [$(build-bounded) = yes] (install-lib): Likewise.
23436 [$(build-bounded) = yes] (generated): Likewise.
23437 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23439 * intl/Makefile [$(build-bounded) = yes]
23440 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23441 * math/Makefile [$(build-bounded) = yes]
23442 ($(tests:%=$(objpfx)%-bp): Likewise.
23443 * misc/Makefile [$(build-bounded) = yes]
23444 ($(objpfx)tst-tsearch-bp): Likewise.
23445 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23446 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23448 * string/Makefile (o-objects.ob): Remove variable.
23449 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23450 (CFLAGS-.ob): Remove variable.
23451 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23452 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23453 both definitions of variable.
23454 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23455 (ASFLAGS-.ob): Remove variable.
23457 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23460 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23461 Remove __BOUNDED_POINTERS__ from condition.
23462 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23463 * string/bits/string2.h [!__NO_STRING_INLINES &&
23464 !__BOUNDED_POINTERS__]: Likewise.
23465 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23467 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23468 Remove conditional code.
23469 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23470 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23471 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23475 * csu/libc-start.c: Do not include <bp-sym.h>.
23476 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23477 * elf/dl-open.c: Do not include <bp-sym.h>.
23478 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23479 * math/fegetenv.c: Do not include <bp-sym.h>.
23480 (fegetenv): Do not use BP_SYM in versioned symbols.
23481 * nptl/sysdeps/pthread/bits/libc-lockP.h
23482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23485 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23487 (__pthread_mutex_destroy): Likewise.
23488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23489 (__pthread_mutex_lock): Likewise.
23490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23491 (__pthread_mutex_trylock): Likewise.
23492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23493 (__pthread_mutex_unlock): Likewise.
23494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23495 (__pthread_mutexattr_init): Likewise.
23496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23497 (__pthread_mutexattr_destroy): Likewise.
23498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23499 (__pthread_mutexattr_settype): Likewise.
23500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23501 (__pthread_rwlock_init): Likewise.
23502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23503 (__pthread_rwlock_destroy): Likewise.
23504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23505 (__pthread_rwlock_rdlock): Likewise.
23506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23507 (__pthread_rwlock_tryrdlock): Likewise.
23508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23509 (__pthread_rwlock_wrlock): Likewise.
23510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23511 (__pthread_rwlock_trywrlock): Likewise.
23512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23513 (__pthread_rwlock_unlock): Likewise.
23514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23515 (__pthread_key_create): Likewise.
23516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23517 (__pthread_setspecific): Likewise.
23518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23519 (__pthread_getspecific): Likewise.
23520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23523 (_pthread_cleanup_push_defer): Likewise.
23524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23525 (_pthread_cleanup_pop_restore): Likewise.
23526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23527 (pthread_setcancelstate): Likewise.
23528 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23530 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23531 (memchr): Do not use BP_SYM in weak_alias.
23532 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23533 (fegetenv): Do not use BP_SYM in versioned symbols.
23534 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23535 (fesetenv): Do not use BP_SYM in versioned symbols.
23536 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23537 (feupdateenv): Do not use BP_SYM in versioned symbols.
23538 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23539 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23540 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23541 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23542 (open64): Do not use BP_SYM in weak_alias.
23543 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23544 (fegetenv): Do not use BP_SYM in versioned symbols.
23545 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23546 (fesetenv): Do not use BP_SYM in versioned symbols.
23547 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23548 (feupdateenv): Do not use BP_SYM in versioned symbols.
23549 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23550 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23551 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23552 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23553 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23554 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23555 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23557 (__libc_start_main): Do not use BP_SYM.
23559 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23562 redundant return line.
23564 (denorm): Likewise.
23565 (dbl_mp): Likewise.
23566 (sub_magnitudes): Likewise.
23572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23574 (denorm): Likewise.
23575 (dbl_mp): Likewise.
23576 (sub_magnitudes): Likewise.
23583 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23585 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23586 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23589 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23590 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23592 of __mul for squares.
23593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23597 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23598 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23600 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23603 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23605 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23606 prototype or function definition. Rename ubp_* variables and
23607 parameters. Remove argv definitions conditional on
23608 [__BOUNDED_POINTERS__].
23609 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23610 * elf/dl-runtime.c (_dl_fixup): Likewise.
23611 * include/set-hooks.h (RUN_HOOK): Likewise.
23612 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23614 * string/strcpy.c (strcpy): Do not use __unbounded.
23615 * sysdeps/generic/frame.h (struct layout): Likewise.
23616 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23617 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23618 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23619 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23620 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23621 (__backtrace): Likewise.
23622 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23624 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23625 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23626 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23628 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23629 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23630 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23631 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23632 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23633 Do not use __unbounded.
23634 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23635 Rename __unboundedrlimits parameter to rlimits in prototype.
23636 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23637 Do not use __unbounded.
23638 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23639 not use __ptrvalue.
23640 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23641 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23642 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23643 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23644 __ptrvalue or __unbounded.
23645 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23646 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23648 (__new_msgctl): Do not use __ptrvalue.
23649 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23651 (__libc_msgrcv): Do not use __ptrvalue.
23652 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23653 startup_info): Do not use __unbounded.
23654 (__libc_start_main): Likewise. Rename ubp_* variables and
23655 parameters. Remove argv definitions conditional on
23656 [__BOUNDED_POINTERS__].
23657 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23659 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23661 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23663 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23665 (__new_shmctl): Do not use __ptrvalue.
23666 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23667 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23669 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23670 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23671 (__libc_sigaction): Likewise.
23672 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23673 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23675 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23677 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23679 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23681 * string/mempcpy.c: Implement by calling memcpy.
23683 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23690 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23691 values in the mantissa.
23693 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23694 minimize writes to Z.
23695 (sub_magnitudes): Simplify code a bit.
23697 2013-02-12 Roland McGrath <roland@hack.frob.com>
23699 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23700 from the message. The linker prefixes all warnings with that already.
23702 2013-02-12 Andreas Schwab <schwab@suse.de>
23705 * posix/regexec.c (extend_buffers): Add parameter min_len.
23706 (check_matching): Pass minimum needed length.
23707 (clean_state_log_if_needed): Likewise.
23708 (get_subexp): Likewise.
23709 * posix/Makefile (tests): Add bug-regex34.
23710 (bug-regex34-ENV): Define.
23711 * posix/bug-regex34.c: New file.
23714 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23715 elements compare against the byte sequence of it, not its name.
23716 * posix/Makefile (tests): Add bug-regex35.
23717 (bug-regex35-ENV): Define.
23718 * posix/bug-regex35.c: New file.
23720 2013-02-11 Tom de Vries <tom@codesourcery.com>
23722 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23724 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23725 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23726 (CHECK_EOL): Add undef.
23728 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23730 * bits/stdlib-bsearch.h: New file.
23731 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23732 * stdlib/stdlib.h: Likewise.
23734 2013-02-11 Roland McGrath <roland@hack.frob.com>
23736 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23737 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23739 * manual/search.texi (Array Search Function): Add missing const in
23741 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23742 declaration to use rlim_t.
23743 (Basic Scheduling Functions): Remove erroneous const from
23744 sched_getparam prototype. Remove erroneous * from
23745 sched_get_priority_max and sched_get_priority_min prototypes.
23746 (Resource Usage): Fix summary @comment on vtimes to refer to
23747 sys/vtimes.h rather than vtimes.h.
23748 Add missing *s in vtimes prototype.
23749 (Limits on Resources): Fix ulimit prototype to return long int.
23750 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23751 prototypes to use long int rather than double.
23752 (BSD Random): Fix initstate and setstate to use char *, not void *.
23753 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23754 prototype to make second argument 'struct aiocb64 *const[]'.
23755 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23756 (Status of AIO Operations): Remove erroneous const in aio_return and
23757 aio_return64 prototypes.
23758 (Synchronizing I/O): Fix sync prototype to return void.
23759 * manual/startup.texi (Suboptions): Remove an erroneous const in
23760 getsubopt prototype.
23761 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23762 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23763 use size_t rather than int.
23764 (Scanning All Users): Likewise for getpwent_r.
23765 (Setting Groups): Add missing const to setgroups prototype.
23766 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23767 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23768 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23769 'const void *' rather than 'const char *'.
23770 (Host Address Functions): Likewise for inet_ntop.
23771 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23772 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23773 ssize_t for return value.
23774 (Sending Data): Likewise for send, sendto, sendmsg.
23775 (Socket Option Functions): Add a missing const in setsockopt prototype.
23776 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23777 use wchar_t for the argument.
23778 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23779 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23781 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23782 double/float/long double for second argument.
23783 Fix return types of significand, significandf, significandl.
23784 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23785 argument in fchmod prototype.
23786 (File Owner): Use uid_t and gid_t in fchown prototype.
23787 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23788 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23789 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23790 use 'const struct dirent **' as argument types to CMP function pointer
23792 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23793 (File Times): Fix summary magic @comment for struct utimbuf and utime
23794 to refer to utime.h, not time.h.
23795 * manual/string.texi (Argz Functions): Add missing const in
23796 argz_extract and argz_next prototypes.
23797 (Finding Tokens in a String): Likewise for basename.
23798 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23799 (Copying and Concatenation): Fix typo in wmemmove prototype.
23800 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23801 (Signal Stack): Remove erroneous const in sigstack prototype.
23802 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23804 (Simple Calendar Time): Likewise for stime.
23805 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23807 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23808 say sys/sysctl.h instead.
23809 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23810 and vsyslog prototypes.
23812 2013-02-11 Tom de Vries <tom@codesourcery.com>
23814 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23817 2013-02-11 Roland McGrath <roland@hack.frob.com>
23819 * misc/sys/mman.h: Fix typo in mremap comment.
23821 2013-02-08 Roland McGrath <roland@hack.frob.com>
23823 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23824 the '\0' terminator.
23826 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23829 * debug/segfault.c: Don't include <bp-checks.h>.
23830 * sysdeps/generic/bp-checks.h: Remove file.
23831 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23832 (__GETDENTS): Don't use CHECK_N.
23833 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23834 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23835 (__getgroups): Don't use CHECK_N.
23836 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23837 (setgroups): Don't use CHECK_N.
23838 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23839 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23840 (__libc_msgrcv): Don't use CHECK_N.
23841 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23842 (__libc_msgsnd): Don't use CHECK_N.
23843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23845 (__libc_pread): Don't use CHECK_N.
23846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23847 include <bp-checks.h>.
23848 (__libc_pread64): Don't use CHECK_N.
23849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23850 include <bp-checks.h>.
23851 (__libc_pwrite): Don't use CHECK_N.
23852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23853 include <bp-checks.h>.
23854 (__libc_pwrite64): Don't use CHECK_N.
23855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23857 (__libc_pread): Don't use CHECK_N.
23858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23859 include <bp-checks.h>.
23860 (__libc_pread64): Don't use CHECK_N.
23861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23862 include <bp-checks.h>.
23863 (__libc_pwrite): Don't use CHECK_N.
23864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23865 include <bp-checks.h>.
23866 (__libc_pwrite64): Don't use CHECK_N.
23867 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23868 (do_pread): Don't use CHECK_N.
23869 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23870 (do_pread64): Don't use CHECK_N.
23871 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23872 (do_pwrite): Don't use CHECK_N.
23873 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23874 (do_pwrite64): Don't use CHECK_N.
23875 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23876 (__libc_readv): Don't use CHECK_N.
23877 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23878 (semop): Don't use CHECK_N.
23879 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23881 (semtimedop): Don't use CHECK_N.
23882 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23883 (__libc_pread): Don't use CHECK_N.
23884 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23886 (__libc_pread64): Don't use CHECK_N.
23887 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23889 (__libc_pwrite): Don't use CHECK_N.
23890 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23892 (__libc_pwrite64): Don't use CHECK_N.
23893 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23895 (__libc_msgrcv): Don't use CHECK_N.
23896 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23897 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23898 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23899 (__libc_writev): Don't use CHECK_N.
23901 2013-02-08 Roland McGrath <roland@hack.frob.com>
23903 * string/strcpy.c: Removed unused variable.
23905 * Makeconfig (+sysdep-includes): Define with := rather than =.
23906 Use an existing include/ subdir of each sysdeps dir before it.
23908 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23910 * nscd/connection.c (register_traced_file): Comment function.
23911 [HAVE_INOTIFY] (union __inev): Define.
23912 [HAVE_INOTIFY] (inotify_check_files): New function.
23913 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23914 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23916 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23918 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23920 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23921 loaded if not already and that a failure is permanent.
23923 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23926 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23927 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23929 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23932 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23933 (CHECK_1_NULL_OK): Likewise.
23934 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23935 (__fxstat): Do not use CHECK_1.
23936 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23938 (___fxstat64): Do not use CHECK_1.
23939 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23941 (__fxstatat): Do not use CHECK_1.
23942 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23944 (__fxstatat64): Do not use CHECK_1.
23945 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23947 (__fxstat): Do not use CHECK_1.
23948 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23950 (__fxstatat): Do not use CHECK_1.
23951 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23953 (__getresgid): Do not use CHECK_1.
23954 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23956 (__getresuid): Do not use CHECK_1.
23957 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23959 (__lxstat): Do not use CHECK_1.
23960 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23962 (__old_msgctl): Do not use CHECK_1.
23963 (__new_msgctl): Likewise.
23964 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23966 (__new_setrlimit): Do not use CHECK_1.
23967 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23969 (__old_shmctl): Do not use CHECK_1.
23970 (__new_shmctl): Likewise.
23971 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23973 (__xstat): Do not use CHECK_1.
23974 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23975 (__lxstat): Do not use CHECK_1.
23976 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23978 (___lxstat64): Do not use CHECK_1.
23979 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23980 (__old_msgctl): Do not use CHECK_1.
23981 (__new_msgctl): Likewise.
23982 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23984 (__gettimeofday): Do not use CHECK_1.
23985 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23986 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23987 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23989 (__gettimeofday): Do not use CHECK_1.
23990 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23991 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23992 (__new_shmctl): Do not use CHECK_1.
23993 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23995 (do_sigtimedwait): Do not use CHECK_1.
23996 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23998 (do_sigwaitinfo): Do not use CHECK_1.
23999 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24001 (msgctl): Do not use CHECK_1.
24002 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24004 (shmctl): Do not use CHECK_1.
24005 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24006 (ustat): Do not use CHECK_1.
24007 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24009 (__fxstat): Do not use CHECK_1.
24010 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24012 (__fxstatat): Do not use CHECK_1.
24013 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24015 (__lxstat): Do not use CHECK_1.
24016 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24018 (__xstat): Do not use CHECK_1.
24019 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24020 (__xstat): Do not use CHECK_1.
24021 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24022 (___xstat64): Do not use CHECK_1.
24025 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24027 (CHECK_BOUNDS_HIGH): Likewise.
24028 * string/strcpy.c: Do not include <bp-checks.h>.
24029 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24031 2013-02-07 Roland McGrath <roland@hack.frob.com>
24033 * nscd/nscd-client.h (__nscd_drop_map_ref):
24034 Add __attribute__ ((unused)).
24035 * nis/nss-nisplus.h (niserr2nss): Likewise.
24037 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24038 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24040 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24041 Remove inline keyword.
24042 * include/rounding-mode.h (round_away): Likewise.
24043 * libio/wfileops.c (adjust_wide_data): Likewise.
24044 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24045 (__m128i_strloadu_tolower): Likewise.
24046 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24047 (__m128i_strloadu_tolower): Likewise.
24048 * time/mktime.c (ydhms_diff): Likewise.
24049 * locale/elem-hash.h (elem_hash): Likewise.
24050 * locale/setlocale.c (setdata): Likewise.
24051 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24052 (re_string_wchar_at): Likewise.
24053 (bitset_not, bitset_merge, bitset_mask): Likewise.
24054 [!(__GNUC__ > 3)] (inline): Remove macro.
24055 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24056 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24057 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24058 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24059 * string/memcmp.c (memcmp_bytes): Likewise.
24060 * locale/programs/locarchive.c (compute_hashval): Likewise.
24061 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24062 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24063 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24064 * nss/getent.c (print_rpc, print_protocols): Likewise.
24065 (print_passwd, print_group, print_aliases): Likewise.
24066 * nis/nss-nisplus.h (niserr2nss): Likewise.
24067 * nscd/connections.c (restart_p): Likewise.
24068 Change return type to bool.
24070 2013-02-05 Roland McGrath <roland@hack.frob.com>
24072 * Makeconfig (all-Depend-files): Add existing
24073 $(sorted-subdirs:=/Depend) files.
24074 (all-subdirs): Remove nss.
24075 * sysdeps/unix/inet/Subdirs: Add it here instead.
24076 * hesiod/Depend: New file.
24078 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24079 instead of calling alloca.
24081 * io/lseek.c (__lseek): Rename to __libc_lseek.
24082 Define __lseek as an alias.
24084 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24086 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24088 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24089 else clause and remove check for non-standard endianness.
24091 2013-02-04 David S. Miller <davem@davemloft.net>
24093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24095 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24098 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24099 (__ubp_memchr): Remove prototype.
24100 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24101 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24102 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24103 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24104 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24106 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24107 (__ubp_memchr): Likewise.
24108 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24109 (__ubp_memchr): Likewise.
24110 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24111 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24112 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24113 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24115 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24116 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24117 (__getcwd): Do not use CHECK_STRING.
24118 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24120 (__real_chown): Do not use CHECK_STRING.
24121 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24123 (fchownat): Do not use CHECK_STRING.
24124 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24126 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24128 (__lchown): Do not use CHECK_STRING.
24129 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24130 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24131 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24132 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24134 include <bp-checks.h>.
24135 (truncate64): Do not use CHECK_STRING.
24136 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24138 (__real_chown): Do not use CHECK_STRING.
24139 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24141 (__lchown): Do not use CHECK_STRING.
24142 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24144 (__chown): Do not use CHECK_STRING.
24145 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24147 (truncate64): Do not use CHECK_STRING.
24148 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24150 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24151 (__xmknod): Do not use CHECK_STRING.
24152 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24154 (__xmknodat): Do not use CHECK_STRING.
24155 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24156 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24158 2013-02-04 Andreas Schwab <schwab@suse.de>
24161 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24162 * include/netdb.h: Likewise for h_errno.
24163 * elf/tst-stackguard1.c: Include <tls.h>.
24165 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24167 * elf/link.h (struct link_map): Extend the l_addr comment.
24168 * include/link.h (struct link_map): Likewise.
24170 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24173 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24174 (BOUNDED_1): Remove macro.
24175 * debug/backtrace.c: Don't include <bp-checks.h>.
24176 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24177 (__backtrace): Likewise.
24178 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24180 (__backtrace): Don't use BOUNDED_1.
24181 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24183 (__backtrace): Don't use BOUNDED_1.
24184 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24185 (__backtrace): Don't use BOUNDED_1.
24186 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24187 (shmat): Don't use BOUNDED_N.
24189 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24192 * sysdeps/generic/bp-start.h: Remove file.
24193 * csu/libc-start.c: Don't include <bp-start.h>.
24194 (LIBC_START_MAIN): Set up __environ directly instead of using
24195 INIT_ARGV_and_ENVIRON.
24196 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24200 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24202 (CHECK_FCNTL): Likewise.
24203 (CHECK_N_PAGES): Likewise.
24206 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24208 (CHECK_SIGSET_NULL_OK): Likewise.
24209 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24211 (sigpending): Don't use CHECK_SIGSET.
24212 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24214 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24215 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24217 (do_sigsuspend): Don't use CHECK_SIGSET.
24218 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24220 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24221 (do_sigwait): Don't use CHECK_SIGSET.
24222 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24224 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24225 include <bp-checks.h>.
24226 (sigpending): Don't use CHECK_SIGSET.
24227 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24228 include <bp-checks.h>.
24229 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24230 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24232 (sigpending): Don't use CHECK_SIGSET.
24233 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24235 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24238 * sysdeps/generic/bp-semctl.h: Remove file.
24239 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24240 <bp-checks.h> and <bp-semctl.h>.
24241 (__old_semctl): Don't use CHECK_SEMCTL.
24242 (__new_semctl): Likewise.
24243 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24245 (__old_semctl): Don't use CHECK_SEMCTL.
24246 (__new_semctl): Likewise.
24247 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24248 <bp-checks.h> and <bp-semctl.h>.
24249 (__old_semctl): Don't use CHECK_SEMCTL.
24250 (__new_semctl): Likewise.
24251 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24252 <bp-checks.h> and <bp-semctl.h>.
24253 (semctl): Don't use CHECK_SEMCTL.
24256 * Makerules (elide-bp-thunks): Remove variable.
24257 (elide-routines.oS): Don't use $(elide-bp-thunks).
24258 (elide-routines.os): Likewise.
24259 (elide-routines.o): Likewise.
24260 (elide-routines.op): Likewise.
24261 (elide-routines.og): Likewise.
24262 (objects): Don't use $(bp-thunks).
24263 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24265 (common-generated): Do not add s-proto-bp.d.
24266 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24269 Do not generate makefile rules for bounded-pointer thunks.
24270 * sysdeps/generic/bp-thunks.h: Remove file.
24271 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24272 * sysdeps/unix/s-proto-bp.S: Likewise.
24275 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24276 parts of result separately when argument is not close to line from
24277 -i to i and one part of argument is small.
24278 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24279 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24280 * math/libm-test.inc (cacos_test): Add more tests.
24281 (casin_test): Likewise.
24282 (casinh_test): Likewise.
24283 * sysdeps/i386/fpu/libm-test-ulps: Update.
24284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24286 2013-01-31 David S. Miller <davem@davemloft.net>
24288 * po/de.po: Update from translation team.
24290 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24292 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24294 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24296 * configure.in (_AC_PROG_CC_C89): New definition.
24297 * configure: Regenerate.
24299 * configure.in (AC_PROG_CPP): New definition.
24300 * configure: Regenerate.
24302 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24304 * debug/tst-backtrace.h: New file.
24305 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24306 (ret): Remove variable.
24308 (FAIL): Remove macro.
24309 (NO_INLINE): Likewise.
24310 (fn1): Use match function instead of strstr.
24311 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24312 (ret): Remove variable.
24314 (FAIL): Remove macro.
24315 (NO_INLINE): Likewise.
24316 (fn): Use match function instead of strstr.
24317 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24318 (ret): Remove variable.
24320 (FAIL): Remove macro.
24321 (NO_INLINE): Likewise.
24322 (handle_signal): Use match function instead of strstr.
24323 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24324 (ret): Remove variable.
24326 (FAIL): Remove macro.
24327 (NO_INLINE): Likewise.
24328 (handle_signal): Use match function instead of strstr.
24330 2013-01-23 Roland McGrath <roland@hack.frob.com>
24332 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24334 2013-01-23 David S. Miller <davem@davemloft.net>
24336 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24337 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24338 argument of CAS if possible.
24339 * sysdeps/sparc/sparc64/bits/atomic.h
24340 (__arch_compare_and_exchange_val_32_acq): Likewise.
24341 (__arch_compare_and_exchange_val_64_acq): Likewise.
24343 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24345 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24346 * sysdeps/posix/ulimit.c: ... this.
24347 Include <limits.h>.
24348 * sysdeps/unix/bsd/ulimit.c: Remove file.
24350 2013-01-23 Adam Conrad <adconrad@0c3.net>
24352 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24353 (LDFLAGS-tst-array5): Likewise.
24355 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24358 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24359 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24360 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24361 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24363 2013-01-21 David S. Miller <davem@davemloft.net>
24365 * sysdeps/sparc/backtrace.c: New file.
24366 * sysdeps/sparc/sparc32/backtrace.h: New file.
24367 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24368 * sysdeps/sparc/sparc64/backtrace.h: New file.
24369 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24370 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24373 2013-01-21 Andreas Schwab <schwab@suse.de>
24376 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24379 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24385 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24386 Mark Mitchell <mark@codesourcery.com>
24387 Tom de Vries <tom@codesourcery.com>
24388 Paul Pluzhnikov <ppluzhnikov@google.com>
24390 * debug/tst-backtrace2.c: New file.
24391 * debug/tst-backtrace3.c: Likewise.
24392 * debug/tst-backtrace4.c: Likewise.
24393 * debug/tst-backtrace5.c: Likewise.
24394 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24395 (CFLAGS-tst-backtrace3.c): Likewise.
24396 (CFLAGS-tst-backtrace4.c): Likewise.
24397 (CFLAGS-tst-backtrace5.c): Likewise.
24398 (LDFLAGS-tst-backtrace2): Likewise.
24399 (LDFLAGS-tst-backtrace3): Likewise.
24400 (LDFLAGS-tst-backtrace4): Likewise.
24401 (LDFLAGS-tst-backtrace5): Likewise.
24402 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24403 tst-backtrace4 and tst-backtrace5.
24405 2013-01-18 Anton Blanchard <anton@samba.org>
24406 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24408 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24409 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24410 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24411 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24413 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24414 "+r" and remove output regs list as redundant. Add explicit inline
24415 asm to specify register of return val to work around compiler codegen
24416 bug. Remove (int) cast on return value. Add return type parameter to
24417 use in macro so that this macro does not truncate return value for
24419 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24420 pass to INTERNAL_VSYSCALL_NCS.
24421 (INLINE_VSYSCALL): Add 'long int' as return type to
24422 INTERNAL_VSYSCALL_NCS macro invocation.
24423 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24424 INTERNAL_VSYSCALL_NCS macro invocation.
24425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24427 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24430 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24431 Fix application of SIMD FP exception mask.
24433 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24434 mp_no from a power of two.
24435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24436 __mpexp_twomm1. Use __pow_mp.
24438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24441 2013-01-17 David S. Miller <davem@davemloft.net>
24443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24445 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24448 * include/complex.h: Condition contents on [!_COMPLEX_H].
24449 (__kernel_casinhf): New prototype.
24450 (__kernel_casinh): Likewise.
24451 (__kernel_casinhl): Likewise.
24452 * math/Makefile (libm_calls): Add k_casinh.
24453 * math/k_casinh.c: New file.
24454 * math/k_casinhf.c: Likewise.
24455 * math/k_casinhl.c: Likewise.
24456 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24457 finite nonzero arguments.
24458 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24459 finite nonzero arguments.
24460 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24461 finite nonzero arguments.
24462 * math/s_casinh.c: Do not include <float.h>.
24463 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24464 * math/s_casinhf.c: Do not include <float.h>.
24465 (__casinhf): Move code for finite nonzero arguments to
24467 * math/s_casinhl.c: Do not include <float.h>.
24468 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24470 (__casinhl): Move code for finite nonzero arguments to
24472 * math/libm-test.inc (cacos_test): Add more tests.
24473 * sysdeps/i386/fpu/libm-test-ulps: Update.
24474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24476 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24478 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24479 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24480 [!HAVE_MREMAP]: Remove [defined linux] case.
24481 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24483 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24485 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24487 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24489 * elf/elf.h (R_386_SIZE32): New relocation.
24490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24492 (elf_machine_rela): Likewise.
24493 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24494 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24496 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24498 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24499 (FP_FAST_FMA): Do not define.
24500 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24501 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24502 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24503 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24504 !_SOFT_FLOAT]: Likewise.
24505 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24506 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24508 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24509 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24510 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24511 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24512 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24513 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24516 2013-01-16 Andreas Schwab <schwab@suse.de>
24519 * include/stdlib.h (__mktemp): Add declaration.
24520 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24521 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24523 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24525 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24527 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24528 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24529 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24531 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24532 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24534 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24536 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24537 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24538 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24540 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24541 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24543 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24545 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24547 2013-01-15 David S. Miller <davem@davemloft.net>
24549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24550 trunc{,f} to libm-sysdep_routes.
24551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24561 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24562 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24563 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24564 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24565 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24566 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24569 nearbyint{,f} to libm-sysdep_routes.
24570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24581 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24583 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24584 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24586 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24587 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24588 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24590 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24591 libc_feholdexcept and libc_fesetenv.
24593 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24595 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24597 2013-01-14 David S. Miller <davem@davemloft.net>
24599 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24600 (SPARC_ASM_VIS2_IFUNC): Likewise.
24601 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24603 use of 'siam' instruction.
24604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24637 routines to libm-sysdep_routines.
24638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24641 fdim/fdimf to libm-sysdep_routines.
24642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24650 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24651 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24652 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24653 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24655 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24657 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24658 to optimize copies.
24660 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24665 local variable MPTWO.
24666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24669 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24671 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24674 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24676 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24678 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24680 * manual/pattern.texi (glob_t): Document gl_flags.
24681 (glob64_t): Likewise.
24683 2013-01-11 David S. Miller <davem@davemloft.net>
24685 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24686 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24687 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24688 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24689 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24690 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24691 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24692 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24693 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24694 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24695 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24696 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24697 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24699 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24700 sparc V9 rather than using V8 code.
24701 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24702 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24704 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24706 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24709 2013-01-11 Roland McGrath <roland@hack.frob.com>
24711 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24712 not in the main loop.
24713 * configure: Regenerated.
24715 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24717 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24718 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24720 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24721 [!__GLIBC_HAVE_LONG_LONG] case.
24722 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24723 condition to just #else.
24724 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24725 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24726 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24727 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24729 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24730 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24731 #elif condition to just #else.
24732 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24733 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24734 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24735 #elif condition to just #else.
24737 2013-01-11 Steve Ellcey <sellcey@mips.com>
24739 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24740 (EF_MIPS_ARCH_64): Fix value.
24741 (EF_MIPS_ARCH_32R2): New.
24742 (EF_MIPS_ARCH_64R2): New.
24744 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24746 * Makeconfig (+link-pie-before-libc): New.
24747 (+link-pie-after-libc): Likewise.
24748 (+link-pie-tests): Likewise.
24749 (+link-pie): Rewritten.
24750 (link-before-libc): Remove $(config-LDFLAGS).
24751 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24752 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24753 (config-LDFLAGS): Renamed to ...
24754 (rtld-LDFLAGS): This.
24755 (rtld-tests-LDFLAGS): New macro.
24756 (link-libc-rpath-link): Likewise.
24757 (link-libc-tests-rpath-link): Likewise.
24758 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24759 (link-libc): Prepand $(link-libc-rpath-link).
24760 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24761 (test-program-prefix): New macro.
24762 (test-via-rtld-prefix): Likewise.
24763 (test-program-cmd): Likewise.
24764 (host-test-program-cmd): Likewise.
24765 * Makefile ($(common-objpfx)testrun.sh): Replace
24766 $(run-program-prefix) with $(test-program-prefix).
24767 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24769 ($(common-objpfx)shlib.lds): Likewise.
24770 (build-module-helper): Likewise.
24771 ($(common-objpfx)format.lds): Likewise.
24772 * Rules (binaries-pie-tests): New.
24773 (binaries-pie-notests): Likewise.
24774 (binaries-pie): Rewritten.
24775 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24776 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24777 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24778 (make-test-out): Replace $(host-built-program-cmd) with
24779 $(host-test-program-cmd).
24780 * config.make.in (build-hardcoded-path-in-tests): New variable.
24781 * configure.in (--enable-hardcoded-path-in-tests): New configure
24783 (hardcoded_path_in_tests): New AC_SUBST.
24784 * configure: Regenerated.
24785 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24786 $(built-program-cmd) with $(test-program-cmd).
24787 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24788 (test_program_cmd): This.
24789 * elf/Makefile ($(objpfx)order.out): Run test with
24790 $(test-program-prefix).
24791 ($(objpfx)order2.out): Likewise.
24792 ($(objpfx)tst-initorder.out): Likewise.
24793 ($(objpfx)tst-initorder2.out): Likewise.
24794 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24795 $(test-program-cmd).
24796 ($(objpfx)tst-array1-static.out): Likewise.
24797 ($(objpfx)tst-array2.out): Likewise.
24798 ($(objpfx)tst-array3.out): Likewise.
24799 ($(objpfx)tst-array4.out): Likewise.
24800 ($(objpfx)tst-array5.out): Likewise.
24801 ($(objpfx)tst-array5-static.out): Likewise.
24802 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24803 $(test-program-cmd).
24804 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24805 $(run-program-prefix) with $(test-program-prefix).
24806 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24807 (test_program_prefix): This.
24808 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24809 $(run-program-prefix) with $(test-program-prefix).
24810 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24811 (test_program_prefix): This.
24812 * iconvdata/tst-tables.sh: Likewise.
24813 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24814 $(run-program-prefix) with $(test-program-prefix).
24815 ($(objpfx)tst-translit.out): Likewise.
24816 ($(objpfx)tst-gettext2.out): Likewise.
24817 ($(objpfx)tst-gettext4.out): Likewise.
24818 ($(objpfx)tst-gettext6.out): Likewise.
24819 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24820 (test_program_prefix): This.
24821 * intl/tst-gettext2.sh: Likewise.
24822 * intl/tst-gettext4.sh Likewise.
24823 * intl/tst-gettext6.sh: Likewise.
24824 * intl/tst-translit.sh: Likewise.
24825 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24826 with $(test-program-cmd).
24827 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24828 $(run-program-prefix) with $(test-program-prefix).
24829 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24830 (test_program_prefix): This.
24831 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24832 $(run-program-prefix) with $(test-program-prefix).
24833 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24834 (test_program_prefix): This.
24835 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24836 * posix/Makefile ($(objpfx)globtest.out): Replace
24837 $(run-via-rtld-prefix) and $(test-wrapper) with
24838 $(test-program-prefix) and $(test-via-rtld-prefix).
24839 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24840 $(test-program-prefix).
24841 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24842 $(host-test-program-cmd).
24843 (tst-spawn-ARGS): Likewise.
24844 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24845 $(test-program-prefix).
24846 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24847 (test_via_rtld_prefix): This.
24848 (test_wrapper): Renamed to ...
24849 (test_program_prefix): This.
24850 (run_program_prefix): Replaced by test_program_prefix.
24851 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24852 (test_program_prefix): This.
24853 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24854 with $(host-test-program-cmd).
24855 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24856 $(run-program-prefix) with $(test-program-prefix).
24857 ($(objpfx)tst-printf.out): Likewise.
24858 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24859 $(test-program-cmd).
24860 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24861 (test_program_prefix): This.
24862 * stdio-common/tst-unbputc.sh: Likewise.
24863 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24864 $(run-program-prefix) with $(test-program-prefix).
24865 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24866 (test_program_prefix): This.
24867 * string/Makefile ($(objpfx)tst-svc.out): Replace
24868 $(built-program-cmd) with $(test-program-cmd).
24870 2013-01-11 Andreas Jaeger <aj@suse.de>
24873 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24874 value. Sync with Linux 3.7.
24876 2013-01-10 David S. Miller <davem@davemloft.net>
24878 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24879 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24880 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24882 2013-01-10 Roland McGrath <roland@hack.frob.com>
24884 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24886 * configure: Regenerated.
24888 2013-01-10 David S. Miller <davem@davemloft.net>
24890 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24891 sparc V9 rather than using V8 code.
24892 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24893 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24895 2013-01-10 Roland McGrath <roland@hack.frob.com>
24897 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24898 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24899 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24900 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24901 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24902 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24903 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24904 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24905 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24906 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24907 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24908 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24909 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24910 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24911 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24912 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24913 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24914 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24915 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24916 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24917 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24918 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24919 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24920 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24921 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24922 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24923 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24925 2013-01-10 David S. Miller <davem@davemloft.net>
24927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24929 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24931 * posix/Makefile (tests-static): New variable.
24932 (tests): Add $(tests-static).
24933 (tst-exec-static-ARGS): New variable.
24934 (tst-spawn-static-ARGS): Likewise.
24935 * posix/tst-exec-static.c: New file.
24936 * posix/tst-spawn-static.c: Likewise.
24937 * posix/tst-exec.c: Support run directly.
24938 * posix/tst-spawn.c: Likewise.
24940 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24942 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24944 * math/bits/mathcalls.h (llrint): Likewise.
24945 (llround): Likewise.
24946 * stdlib/stdlib.h (struct drand48_data): Likewise.
24947 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24948 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24949 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24951 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24953 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24954 (elf_greg_t): Likewise.
24955 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24956 (__jmp_buf): Likewise.
24957 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24959 (llrint): Likewise, for all definitions.
24960 (llrintl): Likewise.
24962 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24963 Remove [__GNUC__] condition.
24964 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24965 condition to just [__USE_ISOC99].
24966 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24968 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24971 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24972 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24974 (_POSIX_V6_ILP32_OFF32): Likewise.
24975 (_XBS5_ILP32_OFF32): Likewise.
24976 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24977 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24979 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24981 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24984 doubles __mpexp_twomm1. Adjust usage.
24985 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24988 2013-01-10 Andreas Schwab <schwab@suse.de>
24991 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24992 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24994 2013-01-09 David S. Miller <davem@davemloft.net>
24997 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24998 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24999 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25000 (TCP_FASTOPEN): Define.
25001 (tcp_repair_opt): New structure.
25002 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25004 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25005 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25006 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25007 (tcp_cookie_transactions): New structure.
25009 2013-01-09 Anton Blanchard <anton@samba.org>
25011 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25012 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25013 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25014 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25016 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25018 * include/features.h (__USE_ANSI): Remove.
25020 2013-01-09 Roland McGrath <roland@hack.frob.com>
25022 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25024 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25026 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25028 * sysdeps/s390/fpu/libm-test-ulps: Update.
25030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25032 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25036 (denorm): Likewise.
25037 (__mp_dbl): Likewise.
25038 (__dbl_mp): Likewise.
25039 (add_magnitudes): Likewise.
25040 (sub_magnitudes): Likewise.
25046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25050 (denorm): Likewise.
25051 (__mp_dbl): Likewise.
25052 (__dbl_mp): Likewise.
25053 (add_magnitudes): Likewise.
25054 (sub_magnitudes): Likewise.
25060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25064 (denorm): Likewise.
25065 (__mp_dbl): Likewise.
25066 (__dbl_mp): Likewise.
25067 (add_magnitudes): Likewise.
25068 (sub_magnitudes): Likewise.
25075 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25077 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25078 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25079 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25080 2 && __USE_EXTERN_INLINES]: Likewise.
25082 2013-01-08 Andreas Jaeger <aj@suse.de>
25085 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25087 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25088 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25090 2013-01-07 Anton Blanchard <anton@samba.org>
25092 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25093 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25094 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25095 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25096 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25097 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25098 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25099 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25101 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25102 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25103 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25104 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25105 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25106 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25107 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25108 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25109 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25110 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25112 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25113 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25114 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25115 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25116 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25117 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25118 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25119 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25120 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25121 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25122 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25124 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25125 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25126 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25127 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25128 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25129 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25130 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25131 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25132 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25134 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25136 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25138 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25139 (__MALLOC_PMT): Likewise.
25140 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25141 [__GNUC__], only on [_LIBC].
25142 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25143 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25144 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25145 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25146 forward declaration.
25147 (realloc_hook_ini): Likewise.
25148 (memalign_hook_ini): Likewise.
25149 (__libc_memalign): Do not use __MALLOC_PMT in variable
25151 (__libc_valloc): Likewise.
25152 (__libc_pvalloc): Likewise.
25153 (__libc_calloc): Likewise.
25154 (__posix_memalign): Likewise.
25157 * math/s_casinh.c: Include <float.h>.
25158 (__casinh): Do not do computation with squaring and square root
25159 for large arguments.
25160 * math/s_casinhf.c: Include <float.h>.
25161 (__casinhf): Do not do computation with squaring and square root
25162 for large arguments.
25163 * math/s_casinhl.c: Include <float.h>.
25164 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25165 (__casinhl): Do not do computation with squaring and square root
25166 for large arguments.
25167 * math/libm-test.inc (casin_test): Add more tests.
25168 (casinh_test): Likewise.
25169 * sysdeps/i386/fpu/libm-test-ulps: Update.
25170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25172 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25174 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25175 (__x86_64_raw_data_cache_size): Likewise.
25176 (__x86_64_data_cache_size_half): Likewise.
25177 (__x86_64_raw_data_cache_size_half): Likewise.
25178 (__x86_64_shared_cache_size): Likewise.
25179 (__x86_64_raw_shared_cache_size): Likewise.
25180 (__x86_64_shared_cache_size_half): Likewise.
25181 (__x86_64_raw_shared_cache_size_half): Likewise.
25182 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25184 (__x86_data_cache_size): This.
25185 (__x86_64_raw_data_cache_size): Renamed to ...
25186 (__x86_raw_data_cache_size): This.
25187 (__x86_64_data_cache_size_half): Renamed to ...
25188 (__x86_data_cache_size_half): This.
25189 (__x86_64_raw_data_cache_size_half): Renamed to ...
25190 (__x86_raw_data_cache_size_half): This.
25191 (__x86_64_shared_cache_size): Renamed to ...
25192 (__x86_shared_cache_size): This.
25193 (__x86_64_raw_shared_cache_size): Renamed to ...
25194 (__x86_raw_shared_cache_size): This.
25195 (__x86_64_shared_cache_size_half): Renamed to ...
25196 (__x86_shared_cache_size_half): This.
25197 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25198 (__x86_raw_shared_cache_size_half): This.
25199 * sysdeps/x86_64/memcpy.S: Updated.
25200 * sysdeps/x86_64/memset.S: Likewise.
25201 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25202 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25203 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25205 2013-01-04 David S. Miller <davem@davemloft.net>
25207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25209 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25211 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25212 1 to avoid redefinition warning.
25213 (__USE_GNU): Don't define.
25214 (init_signaling_nan): Protoize.
25216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25218 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25220 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25222 (__cpymn): Likewise.
25223 (norm): Remove commented code.
25224 (denorm): Likewise.
25225 (__mp_dbl): Likewise.
25227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25228 (__cpymn): Likewise.
25229 (norm): Remove commented code.
25230 (denorm): Likewise.
25231 (__mp_dbl): Likewise.
25234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25235 mp_no value for 1.0 and 2.0.
25236 (norm): Use RADIXI instead of radixi.d.
25237 (denorm): Likewise.
25238 (__mul): Use 0.0 instead of zero.d.
25239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25240 mp_no value for 1.0 and 2.0.
25241 (norm): Use RADIXI instead of radixi.d.
25242 (denorm): Likewise.
25243 (__mul): Use 0.0 instead of zero.d.
25245 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25248 * math/s_casinh.c (__casinh): Reduce finite argument to first
25249 quadrant then set signs of results at the end.
25250 * math/s_casinhf.c (__casinhf): Likewise.
25251 * math/s_casinhl.c (__casinhl): Likewise.
25252 * math/libm-test.inc (casin_test): Add more tests.
25253 (casinh_test): Likewise.
25254 * sysdeps/i386/fpu/libm-test-ulps: Update.
25255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25257 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25259 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25261 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25263 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25265 (denorm): Likewise.
25266 (__mp_dbl): Likewise.
25269 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25270 and adjust the header comment.
25272 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25273 variable name from declaration.
25275 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25278 Initialize COMMON_CPUID_INDEX_7 element.
25279 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25280 (CPUID_RTM): Likewise.
25281 (HAS_RTM): Likewise.
25282 (COMMON_CPUID_INDEX_7): New enum.
25284 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25287 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25288 size is zero, record memory as freed.
25290 2013-01-03 Andreas Jaeger <aj@suse.de>
25292 * po/ia.po: Add new Interlingua translation.
25294 2012-01-03 Allan McRae <allan@archlinux.org>
25296 * locale/programs/localedef.c: Fix description of '--posix' flag.
25298 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25300 * NEWS: Update dates in second copyright notice.
25301 * README: Update copyright dates in example.
25302 * manual/libc.texinfo: Update copyright dates.
25303 * scripts/test-installation.pl: Update copyright date in --version
25306 * hurd/ctty-input.c: Fix copyright notice formatting.
25307 * hurd/ctty-output.c: Likewise.
25308 * hurd/dtable.c: Likewise.
25309 * hurd/hurd-raise.c: Likewise.
25310 * hurd/hurdprio.c: Likewise.
25311 * hurd/msgportdemux.c: Likewise.
25312 * misc/sys/file.h: Likewise.
25313 * misc/sys/ioctl.h: Likewise.
25314 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25315 * sysdeps/mach/hurd/chdir.c: Likewise.
25316 * sysdeps/mach/hurd/fchdir.c: Likewise.
25317 * sysdeps/mach/hurd/rename.c: Likewise.
25318 * sysdeps/mach/hurd/rmdir.c: Likewise.
25319 * sysdeps/mach/hurd/seekdir.c: Likewise.
25320 * sysdeps/mach/hurd/setsid.c: Likewise.
25321 * sysdeps/posix/wait3.c: Likewise.
25323 * All files with FSF copyright notices: Update copyright dates
25324 using scripts/update-copyrights.
25325 * intl/plural.c: Regenerated.
25326 * locale/programs/charmap-kw.h: Likewise.
25327 * locale/programs/locfile-kw.h: Likewise.
25329 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25331 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25335 calculation loop and add branch prediction.
25337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25338 check access beyond bounds of m1np.
25340 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25342 (__inv): Remove local variable MPTWO to use the global
25344 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25347 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25348 MP3HALFS static const.
25350 2013-01-01 David S. Miller <davem@davemloft.net>
25352 * po/ca.po: Update from translation team.
25354 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25356 * scripts/update-copyrights: New file.
25357 * Makeconfig: Reformat copyright notice.
25358 * ctype/ctype.h: Likewise.
25359 * debug/swprintf_chk.c: Likewise.
25360 * elf/dl-cache.c: Likewise.
25361 * elf/dl-debug.c: Likewise.
25362 * elf/dl-object.c: Likewise.
25363 * grp/initgroups.c: Likewise.
25364 * hurd/Makefile: Likewise.
25365 * hurd/hurd/signal.h: Likewise.
25366 * hurd/hurdfault.c: Likewise.
25367 * hurd/hurdioctl.c: Likewise.
25368 * hurd/hurdlookup.c: Likewise.
25369 * hurd/intr-msg.c: Likewise.
25370 * iconv/gconv_open.c: Likewise.
25371 * libio/swprintf.c: Likewise.
25372 * locale/lc-ctype.c: Likewise.
25373 * locale/nl_langinfo.c: Likewise.
25374 * mach/Machrules: Likewise.
25375 * mach/Makefile: Likewise.
25376 * malloc/obstack.h: Likewise.
25377 * manual/Makefile: Likewise.
25378 * manual/tsort.awk: Likewise.
25379 * misc/bits/stab.def: Likewise.
25380 * nis/nis_print_group_entry.c: Likewise.
25381 * nis/nis_table.c: Likewise.
25382 * nis/nss_compat/compat-pwd.c: Likewise.
25383 * nis/nss_compat/compat-spwd.c: Likewise.
25384 * po/Makefile: Likewise.
25385 * posix/fnmatch.c: Likewise.
25386 * posix/regex.h: Likewise.
25387 * resolv/Makefile: Likewise.
25388 * resolv/nss_dns/dns-network.c: Likewise.
25389 * resolv/res_hconf.c: Likewise.
25390 * scripts/gen-sorted.awk: Likewise.
25391 * soft-fp/soft-fp.h: Likewise.
25392 * stdio-common/printf.h: Likewise.
25393 * stdlib/monetary.h: Likewise.
25394 * stdlib/random.c: Likewise.
25395 * stdlib/random_r.c: Likewise.
25396 * sysdeps/generic/Makefile: Likewise.
25397 * sysdeps/gnu/Makefile: Likewise.
25398 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25400 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25405 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25406 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25407 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25408 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25409 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25410 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25411 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25412 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25413 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25414 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25415 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25418 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25419 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25420 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25426 * sysdeps/mach/hurd/errnos.awk: Likewise.
25427 * sysdeps/mach/hurd/fork.c: Likewise.
25428 * sysdeps/mach/hurd/getcwd.c: Likewise.
25429 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25430 * sysdeps/mach/hurd/mmap.c: Likewise.
25431 * sysdeps/mach/hurd/utimes.c: Likewise.
25432 * sysdeps/mach/hurd/xmknod.c: Likewise.
25433 * sysdeps/posix/profil.c: Likewise.
25434 * sysdeps/posix/readdir_r.c: Likewise.
25435 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25436 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25437 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25438 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25440 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25441 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25442 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25444 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25445 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25446 * sysdeps/pthread/lio_listio.c: Likewise.
25447 * sysdeps/sparc/dl-procinfo.h: Likewise.
25448 * sysdeps/unix/i386/sysdep.S: Likewise.
25449 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25450 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25451 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25452 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25454 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25455 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25456 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25457 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25458 * sysdeps/wordsize-32/divdi3.c: Likewise.
25459 * time/sys/time.h: Likewise.
25460 * wcsmbs/Makefile: Likewise.
25462 2013-01-01 David S. Miller <davem@davemloft.net>
25464 * po/fr.po: Update from translation team.
25466 * catgets/gencat.c: Update copyright year.
25467 * csu/version.c: Likewise.
25468 * debug/catchsegv.sh: Likewise.
25469 * debug/pcprofiledump.c: Likewise.
25470 * debug/xtrace.sh: Likewise.
25471 * elf/ldconfig.c: Likewise.
25472 * elf/ldd.bash.in: Likewise.
25473 * elf/pldd.c: Likewise.
25474 * elf/sotruss.ksh: Likewise.
25475 * elf/sprof.c: Likewise.
25476 * iconv/iconv_prog.c: Likewise.
25477 * iconv/iconvconfig.c: Likewise.
25478 * locale/programs/locale.c: Likewise.
25479 * locale/programs/localedef.c: Likewise.
25480 * login/programs/pt_chown.c: Likewise.
25481 * malloc/memusage.sh: Likewise.
25482 * malloc/memusagestat.c: Likewise.
25483 * malloc/mtrace.pl: Likewise.
25484 * nscd/nscd.c: Likewise.
25485 * nss/getent.c: Likewise.
25486 * nss/makedb.c: Likewise.
25487 * posix/getconf.c: Likewise.
25489 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25491 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25494 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25496 * math/bits/mathcalls.h (modf): Use __nonnull.
25498 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25500 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25501 (split): Use macro CN instead of the bare value.
25502 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25505 instead of the bare value.
25506 (power1): Likewise.
25508 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25510 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25512 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25514 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25516 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25517 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25518 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25519 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25521 2012-12-28 Andreas Jaeger <aj@suse.de>
25523 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25524 values are from Linux 3.7.
25526 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25527 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25529 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25531 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25534 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25536 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25537 variables with preprocessor constants.
25538 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25539 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25540 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25542 2012-12-27 Bruno Haible <bruno@clisp.org>
25545 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25548 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25551 and use variable directly.
25552 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25554 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25556 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25557 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25559 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25561 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25562 include directive. Remove local variable MPONE.
25563 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25564 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25565 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25567 2012-12-25 David S. Miller <davem@davemloft.net>
25569 * version.h (RELEASE): Set to "development".
25570 (VERSION): Set to "2.17.90".
25571 * NEWS: Add 2.18 section.
25573 2012-12-21 David S. Miller <davem@davemloft.net>
25575 * po/hr.po: Update from translation team.
25577 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25579 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25581 2012-12-19 Steve Ellcey <sellcey@mips.com>
25583 * NEWS: Mention new memcpy for MIPS.
25585 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25587 * manual/contrib.texi (Contributors): Spelling correction.
25589 2012-12-15 David S. Miller <davem@davemloft.net>
25591 * po/ru.po: Update from translation team.
25593 2012-12-13 David S. Miller <davem@davemloft.net>
25595 * NEWS: Mention IFUNC testsuite enhancements.
25597 * po/pl.po: Update from translation team.
25598 * po/bg.po: Likewise.
25600 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25601 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25603 2012-12-11 David S. Miller <davem@davemloft.net>
25605 * po/sv.po: Update from translation team.
25607 * po/vi.po: Update from translation team.
25609 * po/cs.po: Update from translation team.
25611 * po/de.po: Update from translation team.
25612 * po/eo.po: Likewise.
25613 * po/nl.po: Likewise.
25615 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25618 * manual/argp.texi (Argp Helper Functions): Move node to follow
25619 Argp Parsing State.
25622 * manual/conf.texi (Limits on File System Capacity): Mention if
25623 terminating null is included in the max size.
25625 2012-12-10 Andreas Jaeger <aj@suse.de>
25627 * po/cs.po: Update from translation team.
25629 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25631 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25632 void pointer and cast to uintptr_t.
25633 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25635 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25636 * sysdeps/s390/s390-64/memset.S: Likewise.
25638 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25641 * menual/message.texi (Message Translation): Fix typos.
25642 (Helper programs for gettext): Likewise.
25644 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25647 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25650 2012-12-07 David S. Miller <davem@davemloft.net>
25652 * po/libc.pot: Update.
25654 2012-12-07 Richard Henderson <rth@redhat.com>
25657 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25658 normal/normal case to before the switch.
25659 (_FP_DIV): Likewise.
25661 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25662 Mike Frysinger <vapier@gentoo.org>
25664 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25665 check for __NR_fadvise64_64.
25667 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25669 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25670 0, not just to plain "0" as a statement.
25671 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25674 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25676 * NEWS: Use sourceware.org in Bugzilla URL.
25678 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25681 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25683 * stdio-common/tst-put-error.c (do_test): Add newline to the
25684 padded test to ensure flush.
25686 2012-12-05 Jeff Law <law@redhat.com>
25688 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25690 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25692 * README: Don't refer to ports add-on as distributed separately.
25693 Mention AArch64 in list of systems supported in the ports add-on.
25695 * LICENSES: Add more non-FSF copyright and license notices.
25697 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25700 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25702 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25703 10000 as width of padded output.
25705 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25707 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25709 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25710 variable LX with __attribute__ ((unused)).
25711 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25713 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25714 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25715 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25716 with __attribute__ ((unused)).
25718 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25720 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25722 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25724 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25725 (CFLAGS-nldbl-acos.c): New variable.
25726 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25727 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25728 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25729 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25730 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25731 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25732 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25733 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25734 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25735 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25736 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25737 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25738 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25739 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25740 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25741 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25742 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25743 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25744 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25745 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25746 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25747 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25748 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25749 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25750 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25751 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25752 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25753 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25754 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25755 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25756 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25757 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25758 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25759 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25760 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25761 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25762 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25763 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25764 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25765 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25766 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25767 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25768 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25769 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25770 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25771 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25772 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25773 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25774 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25775 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25776 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25777 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25778 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25779 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25780 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25781 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25782 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25783 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25784 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25785 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25786 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25787 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25788 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25789 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25790 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25791 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25792 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25793 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25794 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25795 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25796 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25797 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25798 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25799 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25800 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25801 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25802 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25803 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25804 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25805 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25806 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25807 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25808 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25809 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25810 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25811 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25812 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25813 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25814 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25815 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25816 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25817 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25818 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25819 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25820 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25821 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25822 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25825 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25829 whole low double instead of just low 47 bits when splitting values
25832 2012-12-03 Allan McRae <allan@archlinux.org>
25834 * manual/stdio.texi (Predefined Printf Handlers): Remove
25835 @hsep and @vsep usage.
25837 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25839 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25840 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25842 2012-12-03 Jeff Law <law@redhat.com>
25844 * time/sys/time.h (settimeofday): Do not mark TV argument
25847 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25849 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25850 when currently writing and seek to current position when not.
25851 * libio/Makefile (tests): Remove bug-fclose1.
25852 * libio/bug-fclose1.c: Delete.
25854 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25856 * manual/arith.texi (feenableexcept): Fix typo.
25857 (fedisableexcept): Likewise.
25859 2012-11-30 Roland McGrath <roland@hack.frob.com>
25861 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25862 second, differently-typed declaration, rather than a cast.
25864 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25866 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25867 * include/rpc/svc.h: ... here.
25869 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25872 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25873 depending n and resplen2 to catch cases where answer
25876 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25878 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25879 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25881 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25883 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25885 2012-11-29 Roland McGrath <roland@hack.frob.com>
25887 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25889 2012-11-28 Jeff Law <law@redhat.com>
25892 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25893 dataset_temporary. Track alloca usage into alloca_used.
25894 If dataset is large allocate and release it via malloc/free.
25896 2012-06-04 Florian Weimer <fweimer@redhat.com>
25899 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25901 2012-11-28 David S. Miller <davem@davemloft.net>
25903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25905 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25908 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25909 of pi/2 rounded to nearest to 64 bits.
25910 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25911 nearest to 64 bits.
25912 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25915 2012-11-28 Jeff Law <law@redhat.com>
25916 Martin Osvald <mosvald@redhat.com>
25919 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25920 * sunrpc/svc.c: Include time.h.
25921 (__svc_accept_failed): New function.
25922 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25923 any reason other than EINTR, call __svc_accept_failed.
25924 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25925 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25927 2012-11-28 Andreas Schwab <schwab@suse.de>
25929 * scripts/abilist.awk: Also handle indirect functions in .opd
25932 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25935 * sysdeps/x86/fpu/powl_helper.c: New file.
25936 * sysdeps/x86/fpu/Makefile: Likewise.
25937 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25939 (__ieee754_powl): Use __powl_helper for finite arguments except
25940 integer exponents below 8.
25941 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25943 (__ieee754_powl): Use __powl_helper for finite arguments except
25944 integer exponents below 8.
25945 * math/libm-test.inc (pow_test): Add more tests and enable some
25946 previously disabled tests.
25947 * sysdeps/i386/fpu/libm-test-ulps: Update.
25948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25950 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25951 Carlos O'Donell <carlos_odonell@mentor.com>
25953 * nss/makedb.c (is_prime): Assert that input is odd and greater
25954 than 4. Note that fact in a comment too.
25955 (next_prime): Add 4 to input.
25957 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25960 * libio/Makefile (tests): Add test case tst-fwrite-error.
25961 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25962 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25963 * libio/tst-fwrite-error.c: New test case.
25965 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25967 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25968 before casting to void *.
25969 * include/libc-internal.h (__pointer_type): New macro.
25970 (__integer_if_pointer_type_sub): Likewise.
25971 (__integer_if_pointer_type): Likewise.
25972 (cast_to_integer): Likewise.
25973 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25974 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25975 before casting to atomic64_t.
25976 (atomic_exchange_acq): Likewise.
25977 (__arch_exchange_and_add_body): Likewise.
25978 (__arch_add_body): Likewise.
25979 (atomic_add_negative): Likewise.
25980 (atomic_add_zero): Likewise.
25982 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25984 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25985 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25986 (add_fdes): Likewise.
25987 (linear_search_fdes): Likewise.
25988 (binary_search_unencoded_fdes): Likewise.
25990 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25992 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25994 2012-11-24 Adam Conrad <adconrad@0c3.net>
25996 * configure.in: Autodetect C++ header directories.
25997 * configure: Regenerated.
25999 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26001 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26003 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26007 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26009 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26010 LDBL_MANT_DIG == 106]: Disable some tests.
26011 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26013 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26017 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26018 input for small inputs. Return +/- pi/2 for large inputs.
26019 * math/libm-test.inc (atan_test): Add more tests.
26021 * sysdeps/generic/unwind-dw2-fde-glibc.c
26022 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26023 __attribute__ ((unused)).
26026 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26027 x * y if x and y are nonzero and z is zero.
26030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26031 nonzero exponents with absolute value below 0x1p-117 to +/-
26035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26036 up arguments below 2**-450, not just those below 2**-500.
26037 * math/libm-test.inc (hypot_test): Add another test.
26040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26041 Return a+b for ratio over 2**120, not 2**60.
26042 * math/libm-test.inc (hypot_test): Add another test.
26044 * math/libm-test.inc (clog_test): Use
26045 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26046 (clog10_test): Likewise.
26049 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26051 2012-11-22 Andreas Schwab <schwab@suse.de>
26053 * sysdeps/i386/fpu/libm-test-ulps: Update.
26055 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26057 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26058 printf output with newline.
26060 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26063 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26064 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26065 -z nodlopen, -z initfirst and -z execstack support.
26066 * configure: Regenerated.
26068 * elf/elf.h (DF_1_NODIRECT): New macro.
26069 (DF_1_IGNMULDEF): Likewise.
26070 (DF_1_NOKSYMS): Likewise.
26071 (DF_1_NOHDR): Likewise.
26072 (DF_1_EDITED): Likewise.
26073 (DF_1_NORELOC): Likewise.
26074 (DF_1_SYMINTPOSE): Likewise.
26075 (DF_1_GLOBAUDIT): Likewise.
26076 (DF_1_SINGLETON): Likewise.
26077 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26078 DT_1_SUPPORTED_MASK bits.
26079 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26081 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26083 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26085 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26087 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26090 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26091 (sendmmsg): Move declarations...
26092 * socket/sys/socket.h: ... here.
26093 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26094 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26096 * socket/recvmmsg.c: ... this new file.
26097 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26098 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26099 definition of __sendmmsg hidden.
26100 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26101 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26102 Move ENOSYS stub into and include it from...
26103 * socket/sendmmsg.c: ... this new file.
26104 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26105 (sysdep_routines): Move recvmmsg and sendmmsg...
26106 * socket/Makefile (routines): ... here.
26107 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26108 (GLIBC_PRIVATE): Add __sendmmsg.
26109 * include/sys/socket.h (__sendmmsg): Add declarations.
26110 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26113 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26115 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26116 variable I1 with __attribute__ ((unused)).
26117 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26119 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26121 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26122 DUMMY variables with __attribute__ ((unused)).
26124 * bits/byteswap.h: Include <bits/types.h>.
26125 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26127 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26129 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26130 string_t. Do not manually set errno.
26131 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26132 length with __strnlen. Make sure to both set errno and return it on
26135 2012-11-19 David S. Miller <davem@davemloft.net>
26137 With help from Joseph Myers.
26138 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26139 very large arguments properly.
26140 * math/libm-test.inc (atan_test): New tests.
26141 (atan2_test): New tests.
26142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26145 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26148 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26151 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26152 [POSIX] (EADDRNOTAVAIL): Likewise.
26153 [POSIX] (EAFNOSUPPORT): Likewise.
26154 [POSIX] (EALREADY): Likewise.
26155 [POSIX] (ECONNABORTED): Likewise.
26156 [POSIX] (ECONNREFUSED): Likewise.
26157 [POSIX] (ECONNRESET): Likewise.
26158 [POSIX] (EDESTADDRREQ): Likewise.
26159 [POSIX] (EDQUOT): Likewise.
26160 [POSIX] (EHOSTUNREACH): Likewise.
26161 [POSIX] (EIDRM): Likewise.
26162 [POSIX] (EISCONN): Likewise.
26163 [POSIX] (ELOOP): Likewise.
26164 [POSIX] (EMULTIHOP): Likewise.
26165 [POSIX] (ENETDOWN): Likewise.
26166 [POSIX] (ENETUNREACH): Likewise.
26167 [POSIX] (ENOBUFS): Likewise.
26168 [POSIX] (ENODATA): Likewise.
26169 [POSIX] (ENOLINK): Likewise.
26170 [POSIX] (ENOMSG): Likewise.
26171 [POSIX] (ENOPROTOOPT): Likewise.
26172 [POSIX] (ENOSR): Likewise.
26173 [POSIX] (ENOSTR): Likewise.
26174 [POSIX] (ENOTCONN): Likewise.
26175 [POSIX] (ENOTSOCK): Likewise.
26176 [POSIX] (EOPNOTSUPP): Likewise.
26177 [POSIX] (EOVERFLOW): Likewise.
26178 [POSIX] (EPROTO): Likewise.
26179 [POSIX] (EPROTONOSUPPORT): Likewise.
26180 [POSIX] (EPROTOTYPE): Likewise.
26181 [POSIX] (ESTALE): Likewise.
26182 [POSIX] (ETIME): Likewise.
26183 [POSIX] (ETXTBSY): Likewise.
26184 [POSIX] (EWOULDBLOCK): Likewise.
26185 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26186 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26187 [POSIX] (SEEK_CUR): Likewise.
26188 [POSIX] (SEEK_END): Likewise.
26189 [POSIX || UNIX98] (mode_t): Do not require.
26190 [POSIX] (off_t): Likewise.
26191 [POSIX] (pid_t): Likewise.
26192 [POSIX] (sys/stat.h): Do not allow header.
26193 [POSIX] (unistd.h): Likewise.
26194 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26195 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26196 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26197 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26199 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26200 sigevent): Specify elements.
26201 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26203 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26204 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26206 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26207 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26208 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26209 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26210 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26211 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26212 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26213 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26214 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26215 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26216 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26217 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26218 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26219 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26221 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26223 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26225 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26227 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26228 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26229 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26230 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26231 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26232 Specify lower bound on value.
26233 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26234 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26235 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26236 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26237 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26238 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26239 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26240 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26242 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26244 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26245 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26246 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26247 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26248 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26249 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26250 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26251 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26252 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26253 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26254 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26255 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26256 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26257 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26258 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26259 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26261 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26263 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26264 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26265 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26266 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26267 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26268 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26270 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26271 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26272 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26273 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26274 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26275 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26276 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26278 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26279 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26280 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26281 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26282 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26283 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26284 specify as optional.
26285 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26286 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26287 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26288 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26289 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26290 [XPG3] (NL_LANGMAX): Likewise.
26291 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26292 [POSIX || XPG3] (NL_NMAX): Likewise.
26293 [POSIX || XPG3] (NL_SETMAX): Likewise.
26294 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26295 [XPG3] (NZERO): Likewise.
26296 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26297 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26298 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26299 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26300 (REG_ERANGE): Expect.
26301 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26303 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26304 Use (void) in prototype.
26305 [POSIX] (*_t): Allow.
26306 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26307 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26308 (WRDE_BADVAL): Expect.
26310 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26312 [XPG3 || XPG4] (O_RSYNC): Likewise.
26313 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26315 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26316 [XPG3 || XPG4] (sigqueue): Likewise.
26317 [XPG3 || XPG4] (sigtimedwait): Likewise.
26318 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26319 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26320 [XPG3 || XPG4] (vsnprintf): Likewise.
26321 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26323 [XPG3 || XPG4] (blksize_t): Likewise.
26324 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26326 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26327 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26328 [XPG3 || XPG4] (struct itimerspec): Likewise.
26329 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26330 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26331 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26332 [XPG3 || XPG4] (clockid_t): Likewise.
26333 [XPG3 || XPG4] (timer_t): Likewise.
26334 [XPG3 || XPG4] (clock_getres): Likewise.
26335 [XPG3 || XPG4] (clock_gettime): Likewise.
26336 [XPG3 || XPG4] (clock_settime): Likewise.
26337 [XPG3 || XPG4] (nanosleep): Likewise.
26338 [XPG3 || XPG4] (timer_create): Likewise.
26339 [XPG3 || XPG4] (timer_delete): Likewise.
26340 [XPG3 || XPG4] (timer_gettime): Likewise.
26341 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26342 [XPG3 || XPG4] (timer_settime): Likewise.
26343 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26344 [XPG3 || XPG4] (getlogin_r): Likewise.
26345 [XPG3 || XPG4] (pread): Likewise.
26346 [XPG3 || XPG4] (pthread_atfork): Likewise.
26347 [XPG3 || XPG4] (pwrite): Likewise.
26350 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26353 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26355 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26356 finalizing MALLSTREAM.
26358 * sysdeps/mach/hurd/syncfs.c: New file.
26360 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26363 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26364 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26365 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26366 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26367 (_nss_dns_gethostbyname4_r): Likewise.
26368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26369 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26371 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26374 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26376 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26378 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26379 * elf/cache.c (print_entry): Print ",AArch64" for
26382 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26383 * elf/cache.c (print_entry): Print ",hard-float" for
26386 2012-11-18 David S. Miller <davem@davemloft.net>
26388 With help from Joseph Myers.
26389 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26391 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26393 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26394 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26396 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26397 * math/libm-test.inc (y0_test): New tests.
26398 (y1_test): New tests.
26399 * sysdeps/i386/fpu/libm-test-ulps: Update.
26400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26403 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26405 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26407 * configure: Regenerated.
26409 2012-11-17 David S. Miller <davem@davemloft.net>
26412 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26413 nonzero exponents with absolute value below 0x1p-128 to +/-
26416 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26418 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26420 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26422 * posix/getconf-speclist.c: New file.
26423 * posix/posix-envs.def: Likewise.
26424 * posix/confstr.c (START_ENV_GROUP): New macro.
26425 (END_ENV_GROUP): Likewise.
26426 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26427 (KNOWN_PRESENT_ENV_STRING): Likewise.
26428 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26429 (UNKNOWN_ENVIRONMENT): Likewise.
26430 (confstr): Include posix-envs.def instead of handling
26431 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26432 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26433 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26434 (END_ENV_GROUP): Likewise.
26435 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26436 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26437 (UNKNOWN_ENVIRONMENT): Likewise.
26438 (__sysconf): Include posix-envs.def instead of handling associated
26439 cases directly here.
26440 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26441 preprocessing getconf-speclist.c rather than running getconf or
26442 generating empty file.
26444 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26446 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26448 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26451 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26453 2012-11-16 David S. Miller <davem@davemloft.net>
26455 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26456 smaller than LDBL_EPSILON/2.0L, just return xm1.
26458 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26460 * elf/tst-array1.c (init): Set constructor priority to 1000.
26461 (fini): Set destructor priority to 1000.
26462 * elf/tst-array2dep.c: Likewise.
26464 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26467 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26468 (_IO_new_file_xsputn): Also return EOF if none of the input
26469 data was written when overflow failed.
26470 * libio/iopadn.c (_IO_padn): Likewise.
26471 * libio/iowpadn.c (_IO_wpadn): Likewise.
26472 * stdio-common/tst-put-error.c: Add copyright notice.
26473 (do_test): Add case for printing padded string.
26474 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26475 _IO_padn returned error.
26476 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26477 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26480 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26482 * libio/libioP.h: Add comment note that the references to C++
26483 bits are now obsolete.
26485 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26487 * math/libm-test.inc (check_complex): Use asprintf.
26489 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26491 * debug/pcprofiledump.c (print_version): Update copyright year.
26492 * malloc/memusagestat.c (print_version): Likewise.
26494 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26497 * elf/Makefile (tests): Add tst-audit8.
26498 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26499 ($(objpfx)tst-audit8.out): New target.
26500 (tst-audit8-ENV): New variable.
26501 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26502 audit if l_reloc_result is NULL.
26503 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26504 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26505 * elf/tst-audit8.c: New file.
26507 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26509 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26510 * misc/Makefile (CFLAGS-select.c): Define.
26511 * posix/Makefile (CFLAGS-pause.c): Define.
26513 2012-11-13 David S. Miller <davem@davemloft.net>
26515 * crypt/Makefile: Move test targets after toplevel Rules
26516 inclusion. Grab any necessary sysdep routines when linking.
26517 * crypt/md5.c (md5_process_block): Remove define, we will always
26518 name it __md5_process_block.
26519 (md5_finish_ctx): Update md5_process_block call.
26520 (md5_stream): Likewise.
26521 (md5_process_bytes): Likewise.
26522 (md5_process_block): Rename to __md5_process_block and move to ...
26523 * crypt/md5-block.c: ... here.
26524 * crypt/sha256.c (sha256_process_block): Move to ...
26525 * crypt/sha256-block.c: ... here.
26526 * crypt/sha512.c (sha512_process_block): Move to ...
26527 * crypt/sha512-block.c: ... here.
26528 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26530 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26531 * sysdeps/sparc/sparc64/multiarch/Makefile
26532 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26534 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26535 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26537 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26538 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26539 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26540 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26541 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26542 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26543 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26544 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26545 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26547 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26548 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26550 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26552 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26554 * timezone/tzselect.ksh: Update from tzcode git revision
26555 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26556 * timezone/zdump.c: Likewise.
26557 * timezone/zic.c: Likewise.
26558 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26559 in TZVERSION setting, not $(PKGVERSION).
26560 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26561 REPORT_BUGS_TO settings.
26564 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26567 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26569 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26570 detection to immediately after _FP_ROUND().
26571 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26574 2012-11-11 David S. Miller <davem@davemloft.net>
26576 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26578 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26579 __close rather than their public counterparts.
26581 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26583 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26585 [UNIX98] (sem_timedwait): Do not expect.
26586 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26587 [XPG4 || UNIX98] (sockatmark): Do not expect.
26588 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26589 (clock_getcpuclockid): Do not expect.
26590 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26591 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26593 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26594 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26595 [UNIX98] (vwscanf): Likewise.
26596 [UNIX98] (vswscanf): Likewise.
26598 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26600 * timezone/version.h: Remove file.
26601 * timezone/README: Do not refer to version.h.
26602 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26603 $(objpfx)version.h.
26604 ($(objpfx)zdump.o): Likewise.
26605 ($(objpfx)version.h): New target.
26607 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26609 * timezone/README: Don't mention modification to tzselect.ksh.
26610 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26611 work on unmodified tzselect.ksh. Substitute version numbers in
26614 * Makefile (format-me): Remove.
26615 (INSTALL): Adjust indentation. Use commands directly instead of
26616 using $(format-me).
26618 * aclocal.m4 (ACX_PKGVERSION): New macro.
26619 (ACX_BUGURL): Likewise.
26620 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26621 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26622 (REPORT_BUGS_TO): Likewise.
26623 * configure: Regenerated.
26624 * config.h.in (PKGVERSION): New macro.
26625 (REPORT_BUGS_TO): Likewise.
26626 * config.make.in (PKGVERSION): New variable.
26627 (PKGVERSION_TEXI): Likewise.
26628 (REPORT_BUGS_TO): Likewise.
26629 (REPORT_BUGS_TEXI): Likewise.
26630 * Makefile (format-me): Use -I$(common-objpfx)manual.
26631 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26632 ($(common-objpfx)manual/%): New target.
26633 (manual/%): Remove target.
26634 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26635 (print_version): Use PKGVERSION.
26636 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26637 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26638 and REPORT_BUGS_TO.
26639 ($(objpfx)xtrace): Likewise.
26640 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26641 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26642 (print_version): Use PKGVERSION.
26643 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26644 (do_version): Use PKGVERSION.
26645 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26647 (common-ldd-rewrite): Likewise.
26648 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26649 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26650 (print_version): Use PKGVERSION.
26651 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26652 * elf/pldd.c (argp_program_bug_address): Remove variable.
26653 (more_help): New function.
26654 (argp): Use more_help.
26655 (print_version): Use PKGVERSION.
26656 * elf/sln.c (main): Use PKGVERSION.
26657 (usage): Use REPORT_BUGS_TO.
26658 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26659 (top level): Use PKGVERSION.
26660 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26661 (print_version): Use PKGVERSION.
26662 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26663 (print_version): Use PKGVERSION.
26664 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26665 (print_version): Use PKGVERSION.
26666 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26667 (print_version): Use PKGVERSION.
26668 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26669 (print_version): Use PKGVERSION.
26670 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26671 (print_version): Use PKGVERSION.
26672 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26674 ($(objpfx)memusage): Likewise.
26675 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26676 (do_version): Use PKGVERSION.
26677 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26678 (print_version): Use PKGVERSION.
26679 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26680 ($PKGVERSION): New variable.
26681 ($REPORT_BUGS_TO): Likewise.
26682 (usage): Use $REPORT_BUGS_TO.
26683 (top level): Use $PKGVERSION.
26684 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26685 ($(objpfx)pkgvers.texi): New rule.
26686 ($(objpfx)stamp-pkgvers): Likewise.
26687 * manual/install.texi: Include pkgvers.texi.
26688 (--with-pkgversion): Document new configure option.
26689 (--with-bugurl): Likewise.
26690 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26691 than necessarily for this particular distribution. Use
26692 REPORT_BUGS_TO for where to report bugs.
26693 * INSTALL: Regenerated.
26694 * manual/libc.texinfo: Include pkgvers.texi.
26695 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26696 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26697 (print_version): Use PKGVERSION.
26698 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26699 (print_version): Use PKGVERSION.
26700 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26701 (print_version): Use PKGVERSION.
26702 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26703 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26705 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26706 (print_version): Use PKGVERSION.
26707 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26708 (print_version): Use PKGVERSION.
26709 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26712 * timezone/checktab.awk: Update from tzcode 2012i.
26713 * timezone/ialloc.c: Likewise.
26714 * timezone/private.h: Likewise.
26715 * timezone/scheck.c: Likewise.
26716 * timezone/tzfile.h: Likewise.
26717 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26718 (TZVERSION): Hardcode tzcode version number.
26719 * timezone/zdump.c: Update from tzcode 2012i.
26720 * timezone/zic.c: Likewise.
26721 * timezone/version.h: New file.
26722 * timezone/README: Describe version.h. Update upstream location.
26725 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26726 (mktemp): Enable declaration.
26727 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26729 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26732 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26736 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26738 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26740 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26744 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26745 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26746 for copies of such integer values.
26747 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26748 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26750 2012-11-09 Andreas Jaeger <aj@suse.de>
26752 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26753 definitions and declarations that are provided by
26754 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26756 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26758 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26759 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26760 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26763 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26765 * elf/elf.h: Update comment before AArch64 relocations.
26767 2012-11-07 David S. Miller <davem@davemloft.net>
26769 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26770 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26771 (__start_context): Declare.
26772 (__makecontext_ret): Delete.
26773 (__makecontext): Hook up __start_context instead of
26775 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26776 (sysdep_routines): Add __start_context when in stdlib.
26778 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26780 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26781 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26782 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26784 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26785 (READELF): New variable. Use it instead of hardcoded "readelf".
26787 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26789 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26790 * sysdeps/x86/Makefile: Here.
26791 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26792 * sysdeps/x86/tst-xmmymm.sh: This.
26794 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26796 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26798 [UNIX98] (pthread_barrier_t): Do not expect.
26799 [UNIX98] (pthread_barrierattr_t): Likewise.
26800 [UNIX98] (pthread_spinlock_t): Likewise.
26801 [UNIX98] (pthread_barrier_destroy): Likewise.
26802 [UNIX98] (pthread_barrier_init): Likewise.
26803 [UNIX98] (pthread_barrier_wait): Likewise.
26804 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26805 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26806 [UNIX98] (pthread_barrierattr_init): Likewise.
26807 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26808 [UNIX98] (pthread_getcpuclockid): Likewise.
26809 [UNIX98] (pthread_mutex_timedlock): Likewise.
26810 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26811 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26812 [UNIX98] (pthread_sigmask): Likewise.
26813 [UNIX98] (pthread_spin_destroy): Likewise.
26814 [UNIX98] (pthread_spin_init): Likewise.
26815 [UNIX98] (pthread_spin_lock): Likewise.
26816 [UNIX98] (pthread_spin_trylock): Likewise.
26817 [UNIX98] (pthread_spin_unlock): Likewise.
26818 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26820 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26821 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26822 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26823 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26824 [XPG3 || XPG4] (pthread_key_t): Likewise.
26825 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26826 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26827 [XPG3 || XPG4] (pthread_once_t): Likewise.
26828 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26829 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26830 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26831 [XPG3 || XPG4] (pthread_t): Likewise.
26833 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26835 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26837 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26838 Change function return type to int.
26840 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26841 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26842 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26843 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26844 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26845 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26846 [!POSIX] (posix_madvise): Likewise.
26847 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26849 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26850 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26851 (mode_t): Likewise.
26852 (posix_mem_offset): Likewise.
26853 (posix_typed_mem_get_info): Likewise.
26854 (posix_typed_mem_open): Likewise.
26856 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26857 Change condition to [XOPEN2K8].
26859 * conform/conformtest.pl: Preprocess allow-header data with -x c
26860 instead of from stdin.
26861 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26862 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26863 [C99-based standards] (cerfc): Likewise.
26864 [C99-based standards] (cexp2): Likewise.
26865 [C99-based standards] (cexpm1): Likewise.
26866 [C99-based standards] (clog10): Likewise.
26867 [C99-based standards] (clog1p): Likewise.
26868 [C99-based standards] (clog2): Likewise.
26869 [C99-based standards] (clgamma): Likewise.
26870 [C99-based standards] (ctgamma): Likewise.
26871 [C99-based standards] (cerff): Likewise.
26872 [C99-based standards] (cerfcf): Likewise.
26873 [C99-based standards] (cexp2f): Likewise.
26874 [C99-based standards] (cexpm1f): Likewise.
26875 [C99-based standards] (clog10f): Likewise.
26876 [C99-based standards] (clog1pf): Likewise.
26877 [C99-based standards] (clog2f): Likewise.
26878 [C99-based standards] (clgammaf): Likewise.
26879 [C99-based standards] (ctgammaf): Likewise.
26880 [C99-based standards] (cerfl): Likewise.
26881 [C99-based standards] (cerfcl): Likewise.
26882 [C99-based standards] (cexp2l): Likewise.
26883 [C99-based standards] (cexpm1l): Likewise.
26884 [C99-based standards] (clog10l): Likewise.
26885 [C99-based standards] (clog1pl): Likewise.
26886 [C99-based standards] (clog2l): Likewise.
26887 [C99-based standards] (clgammal): Likewise.
26888 [C99-based standards] (ctgammal): Likewise.
26889 * conform/data/inttypes.h-data [C99-based standards]: Include
26890 stdint.h-data. Remove all expectations for stdint.h contents.
26891 [C99-based standards] (PRI*): Do not allow.
26892 [C99-based standards] (SCN*): Likewise.
26893 [C99-based standards] (*_t): Likewise.
26894 [C99-based-standards] (PRId8): Expect macro.
26895 [C99-based-standards] (PRIi8): Likewise.
26896 [C99-based-standards] (PRIo8): Likewise.
26897 [C99-based-standards] (PRIu8): Likewise.
26898 [C99-based-standards] (PRIx8): Likewise.
26899 [C99-based-standards] (PRIX8): Likewise.
26900 [C99-based-standards] (SCNd8): Likewise.
26901 [C99-based-standards] (SCNi8): Likewise.
26902 [C99-based-standards] (SCNo8): Likewise.
26903 [C99-based-standards] (SCNu8): Likewise.
26904 [C99-based-standards] (SCNx8): Likewise.
26905 [C99-based-standards] (PRIdLEAST8): Likewise.
26906 [C99-based-standards] (PRIiLEAST8): Likewise.
26907 [C99-based-standards] (PRIoLEAST8): Likewise.
26908 [C99-based-standards] (PRIuLEAST8): Likewise.
26909 [C99-based-standards] (PRIxLEAST8): Likewise.
26910 [C99-based-standards] (PRIXLEAST8): Likewise.
26911 [C99-based-standards] (SCNdLEAST8): Likewise.
26912 [C99-based-standards] (SCNiLEAST8): Likewise.
26913 [C99-based-standards] (SCNoLEAST8): Likewise.
26914 [C99-based-standards] (SCNuLEAST8): Likewise.
26915 [C99-based-standards] (SCNxLEAST8): Likewise.
26916 [C99-based-standards] (PRIdFAST8): Likewise.
26917 [C99-based-standards] (PRIiFAST8): Likewise.
26918 [C99-based-standards] (PRIoFAST8): Likewise.
26919 [C99-based-standards] (PRIuFAST8): Likewise.
26920 [C99-based-standards] (PRIxFAST8): Likewise.
26921 [C99-based-standards] (PRIXFAST8): Likewise.
26922 [C99-based-standards] (SCNdFAST8): Likewise.
26923 [C99-based-standards] (SCNiFAST8): Likewise.
26924 [C99-based-standards] (SCNoFAST8): Likewise.
26925 [C99-based-standards] (SCNuFAST8): Likewise.
26926 [C99-based-standards] (SCNxFAST8): Likewise.
26927 [C99-based-standards] (PRId16): Likewise.
26928 [C99-based-standards] (PRIi16): Likewise.
26929 [C99-based-standards] (PRIo16): Likewise.
26930 [C99-based-standards] (PRIu16): Likewise.
26931 [C99-based-standards] (PRIx16): Likewise.
26932 [C99-based-standards] (PRIX16): Likewise.
26933 [C99-based-standards] (SCNd16): Likewise.
26934 [C99-based-standards] (SCNi16): Likewise.
26935 [C99-based-standards] (SCNo16): Likewise.
26936 [C99-based-standards] (SCNu16): Likewise.
26937 [C99-based-standards] (SCNx16): Likewise.
26938 [C99-based-standards] (PRIdLEAST16): Likewise.
26939 [C99-based-standards] (PRIiLEAST16): Likewise.
26940 [C99-based-standards] (PRIoLEAST16): Likewise.
26941 [C99-based-standards] (PRIuLEAST16): Likewise.
26942 [C99-based-standards] (PRIxLEAST16): Likewise.
26943 [C99-based-standards] (PRIXLEAST16): Likewise.
26944 [C99-based-standards] (SCNdLEAST16): Likewise.
26945 [C99-based-standards] (SCNiLEAST16): Likewise.
26946 [C99-based-standards] (SCNoLEAST16): Likewise.
26947 [C99-based-standards] (SCNuLEAST16): Likewise.
26948 [C99-based-standards] (SCNxLEAST16): Likewise.
26949 [C99-based-standards] (PRIdFAST16): Likewise.
26950 [C99-based-standards] (PRIiFAST16): Likewise.
26951 [C99-based-standards] (PRIoFAST16): Likewise.
26952 [C99-based-standards] (PRIuFAST16): Likewise.
26953 [C99-based-standards] (PRIxFAST16): Likewise.
26954 [C99-based-standards] (PRIXFAST16): Likewise.
26955 [C99-based-standards] (SCNdFAST16): Likewise.
26956 [C99-based-standards] (SCNiFAST16): Likewise.
26957 [C99-based-standards] (SCNoFAST16): Likewise.
26958 [C99-based-standards] (SCNuFAST16): Likewise.
26959 [C99-based-standards] (SCNxFAST16): Likewise.
26960 [C99-based-standards] (PRId32): Likewise.
26961 [C99-based-standards] (PRIi32): Likewise.
26962 [C99-based-standards] (PRIo32): Likewise.
26963 [C99-based-standards] (PRIu32): Likewise.
26964 [C99-based-standards] (PRIx32): Likewise.
26965 [C99-based-standards] (PRIX32): Likewise.
26966 [C99-based-standards] (SCNd32): Likewise.
26967 [C99-based-standards] (SCNi32): Likewise.
26968 [C99-based-standards] (SCNo32): Likewise.
26969 [C99-based-standards] (SCNu32): Likewise.
26970 [C99-based-standards] (SCNx32): Likewise.
26971 [C99-based-standards] (PRIdLEAST32): Likewise.
26972 [C99-based-standards] (PRIiLEAST32): Likewise.
26973 [C99-based-standards] (PRIoLEAST32): Likewise.
26974 [C99-based-standards] (PRIuLEAST32): Likewise.
26975 [C99-based-standards] (PRIxLEAST32): Likewise.
26976 [C99-based-standards] (PRIXLEAST32): Likewise.
26977 [C99-based-standards] (SCNdLEAST32): Likewise.
26978 [C99-based-standards] (SCNiLEAST32): Likewise.
26979 [C99-based-standards] (SCNoLEAST32): Likewise.
26980 [C99-based-standards] (SCNuLEAST32): Likewise.
26981 [C99-based-standards] (SCNxLEAST32): Likewise.
26982 [C99-based-standards] (PRIdFAST32): Likewise.
26983 [C99-based-standards] (PRIiFAST32): Likewise.
26984 [C99-based-standards] (PRIoFAST32): Likewise.
26985 [C99-based-standards] (PRIuFAST32): Likewise.
26986 [C99-based-standards] (PRIxFAST32): Likewise.
26987 [C99-based-standards] (PRIXFAST32): Likewise.
26988 [C99-based-standards] (SCNdFAST32): Likewise.
26989 [C99-based-standards] (SCNiFAST32): Likewise.
26990 [C99-based-standards] (SCNoFAST32): Likewise.
26991 [C99-based-standards] (SCNuFAST32): Likewise.
26992 [C99-based-standards] (SCNxFAST32): Likewise.
26993 [C99-based-standards] (PRId64): Likewise.
26994 [C99-based-standards] (PRIi64): Likewise.
26995 [C99-based-standards] (PRIo64): Likewise.
26996 [C99-based-standards] (PRIu64): Likewise.
26997 [C99-based-standards] (PRIx64): Likewise.
26998 [C99-based-standards] (PRIX64): Likewise.
26999 [C99-based-standards] (SCNd64): Likewise.
27000 [C99-based-standards] (SCNi64): Likewise.
27001 [C99-based-standards] (SCNo64): Likewise.
27002 [C99-based-standards] (SCNu64): Likewise.
27003 [C99-based-standards] (SCNx64): Likewise.
27004 [C99-based-standards] (PRIdLEAST64): Likewise.
27005 [C99-based-standards] (PRIiLEAST64): Likewise.
27006 [C99-based-standards] (PRIoLEAST64): Likewise.
27007 [C99-based-standards] (PRIuLEAST64): Likewise.
27008 [C99-based-standards] (PRIxLEAST64): Likewise.
27009 [C99-based-standards] (PRIXLEAST64): Likewise.
27010 [C99-based-standards] (SCNdLEAST64): Likewise.
27011 [C99-based-standards] (SCNiLEAST64): Likewise.
27012 [C99-based-standards] (SCNoLEAST64): Likewise.
27013 [C99-based-standards] (SCNuLEAST64): Likewise.
27014 [C99-based-standards] (SCNxLEAST64): Likewise.
27015 [C99-based-standards] (PRIdFAST64): Likewise.
27016 [C99-based-standards] (PRIiFAST64): Likewise.
27017 [C99-based-standards] (PRIoFAST64): Likewise.
27018 [C99-based-standards] (PRIuFAST64): Likewise.
27019 [C99-based-standards] (PRIxFAST64): Likewise.
27020 [C99-based-standards] (PRIXFAST64): Likewise.
27021 [C99-based-standards] (SCNdFAST64): Likewise.
27022 [C99-based-standards] (SCNiFAST64): Likewise.
27023 [C99-based-standards] (SCNoFAST64): Likewise.
27024 [C99-based-standards] (SCNuFAST64): Likewise.
27025 [C99-based-standards] (SCNxFAST64): Likewise.
27026 [C99-based-standards] (PRIdMAX): Likewise.
27027 [C99-based-standards] (PRIiMAX): Likewise.
27028 [C99-based-standards] (PRIoMAX): Likewise.
27029 [C99-based-standards] (PRIuMAX): Likewise.
27030 [C99-based-standards] (PRIxMAX): Likewise.
27031 [C99-based-standards] (PRIXMAX): Likewise.
27032 [C99-based-standards] (SCNdMAX): Likewise.
27033 [C99-based-standards] (SCNiMAX): Likewise.
27034 [C99-based-standards] (SCNoMAX): Likewise.
27035 [C99-based-standards] (SCNuMAX): Likewise.
27036 [C99-based-standards] (SCNxMAX): Likewise.
27037 [C99-based-standards] (PRIdPTR): Likewise.
27038 [C99-based-standards] (PRIiPTR): Likewise.
27039 [C99-based-standards] (PRIoPTR): Likewise.
27040 [C99-based-standards] (PRIuPTR): Likewise.
27041 [C99-based-standards] (PRIxPTR): Likewise.
27042 [C99-based-standards] (PRIXPTR): Likewise.
27043 [C99-based-standards] (SCNdPTR): Likewise.
27044 [C99-based-standards] (SCNiPTR): Likewise.
27045 [C99-based-standards] (SCNoPTR): Likewise.
27046 [C99-based-standards] (SCNuPTR): Likewise.
27047 [C99-based-standards] (SCNxPTR): Likewise.
27048 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27050 * conform/data/stdint.h-data: Update comments to clarify
27052 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27054 [C99-based standards] (INT8_MAX): Likewise.
27055 [C99-based standards] (INT16_MIN): Likewise.
27056 [C99-based standards] (INT16_MAX): Likewise.
27057 [C99-based standards] (INT32_MIN): Likewise.
27058 [C99-based standards] (INT32_MAX): Likewise.
27059 [C99-based standards] (INT64_MIN): Likewise.
27060 [C99-based standards] (INT64_MAX): Likewise.
27061 [C99-based standards] (UINT8_MAX): Likewise.
27062 [C99-based standards] (UINT16_MAX): Likewise.
27063 [C99-based standards] (UINT32_MAX): Likewise.
27064 [C99-based standards] (UINT64_MAX): Likewise.
27065 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27066 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27067 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27068 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27069 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27070 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27071 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27072 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27073 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27074 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27075 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27076 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27077 [C99-based standards] (INT_FAST8_MIN): Likewise.
27078 [C99-based standards] (INT_FAST8_MAX): Likewise.
27079 [C99-based standards] (INT_FAST16_MIN): Likewise.
27080 [C99-based standards] (INT_FAST16_MAX): Likewise.
27081 [C99-based standards] (INT_FAST32_MIN): Likewise.
27082 [C99-based standards] (INT_FAST32_MAX): Likewise.
27083 [C99-based standards] (INT_FAST64_MIN): Likewise.
27084 [C99-based standards] (INT_FAST64_MAX): Likewise.
27085 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27086 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27087 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27088 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27089 [C99-based standards] (INTPTR_MIN): Likewise.
27090 [C99-based standards] (INTPTR_MAX): Likewise.
27091 [C99-based standards] (UINTPTR_MAX): Likewise.
27092 [C99-based standards] (INTMAX_MIN): Likewise.
27093 [C99-based standards] (INTMAX_MAX): Likewise.
27094 [C99-based standards] (UINTMAX_MAX): Likewise.
27095 [C99-based standards] (PTRDIFF_MIN): Likewise.
27096 [C99-based standards] (PTRDIFF_MAX): Likewise.
27097 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27098 [C99-based standards] (SIZE_MAX): Likewise.
27099 [C99-based standards] (WCHAR_MAX): Likewise.
27100 [C99-based standards] (WINT_MAX): Likewise.
27101 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27102 constraint on value.
27103 [C99-based standards] (WCHAR_MIN): Likewise.
27104 [C99-based standards] (WINT_MIN): Likewise.
27105 [C99-based standards] (*_t): Allow.
27106 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27107 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27108 Include math.h-data and complex.h-data. Remove all expectations
27109 of math.h and complex.h contents.
27110 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27112 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27113 (struct tm): Expect tag.
27114 [C99-based-standards] (wcstof): Expect function.
27115 [C99-based-standards] (wcstold): Likewise.
27116 [C99-based-standards] (wcstoll): Likewise.
27117 [C99-based-standards] (wcstoull): Likewise.
27118 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27119 macro-int-constant. Specify type.
27120 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27121 constraint on value.
27122 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27124 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27126 [ISO C standards]: Do not allow headers.
27127 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27128 wcs[abcdefghijklmnopqrstuvwxyz]*.
27129 [ISO C standards] (*_t): Do not allow.
27130 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27132 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27133 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27135 [ISO C standards]: Do not allow headers.
27136 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27137 is[abcdefghijklmnopqrstuvwxyz]*.
27138 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27139 to[abcdefghijklmnopqrstuvwxyz]*.
27140 [ISO C standards] (*_t): Do not allow.
27141 * conform/data/stdalign.h-data: New file.
27142 * conform/data/stdbool.h-data: Likewise.
27143 * conform/data/stdnoreturn.h-data: Likewise.
27145 2012-11-07 Roland McGrath <roland@hack.frob.com>
27148 * manual/filesys.texi (Directory Entries): Typo fix.
27149 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27151 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27153 * elf/elf.h (EM_AARCH64): New macro.
27154 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27155 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27156 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27157 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27158 (R_AARCH64_TLSDESC): Likewise.
27159 (NT_ARM_TLS): Likewise.
27160 (NT_ARM_HW_BREAK): Likewise.
27161 (NT_ARM_HW_WATCH): Likewise.
27163 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27166 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27167 (__ieee754_powl): Saturate nonzero exponents with absolute value
27168 below 0x1p-79 to +/- 0x1p-79.
27169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27170 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27171 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27172 nonzero exponents with absolute value below 0x1p-32 to +/-
27174 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27175 (__ieee754_powl): Saturate nonzero exponents with absolute value
27176 below 0x1p-79 to +/- 0x1p-79.
27177 * math/libm-test.inc (pow_test): Add more tests.
27179 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27181 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27182 _dl_s390_cap_flags with kernel. Increase string length.
27183 (_dl_s390_platforms): Add z196 and zEC12.
27185 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27187 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27188 Change XOPEN21K to XOPEN2K.
27190 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27192 * string/memmove.c: Use memcpy when possible.
27194 2012-11-06 Andreas Jaeger <aj@suse.de>
27196 * po/eo.po: Update from translation team.
27198 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27202 exponent and small x and y exponents, scale x or y up. Increase
27203 by 2 the exponent used in scaling up.
27204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27206 * math/libm-test.inc (fma_test): Add more tests.
27207 (fma_test_towardzero): Likewise.
27208 (fma_test_downward): Likewise.
27209 (fma_test_upward): Likewise.
27211 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27214 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27218 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27219 namespace for names of struct fields.
27220 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27222 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27223 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27225 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27228 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27230 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27232 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27236 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27239 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27243 definitely overflow as x * y not x * y + z.
27244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27245 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27246 * math/libm-test.inc (fma_test): Add more tests.
27247 (fma_test_towardzero): Likewise.
27248 (fma_test_downward): Likewise.
27249 (fma_test_upward): Likewise.
27251 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27255 * include/stub-tag.h: Remove file.
27256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27258 * manual/maint.texi (Porting): Don't reference it.
27259 * Makerules ($(objpfx)stubs): Likewise.
27260 * dirent/closedir.c: Don't include <stub-tag.h>.
27261 * dirent/dirfd.c: Likewise.
27262 * dirent/fdopendir.c: Likewise.
27263 * dirent/getdents.c: Likewise.
27264 * dirent/getdents64.c: Likewise.
27265 * dirent/opendir.c: Likewise.
27266 * dirent/readdir.c: Likewise.
27267 * dirent/readdir64.c: Likewise.
27268 * dirent/readdir64_r.c: Likewise.
27269 * dirent/readdir_r.c: Likewise.
27270 * dirent/rewinddir.c: Likewise.
27271 * dirent/seekdir.c: Likewise.
27272 * dirent/telldir.c: Likewise.
27273 * gmon/profil.c: Likewise.
27274 * grp/setgroups.c: Likewise.
27275 * inet/if_index.c: Likewise.
27276 * io/access.c: Likewise.
27277 * io/chdir.c: Likewise.
27278 * io/chmod.c: Likewise.
27279 * io/chown.c: Likewise.
27280 * io/close.c: Likewise.
27281 * io/dup.c: Likewise.
27282 * io/dup2.c: Likewise.
27283 * io/dup3.c: Likewise.
27284 * io/euidaccess.c: Likewise.
27285 * io/faccessat.c: Likewise.
27286 * io/fchdir.c: Likewise.
27287 * io/fchmod.c: Likewise.
27288 * io/fchmodat.c: Likewise.
27289 * io/fchown.c: Likewise.
27290 * io/fchownat.c: Likewise.
27291 * io/fcntl.c: Likewise.
27292 * io/flock.c: Likewise.
27293 * io/fstatfs.c: Likewise.
27294 * io/fstatfs64.c: Likewise.
27295 * io/fstatvfs.c: Likewise.
27296 * io/fstatvfs64.c: Likewise.
27297 * io/futimens.c: Likewise.
27298 * io/fxstat.c: Likewise.
27299 * io/fxstat64.c: Likewise.
27300 * io/fxstatat.c: Likewise.
27301 * io/fxstatat64.c: Likewise.
27302 * io/getcwd.c: Likewise.
27303 * io/isatty.c: Likewise.
27304 * io/lchmod.c: Likewise.
27305 * io/lchown.c: Likewise.
27306 * io/link.c: Likewise.
27307 * io/linkat.c: Likewise.
27308 * io/lseek.c: Likewise.
27309 * io/lseek64.c: Likewise.
27310 * io/lxstat64.c: Likewise.
27311 * io/mkdir.c: Likewise.
27312 * io/mkdirat.c: Likewise.
27313 * io/mkfifo.c: Likewise.
27314 * io/mkfifoat.c: Likewise.
27315 * io/open.c: Likewise.
27316 * io/open64.c: Likewise.
27317 * io/openat.c: Likewise.
27318 * io/openat64.c: Likewise.
27319 * io/pipe.c: Likewise.
27320 * io/pipe2.c: Likewise.
27321 * io/poll.c: Likewise.
27322 * io/posix_fadvise.c: Likewise.
27323 * io/posix_fadvise64.c: Likewise.
27324 * io/posix_fallocate.c: Likewise.
27325 * io/posix_fallocate64.c: Likewise.
27326 * io/read.c: Likewise.
27327 * io/readlink.c: Likewise.
27328 * io/readlinkat.c: Likewise.
27329 * io/rmdir.c: Likewise.
27330 * io/sendfile.c: Likewise.
27331 * io/sendfile64.c: Likewise.
27332 * io/statfs.c: Likewise.
27333 * io/statfs64.c: Likewise.
27334 * io/statvfs.c: Likewise.
27335 * io/statvfs64.c: Likewise.
27336 * io/symlink.c: Likewise.
27337 * io/symlinkat.c: Likewise.
27338 * io/ttyname.c: Likewise.
27339 * io/ttyname_r.c: Likewise.
27340 * io/umask.c: Likewise.
27341 * io/unlink.c: Likewise.
27342 * io/unlinkat.c: Likewise.
27343 * io/utime.c: Likewise.
27344 * io/utimensat.c: Likewise.
27345 * io/write.c: Likewise.
27346 * io/xmknod.c: Likewise.
27347 * io/xmknodat.c: Likewise.
27348 * io/xstat.c: Likewise.
27349 * io/xstat64.c: Likewise.
27350 * login/getpt.c: Likewise.
27351 * login/grantpt.c: Likewise.
27352 * login/unlockpt.c: Likewise.
27353 * math/e_acoshl.c: Likewise.
27354 * math/e_acosl.c: Likewise.
27355 * math/e_asinl.c: Likewise.
27356 * math/e_atan2l.c: Likewise.
27357 * math/e_atanhl.c: Likewise.
27358 * math/e_coshl.c: Likewise.
27359 * math/e_expl.c: Likewise.
27360 * math/e_fmodl.c: Likewise.
27361 * math/e_gammal_r.c: Likewise.
27362 * math/e_hypotl.c: Likewise.
27363 * math/e_j0l.c: Likewise.
27364 * math/e_j1l.c: Likewise.
27365 * math/e_jnl.c: Likewise.
27366 * math/e_lgammal_r.c: Likewise.
27367 * math/e_log10l.c: Likewise.
27368 * math/e_log2l.c: Likewise.
27369 * math/e_logl.c: Likewise.
27370 * math/e_powl.c: Likewise.
27371 * math/e_rem_pio2l.c: Likewise.
27372 * math/e_sinhl.c: Likewise.
27373 * math/e_sqrtl.c: Likewise.
27374 * math/fclrexcpt.c: Likewise.
27375 * math/fedisblxcpt.c: Likewise.
27376 * math/feenablxcpt.c: Likewise.
27377 * math/fegetenv.c: Likewise.
27378 * math/fegetexcept.c: Likewise.
27379 * math/fegetround.c: Likewise.
27380 * math/feholdexcpt.c: Likewise.
27381 * math/fesetenv.c: Likewise.
27382 * math/fesetround.c: Likewise.
27383 * math/feupdateenv.c: Likewise.
27384 * math/fgetexcptflg.c: Likewise.
27385 * math/fraiseexcpt.c: Likewise.
27386 * math/fsetexcptflg.c: Likewise.
27387 * math/ftestexcept.c: Likewise.
27388 * math/k_cosl.c: Likewise.
27389 * math/k_rem_pio2l.c: Likewise.
27390 * math/k_sinl.c: Likewise.
27391 * math/k_tanl.c: Likewise.
27392 * math/s_asinhl.c: Likewise.
27393 * math/s_atanl.c: Likewise.
27394 * math/s_cbrtl.c: Likewise.
27395 * math/s_erfl.c: Likewise.
27396 * math/s_expm1l.c: Likewise.
27397 * math/s_log1pl.c: Likewise.
27398 * math/s_tanhl.c: Likewise.
27399 * misc/acct.c: Likewise.
27400 * misc/brk.c: Likewise.
27401 * misc/chflags.c: Likewise.
27402 * misc/chroot.c: Likewise.
27403 * misc/fchflags.c: Likewise.
27404 * misc/fgetxattr.c: Likewise.
27405 * misc/flistxattr.c: Likewise.
27406 * misc/fremovexattr.c: Likewise.
27407 * misc/fsetxattr.c: Likewise.
27408 * misc/fsync.c: Likewise.
27409 * misc/ftruncate.c: Likewise.
27410 * misc/futimes.c: Likewise.
27411 * misc/futimesat.c: Likewise.
27412 * misc/getdomain.c: Likewise.
27413 * misc/getdtsz.c: Likewise.
27414 * misc/gethostid.c: Likewise.
27415 * misc/gethostname.c: Likewise.
27416 * misc/getloadavg.c: Likewise.
27417 * misc/getpagesize.c: Likewise.
27418 * misc/getsysstats.c: Likewise.
27419 * misc/getxattr.c: Likewise.
27420 * misc/gtty.c: Likewise.
27421 * misc/ioctl.c: Likewise.
27422 * misc/lgetxattr.c: Likewise.
27423 * misc/listxattr.c: Likewise.
27424 * misc/llistxattr.c: Likewise.
27425 * misc/lremovexattr.c: Likewise.
27426 * misc/lsetxattr.c: Likewise.
27427 * misc/lutimes.c: Likewise.
27428 * misc/madvise.c: Likewise.
27429 * misc/mincore.c: Likewise.
27430 * misc/mlock.c: Likewise.
27431 * misc/mlockall.c: Likewise.
27432 * misc/mmap.c: Likewise.
27433 * misc/mprotect.c: Likewise.
27434 * misc/msync.c: Likewise.
27435 * misc/munlock.c: Likewise.
27436 * misc/munlockall.c: Likewise.
27437 * misc/munmap.c: Likewise.
27438 * misc/preadv.c: Likewise.
27439 * misc/preadv64.c: Likewise.
27440 * misc/ptrace.c: Likewise.
27441 * misc/pwritev.c: Likewise.
27442 * misc/pwritev64.c: Likewise.
27443 * misc/readv.c: Likewise.
27444 * misc/reboot.c: Likewise.
27445 * misc/remap_file_pages.c: Likewise.
27446 * misc/removexattr.c: Likewise.
27447 * misc/revoke.c: Likewise.
27448 * misc/select.c: Likewise.
27449 * misc/setdomain.c: Likewise.
27450 * misc/setegid.c: Likewise.
27451 * misc/seteuid.c: Likewise.
27452 * misc/sethostid.c: Likewise.
27453 * misc/sethostname.c: Likewise.
27454 * misc/setregid.c: Likewise.
27455 * misc/setreuid.c: Likewise.
27456 * misc/setxattr.c: Likewise.
27457 * misc/sstk.c: Likewise.
27458 * misc/stty.c: Likewise.
27459 * misc/swapoff.c: Likewise.
27460 * misc/swapon.c: Likewise.
27461 * misc/sync.c: Likewise.
27462 * misc/syncfs.c: Likewise.
27463 * misc/syscall.c: Likewise.
27464 * misc/truncate.c: Likewise.
27465 * misc/ualarm.c: Likewise.
27466 * misc/usleep.c: Likewise.
27467 * misc/ustat.c: Likewise.
27468 * misc/utimes.c: Likewise.
27469 * misc/vhangup.c: Likewise.
27470 * misc/writev.c: Likewise.
27471 * posix/_exit.c: Likewise.
27472 * posix/alarm.c: Likewise.
27473 * posix/execve.c: Likewise.
27474 * posix/fexecve.c: Likewise.
27475 * posix/fork.c: Likewise.
27476 * posix/fpathconf.c: Likewise.
27477 * posix/getaddrinfo.c: Likewise.
27478 * posix/getegid.c: Likewise.
27479 * posix/geteuid.c: Likewise.
27480 * posix/getgid.c: Likewise.
27481 * posix/getgroups.c: Likewise.
27482 * posix/getlogin.c: Likewise.
27483 * posix/getlogin_r.c: Likewise.
27484 * posix/getpgid.c: Likewise.
27485 * posix/getpid.c: Likewise.
27486 * posix/getppid.c: Likewise.
27487 * posix/getresgid.c: Likewise.
27488 * posix/getresuid.c: Likewise.
27489 * posix/getsid.c: Likewise.
27490 * posix/getuid.c: Likewise.
27491 * posix/glob64.c: Likewise.
27492 * posix/nanosleep.c: Likewise.
27493 * posix/pathconf.c: Likewise.
27494 * posix/pause.c: Likewise.
27495 * posix/posix_madvise.c: Likewise.
27496 * posix/pread.c: Likewise.
27497 * posix/pread64.c: Likewise.
27498 * posix/pwrite.c: Likewise.
27499 * posix/pwrite64.c: Likewise.
27500 * posix/sched_getaffinity.c: Likewise.
27501 * posix/sched_getp.c: Likewise.
27502 * posix/sched_gets.c: Likewise.
27503 * posix/sched_primax.c: Likewise.
27504 * posix/sched_primin.c: Likewise.
27505 * posix/sched_rr_gi.c: Likewise.
27506 * posix/sched_setaffinity.c: Likewise.
27507 * posix/sched_setp.c: Likewise.
27508 * posix/sched_sets.c: Likewise.
27509 * posix/sched_yield.c: Likewise.
27510 * posix/setgid.c: Likewise.
27511 * posix/setlogin.c: Likewise.
27512 * posix/setpgid.c: Likewise.
27513 * posix/setresgid.c: Likewise.
27514 * posix/setresuid.c: Likewise.
27515 * posix/setsid.c: Likewise.
27516 * posix/setuid.c: Likewise.
27517 * posix/sleep.c: Likewise.
27518 * posix/spawni.c: Likewise.
27519 * posix/sysconf.c: Likewise.
27520 * posix/times.c: Likewise.
27521 * posix/wait.c: Likewise.
27522 * posix/wait3.c: Likewise.
27523 * posix/wait4.c: Likewise.
27524 * posix/waitpid.c: Likewise.
27525 * resolv/gai_sigqueue.c: Likewise.
27526 * resource/getpriority.c: Likewise.
27527 * resource/getrlimit.c: Likewise.
27528 * resource/getrusage.c: Likewise.
27529 * resource/nice.c: Likewise.
27530 * resource/setpriority.c: Likewise.
27531 * resource/setrlimit.c: Likewise.
27532 * resource/ulimit.c: Likewise.
27533 * rt/aio_cancel.c: Likewise.
27534 * rt/aio_fsync.c: Likewise.
27535 * rt/aio_read.c: Likewise.
27536 * rt/aio_sigqueue.c: Likewise.
27537 * rt/aio_suspend.c: Likewise.
27538 * rt/aio_write.c: Likewise.
27539 * rt/clock_getres.c: Likewise.
27540 * rt/clock_gettime.c: Likewise.
27541 * rt/clock_nanosleep.c: Likewise.
27542 * rt/clock_settime.c: Likewise.
27543 * rt/lio_listio.c: Likewise.
27544 * rt/mq_close.c: Likewise.
27545 * rt/mq_getattr.c: Likewise.
27546 * rt/mq_notify.c: Likewise.
27547 * rt/mq_open.c: Likewise.
27548 * rt/mq_receive.c: Likewise.
27549 * rt/mq_send.c: Likewise.
27550 * rt/mq_setattr.c: Likewise.
27551 * rt/mq_timedreceive.c: Likewise.
27552 * rt/mq_timedsend.c: Likewise.
27553 * rt/mq_unlink.c: Likewise.
27554 * rt/shm_open.c: Likewise.
27555 * rt/shm_unlink.c: Likewise.
27556 * rt/timer_create.c: Likewise.
27557 * rt/timer_delete.c: Likewise.
27558 * rt/timer_getoverr.c: Likewise.
27559 * rt/timer_gettime.c: Likewise.
27560 * rt/timer_settime.c: Likewise.
27561 * setjmp/__longjmp.c: Likewise.
27562 * setjmp/setjmp.c: Likewise.
27563 * signal/kill.c: Likewise.
27564 * signal/killpg.c: Likewise.
27565 * signal/raise.c: Likewise.
27566 * signal/sigaction.c: Likewise.
27567 * signal/sigaltstack.c: Likewise.
27568 * signal/sigblock.c: Likewise.
27569 * signal/sigignore.c: Likewise.
27570 * signal/sigintr.c: Likewise.
27571 * signal/signal.c: Likewise.
27572 * signal/sigpause.c: Likewise.
27573 * signal/sigpending.c: Likewise.
27574 * signal/sigqueue.c: Likewise.
27575 * signal/sigreturn.c: Likewise.
27576 * signal/sigset.c: Likewise.
27577 * signal/sigsetmask.c: Likewise.
27578 * signal/sigstack.c: Likewise.
27579 * signal/sigsuspend.c: Likewise.
27580 * signal/sigtimedwait.c: Likewise.
27581 * signal/sigvec.c: Likewise.
27582 * signal/sigwait.c: Likewise.
27583 * signal/sigwaitinfo.c: Likewise.
27584 * signal/sysv_signal.c: Likewise.
27585 * socket/accept.c: Likewise.
27586 * socket/accept4.c: Likewise.
27587 * socket/bind.c: Likewise.
27588 * socket/connect.c: Likewise.
27589 * socket/getpeername.c: Likewise.
27590 * socket/getsockname.c: Likewise.
27591 * socket/getsockopt.c: Likewise.
27592 * socket/isfdtype.c: Likewise.
27593 * socket/listen.c: Likewise.
27594 * socket/recv.c: Likewise.
27595 * socket/recvfrom.c: Likewise.
27596 * socket/recvmsg.c: Likewise.
27597 * socket/send.c: Likewise.
27598 * socket/sendmsg.c: Likewise.
27599 * socket/sendto.c: Likewise.
27600 * socket/setsockopt.c: Likewise.
27601 * socket/shutdown.c: Likewise.
27602 * socket/sockatmark.c: Likewise.
27603 * socket/socket.c: Likewise.
27604 * socket/socketpair.c: Likewise.
27605 * stdio-common/ctermid.c: Likewise.
27606 * stdio-common/cuserid.c: Likewise.
27607 * stdio-common/remove.c: Likewise.
27608 * stdio-common/rename.c: Likewise.
27609 * stdio-common/renameat.c: Likewise.
27610 * stdio-common/tempname.c: Likewise.
27611 * stdlib/getcontext.c: Likewise.
27612 * stdlib/makecontext.c: Likewise.
27613 * stdlib/setcontext.c: Likewise.
27614 * stdlib/swapcontext.c: Likewise.
27615 * stdlib/system.c: Likewise.
27616 * streams/fattach.c: Likewise.
27617 * streams/fdetach.c: Likewise.
27618 * streams/getmsg.c: Likewise.
27619 * streams/getpmsg.c: Likewise.
27620 * streams/putmsg.c: Likewise.
27621 * streams/putpmsg.c: Likewise.
27622 * sysdeps/unix/bsd/getpt.c: Likewise.
27623 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27624 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27625 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27628 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27629 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27630 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27631 * sysvipc/msgctl.c: Likewise.
27632 * sysvipc/msgget.c: Likewise.
27633 * sysvipc/msgrcv.c: Likewise.
27634 * sysvipc/msgsnd.c: Likewise.
27635 * sysvipc/semctl.c: Likewise.
27636 * sysvipc/semget.c: Likewise.
27637 * sysvipc/semop.c: Likewise.
27638 * sysvipc/semtimedop.c: Likewise.
27639 * sysvipc/shmat.c: Likewise.
27640 * sysvipc/shmctl.c: Likewise.
27641 * sysvipc/shmdt.c: Likewise.
27642 * sysvipc/shmget.c: Likewise.
27643 * termios/tcdrain.c: Likewise.
27644 * termios/tcflow.c: Likewise.
27645 * termios/tcflush.c: Likewise.
27646 * termios/tcgetattr.c: Likewise.
27647 * termios/tcgetpgrp.c: Likewise.
27648 * termios/tcsendbrk.c: Likewise.
27649 * termios/tcsetattr.c: Likewise.
27650 * termios/tcsetpgrp.c: Likewise.
27651 * time/adjtime.c: Likewise.
27652 * time/clock.c: Likewise.
27653 * time/getitimer.c: Likewise.
27654 * time/gettimeofday.c: Likewise.
27655 * time/setitimer.c: Likewise.
27656 * time/settimeofday.c: Likewise.
27657 * time/stime.c: Likewise.
27658 * time/time.c: Likewise.
27660 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27662 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27665 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27667 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27669 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27673 FE_TONEAREST before applying Dekker multiplication and Knuth
27674 addition. Clear inexact exceptions and check for exact zero
27675 results afterwards.
27676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27677 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27678 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27679 * math/libm-test.inc (fma_test): Add more tests.
27680 (fma_test_towardzero): Likewise.
27681 (fma_test_downward): Likewise.
27682 (fma_test_upward): Likewise.
27683 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27685 (libc_fesetround): New macro.
27686 (libc_fesetroundf): Likewise.
27687 (libc_fesetroundl): Likewise.
27688 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27690 (libc_fesetround_387): Likewise.
27691 (libc_fesetroundf): New macro.
27692 (libc_fesetround): Likewise.
27693 (libc_fesetroundl): Likewise.
27694 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27696 (libc_fesetroundf): New macro.
27697 (libc_fesetround): Likewise.
27698 (libc_fesetroundl): Likewise.
27699 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27700 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27701 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27703 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27704 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27706 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27707 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27709 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27713 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27714 integer constant usable in #if and use that to give value to enum
27716 (FE_DIVBYZERO): Likewise.
27717 (FE_UNDERFLOW): Likewise.
27718 (FE_OVERFLOW): Likewise.
27719 (FE_INVALID): Likewise.
27720 (FE_INVALID_SNAN): Likewise.
27721 (FE_INVALID_ISI): Likewise.
27722 (FE_INVALID_IDI): Likewise.
27723 (FE_INVALID_ZDZ): Likewise.
27724 (FE_INVALID_IMZ): Likewise.
27725 (FE_INVALID_COMPARE): Likewise.
27726 (FE_INVALID_SOFTWARE): Likewise.
27727 (FE_INVALID_SQRT): Likewise.
27728 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27729 (FE_TONEAREST): Likewise.
27730 (FE_TOWARDZERO): Likewise.
27731 (FE_UPWARD): Likewise.
27732 (FE_DOWNWARD): Likewise.
27733 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27734 (FE_DIVBYZERO): Likewise.
27735 (FE_OVERFLOW): Likewise.
27736 (FE_UNDERFLOW): Likewise.
27737 (FE_INEXACT): Likewise.
27738 (FE_TONEAREST): Likewise.
27739 (FE_DOWNWARD): Likewise.
27740 (FE_UPWARD): Likewise.
27741 (FE_TOWARDZERO): Likewise.
27742 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27743 (FE_UNDERFLOW): Likewise.
27744 (FE_OVERFLOW): Likewise.
27745 (FE_DIVBYZERO): Likewise.
27746 (FE_INVALID): Likewise.
27747 (FE_TONEAREST): Likewise.
27748 (FE_TOWARDZERO): Likewise.
27749 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27750 (FE_OVERFLOW): Likewise.
27751 (FE_UNDERFLOW): Likewise.
27752 (FE_DIVBYZERO): Likewise.
27753 (FE_INEXACT): Likewise.
27754 (FE_TONEAREST): Likewise.
27755 (FE_TOWARDZERO): Likewise.
27756 (FE_UPWARD): Likewise.
27757 (FE_DOWNWARD): Likewise.
27758 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27759 (FE_DIVBYZERO): Likewise.
27760 (FE_OVERFLOW): Likewise.
27761 (FE_UNDERFLOW): Likewise.
27762 (FE_INEXACT): Likewise.
27763 (FE_TONEAREST): Likewise.
27764 (FE_DOWNWARD): Likewise.
27765 (FE_UPWARD): Likewise.
27766 (FE_TOWARDZERO): Likewise.
27768 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27770 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27772 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27774 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27775 commands. Quote $PWD.
27776 (blacklist_exports): Don't use remove_newlines. Replace "declare
27778 (remove_newlines): Remove.
27780 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27782 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27783 * stdlib/stdlib.h (atof): Moved to ...
27784 * include/bits/stdlib-float.h: Here. New file.
27785 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27786 * stdlib/bits/stdlib-float.h: New file.
27787 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27789 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27792 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27794 * conform/conformtest.pl (@headers): Add fenv.h.
27795 * conform/data/fenv.h-data: New file.
27796 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27797 include of <math/fenv.h>.
27799 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27800 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27801 && !UNIX98]. Enables tests for XOPEN2K8.
27802 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27803 POSIX2008]: Likewise.
27805 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27806 (struct rusage): Do not expect type or its members.
27809 * math/math.h (FP_NAN): Define macro to integer constant usable in
27810 #if and use that to give value to enum constant.
27811 (FP_INFINITE): Likewise.
27812 (FP_ZERO): Likewise.
27813 (FP_SUBNORMAL): Likewise.
27814 (FP_NORMAL): Likewise.
27816 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27818 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27819 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27822 2012-11-02 Roland McGrath <roland@hack.frob.com>
27824 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27825 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27826 autoconf-time if not.
27827 * configure.in: Remove AC_PREREQ.
27829 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27831 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27832 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27833 of the internal implementation.
27835 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27837 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27838 except include of <misc/sys/syslog.h>.
27840 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27843 function returns with a NULL context exit with zero.
27845 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27847 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27849 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27851 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27852 (run_program_cmd): This.
27853 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27854 (tst_langinfo): New variable. Use it.
27856 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27858 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27859 floating point opcodes.
27861 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27863 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27866 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27868 * sysdeps/mach/hurd/powerpc: Remove directory.
27869 * sysdeps/mach/powerpc: Likewise.
27871 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27873 * scripts/check-local-headers.sh: Ignore c++ headers.
27875 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27877 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27878 __libc_cleanup_region_start argument.
27880 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27885 x * y using scaling, not as x * y + z.
27886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27888 * math/libm-test.inc (fma_test): Add more tests.
27889 (fma_test_towardzero): Likewise.
27890 (fma_test_downward): Likewise.
27891 (fma_test_upward): Likewise.
27893 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27895 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27897 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27899 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27902 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27904 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27906 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27913 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27916 Fix the order of the list for glibc 2.17.
27917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27920 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27924 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27927 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27928 for low part of x being zero before using __atanl (y).
27929 * math/libm-test.inc (atan2_test): Add another test.
27931 * manual/install.texi (Configuring and compiling): Document
27932 general use of test-wrapper and test-wrapper-env.
27933 * INSTALL: Regenerated.
27935 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27936 (__fma): Do not extract and scale down low bits on after-rounding
27937 systems when result rounded to normal precision would have normal
27939 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27940 (__fmal): Do not extract and scale down low bits on after-rounding
27941 systems when result rounded to normal precision would have normal
27943 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27944 (__fmal): Do not extract and scale down low bits on after-rounding
27945 systems when result rounded to normal precision would have normal
27947 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27949 (fma_test): Add more tests.
27950 (fma_test_towardzero): Likewise.
27951 (fma_test_downward): Likewise.
27952 (fma_test_upward): Likewise.
27954 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27956 * sysdeps/i386/tininess.h: Renamed to ...
27957 * sysdeps/x86/tininess.h: This.
27958 * sysdeps/x86_64/tininess.h: Removed.
27960 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27962 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27963 input. Use $(build-program-cmd).
27964 ($(objpfx)tst-array1-static.out): Likewise.
27965 ($(objpfx)tst-array2.out): Likewise.
27966 ($(objpfx)tst-array3.out): Likewise.
27967 ($(objpfx)tst-array4.out): Likewise.
27968 ($(objpfx)tst-array5.out): Likewise.
27969 ($(objpfx)tst-array5-static.out): Likewise.
27971 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27973 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27976 * nss/nsswitch.h (nss_interface_function): Provide new
27977 macro for use with NSS functions.
27978 * grp/initgroups.c: Use new macro.
27979 * nss/getXXbyYY.c: Likewise.
27980 * nss/getXXbyYY_r.c: Likewise.
27981 * nss/getXXent.c: Likewise.
27982 * nss/getXXent_r.c: Likewise.
27983 * sysdeps/posix/getaddrinfo.c: Likewise.
27985 2012-10-30 Andreas Jaeger <aj@suse.de>
27987 * po/ru.po: Update Russion translation from translation project.
27989 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27994 result and shift together with sticky bit instead of replicating
27995 round-to-nearest rounding.
27996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27997 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27998 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27999 missing underflow exceptions.
28000 (fma_test_towardzero): Add more tests.
28001 (fma_test_downward): Likewise.
28002 (fma_test_upward): Likewise.
28005 * sysdeps/generic/tininess.h: New file.
28006 * sysdeps/i386/tininess.h: Likewise.
28007 * sysdeps/sh/tininess.h: Likewise.
28008 * sysdeps/x86_64/tininess.h: Likewise.
28009 * stdlib/tst-strtod-underflow.c: Likewise.
28010 * stdlib/tst-tininess.c: Likewise.
28011 * stdlib/strtod_l.c: Include <tininess.h>.
28012 (round_and_return): Do not set errno for exact underflow cases.
28013 Force an underflow exception when setting errno for underflow.
28014 Determine underflow based on rounding to normal precision if
28015 TININESS_AFTER_ROUNDING.
28016 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28017 ERANGE for exact underflow cases.
28018 * stdlib/Makefile (tests): Add tst-tininess and
28019 tst-strtod-underflow.
28020 ($(objpfx)tst-tininess): Use $(link-libm).
28021 ($(objpfx)tst-strtod-underflow): Likewise.
28023 2012-10-30 Andreas Jaeger <aj@suse.de>
28026 * elf/Makefile (tests): Remove conditional for have-initfini-array
28027 since this is now always required and the variable does not exist
28029 (tests-static): Likewise.
28030 (modules-names): Likewise.
28032 * po/eo.po: Add Esperanto translation from translation project.
28034 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28035 merged with constructor/destructor.
28036 (init_array): Likewise.
28037 * elf/tst-array2dep.c (fini_array): Likewise.
28038 (init_array): Likewise.
28040 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28042 * manual/message.texi: Delete @cartouche tags.
28044 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28046 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28048 * sysdeps/mach/hurd/fsync.c: Likewise.
28050 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28051 [_POSIX_REALTIME_SIGNALS]: Change condition to
28052 [_POSIX_REALTIME_SIGNALS > 0].
28054 2012-10-27 Andreas Jaeger <aj@suse.de>
28056 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28057 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28059 [__WORDSIZE != 64]: Likewise.
28061 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28063 * iconvdata/tst-table.sh: Remove ${SHELL}.
28064 * iconvdata/tst-tables.sh: Likewise.
28066 2012-10-25 David S. Miller <davem@davemloft.net>
28068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28069 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28074 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28075 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28076 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28079 2012-10-25 Roland McGrath <roland@hack.frob.com>
28081 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28082 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28085 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28086 Jim Blandy <jimb@codesourcery.com>
28088 * scripts/cross-test-ssh.sh: New file.
28089 * manual/install.texi (Configuring and compiling): Document use of
28091 * INSTALL: Regenerated.
28093 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28095 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28098 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28100 * Makeconfig (run-program-prefix): Fix comment.
28102 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28103 Jim Blandy <jimb@codesourcery.com>
28105 * Makeconfig (test-wrapper): New variable,
28106 (test-wrapper-env): Likewise.
28107 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28108 (run-built-tests): Define to yes.
28109 (run-program-prefix): Use $(test-wrapper).
28110 (built-program-cmd): Likewise.
28111 * Rules (make-test-out): Use $(test-wrapper-env) and
28112 $(host-built-program-cmd).
28113 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28114 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28116 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28117 $(test-wrapper-env) to tst-rtld-load-self.sh.
28118 ($(objpfx)order2.out): Use $(test-wrapper).
28119 ($(objpfx)tst-initorder.out): Likewise.
28120 ($(objpfx)tst-initorder2.out): Likewise.
28121 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28122 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28123 (test_wrapper_env): New variable. Use it to run ld.so.
28124 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28125 Use it to run ld.so.
28126 (test_wrapper_env): Likewise.
28127 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28128 $(test-wrapper) to run-iconv-test.sh.
28129 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28130 (ICONV): Use $test_wrapper.
28131 * posix/Makefile ($(objpfx)globtest.out): Pass
28132 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28133 globtest.sh, not $(run-program-prefix).
28134 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28135 (test_wrapper): Likewise.
28136 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28137 set together with run_via_rtld_prefix.
28138 (run_program_prefix): Define in terms of test_wrapper and
28139 run_via_rtld_prefix.
28141 2012-10-24 Roland McGrath <roland@hack.frob.com>
28143 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28144 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28148 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28149 Declare __clock_getres, __clock_gettime, __clock_settime,
28150 __clock_nanosleep, and __clock_getcpuclockid.
28151 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28152 Remove librt_hidden_def (clock_gettime).
28153 * sysdeps/unix/clock_gettime.c: Likewise.
28154 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28155 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28156 * rt/clock_getres.c: Define __clock_getres as an alias.
28157 * sysdeps/posix/clock_getres.c: Likewise.
28158 * rt/clock_settime.c: Define __clock_settime as an alias.
28159 * sysdeps/unix/clock_settime.c: Likewise.
28160 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28161 * sysdeps/unix/clock_nanosleep.c: Likewise.
28162 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28163 * rt/clock-compat.c: New file.
28164 * rt/Makefile (librt-routines): Add clock-compat and move
28165 $(clock-routines) to ...
28166 (routines): ... here, new variable.
28167 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28168 Don't add get_clockfreq here.
28169 * rt/Versions (libc: GLIBC_2.17): New version set.
28170 Add clock_* symbols here.
28171 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28172 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28173 (GLIBC_2.17): Add clock_* symbols.
28174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28185 * NEWS: Mention the move.
28187 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28188 Use __open, __read, __close rather than their public counterparts.
28189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28190 (__get_clockfreq_via_cpuinfo): Likewise.
28191 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28192 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28194 * config.h.in (HAVE_IFUNC): New #undef.
28195 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28197 * configure: Regenerated.
28199 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28201 * configure.in: Move READELF check to start of file.
28202 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28203 libc_cv_asm_gnu_indirect_function in the process.
28204 * configure: Regenerated.
28206 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28208 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28209 send the output to /dev/null.
28210 (libc_cv_cc_with_libunwind): Likewise.
28211 (libc_cv_as_noexecstack): Likewise.
28212 * configure: Regenerate.
28214 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28216 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28218 * posix/globtest.sh (TMPDIR): Do not set.
28219 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28220 (testout): Likewise.
28222 2012-10-24 Andreas Jaeger <aj@suse.de>
28224 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28225 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28226 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28227 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28228 posix_fadvise64, posix_fallocate64.
28230 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28231 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28232 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28234 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28236 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28239 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28240 <bits/fcntl-linux.h>.
28241 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28244 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28245 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28246 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28247 [__WORDSIZE != 64]: Likewise.
28249 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28251 * Makeconfig (run-built-tests): New variable.
28252 * Rules [$(cross-compiling) = yes]: Change condition to
28253 [$(run-built-tests) = no].
28254 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28255 to [$(run-built-tests) = yes].
28256 * elf/Makefile [$(cross-compiling) = no]: Likewise
28257 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28258 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28259 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28260 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28261 * io/Makefile [$(cross-compiling) = no]: Likewise.
28262 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28263 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28264 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28265 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28266 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28267 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28268 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28269 * string/Makefile [$(cross-compiling) = no]: Likewise.
28271 * posix/Makefile ($(objpfx)globtest.out): Pass
28272 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28273 $(rtld-installed-name).
28274 * posix/globtest.sh (elf_objpfx): Remove variable.
28275 (rtld_installed_name): Likewise.
28276 (library_path): Likewise.
28277 (run_program_prefix): New variable. Use for running globtest
28280 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28281 Joseph Myers <joseph@codesourcery.com>
28283 * Makeconfig (host-built-program-cmd): New variable.
28284 * elf/Makefile (tst-stackguard1-ARGS): Use
28285 $(host-built-program-cmd).
28286 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28287 (tst-spawn-ARGS): Likewise.
28288 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28290 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28291 Jim Blandy <jimb@codesourcery.com>
28293 * Makeconfig (run-via-rtld-prefix): New variable.
28294 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28295 (built-program-cmd): Likewise.
28297 2012-10-22 Andreas Jaeger <aj@suse.de>
28299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28300 __O_RSYNC if it exists, otherwise to O_SYNC.
28302 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28303 Joseph Myers <joseph@codesourcery.com>
28305 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28307 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28309 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28312 2012-10-22 Andreas Jaeger <aj@suse.de>
28314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28319 bits/fcntl-linux.h.
28321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28322 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28324 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28329 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28330 Joseph Myers <joseph@codesourcery.com>
28332 * config.make.in (NM): New variable.
28334 2012-10-21 Andreas Jaeger <aj@suse.de>
28336 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28337 definitions and declarations that are provided by
28338 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28340 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28343 * elf/Makefile (tests-static): Add tst-leaks1-static.
28344 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28345 ($(objpfx)tst-leaks1-static): New rule.
28346 ($(objpfx)tst-leaks1-static-mem): Likewise.
28347 (tst-leaks1-static-ENV): New macro.
28348 * elf/dl-open.c (dl_open_worker): Check the main application
28349 only if SHARED is defined.
28350 * elf/tst-leaks1-static.c: New file.
28352 2012-10-20 Andreas Jaeger <aj@suse.de>
28354 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28355 generic values for Linux.
28356 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28357 and declarations that are provided by <bits/fcntl-linux.h> and
28358 include <bits/fcntl-linux.h>.
28359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28362 2012-10-20 Roland McGrath <roland@hack.frob.com>
28364 * io/fcntl.h: Move include of <bits/types.h> to the top and
28365 include it unconditionally.
28367 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28369 * wcsmbs/Makefile (tests-ifunc): New variable.
28370 (tests): Add $(tests-ifunc).
28371 * wcsmbs/test-wcschr-ifunc.c: New file.
28372 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28373 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28374 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28375 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28376 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28378 * string/Makefile (tests-ifunc): New variable.
28379 (tests): Add $(tests-ifunc).
28380 * string/test-memccpy.c (TEST_NAME): New macro.
28381 * string/test-memchr.c (TEST_NAME): Likewise.
28382 * string/test-memcmp.c (TEST_NAME): Likewise.
28383 * string/test-memcpy.c (TEST_NAME): Likewise.
28384 * string/test-memmem.c (TEST_NAME): Likewise.
28385 * string/test-memmove.c (TEST_NAME): Likewise.
28386 * string/test-memset.c (TEST_NAME): Likewise.
28387 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28388 * string/test-stpcpy.c (TEST_NAME): Likewise.
28389 * string/test-stpncpy.c (TEST_NAME): Likewise.
28390 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28391 * string/test-strcasestr.c (TEST_NAME): Likewise.
28392 * string/test-strcat.c (TEST_NAME): Likewise.
28393 * string/test-strchr.c (TEST_NAME): Likewise.
28394 * string/test-strcmp.c(TEST_NAME): Likewise.
28395 * string/test-strcpy.c (TEST_NAME): Likewise.
28396 * string/test-strcspn.c (TEST_NAME): Likewise.
28397 * string/test-strlen.c (TEST_NAME): Likewise.
28398 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28399 * string/test-strncmp.c (TEST_NAME): Likewise.
28400 * string/test-strncpy.c (TEST_NAME): Likewise.
28401 * string/test-strnlen.c (TEST_NAME): Likewise.
28402 * string/test-strpbrk.c (TEST_NAME): Likewise.
28403 * string/test-strrchr.c (TEST_NAME): Likewise.
28404 * string/test-strspn.c (TEST_NAME): Likewise.
28405 * string/test-strstr.c (TEST_NAME): Likewise.
28406 * string/test-bcopy-ifunc.c: New file.
28407 * string/test-bzero-ifunc.c: Likewise.
28408 * string/test-memccpy-ifunc.c: Likewise.
28409 * string/test-memchr-ifunc.c: Likewise.
28410 * string/test-memcmp-ifunc.c: Likewise.
28411 * string/test-memcpy-ifunc.c: Likewise.
28412 * string/test-memmem-ifunc.c: Likewise.
28413 * string/test-memmove-ifunc.c: Likewise.
28414 * string/test-mempcpy-ifunc.c: Likewise.
28415 * string/test-memset-ifunc.c: Likewise.
28416 * string/test-rawmemchr-ifunc.c: Likewise.
28417 * string/test-stpcpy-ifunc.c: Likewise.
28418 * string/test-stpncpy-ifunc.c: Likewise.
28419 * string/test-strcasecmp-ifunc.c: Likewise.
28420 * string/test-strcasestr-ifunc.c: Likewise.
28421 * string/test-strcat-ifunc.c: Likewise.
28422 * string/test-strchr-ifunc.c: Likewise.
28423 * string/test-strchrnul-ifunc.c: Likewise.
28424 * string/test-strcmp-ifunc.c: Likewise.
28425 * string/test-strcpy-ifunc.c: Likewise.
28426 * string/test-strcspn-ifunc.c: Likewise.
28427 * string/test-strlen-ifunc.c: Likewise.
28428 * string/test-strncasecmp-ifunc.c: Likewise.
28429 * string/test-strncat-ifunc.c: Likewise.
28430 * string/test-strncmp-ifunc.c: Likewise.
28431 * string/test-strncpy-ifunc.c: Likewise.
28432 * string/test-strnlen-ifunc.c: Likewise.
28433 * string/test-strpbrk-ifunc.c: Likewise.
28434 * string/test-strrchr-ifunc.c: Likewise.
28435 * string/test-strspn-ifunc.c: Likewise.
28436 * string/test-strstr-ifunc.c: Likewise.
28438 * debug/Makefile (tests-ifunc): New variable.
28439 (tests): Add $(tests-ifunc).
28440 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28441 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28442 * debug/test-stpcpy_chk-ifunc.c: New file.
28443 * debug/test-strcpy_chk-ifunc.c: Likewise.
28445 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28448 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28449 header is not read in.
28451 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28453 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28454 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28455 directly. Pass built executable to script as
28456 $(built-program-cmd).
28457 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28458 $testprogram without using LD_LIBRARY_PATH and $ldso.
28460 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28461 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28462 $(rtld-installed-name).
28463 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28464 (rtld_installed_name): Likewise.
28465 (library_path): Likewise.
28466 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28467 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28468 $(run-program-prefix) to tst-tables.sh.
28469 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28470 it to run tst-table-from and tst-table-to.
28471 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28472 Pass it to tst-table.sh.
28473 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28474 $(run-program-prefix) to tst-gettext.sh.
28475 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28477 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28479 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28480 to run tst-gettext.
28481 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28482 to run tst-gettext2.
28483 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28484 to run tst-translit.
28485 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28486 $(run-program-prefix) to tst-mtrace.sh.
28487 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28489 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28490 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28491 $(rtld-installed-name).
28492 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28493 (rtld_installed_name): Likewise.
28494 (run_program_prefix): New variable. Use it to run wordexp-test.
28496 * Makeconfig (ARCH): Remove all definitions.
28497 (machine): Likewise.
28498 [ARCH]: Remove conditional code.
28499 [!objdir]: Give error.
28500 [!objdir] (objpfx): Remove.
28501 [!objdir] (common-objpfx): Likewise.
28502 [!objdir] (common-objdir): Likewise.
28503 * configure.in (config_makefile): Remove. Hardcode Makefile in
28504 AC_CONFIG_FILES call.
28505 * configure: Regenerated.
28508 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28510 (testout): Likewise.
28512 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28513 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28514 $(rtld-installed-name).
28515 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28516 (rtld_installed_name): Likwise.
28517 (runit): Remove function.
28518 (run_getconf): New variable, Use it for running getconf binary.
28520 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28523 * string/test-memmem.c (check_result): New function.
28524 (do_one_test): Use it.
28525 (check1): New function.
28526 (test_main): Use it.
28528 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28530 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28532 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28534 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28535 (_G_LSEEK64): Likewise.
28536 (_G_MMAP64): Likewise.
28537 (_G_FSTAT64): Likewise.
28538 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28539 (_G_LSEEK64): Likewise.
28540 (_G_MMAP64): Likewise.
28541 (_G_FSTAT64): Likewise.
28542 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28543 unconditional. Call __mmap64 directly.
28544 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28545 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28546 __lseek64 directly.
28547 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28548 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28550 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28551 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28552 __lseek64 directly.
28553 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28554 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28555 __lseek64 directly.
28556 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28557 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28558 __lseek64 directly.
28559 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28560 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28561 __fxstat64 directly.
28562 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28563 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28565 (freopen64) [!_G_OPEN64]: Remove conditional code.
28566 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28568 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28569 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28571 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28572 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28574 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28575 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28577 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28578 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28580 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28581 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28583 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28584 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28586 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28588 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28591 * manual/memory.texi (Malloc Tunable Parameters): Add note
28592 about free list pointers overwriting some perturb bytes.
28593 Wording suggested by Roland McGrath.
28595 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28597 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28598 (lgamma_test): Likewise.
28599 (tgamma_test): Likewise.
28601 2012-10-16 Florian Weimer <fweimer@redhat.com>
28604 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28605 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28607 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28609 * NEWS: Mention BZ #14716.
28610 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28611 when removing AVAILABLE1_USES_J macro.
28613 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28615 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28616 (__bswap_64): __uint64_t for unsigned 64-bit int.
28618 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28620 * include/string.h (memmem): Declare libc hidden alias.
28621 * string/memmem.c (memmem): Define libc hidden alias.
28622 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28623 __read, __close instead of open, read, close.
28625 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28628 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28630 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28631 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28632 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28634 (__rawmemchr_sse2): Likewise.
28635 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28636 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28637 (__strchr_sse2): Likewise.
28638 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28639 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28640 (__strcasecmp_sse2): Likewise.
28641 (__strncasecmp_sse2): Likewise.
28642 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28643 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28644 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28645 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28646 (__strrchr_sse2): Likewise.
28647 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28649 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28650 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28651 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28652 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28653 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28654 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28655 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28656 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28657 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28658 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28659 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28660 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28661 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28662 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28663 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28664 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28665 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28666 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28667 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28668 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28669 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28670 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28671 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28672 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28673 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28674 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28675 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28676 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28677 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28678 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28680 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28682 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28683 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28684 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28685 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28687 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28689 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28690 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28691 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28692 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28694 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28695 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28696 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28697 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28698 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28699 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28700 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28701 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28702 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28703 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28704 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28705 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28706 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28707 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28708 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28709 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28710 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28711 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28712 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28713 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28714 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28715 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28716 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28717 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28718 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28719 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28720 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28721 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28722 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28723 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28724 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28725 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28726 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28727 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28728 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28729 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28730 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28731 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28732 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28733 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28734 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28736 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28737 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28738 * include/ifunc-impl-list.h: New file.
28739 * misc/ifunc-impl-list.c: Likewise.
28740 * misc/Makefile (routines): Add ifunc-impl-list.
28741 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28742 * string/test-string.h: Include <ifunc-impl-list.h>.
28743 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28744 TEST_NAME]: New variables.
28745 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28747 (test_init): Call __libc_ifunc_impl_list to initialize
28748 func_list if TEST_IFUNC and TEST_NAME are defined.
28750 * string/Makefile (strop-tests): Add bcopy and bzero.
28751 * string/test-bcopy.c: New file.
28752 * string/test-bzero.c: Likewise.
28753 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28755 * string/test-memset.c: Support bzero test if TEST_BZERO is
28757 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28759 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28761 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28764 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28766 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28767 * configure: Regenerated.
28769 * Makeconfig (+link-static-before-libc): Don't include
28770 $(link-static-libc).
28772 * libio/libio.h (_IO_pos_t): Remove.
28774 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28776 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28779 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28781 * crypt/crypt-entry.c: Include fips-private.h.
28782 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28783 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28784 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28785 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28787 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28789 * crypt/crypt-private.h: Include stdbool.h.
28790 (_ufc_setup_salt_r): Return bool.
28791 * crypt/crypt-entry.c: Include errno.h.
28792 (__crypt_r): Return NULL with EINVAL for bad salt.
28793 * crypt/crypt_util.c (bad_for_salt): New.
28794 (_ufc_setup_salt_r): Check that salt is long enough and within
28795 the specified alphabet.
28796 * crypt/badsalttest.c: New file.
28797 * crypt/Makefile (tests): Add it.
28798 ($(objpfx)badsalttest): New.
28800 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28802 * NEWS: Add entry for BZ #14602.
28804 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28806 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28808 * math/libm-test.inc: Update comment listing what functions and
28810 (isgreater_test): New function.
28811 (isgreaterequal_test): Likewise.
28812 (isless_test): Likewise.
28813 (islessequal_test): Likewise.
28814 (islessgreater_test): Likewise.
28815 (isunordered_test): Likewise.
28816 (main): Call the new functions.
28818 2012-10-09 Roland McGrath <roland@hack.frob.com>
28820 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28821 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28822 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28823 * sysdeps/i386/configure: Regenerated.
28824 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28825 * sysdeps/mach/configure: Regenerated.
28826 * sysdeps/mach/hurd/configure: Regenerated.
28827 * sysdeps/powerpc/configure: Regenerated.
28828 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28829 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28830 * sysdeps/s390/s390-32/configure: Regenerated.
28831 * sysdeps/s390/s390-64/configure: Regenerated.
28832 * sysdeps/sh/configure: Regenerated.
28833 * sysdeps/sparc/configure: Regenerated.
28834 * sysdeps/unix/sysv/linux/configure: Regenerated.
28835 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28836 * sysdeps/x86_64/configure: Regenerated.
28838 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28839 defined. Don't check if MAP is NULL.
28841 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28843 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28844 (_G_stat64): Likewise.
28845 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28846 (_G_stat64): Likewise.
28847 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28848 instead of struct _G_stat64.
28849 * libio/fileops.c (mmap_remap_check): Likewise.
28850 (decide_maybe_mmap): Likewise.
28851 (_IO_new_file_seekoff): Likewise.
28852 (_IO_file_stat): Likewise.
28853 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28855 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28856 instead of struct _G_stat64.
28857 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28859 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28862 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28864 (CHECK_EOL): New macro.
28865 (two_way_short_needle): Check beginning of haystack for EOL. Use
28867 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28868 Replace with CHECK_EOL.
28869 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28870 Replace with CHECK_EOL.
28872 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28874 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28876 * math/libm-test.inc: Update comment listing what functions and
28878 (finite_test): New function.
28879 (isinf_test): Likewise.
28880 (isnan_test): Likewise.
28881 (fpclassify_test): Test subnormal input.
28882 (isfinite_test): Likewise.
28883 (isnormal_test): Likewise.
28884 (main): Call the new functions.
28886 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28889 * Makerules (%.dynsym): Force C locale when running
28890 $(OBJDUMP) --dynamic-syms.
28892 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28894 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28897 2012-10-06 David S. Miller <davem@davemloft.net>
28899 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28900 upper 32-bits of the length value in %o2 since we use branch-on-register
28901 tests which consider the entire 64-bit register.
28903 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28905 * string/test-strstr.c (check2): Add a test for page boundary.
28907 2012-10-05 David S. Miller <davem@davemloft.net>
28909 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28910 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28912 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28914 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28915 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28916 and bzero when HWCAP_SPARC_CRYPTO is present.
28918 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28921 * string/test-strstr.c (check2): New function.
28922 (test_main): Call check2.
28924 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28926 * string/bug-strcasestr1.c (do_test): Moved to ...
28927 * string/test-strcasestr.c (check1): Here. New function.
28928 (do_one_test): Break out result checking code into ...
28929 (check_result): This. New function.
28930 (do_one_test): Call check_result.
28931 (test_main): Call check1.
28932 * string/bug-strchr1.c (do_test): Moved to ...
28933 * string/test-strchr.c (check1): Here. New function.
28934 (do_one_test): Break out result checking code into ...
28935 (check_result): This. New function.
28936 (do_one_test): Call check_result.
28937 (test_main): Call check1.
28938 * string/bug-strstr1.c (main): Moved to ...
28939 * string/test-strstr.c (check1): Here. New function.
28940 (do_one_test): Break out result checking code into ...
28941 (check_result): This. New function.
28942 (do_one_test): Call check_result.
28943 (test_main): Call check1.
28944 * string/bug-strcasestr1.c: Removed.
28945 * string/bug-strchr1.c: Likewise.
28946 * string/bug-strstr1.c: Likewise.
28948 * elf/Makefile (dl-routines): Add hwcaps.
28949 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28950 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28951 (_dl_important_hwcaps): Moved to ...
28952 * elf/dl-hwcaps.c: Here. New file.
28953 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28956 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28957 if IS_IN_rtld isn't defined.
28959 * elf/dl-support.c (_dl_sysinfo_map): New.
28960 Include "get-dynamic-info.h" and "setup-vdso.h".
28961 (_dl_non_dynamic_init): Call setup_vdso.
28962 * elf/dynamic-link.h: Don't include <assert.h>.
28963 (elf_get_dynamic_info): Moved to ...
28964 * elf/get-dynamic-info.h: Here. New file.
28965 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28966 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28967 * elf/setup-vdso.h: Here. New file.
28968 * elf/rtld.c: Include "setup-vdso.h".
28969 (dl_main): Call setup_vdso.
28971 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28973 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28974 creal in comment listing functions tested. List finite, isinf,
28975 isnan, isless, islessequal, isgreater, isgreaterequal,
28976 islessgreater, isunordered, lgamma_r and pow10 as functions and
28977 macros not tested. Mention which functions not tested are aliases
28978 for other functions. Fix typo. Note that signs of NaNs are not
28981 * scripts/config.guess: Update from config.git.
28982 * scripts/config.sub: Likewise.
28984 2012-10-04 Roland McGrath <roland@hack.frob.com>
28986 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28987 * misc/madvise.c (madvise): Renamed to __madvise.
28988 Make madvise a weak alias.
28989 * include/sys/mman.h: Declare __madvise.
28990 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28991 * sysdeps/unix/syscalls.list
28992 (madvise): Make __madvise the strong name, and madvise a weak alias.
28993 * sysdeps/unix/sysv/linux/syscalls.list
28994 (madvise, mmap): Remove redundant entries.
28995 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28996 * malloc/malloc.c (mtrim): Likewise.
28997 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28999 2012-10-03 Roland McGrath <roland@hack.frob.com>
29001 * sysdeps/mach/hurd/dl-cache.c: File removed.
29002 * config.h.in (USE_LDCONFIG): New #undef.
29003 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29004 * configure: Regenerated.
29005 * elf/Makefile (dl-routines): Add dl-cache only under
29006 [$(use-ldconfig) = yes].
29007 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29008 cache on [USE_LDCONFIG].
29009 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29011 * elf/rtld.c (dl_main): Likewise.
29013 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29015 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29016 _SC_LEVEL4_CACHE_LINESIZE.
29018 2012-10-03 Roland McGrath <roland@hack.frob.com>
29020 * sysdeps/unix/bsd/confstr.h: File removed.
29022 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29024 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29027 2012-10-02 Roland McGrath <roland@hack.frob.com>
29029 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29030 Make 'mapoff' field ElfW(Off) rather than off_t.
29032 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29034 * nscd/Makefile: Remove nscd-cflags and all its users.
29035 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29036 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29039 * malloc.c (malloc_printerr): Clarify error message.
29041 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29045 Set bit_FMA_Usable if FMA is supported.
29046 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29048 (bit_FMA4_Usable): Updated.
29049 (index_FMA_Usable): New macro.
29050 (CPUID_FMA): Likewise
29051 (HAS_FMA): Defined with bit_FMA_Usable.
29053 2012-10-01 Roland McGrath <roland@hack.frob.com>
29055 * bits/types.h (__swblk_t): Type removed.
29056 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29057 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29059 (__SWBLK_T_TYPE): Likewise.
29060 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29061 (__SWBLK_T_TYPE): Likewise.
29062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29063 (__SWBLK_T_TYPE): Likewise.
29064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29065 (__SWBLK_T_TYPE): Likewise.
29067 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29068 Honza Horak <hhorak@redhat.com>
29070 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29071 (xdr_mapname): Use YPMAXMAP as maxsize.
29072 (xdr_peername): Use YPMAXPEER as maxsize.
29073 (xdr_keydat): Use YPAXRECORD as maxsize.
29074 (xdr_valdat): Use YPMAXRECORD as maxsize.
29076 2012-10-01 Roland McGrath <roland@hack.frob.com>
29078 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29080 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29081 * csu/init-first.c: ... here.
29082 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29083 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29084 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29085 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29086 * sysdeps/i386/init-first.c: File removed.
29087 * sysdeps/sh/init-first.c: File removed.
29089 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29093 if x * y might underflow to zero and z is zero.
29094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29096 * math/libm-test.inc (min_subnorm_value): New variable.
29097 (fma_test): Add more tests.
29098 (fma_test_towardzero): Likewise.
29099 (fma_test_downward): Likewise
29100 (fma_test_upward): Likewise.
29101 (initialize): Set min_subnorm_value.
29103 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29108 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29109 mode for addition resulting in exact zero.
29110 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29113 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29114 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29115 * math/libm-test.inc (fma_test): Add more tests.
29116 (fma_test_towardzero): New function.
29117 (fma_test_downward): Likewise.
29118 (fma_test_upward): Likewise.
29119 (main): Call the new functions.
29121 2012-09-28 David S. Miller <davem@davemloft.net>
29123 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29125 2012-09-28 Roland McGrath <roland@hack.frob.com>
29127 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29128 instead of SIGALRM.
29130 * sysdeps/gnu/_G_config.h: Moved to ...
29131 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29132 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29133 * sysdeps/generic/_G_config.h: ... here.
29135 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29137 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29139 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29140 Conditionalize target on [libnss_test1.so-version].
29142 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29144 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29145 (elfobjdir): Move out of conditionals.
29147 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29148 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29149 (__nss_lookup_function): Conditionalize label remove_from_tree on
29150 [!DO_STATIC_NSS || SHARED], matching its only use.
29152 2012-09-28 David S. Miller <davem@davemloft.net>
29154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29155 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29157 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29159 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29161 when HWCAP_SPARC_CRYPTO is present.
29163 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29165 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29167 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29170 * stdio-common/vfprintf.c (process_string_arg): Revert
29173 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29175 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29177 * stdio-common/tst-sprintf.c: Include <locale.h>
29178 (main): Test sprintf's handling of incomplete multibyte
29181 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29183 * elf/dl-runtime.c (VERSYMIDX): Removed.
29184 * elf/dl-version.c (VERSYMIDX): Likewise.
29185 * elf/do-rel.h (VERSYMIDX): Likewise.
29186 (VALIDX): Likewise.
29187 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29188 * elf/rtld.c (VALIDX): Likewise.
29189 (ADDRIDX): Likewise.
29190 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29191 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29192 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29193 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29194 (VALIDX): Likewise.
29195 (ADDRIDX): Likewise.
29197 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29199 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29201 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29204 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29206 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29207 addresses are in the same scope as 192.0.2/24.
29208 * posix/gai.conf: Document new scope table defaults.
29210 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29213 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29214 for ftell. Compute offsets from write pointers instead.
29215 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29217 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29220 * libio/Makefile (tests): New test case tst-fseek.
29221 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29222 combination works in wide mode.
29223 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29224 state when the external buffer state changes.
29226 2012-09-27 David S. Miller <davem@davemloft.net>
29229 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29230 pass reloc->r_addend in as the 'high' argument to
29231 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29235 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29237 * rt/tst-aio2.c: Include <pthread.h>.
29238 * rt/tst-aio3.c: Likewise.
29240 2012-09-27 Steve Ellcey <sellcey@mips.com>
29242 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29244 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29246 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29247 contents on [SHARED].
29249 2012-09-26 Marek Polacek <polacek@redhat.com>
29253 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29254 for C++ and GCC <4.3 as well as for non GCC compilers.
29256 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29260 2012-09-25 Roland McGrath <roland@hack.frob.com>
29262 * Makefile.in (all, install): Declare with .PHONY.
29263 Reported by Michael Hope <michael.hope@linaro.org>.
29265 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29267 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29268 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29270 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29272 (sydep_routines): Add the new and the internal functions.
29273 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29274 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29276 (GLIBC_2.17): Add the new function.
29277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29278 (GLIBC_2.17): Likewise.
29279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29280 (GLIBC_2.17): Likewise.
29281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29282 (GLIBC_2.17): Likewise.
29283 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29285 2012-09-25 Alan Modra <amodra@gmail.com>
29287 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29288 Add release barrier before setting once_control to say
29289 initialisation is done. Add hints on lwarx. Use macro in
29291 (clear_once_control): Add release barrier.
29293 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29296 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29298 * math/s_clog10.c (__clog10): Likewise.
29299 * math/s_clog10f.c (__clog10f): Likewise.
29300 * math/s_clog10l.c (__clog10l): Likewise.
29301 * math/s_clogf.c (__clogf): Likewise.
29302 * math/s_clogl.c (__clogl): Likewise.
29303 * math/Makefile (libm-calls): Add x2y2m1.
29304 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29305 (__x2y2m1): Likewise.
29306 (__x2y2m1l): Likewise.
29307 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29308 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29310 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29311 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29312 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29313 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29314 * sysdeps/i386/fpu/libm-test-ulps: Update.
29315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29318 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29319 int as type of variable DEPTH.
29320 (glob): Use size_t instead of int as type of variables NEWCOUNT
29323 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29325 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29326 Add s_sincosf-sse2.
29327 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29328 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29329 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29330 macros for using routine as __sincosf_ia32.
29331 Use macro for function declaration and weak_alias.
29332 * sysdeps/i386/fpu/libm-test-ulps: Update.
29334 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29337 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29338 subnormal argument.
29339 * math/s_cexpf.c (__cexpf): Likewise.
29340 * math/s_csinf.c (__csinf): Likewise.
29341 * math/s_csinhf.c (__csinhf): Likewise.
29342 * math/s_ctanf.c (__ctanf): Likewise.
29343 * math/s_ctanhf.c (__ctanhf): Likewise.
29344 * math/s_ccosh.c (__ccoshf): Likewise.
29345 * math/s_cexp.c (__cexpl): Likewise.
29346 * math/s_csin.c (__csin): Likewise.
29347 * math/s_csinh.c (__csinh): Likewise.
29348 * math/s_ctan.c (__ctan): Likewise.
29349 * math/s_ctanh.c (ctanh): Likewise.
29350 * math/s_ccoshl.c (__ccoshl): Likewise.
29351 * math/s_cexpl.c (__cexpl): Likewise.
29352 * math/s_csinl.c (__csinl): Likewise.
29353 * math/s_csinhl.c (__csinhl): Likewise.
29354 * math/s_ctanl.c (__ctanl): Likewise.
29355 * math/s_ctanhl.c (__ctanhl): Likewise.
29357 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29359 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29360 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29361 (_IO_off_t): Define to __off_t, not _G_off_t.
29362 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29363 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29364 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29365 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29366 type of __dummy and __dummy2 fields.
29367 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29368 (_G_ssize_t): Likewise.
29369 (_G_off_t): Likewise.
29370 (_G_pid_t): Likewise.
29371 (_G_uid_t): Likewise.
29372 (_G_wchar_t): Likewise.
29373 (_G_wint_t): Likewise.
29374 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29375 (_G_ssize_t): Likewise.
29376 (_G_off_t): Likewise.
29377 (_G_pid_t): Likewise.
29378 (_G_uid_t): Likewise.
29379 (_G_wchar_t): Likewise.
29380 (_G_wint_t): Likewise.
29381 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29382 (_G_ssize_t): Likewise.
29383 (_G_off_t): Likewise.
29384 (_G_pid_t): Likewise.
29385 (_G_uid_t): Likewise.
29386 (_G_wchar_t): Likewise.
29387 (_G_wint_t): Likewise.
29389 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29391 * malloc/arena.c: Include malloc-sysdep.h.
29392 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29393 is sufficient to shrink the heap or an unmap is needed.
29394 * sysdeps/generic/malloc-sysdep.h: New file. Define
29395 new function check_may_shrink_heap.
29396 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29397 new function check_may_shrink_heap.
29399 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29401 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29404 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29406 * catgets/test-gencat.sh: Add "set -e".
29407 * elf/tst-pathopt.sh: Likewise.
29408 * grp/tst_fgetgrent.sh: Likewise.
29409 * iconvdata/run-iconv-test.sh: Likewise.
29410 * intl/tst-gettext.sh: Likewise.
29411 * intl/tst-gettext2.sh: Likewise.
29412 * intl/tst-gettext4.sh: Likewise.
29413 * intl/tst-gettext6.sh: Likewise.
29414 * intl/tst-translit.sh: Likewise.
29415 * io/ftwtest-sh: Likewise.
29416 * libio/test-freopen.sh: Likewise.
29417 * malloc/tst-mtrace.sh: Likewise.
29418 * posix/globtest.sh: Likewise.
29419 * posix/tst-getconf.sh: Likewise.
29420 * posix/wordexp-tst.sh: Likewise.
29421 * stdio-common/tst-printf.sh: Likewise.
29422 * stdio-common/tst-unbputc.sh: Likewise.
29423 * stdlib/tst-fmtmsg.sh: Likewise.
29424 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29425 * catgets/Makefile: Do not specify -e option when running
29426 testsuite shell scripts.
29427 * elf/Makefile: Likewise.
29428 * grp/Makefile: Likewise.
29429 * iconvdata/Makefile: Likewise.
29430 * intl/Makefile: Likewise.
29431 * io/Makefile: Likewise.
29432 * libio/Makefile: Likewise.
29433 * malloc/Makefile: Likewise.
29434 * posix/Makefile: Likewise.
29435 * stdio-common/Makefile: Likewise.
29436 * stdlib/Makefile: Likewise.
29437 * sysdeps/x86_64/Makefile: Likewise.
29439 * io/ftwtest-sh: Add copyright header.
29440 * posix/globtest.sh: Likewise.
29441 * posix/tst-getconf.sh: Likewise.
29442 * posix/wordexp-tst.sh: Likewise.
29443 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29445 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29448 * Makeconfig (+link): Defined as $(+link-static) if
29449 $(build-shared) isn't yes.
29450 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29452 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29454 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29457 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29458 new chunk size with MALLOC_ALIGN_MASK.
29460 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29463 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29465 (__printf_fphex): Determine rounding using get_rounding_mode and
29467 * stdio-common/tst-printf-round.c (struct hex_test): New
29469 (hex_tests): New variable.
29470 (test_hex_in_one_mode): New function.
29471 (do_test): Also run tests for hex float output.
29473 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29475 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29476 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29477 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29478 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29479 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29480 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29481 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29482 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29484 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29486 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29487 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29488 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29489 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29491 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29494 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29496 * elf/tst-rtld-load-self.sh: New test.
29497 * elf/Makefile: Run it.
29499 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29501 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29502 (tst-writev-ENV): Remove.
29503 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29505 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29507 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29509 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29511 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29513 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29515 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29516 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29517 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29520 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29523 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29524 * config.make.in (have-cpp-asm-debuginfo): Removed.
29525 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29526 * configure: Regenerated.
29528 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29531 * stdio-common/printf_fp.c: Include <stdbool.h> and
29533 (___printf_fp): Determine rounding using get_rounding_mode and
29535 * stdio-common/tst-printf-round.c: New file.
29536 * stdio-common/Makefile (tests): Add tst-printf-round.
29537 (link-libm): New variable.
29538 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29540 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29543 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29544 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29546 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29549 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29551 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29552 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29553 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29554 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29556 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29559 * include/rounding-mode.h: New file.
29560 * sysdeps/generic/get-rounding-mode.h: Likewise.
29561 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29562 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29563 (MAX_VALUE): New macro.
29564 (MIN_VALUE): Likewise.
29565 (overflow_value): New function.
29566 (underflow_value): Likewise.
29567 (round_and_return): Use overflow_value and underflow_value to
29568 determine return values in overflow and underflow cases. Use
29569 round_away to determine rounding depending on rounding mode.
29570 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29571 determine return values in overflow and underflow cases.
29572 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29573 (struct test_results): New structure.
29574 (struct test): Use struct test_results to store expected results
29575 for all rounding modes.
29576 (TEST): Include expected results for all rounding modes.
29577 (test_in_one_mode): New function.
29578 (do_test): Use test_in_one_mode to compute and check results.
29579 Check results for all rounding modes.
29580 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29583 2012-12-09 Allan McRae <allan@archlinux.org>
29585 * sysdeps/i386/fpu/libm-test-ulps: Update
29587 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29589 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29590 (_G_int32_t): Likewise.
29591 (_G_uint16_t): Likewise.
29592 (_G_uint32_t): Likewise.
29593 (_G_HAVE_BOOL): Likewise.
29594 (_G_HAVE_ATEXIT): Likewise.
29595 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29596 (_G_HAVE_IO_FILE_OPEN): Likewise.
29597 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29598 (_G_int32_t): Likewise.
29599 (_G_uint16_t): Likewise.
29600 (_G_uint32_t): Likewise.
29601 (_G_HAVE_BOOL): Likewise.
29602 (_G_HAVE_ATEXIT): Likewise.
29603 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29604 (_G_HAVE_IO_FILE_OPEN): Likewise.
29605 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29606 (_G_int32_t): Likewise.
29607 (_G_uint16_t): Likewise.
29608 (_G_uint32_t): Likewise.
29609 (_G_HAVE_BOOL): Likewise.
29610 (_G_HAVE_ATEXIT): Likewise.
29611 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29612 (_G_HAVE_IO_FILE_OPEN): Likewise.
29614 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29616 * csu/libc-tls.c: Update copyright years.
29618 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29620 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29621 [!_G_USING_THUNKS]: Remove conditional code.
29622 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29623 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29625 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29626 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29627 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29628 (_G_VTABLE_LABEL_PREFIX): Likewise.
29629 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29630 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29631 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29632 (_G_VTABLE_LABEL_PREFIX): Likewise.
29633 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29634 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29635 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29636 (_G_VTABLE_LABEL_PREFIX): Likewise.
29637 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29639 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29641 * libio/Makefile: Include ../Makeconfig before tests.
29642 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29643 only if $(build-shared) is yes.
29645 * iconv/gconv_db.c: Update copyright years.
29647 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29649 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29650 unwind info if defined PIC. Fix special cases description.
29651 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29653 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29655 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29657 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29659 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29661 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29664 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29665 (LDLIBS-tst-chk4): This.
29666 (LDFLAGS-tst-chk5): Renamed to ...
29667 (LDLIBS-tst-chk5): This.
29668 (LDFLAGS-tst-chk6): Renamed to ...
29669 (LDLIBS-tst-chk6): This.
29670 (LDFLAGS-tst-lfschk4): Renamed to ...
29671 (LDLIBS-tst-lfschk4): This.
29672 (LDFLAGS-tst-lfschk5): Renamed to ...
29673 (LDLIBS-tst-lfschk5): This.
29674 (LDFLAGS-tst-lfschk6): Renamed to ...
29675 (LDLIBS-tst-lfschk6): This.
29677 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29678 on $(common-objpfx)soversions.mk.
29680 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29683 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29686 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29688 * malloc/arena.c (arena_get_retry): New function that gets
29689 another arena for the caller to try its request on.
29690 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29691 current arena cannot fulfill the request.
29692 (__libc_memalign): Likewise.
29693 (__libc_memalign): Likewise.
29694 (__libc_pvalloc): Likewise.
29695 (__libc_calloc): Likewise.
29697 2012-09-05 John Tobey <john.tobey@gmail.com>
29700 * manual/arith.texi (Operations on Complex): Fix description
29701 of carg branch cut.
29703 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29706 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29710 * manual/memory.texi (Memory): Make order of menu items match
29713 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29715 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29716 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29717 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29719 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29721 * csu/libc-tls.c (static_dtv): Renamed to ...
29722 (_dl_static_dtv): This. Make it global.
29723 (_dl_initial_dtv): Removed.
29724 (__libc_setup_tls): Updated.
29725 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29726 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29729 2012-09-06 Petr Machata <pmachata@redhat.com>
29731 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29732 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29733 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29734 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29736 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29739 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29740 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29743 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29746 * Makeconfig (link-static-before-libc): Replace $(+prector)
29748 (link-static-after-libc): Replace $(+postctor) with
29750 (link-bounded): Replace $(+prector)/$(+postctor) with
29751 $(+prectorT)/$(+postctorT).
29752 (+prectorT): New macro.
29753 (+postctorT): Likewise.
29755 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29757 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29758 (round_str): Handle values above the maximum for IBM long double
29760 * stdlib/tst-strtod-round.c (tests): Regenerated.
29762 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29764 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29766 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29767 zarch_nohighgprs around the zarch optimized routines.
29768 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29769 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29770 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29773 2012-09-05 David S. Miller <davem@davemloft.net>
29775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29777 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29778 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29779 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29780 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29783 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29785 * malloc/arena.c: Fold copyright years.
29786 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29788 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29790 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29792 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29794 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29796 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29798 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29799 change internal state upon failure.
29801 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29803 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29804 * malloc/memusage.c (mmap): Likewise.
29805 (mmap64, mremap): Likewise. Adjust name in comment.
29807 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29809 * libio/fileops.c: Fix typos in comments.
29810 * libio/oldfileops.c: Likewise.
29811 * libio/wfileops.c: Likewise.
29813 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29816 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29817 (tst-malloc-usable-ENV): Set environment for test case.
29818 * malloc/hooks.c (malloc_check_get_size): New function to get
29820 * malloc/malloc.c (musable): Use malloc_check_get_size.
29821 * malloc/tst-malloc-usable.c: New test case.
29823 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29825 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29827 2012-09-05 Allan McRae <allan@archlinux.org>
29830 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29831 determine header location.
29832 * configure: Regenerated.
29834 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29836 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29838 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29839 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29841 (test): Regenerate.
29843 2012-09-04 David S. Miller <davem@davemloft.net>
29845 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29846 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29847 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29849 2012-09-04 Florian Weimer <fweimer@redhat.com>
29851 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29854 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29856 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29859 * libio/iogetdelim.c: Include <limits.h>.
29860 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29861 + len + 1 would overflow.
29863 2012-09-03 Andreas Jaeger <aj@suse.de>
29865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29866 * sysdeps/i386/fpu/libm-test-ulps: Update.
29868 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29870 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29871 Add s_sinf-sse2, s_conf-sse2.
29873 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29874 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29875 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29876 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29878 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29879 for using routine as __sinf_ia32.
29880 Use macro for function declaration and weak_alias.
29881 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29882 for using routine as __cosf_ia32.
29883 Use macro for function declaration and weak_alias.
29885 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29886 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29888 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29889 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29892 * math/libm-test.inc (cos_test): Add more test cases.
29893 (sin_test): Likewise.
29894 (sincos_test): Likewise.
29896 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29898 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29899 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29901 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29903 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29906 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29907 first element of the GOT.
29908 (elf_machine_load_address): Return the difference between
29909 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29911 2012-09-01 Allan McRae <allan@archlinux.org>
29914 * configure.in (AWK): Require gawk version 3.0 or later.
29915 * configure: Regenerated.
29917 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29919 * sysdeps/unix/sysv/linux/kernel-features.h
29920 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29921 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29922 [__NR_clock_getres]: Make code unconditional.
29923 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29924 (clock_getcpuclockid): Remove code left unreachable by removal of
29926 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29927 code unconditional.
29928 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29929 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29930 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29931 Make code unconditional.
29932 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29933 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29934 * sysdeps/unix/sysv/linux/clock_settime.c
29935 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29937 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29938 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29940 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29943 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29944 scripts/test-installation.pl.
29946 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29947 and $ld_so_version if it is set.
29949 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29952 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29953 failure if reading from procfs failed.
29954 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29956 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29958 * sysdeps/unix/sysv/linux/kernel-features.h
29959 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29960 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29961 Remove conditional code.
29962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29963 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29964 Remove conditional code.
29965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29966 * sysdeps/unix/sysv/linux/i386/fxstat.c
29967 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29969 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29970 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29972 * sysdeps/unix/sysv/linux/i386/lxstat.c
29973 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29974 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29975 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29976 Remove conditional code.
29977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29978 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29979 Remove conditional code.
29980 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29981 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29982 <kernel-features.h>.
29983 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29985 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29986 Remove conditional code.
29987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29988 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29989 Remove conditional.
29991 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29994 * NEWS: Add fixed bug number.
29996 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29999 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30000 underflowing exponent in case of negative sign.
30001 * stdlib/tst-strtod-round-data: Add more tests.
30002 * stdlib/tst-strtod-round.c (tests): Regenerated.
30005 * stdlib/strtod_l.c (NDIG): Remove.
30006 (HEXNDIG): Likewise.
30007 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30008 smallest representable value.
30009 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30010 lie within an exact representation of 1/2 ulp of the result.
30011 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30013 (TENS_P9_IDX): Define unconditionally.
30014 (TENS_P9_SIZE): Likewise.
30015 (TENS_P10_IDX): Likewise.
30016 (TENS_P10_SIZE): Likewise.
30017 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30018 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30019 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30020 entries for 10^2^13 and 10^2^14.
30021 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30022 (TENS_P13_IDX): Define.
30023 (TENS_P13_SIZE): Likewise.
30024 (TENS_P14_IDX): Likewise.
30025 (TENS_P14_SIZE): Likewise.
30026 (_fpioconst_pow10): Change array size to
30027 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30029 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30030 1024]: Add entries for 10^2^13 and 10^2^14.
30031 [LAST_POW10 > _LAST_POW10]: Remove #error.
30032 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30033 (_fpioconst_pow10): Change array size to
30034 FPIOCONST_POW10_ARRAY_SIZE.
30035 * stdlib/gen-fpioconst.c: New file.
30036 * stdlib/gen-tst-strtod-round.c: Likewise.
30037 * stdlib/tst-strtod-round-data: Likewise.
30038 * stdlib/tst-strtod-round.c: Likewise.
30039 * stdlib/Makefile (tests): Add tst-strtod-round.
30042 * stdlib/strtod_l.c: Include <stdint.h>.
30043 (NDEBUG): Do not define.
30044 (round_and_return): Change EXPONENT parameter to type intmax_t.
30045 Rearrange calculations to avoid internal overflow possibilities.
30046 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30047 Rearrange calculations to avoid internal overflow possibilities.
30048 Assert that number fits inside MPNSIZE limbs.
30049 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30050 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30051 calculations and add assertions to avoid internal overflow
30052 possibilities. Add casts to avoid signed/unsigned operations.
30053 * stdlib/tst-strtod-overflow.c: New file.
30054 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30056 2012-08-25 Marek Polacek <polacek@redhat.com>
30058 * time/time.h: Fix some typos in comments.
30060 2012-08-23 Roland McGrath <roland@hack.frob.com>
30062 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30063 * posix/tst-rfc3484-2.c: Likewise.
30064 * posix/tst-rfc3484-3.c: Likewise.
30066 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30068 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30069 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30071 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30073 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30074 #include of fxstatat64.c.
30076 2012-08-22 Roland McGrath <roland@hack.frob.com>
30078 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30079 * shadow/getspent_r.c: Likewise.
30080 * shadow/getspnam.c: Likewise.
30081 * shadow/getspnam_r.c: Likewise.
30082 * gshadow/getsgent.c: Likewise.
30083 * gshadow/getsgent_r.c: Likewise.
30084 * gshadow/getsgnam.c: Likewise.
30085 * gshadow/getsgnam_r.c: Likewise.
30086 * inet/getnetbyad.c: Likewise.
30087 * inet/getnetbyad_r.c: Likewise.
30088 * inet/getnetbynm.c: Likewise.
30089 * inet/getnetbynm_r.c: Likewise.
30090 * inet/getnetent.c: Likewise.
30091 * inet/getnetent_r.c: Likewise.
30092 * inet/getproto.c: Likewise.
30093 * inet/getproto_r.c: Likewise.
30094 * inet/getprtent.c: Likewise.
30095 * inet/getprtent_r.c: Likewise.
30096 * inet/getprtname.c: Likewise.
30097 * inet/getprtname_r.c: Likewise.
30098 * inet/getrpcbyname.c: Likewise.
30099 * inet/getrpcbyname_r.c: Likewise.
30100 * inet/getrpcbynumber.c: Likewise.
30101 * inet/getrpcbynumber_r.c: Likewise.
30102 * inet/getrpcent.c: Likewise.
30103 * inet/getrpcent_r.c: Likewise.
30104 * inet/getaliasent.c: Likewise.
30105 * inet/getaliasent_r.c: Likewise.
30106 * inet/getaliasname.c: Likewise.
30107 * inet/getaliasname_r.c: Likewise.
30108 * nscd/getgrgid_r.c: Likewise.
30109 * nscd/getgrnam_r.c: Likewise.
30110 * nscd/gethstbyad_r.c: Likewise.
30111 * nscd/gethstbynm3_r.c: Likewise.
30112 * nscd/getpwnam_r.c: Likewise.
30113 * nscd/getpwuid_r.c: Likewise.
30114 * nscd/getsrvbynm_r.c: Likewise.
30115 * nscd/getsrvbypt_r.c: Likewise.
30116 * nscd/gai.c: Likewise.
30118 * configure.in (build_nscd): New substituted variable, set
30119 by --disable-build-nscd and defaults to $use_nscd.
30120 * configure: Regenerated.
30121 * config.make.in (build-nscd): New substituted variable.
30122 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30123 Change conditional to require [$(build-nscd) = yes] as well.
30124 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30127 * configure.in (use_nscd): New substituted variable, set by
30128 --disable-nscd. If enabled, define USE_NSCD.
30129 * configure: Regenerated.
30130 * config.h.in: Add USE_NSCD.
30131 * config.make.in (use-nscd): New substituted variable.
30132 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30133 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30134 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30135 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30136 (CFLAGS-getgrnam_r.c): Likewise.
30137 (CFLAGS-initgroups.c): Likewise.
30138 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30139 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30141 * inet/getnetgrent_r.c
30142 (nscd_setnetgrent): New function, broken out of ...
30143 (setnetgrent): ... here. Call it.
30144 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30145 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30146 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30147 * nscd/Makefile (routines, aux): Move definitions after include of
30148 Makeconfig. Conditionalize on [$(use-nscd) != no].
30149 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30150 Conditionalize on [USE_NSCD].
30151 (is_nscd, nscd_init_cb): Likewise.
30152 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30153 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30154 * nss/nss_db/db-init.c: Likewise.
30155 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30157 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30158 (make_request): Use it.
30159 (cache_valid_p): New function.
30160 (__check_pf): Use it.
30161 * NEWS: Add item for --disable-nscd.
30163 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30165 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30166 to support sed >= 4.2.1-20-ga9bf076.
30167 * configure: Regenerated.
30169 2012-08-22 Roland McGrath <roland@hack.frob.com>
30171 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30172 Conditionalize whole body on [IREL].
30174 2012-08-22 Jeff Law <law@redhat.com>
30177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30178 if the family is PF_UNSPEC.
30180 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30182 * Makerules (lib-version): Rename from V.
30183 (install-lib-nosubdir): Change V to lib-version.
30185 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30188 * powerpc32/power6/wcschr.c: New file.
30189 * powerpc32/power6/wcscpy.c: New file.
30190 * powerpc32/power6/wcsrchr.c: New file.
30191 * powerpc64/power6/wcschr.c: New file.
30192 * powerpc64/power6/wcscpy.c: New file.
30193 * powerpc64/power6/wcsrchr.c: New file.
30195 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30197 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30198 (two_way_short_needle): Use it.
30199 * string/strstr.c (AVAILABLE1_USES_J): Define.
30200 * string/strcasestr.c: Likewise.
30202 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30204 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30207 * NEWS: Add an entry.
30208 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30209 define their defaults.
30210 (two_way_short_needle): Detect end-of-string on-the-fly.
30211 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30212 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30213 * string/bug-strcasestr1.c: New test.
30214 * string/Makefile: Run it.
30216 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30219 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30220 the first character.
30222 2012-08-21 Roland McGrath <roland@hack.frob.com>
30224 * csu/elf-init.c (__libc_csu_irel): Function removed.
30225 * csu/libc-start.c (apply_irel): New function.
30226 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30228 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30230 * sysdeps/unix/sysv/linux/kernel-features.h
30231 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30232 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30233 <kernel-features.h>.
30234 [__NR_fadvise64_64]: Make code unconditional.
30235 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30236 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30237 !__NR_fadvise64_64)]: Likewise.
30238 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30239 !__NR_fadvise64_64))]: Likewise.
30240 [__NR_fadvise64]: Make code unconditional.
30241 [!__NR_fadvise64]: Remove conditional code.
30242 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30243 <kernel-features.h>.
30244 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30246 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30249 not include <kernel-features.h>.
30250 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30252 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30254 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30255 include <kernel-features.h>.
30256 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30258 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30261 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30263 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30264 slight instruction rearrangements per scrollpipe analysis.
30265 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30267 2012-08-20 Roland McGrath <roland@hack.frob.com>
30269 * manual/syslog.texi (syslog; vsyslog, closelog):
30270 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30271 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30273 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30274 DSOCAPS to match condition on defining it.
30276 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30278 * sysdeps/unix/sysv/linux/kernel-features.h
30279 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30281 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30282 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30284 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30285 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30287 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30288 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30290 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30291 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30293 * sysdeps/unix/sysv/linux/kernel-features.h
30294 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30295 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30297 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30298 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30299 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30300 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30301 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30302 Make code unconditional.
30303 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30304 (__mmap64) [!__NR_mmap2]: Likewise.
30305 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30306 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30307 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30308 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30309 [__NR_mmap2]: Make code unconditional.
30310 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30311 (__mmap64) [!__NR_mmap2]: Likewise.
30313 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30315 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30317 2012-08-18 Andreas Jaeger <aj@suse.de>
30319 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30321 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30323 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30324 * include/unistd.h (__have_sock_cloexec): Likewise.
30325 (__have_pipe2): Likewise.
30326 (__have_dup3): Likewise.
30328 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30331 * include/unistd.h (__have_pipe2): Change define into an extern int.
30332 (__have_dup3): Likewise.
30333 * socket/have_sock_cloexec.c: Include fcntl.h.
30334 (__have_pipe2): New variable.
30335 (__have_dup3): Likewise.
30337 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30339 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30341 2012-08-17 Marek Polacek <polacek@redhat.com>
30343 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30344 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30346 2012-08-17 Roland McGrath <roland@hack.frob.com>
30348 * configure.in: Add AC_SUBST for sysheaders.
30349 * configure: Regenerated.
30350 * config.make.in (sysheaders): New substituted variable.
30352 * sysdeps/unix/mkfifo.c: Moved ...
30353 * sysdeps/posix/mkfifo.c: ... here.
30354 * sysdeps/unix/mkfifoat.c: Moved ...
30355 * sysdeps/posix/mkfifoat.c: ... here.
30357 * sysdeps/unix/utime.c: Moved ...
30358 * sysdeps/posix/utime.c: ... here.
30360 * sysdeps/unix/time.c: Moved ...
30361 * sysdeps/posix/time.c: ... here.
30362 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30363 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30365 * sysdeps/unix/nice.c: Moved ...
30366 * sysdeps/posix/nice.c: ... here.
30368 * sysdeps/unix/alarm.c: Moved ...
30369 * sysdeps/posix/alarm.c: ... here.
30371 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30373 2012-08-17 Jeff Law <law@redhat.com>
30375 * intl/Makefile (codeset_mo): New variable.
30376 ($(codeset_mo)): New target.
30377 (tst-codeset.out): Depend on that. Remove explicit rule.
30378 (tst-gettext3.out, tst-gettext5.out): Likewise.
30379 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30380 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30381 * intl/tst-codeset.sh: Remove.
30382 * intl/tst-gettext3.sh: Likewise.
30383 * intl/tst-gettext5.sh: Likewise.
30385 2012-08-17 Roland McGrath <roland@hack.frob.com>
30387 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30388 * sysdeps/unix/syscalls.list: ... here.
30390 * sysdeps/posix/getaddrinfo.c
30391 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30392 (gaiconf_init, gaiconf_reload): Use them.
30393 [!_STATBUF_ST_NSEC]
30394 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30395 Define using time_t rather than struct timespec.
30397 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30398 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30400 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30402 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30403 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30406 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30407 __libc_cleanup_push argument.
30409 * bits/param.h: New file.
30410 * misc/sys/param.h: New file.
30411 * include/sys/param.h: New file.
30412 * misc/Makefile (headers): Add bits/param.h.
30413 * sysdeps/generic/sys/param.h: File removed.
30414 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30415 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30416 * sysdeps/mach/hurd/bits/param.h: New file.
30417 * sysdeps/mach/hurd/sys/param.h: File removed.
30419 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30422 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30424 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30425 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30428 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30429 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30430 rather than -D_IO_MTSAFE_IO conditionally.
30431 * stdio-common/Makefile (CPPFLAGS): Likewise.
30432 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30433 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30434 Use $(libio-mtsafe).
30435 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30436 of -D_IO_MTSAFE_IO.
30437 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30438 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30439 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30440 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30441 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30442 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30443 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30444 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30445 (CFLAGS-fread_u_chk.c): Likewise.
30446 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30447 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30448 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30449 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30450 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30451 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30452 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30453 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30454 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30456 * libio/Makefile: Test [$(libc-reentrant) = yes]
30457 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30460 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30461 * sysdeps/pthread/configure: File removed.
30462 * sysdeps/pthread/Makeconfig: New file.
30463 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30464 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30466 2012-08-16 Gary Benson <gbenson@redhat.com>
30468 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30469 unmapping the first object in a namespace.
30471 2012-08-16 Roland McGrath <roland@hack.frob.com>
30473 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30474 (__internal_setnetgrent): ... this. Add internal_function to
30475 definition. Add libc_hidden_def.
30476 (setnetgrent): Update caller.
30477 (internal_endnetgrent): Renamed to ...
30478 (__internal_endnetgrent): ... this. Add internal_function to
30479 definition. Add libc_hidden_def.
30480 (endnetgrent): Update caller.
30481 (internal_getnetgrent_r): Renamed to ...
30482 (__internal_getnetgrent_r): ... this. Add internal_function to
30483 definition. Add libc_hidden_def.
30484 (__getnetgrent_r): Update caller.
30485 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30487 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30489 * stdlib/longlong.h: Update from GCC.
30491 2012-08-16 Roland McGrath <roland@hack.frob.com>
30493 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30494 on _QL, which is set by umul_ppmm but never used.
30495 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30496 variables, which are set by GMP macros but never used.
30497 * stdio-common/_itowa.c (_itowa): Likewise.
30498 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30499 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30501 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30503 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30504 struct La_sh_regs is not constant.
30505 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30506 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30507 and struct La_sparc64_regs are not constant.
30509 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30511 * sysdeps/unix/sysv/linux/kernel-features.h
30512 (__ASSUME_POSIX_TIMERS): Remove.
30513 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30515 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30516 Make code unconditional.
30517 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30518 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30519 Make code unconditional.
30520 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30521 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30522 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30523 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30524 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30525 Make code unconditional.
30526 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30527 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30528 (__libc_missing_posix_timers): Remove.
30530 2012-08-15 Roland McGrath <roland@hack.frob.com>
30532 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30533 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30535 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30537 * elf/dl-sym.c: Include <stdlib.h>.
30539 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30540 constants, which avoids warnings in 32-bit builds.
30542 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30543 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30545 * misc/lseek.c: File moved to ...
30546 * io/lseek.c: ... here.
30548 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30550 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30551 shifting LEN more than 31 bits at once.
30553 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30556 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30557 segmentation fault for a case of two empty input strings.
30558 * string/test-strncasecmp.c (check1): Renamed to...
30559 (bz12205): ...this.
30560 (bz14195): Add new testcase for two empty input strings and N > 0.
30561 (test_main): Call new testcase, adapt for renamed function.
30563 2012-08-15 Andreas Jaeger <aj@suse.de>
30566 * crypt/md5test2.c: New test, based on test supplied by Serge
30567 Belyshev <belyshev@depni.sinp.msu.ru>.
30568 * crypt/Makefile (xtests): Add md5test-giant..
30569 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30571 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30574 * crypt/md5.c (md5_process_block): Don't assume the buffer
30575 length is less than 2**32.
30576 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30577 length is less than 2**64.
30579 2012-08-15 Roland McGrath <roland@hack.frob.com>
30581 * string/str-two-way.h: Include <sys/param.h>.
30582 (MAX): Macro removed.
30584 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30585 Move #define and #undef of memmove to just before and after
30586 including <string.h>.
30588 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30589 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30590 and after including <string.h>. Move declarations of
30591 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30592 to before #include "string/memmove.c".
30594 * include/dirent.h: Declare __getdirentries.
30596 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30597 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30599 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30601 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30602 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30603 * sysdeps/i386/configure: Regenerated.
30604 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30605 STABS_CURRENT_FILE, and STABS_FUN.
30606 (END): Remove call to STABS_FUN_END.
30607 (STABS_CURRENT_FILE1): Delete.
30608 (STABS_CURRENT_FILE): Likewise.
30609 (STABS_FUN): Likewise.
30610 (STABS_FUN_END): Likewise.
30611 (STABS_FUN2): Likewise.
30612 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30613 * sysdeps/x86_64/configure: Regenerated.
30615 2012-08-14 Roland McGrath <roland@hack.frob.com>
30617 * elf/dl-open.c: Include <atomic.h>.
30618 * elf/dl-lookup.c: Likewise.
30620 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30622 * sysdeps/unix/sysv/linux/kernel-features.h
30623 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30624 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30626 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30628 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30629 condition on __ASSUME_CLONE_THREAD_FLAGS.
30631 2012-08-14 Andreas Jaeger <aj@suse.de>
30633 * sysdeps/i386/fpu/libm-test-ulps: Update.
30635 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30637 * include/atomic.h (atomic_exchange_and_add): Split into ...
30638 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30641 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30645 2012-08-13 Jeff Law <law@redhat.com>
30647 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30648 null byte in the output string.
30650 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30652 * sysdeps/unix/sysv/linux/kernel-features.h
30653 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30654 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30655 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30656 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30657 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30658 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30659 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30661 2012-08-09 Jeff Law <law@redhat.com>
30664 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30665 When avoid_arena is set, don't retry in the that arena. Pick the
30666 next one, whatever it might be.
30667 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30668 (arena_lock): Pass in new parameter to arena_get2.
30669 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30671 (__libc_malloc): Unify retrying after main arena failure with
30672 __libc_memalign version.
30673 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30675 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30678 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30679 to __redirect_strstr.
30680 (__strstr_sse42): Use typeof __redirect_strstr.
30681 (__strstr_ia32): Likewise.
30682 (__libc_strstr): New prototype.
30683 (strstr): Renamed to ...
30684 (__libc_strstr): This.
30685 (strstr): New strong alias of __libc_strstr.
30686 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30687 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30690 (__libc_time): New prototype.
30691 (time_ifunc): Replace time with __libc_time.
30692 (time): New strong alias and hidden definition of __libc_time.
30693 (__GI_time): Remove strong alias.
30694 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30695 Include <stddef.h>.
30696 (memmove): Redefined to __redirect_memmove.
30697 (__memmove_sse2): Use typeof __redirect_memmove.
30698 (__memmove_ssse3): Likewise.
30699 (__memmove_ssse3_back): Likewise.
30700 (__libc_memmove): New prototype.
30701 (memmove): Renamed to ...
30702 (__libc_memmove): This.
30703 (memmove): New strong alias of __libc_memmove.
30705 2012-08-08 Mark Salter <msalter@redhat.com>
30708 (R_MN10300_TLS_GD): Define.
30709 (R_MN10300_TLS_LD): Likewise.
30710 (R_MN10300_TLS_LDO): Likewise.
30711 (R_MN10300_TLS_GOTIE): Likewise.
30712 (R_MN10300_TLS_IE): Likewise.
30713 (R_MN10300_TLS_LE): Likewise.
30714 (R_MN10300_TLS_DTPMOD): Likewise.
30715 (R_MN10300_TLS_DTPOFF): Likewise.
30716 (R_MN10300_TLS_TPOFF): Likewise.
30717 (R_MN10300_SYM_DIFF): Likewise.
30718 (R_MN10300_ALIGN): Likewise.
30719 (R_MN10300_NUM): Update.
30721 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30723 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30726 2012-08-08 Roland McGrath <roland@hack.frob.com>
30728 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30730 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30731 sysdeps/unix -> sysdeps/posix move.
30732 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30734 2012-08-07 Allan McRae <allan@archlinux.org>
30737 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30738 (SUNOS_CPP): Likewise.
30739 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30741 (open_input): Call CPP using execvp.
30743 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30745 * sysdeps/unix/sysv/linux/kernel-features.h
30746 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30747 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30748 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30749 (__ASSUME_WAITID_SYSCALL): Likewise.
30750 * sysdeps/unix/sysv/linux/dl-execstack.c
30751 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30752 code unconditional.
30753 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30755 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30756 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30757 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30759 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30761 [__ASSUME_WAITID_SYSCALL]: Likewise.
30762 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30764 2012-08-07 Roland McGrath <roland@hack.frob.com>
30766 * sysdeps/unix/closedir.c: Renamed to ...
30767 * sysdeps/posix/closedir.c: ... here.
30768 * sysdeps/unix/dirfd.c: Renamed to ...
30769 * sysdeps/posix/dirfd.c: ... here.
30770 * sysdeps/unix/dirstream.h: Renamed to ...
30771 * sysdeps/posix/dirstream.h: ... here.
30772 * sysdeps/unix/fdopendir.c: Renamed to ...
30773 * sysdeps/posix/fdopendir.c: ... here.
30774 * sysdeps/unix/opendir.c: Renamed to ...
30775 * sysdeps/posix/opendir.c: ... here.
30776 * sysdeps/unix/readdir.c: Renamed to ...
30777 * sysdeps/posix/readdir.c: ... here.
30778 * sysdeps/unix/readdir_r.c: Renamed to ...
30779 * sysdeps/posix/readdir_r.c: ... here.
30780 * sysdeps/unix/rewinddir.c: Renamed to ...
30781 * sysdeps/posix/rewinddir.c: ... here.
30782 * sysdeps/unix/seekdir.c: Renamed to ...
30783 * sysdeps/posix/seekdir.c: ... here.
30784 * sysdeps/unix/telldir.c: Renamed to ...
30785 * sysdeps/posix/telldir.c: ... here.
30786 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30787 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30788 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30789 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30791 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30792 * bits/fcntl.h: ... here.
30794 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30796 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30797 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30798 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30799 (struct flock): Move l_start, l_len to the beginning.
30800 Use __pid_t for l_pid.
30801 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30802 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30803 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30804 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30805 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30806 [__USE_LARGEFILE64] (struct flock64): New type.
30807 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30809 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30810 * bits/dirent.h: ... here.
30812 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30813 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30815 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30817 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30818 Change from 2.6.0 to 2.6.16.
30819 * sysdeps/unix/sysv/linux/configure: Regenerated.
30820 * sysdeps/unix/sysv/linux/kernel-features.h
30821 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30822 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30824 (__ASSUME_UTIMES): Likewise.
30825 (__ASSUME_CLONE_STOPPED): Remove.
30826 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30827 architectures, not kernel version.
30828 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30829 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30830 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30831 (__ASSUME_WAITID_SYSCALL): Likewise.
30832 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30833 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30834 * README: State 2.6.16 as minimum Linux kernel version. Do not
30835 refer to older versions.
30837 2012-08-06 Roland McGrath <roland@hack.frob.com>
30839 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30840 Define alphasort64 as an alias.
30841 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30842 Define versionsort64 as an alias.
30843 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30844 Define scandir64 as an alias.
30845 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30846 Define scandirat64 as an alias.
30847 * dirent/alphasort64.c (alphasort64):
30848 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30849 * dirent/versionsort64.c: Likewise.
30850 * dirent/scandir64.c: Likewise.
30851 * dirent/scandirat64.c: Likewise.
30852 * sysdeps/wordsize-64/alphasort.c: File removed.
30853 * sysdeps/wordsize-64/alphasort64.c: File removed.
30854 * sysdeps/wordsize-64/scandir.c: File removed.
30855 * sysdeps/wordsize-64/scandir64.c: File removed.
30856 * sysdeps/wordsize-64/scandirat.c: File removed.
30857 * sysdeps/wordsize-64/scandirat64.c: File removed.
30858 * sysdeps/wordsize-64/versionsort.c: File removed.
30859 * sysdeps/wordsize-64/versionsort64.c: File removed.
30860 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30862 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30863 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30864 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30865 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30866 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30867 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30869 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30871 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30873 [defined __arch64__ || defined __sparcv9]
30874 (__INO_T_MATCHES_INO64_T): New macro.
30875 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30876 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30877 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30878 * sysdeps/unix/sysv/linux/bits/dirent.h
30879 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30880 (_DIRENT_MATCHES_DIRENT64): New macro.
30882 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30883 Define lockf64 as an alias.
30884 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30885 Define fseeko64 as an alias.
30886 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30887 Define ftello64 as an alias.
30888 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30889 Define _IO_fgetpos64 and fgetpos64 as aliases.
30890 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30891 Define _IO_fsetpos64 and fsetpos64 as aliases.
30892 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30893 Conditionalize body on this.
30894 * libio/fseeko64.c: Likewise.
30895 * libio/ftello64.c: Likewise.
30896 * libio/iofgetpos64.c: Likewise.
30897 * libio/iofsetpos64.c: Likewise.
30898 * sysdeps/wordsize-64/lockf.c: File removed.
30899 * sysdeps/wordsize-64/lockf64.c: File removed.
30900 * sysdeps/wordsize-64/fseeko.c: File removed.
30901 * sysdeps/wordsize-64/fseeko64.c: File removed.
30902 * sysdeps/wordsize-64/ftello.c: File removed.
30903 * sysdeps/wordsize-64/ftello64.c: File removed.
30904 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30905 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30906 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30907 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30908 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30909 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30910 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30911 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30912 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30913 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30914 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30915 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30916 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30917 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30919 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30921 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30923 [defined __arch64__ || defined __sparcv9]
30924 (__OFF_T_MATCHES_OFF64_T): New macro.
30925 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30926 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30928 (__OFF_T_MATCHES_OFF64_T): New macro.
30930 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30932 * stdlib/secure-getenv.c (__secure_getenv): Replace
30933 GLIBC_2_16 with GLIBC_2_17.
30935 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30937 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30938 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30940 2012-08-03 David S. Miller <davem@davemloft.net>
30942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30944 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30946 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30948 (__ASSUME_CORRECT_SI_PID): Likewise.
30949 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30950 (__ASSUME_TMPFS_NAME): Likewise.
30951 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30952 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30953 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30954 (HAVE_AUX_SECURE): Make definition unconditional.
30955 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30956 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30958 2012-08-03 Roland McGrath <roland@hack.frob.com>
30960 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30961 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30962 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30963 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30964 __eloop_threshold instead of SYMLOOP_MAX.
30966 * sysdeps/generic/eloop-threshold.h: New file.
30967 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30969 * elf/chroot_canon.c (chroot_canon): Likewise.
30971 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30974 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30975 Change to 2.6.0 everywhere.
30976 * sysdeps/unix/sysv/linux/configure: Regenerated.
30977 * sysdeps/unix/sysv/linux/kernel-features.h
30978 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30979 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30981 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30982 (__ASSUME_FUTEX_REQUEUE): Remove.
30983 (__ASSUME_STATFS64): Define unconditionally.
30984 (__ASSUME_AT_SECURE): Likewise.
30985 (__ASSUME_CORRECT_SI_PID): Likewise.
30986 (__ASSUME_TGKILL): Define without depending on kernel version for
30988 (__ASSUME_UTIMES): Likewise.
30989 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30991 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30992 (__ASSUME_TMPFS_NAME): Likewise.
30993 * README: Update reference to Linux kernel versions.
30995 2012-08-02 Marek Polacek <polacek@redhat.com>
30998 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30999 libc_cv_asm_type_prefix with %.
31000 * configure: Regenerated.
31001 * include/libc-symbols.h: Remove comment about
31002 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31003 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31004 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31005 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31006 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31007 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31008 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31009 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31010 * elf/tst-unique2mod1.c: Likewise.
31011 * elf/tst-unique1mod2.c: Likewise.
31012 * elf/tst-unique1mod1.c: Likewise.
31013 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31014 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31015 Replace ASM_TYPE_DIRECTIVE with .type.
31016 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31017 * sysdeps/i386/sysdep.h: Likewise.
31018 * sysdeps/x86_64/sysdep.h: Likewise.
31019 * sysdeps/sh/sysdep.h: Likewise.
31020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31021 Do not define ASM_TYPE_DIRECTIVE.
31022 * sysdeps/powerpc/sysdep.h: Likewise.
31023 * sysdeps/powerpc/powerpc32/sysdep.h:
31024 Replace ASM_TYPE_DIRECTIVE with .type.
31025 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31026 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31027 * sysdeps/i386/fpu/e_powf.S: Likewise.
31028 * sysdeps/i386/fpu/e_expl.S: Likewise.
31029 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31030 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31031 * sysdeps/i386/fpu/e_pow.S: Likewise.
31032 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31033 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31034 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31035 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31036 * sysdeps/i386/fpu/e_log2.S: Likewise.
31037 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31038 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31039 * sysdeps/i386/fpu/e_powl.S: Likewise.
31040 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31041 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31042 * sysdeps/i386/fpu/e_logl.S: Likewise.
31043 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31044 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31045 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31046 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31047 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31048 * sysdeps/i386/fpu/e_log.S: Likewise.
31049 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31050 * sysdeps/i386/fpu/e_logf.S: Likewise.
31051 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31052 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31053 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31054 * sysdeps/i386/fpu/e_log10.S: Likewise.
31055 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31056 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31057 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31058 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31059 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31060 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31061 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31062 * sysdeps/i386/i686/strtok.S: Likewise.
31063 * sysdeps/i386/i386-mcount.S: Likewise.
31064 * sysdeps/i386/strtok.S: Likewise.
31065 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31066 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31068 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31069 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31070 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31071 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31072 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31073 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31074 * sysdeps/x86_64/_mcount.S: Likewise.
31075 * sysdeps/x86_64/strtok.S: Likewise.
31076 * sysdeps/sh/_mcount.S: Likewise.
31078 2012-08-01 Roland McGrath <roland@hack.frob.com>
31080 * libio/iofopen.c: Include <fcntl.h>.
31081 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31082 (_IO_fopen64, fopen64): Define as aliases.
31083 * libio/iofopen64.c: Include <fcntl.h>.
31084 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31085 Conditionalize body on this.
31086 * sysdeps/wordsize-64/iofopen.c: File removed.
31087 * sysdeps/wordsize-64/iofopen64.c: File removed.
31089 2012-08-01 Marek Polacek <polacek@redhat.com>
31091 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31092 Use dlfcn directly instead of a variable.
31093 (binfmt-subdir): Do not define.
31096 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31098 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31099 Remove all definitions.
31100 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31101 <kernel-features.h>.
31102 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31103 (miss_F_GETOWN_EX): Remove all definitions.
31104 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31106 [!__ASSUME_FCNTL64]: Remove conditional code.
31107 [__ASSUME_FCNTL64]: Make code unconditional.
31108 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31109 <kernel-features.h>.
31110 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31111 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31112 (lockf64) [__NR_fcntl64]: Make code unconditional.
31113 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31115 * sysdeps/unix/sysv/linux/kernel-features.h
31116 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31117 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31118 Make code unconditional.
31119 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31120 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31122 [__NR_vfork]: Make code unconditional.
31123 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31124 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31126 [__NR_vfork]: Make code unconditional.
31127 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31128 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31130 2012-08-01 Roland McGrath <roland@hack.frob.com>
31132 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31133 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31135 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31136 Define mkstemp64 as an alias.
31137 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31138 Define mkstemps64 as an alias.
31139 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31140 Define mkostemp64 as an alias.
31141 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31142 Define mkostemps64 as an alias.
31143 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31144 Conditionalize body on this.
31145 * misc/mkostemp64.c: Likewise.
31146 * misc/mkostemps64.c: Likewise.
31147 * misc/mkstemps64.c: Likewise.
31148 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31149 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31150 * sysdeps/wordsize-64/mkostemp.c: File removed.
31151 * sysdeps/wordsize-64/mkstemp.c: File removed.
31152 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31153 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31154 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31155 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31158 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31159 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31160 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31161 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31163 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31164 compat_symbol macros from <shlib-compat.h> rather than the underlying
31165 default_symbol_version and symbol_version macros, so that DEFAULT
31166 lines in shlib-versions are respected.
31167 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31169 2012-08-01 Florian Weimer <fweimer@redhat.com>
31171 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31172 Declare with warn_unused_result.
31173 (setgid, setregid, setegid, setresgid): Likewise.
31174 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31176 * WUR-REPORT: Remove set*id functions.
31178 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31180 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31182 2012-07-31 Roland McGrath <roland@hack.frob.com>
31185 * include/sys/socket.h (__libc_accept, __libc_accept4):
31186 Add attribute_hidden.
31187 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31189 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31191 * inet/getnetgrent_r.c (setup): Likewise.
31193 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31195 2012-07-31 David S. Miller <davem@davemloft.net>
31197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31199 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31202 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31203 value between 1.0 and 2.0 and smaller part has absolute value less
31205 * math/s_clog10.c (__clog10): Likewise.
31206 * math/s_clog10f.c (__clog10f): Likewise.
31207 * math/s_clog10l.c (__clog10l): Likewise.
31208 * math/s_clogf.c (__clogf): Likewise.
31209 * math/s_clogl.c (__clogl): Likewise.
31210 * math/libm-test.inc (clog_test): Add more tests.
31211 (clog10_test): Likewise.
31212 * sysdeps/i386/fpu/libm-test-ulps: Update.
31213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31215 2012-07-31 Florian Weimer <fweimer@redhat.com>
31217 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31218 Exit with zero in case no suitable GID is found, and write a
31219 message to standard error.
31221 2012-07-30 Roland McGrath <roland@hack.frob.com>
31223 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31225 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31226 (MAXPATHLEN): Removed.
31227 (NOGROUP, NODEV): New macros.
31228 (setbit, clrbit, isset, isclr): New macros.
31229 (howmany, roundup, powerof2): New macros.
31230 (DEV_BSIZE): New macro.
31232 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31233 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31235 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31236 definition on [!__NO_LONG_DOUBLE_MATH].
31238 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31239 PTR_MANGLE and PTR_DEMANGLE.
31241 * socket/accept4.c (accept4): Rename to __libc_accept4.
31242 Define accept4 as a weak alias.
31244 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31245 on [_DIRENT_HAVE_D_TYPE].
31246 * io/ftw.c (ftw_dir): Likewise.
31248 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31250 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31252 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31253 Use the BSD numbers rather than the arbitrary ones we had.
31254 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31255 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31256 (SIGXCPU, SIGXFSZ): New macros.
31259 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31260 initializer on [_LIBC_REENTRANT].
31262 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31263 definitions inside [_POSIX_MAPPED_FILES].
31265 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31267 * dirent/opendir.c: Include <fcntl.h>.
31269 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31270 (__libc_getspecific): Likewise.
31271 (__libc_key_create): Likewise.
31273 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31274 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31275 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31276 (tmpfile64): Define as alias.
31277 * sysdeps/wordsize-64/tmpfile.c: File removed.
31278 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31280 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31282 * stdio-common/vfscanf.c: Include <stdbool.h>.
31283 * nss/makedb.c: Likewise.
31284 * stdio-common/_i18n_number.h: Likewise.
31285 * argp/argp-help.c: Likewise.
31286 * posix/wordexp.c: Likewise.
31287 * sysdeps/posix/spawni.c: Likewise.
31288 * nss/nss_files/files-initgroups.c: Likewise.
31289 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31290 * nss/nss_files/files-initgroups.c: Likewise.
31291 * nss/nss_db/db-netgrp.c: Likewise.
31292 * nss/nss_db/db-initgroups.c: Likewise.
31293 * io/fchmodat.c: Include <sys/stat.h>.
31295 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31296 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31298 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31301 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31302 Add multiple inclusion protection.
31304 2012-07-27 David S. Miller <davem@davemloft.net>
31306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31308 2012-07-27 Gary Benson <gbenson@redhat.com>
31311 * elf/rtld.c: Include <stap-probe.h>.
31312 (dl_main): Added static probes "init_start" and "init_complete".
31313 * elf/dl-load.c: Include <stap-probe.h>.
31314 (lose): Take new parameter "nsid".
31315 Added static probe "map_failed".
31316 (_dl_map_object_from_fd): Pass namespace id to lose.
31317 Added static probe "map_start".
31318 (open_verify): Pass namespace id to lose.
31319 * elf/dl-open.c: Include <stap-probe.h>.
31320 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31321 and "reloc_complete".
31322 * elf/dl-close.c: Include <stap-probe.h>.
31323 (_dl_close_worker): Added static probes "unmap_start" and
31325 * elf/rtld-debugger-interface.txt: New file documenting the above.
31327 2012-07-26 Roland McGrath <roland@hack.frob.com>
31329 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31330 rather than a string variable.
31331 * sunrpc/rpc_main.c (h_output): Likewise.
31332 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31334 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31336 * inet/check_native.c: New file.
31338 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31341 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31342 if larger part has absolute value 1.0.
31343 * math/s_clog10.c (__clog10): Likewise.
31344 * math/s_clog10f.c (__clog10f): Likewise.
31345 * math/s_clog10l.c (__clog10l): Likewise.
31346 * math/s_clogf.c (__clogf): Likewise.
31347 * math/s_clogl.c (__clogl): Likewise.
31348 * math/libm-test.inc (clog_test): Add more tests.
31349 (clog10_test): Likewise.
31350 * sysdeps/i386/fpu/libm-test-ulps: Update.
31351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31353 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31354 (pltexit): Likewise.
31355 (La_regs): Likewise.
31356 (La_retval): Likewise.
31357 (int_retval): Likewise.
31358 Update #error for removed macros to refer only to definitions in
31360 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31362 (pltexit): Likewise.
31363 (La_regs): Likewise.
31364 (La_retval): Likewise.
31365 (int_retval): Likewise.
31366 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31368 (pltexit): Likewise.
31369 (La_regs): Likewise.
31370 (La_retval): Likewise.
31371 (int_retval): Likewise.
31372 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31374 (pltexit): Likewise.
31375 (La_regs): Likewise.
31376 (La_retval): Likewise.
31377 (int_retval): Likewise.
31378 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31380 (pltexit): Likewise.
31381 (La_regs): Likewise.
31382 (La_retval): Likewise.
31383 (int_retval): Likewise.
31384 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31386 (pltexit): Likewise.
31387 (La_regs): Likewise.
31388 (La_retval): Likewise.
31389 (int_retval): Likewise.
31390 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31392 (pltexit): Likewise.
31393 (La_regs): Likewise.
31394 (La_retval): Likewise.
31395 (int_retval): Likewise.
31396 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31397 macro definitions in tst-audit.h.
31398 * sysdeps/i386/tst-audit.h: New file.
31399 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31400 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31401 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31402 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31403 * sysdeps/sh/tst-audit.h: Likewise.
31404 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31405 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31406 * sysdeps/x86_64/tst-audit.h: Likewise.
31408 2012-07-26 Andreas Jaeger <aj@suse.de>
31410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31413 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31414 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31415 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31417 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31418 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31419 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31421 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31424 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31426 (si_call_addr, si_syscall, si_arch): Define new macro.
31427 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31429 (si_call_addr, si_syscall, si_arch): Define new marcro.
31430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31432 (si_call_addr, si_syscall, si_arch): Define new macro.
31433 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31435 (si_call_addr, si_syscall, si_arch): Define new macro.
31437 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31441 Change to 2.4.21 where previously 2.4.1.
31442 * sysdeps/unix/sysv/linux/configure: Regenerated.
31443 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31444 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31445 Linux kernel version.
31446 (__ASSUME_STD_AUXV): Remove.
31447 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31449 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31450 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31451 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31452 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31453 (__ASSUME_NETLINK_SUPPORT): Likewise.
31454 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31455 (__no_netlink_support): Remove conditional definition.
31456 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31458 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31459 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31460 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31461 (if_nameindex_ioctl): Remove.
31462 (if_nameindex_netlink): Do not handle __no_netlink_support.
31463 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31465 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31466 Remove conditional code.
31467 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31469 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31471 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31472 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31473 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31475 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31476 [!__ASSUME_STD_AUXV]: Remove conditional code.
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31478 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31479 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31481 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31482 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31484 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31486 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31487 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31489 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31491 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31494 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31497 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31498 code unconditional.
31499 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31501 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31503 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31506 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31508 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31511 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31512 code unconditional.
31513 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31515 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31517 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31520 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31521 code unconditional.
31522 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31524 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31526 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31529 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31531 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31532 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31533 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31534 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31535 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31536 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31537 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31538 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31539 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31540 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31541 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31542 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31543 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31544 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31545 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31546 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31547 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31548 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31549 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31551 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31552 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31555 2012-07-25 Florian Weimer <fweimer@redhat.com>
31557 * Versions.def: Add GLIBC_2.17.
31558 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31559 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31560 Introduce __libc_secure_getenv.
31561 * stdlib/Versions (2.17): Add secure_getenv
31562 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31563 * stdlib/secure-getenv.c: Rename __secure_getenv to
31564 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31565 symbol __secure_getenv for GLIBC_2.0.
31566 * stdlib/tst-secure-getenv.c: New.
31567 * stdlib/Makefile (tests): Add testcase.
31568 * manual/startup.texi (Environment Access): Document
31570 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31571 __libc_secure_getenv.
31572 * inet/ruserpass.c (ruserpass): Likewise.
31573 * malloc/mtrace.c (mtrace): Likewise.
31574 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31575 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31576 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31577 * sysdeps/posix/tempname.c: Likewise. Evaluate
31578 HAVE_SECURE_GETENV.
31579 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31580 __secure_getenv to __libc_secure_getenv.
31581 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31594 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31596 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31597 (struct La_i86_retval): Likewise.
31598 (struct La_x86_64_regs): Likewise.
31599 (struct La_x86_64_retval): Likewise.
31600 (struct La_x32_regs): Likewise.
31601 (struct La_x32_retval): Likewise.
31602 (struct La_ppc32_regs): Likewise.
31603 (struct La_ppc32_retval): Likewise.
31604 (struct La_ppc64_regs): Likewise.
31605 (struct La_ppc64_retval): Likewise.
31606 (struct La_sh_regs): Likewise.
31607 (struct La_sh_retval): Likewise.
31608 (struct La_s390_32_regs): Likewise.
31609 (struct La_s390_32_retval): Likewise.
31610 (struct La_s390_64_regs): Likewise.
31611 (struct La_s390_64_retval): Likewise.
31612 (struct La_sparc32_regs): Likewise.
31613 (struct La_sparc32_retval): Likewise.
31614 (struct La_sparc64_regs): Likewise.
31615 (struct La_sparc64_retval): Likewise.
31616 (struct audit_ifaces): Remove architecture-specific pltenter and
31618 * sysdeps/i386/ldsodefs.h: New file.
31619 * sysdeps/powerpc/ldsodefs.h: Likewise.
31620 * sysdeps/s390/ldsodefs.h: Likewise.
31621 * sysdeps/sh/ldsodefs.h: Likewise.
31622 * sysdeps/sparc/ldsodefs.h: Likewise.
31623 * sysdeps/x86_64/ldsodefs.h: Likewise.
31625 2012-07-25 Marek Polacek <polacek@redhat.com>
31628 * math/libm-test.inc (yn_test): Add another test.
31629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31630 to ERANGE when the result is +-Inf.
31631 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31632 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31633 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31634 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31636 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31638 * conform/data/time.h-data (NULL): Use macro-constant. Require
31640 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31642 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31644 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31646 * configure.in <sysdeps resolving>: Correct printing
31648 * configure: Regenerate.
31650 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31652 * math/w_ilogb.c: Include <limits.h>.
31653 * math/w_ilogbl.c: Likewise.
31655 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31657 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31658 va_copy. Document allowing for unavailable va_copy only as
31659 pre-C99 compatibility.
31660 * manual/string.texi (Copying and Concatenation): Use va_copy
31661 instead of __va_copy in concat example.
31663 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31665 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31666 (__sendto): Use create_address_port. Initialize APORT and deallocate
31669 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31670 with O_NOLINK passed to __file_name_lookup.
31672 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31673 with O_NOLINK passed to __file_name_lookup.
31675 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31676 negative N or less than NGIDS.
31678 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31679 type to string_t. Set ERANGE as errno and return it if NAME is not big
31680 enough. Use memcpy instead of strncpy.
31682 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31684 * elf/Makefile (check-data): Remove.
31685 (localplt.data): New vpath directive.
31686 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31687 instead of $(check-data).
31688 * scripts/data/localplt-generic.data: Move to ...
31689 * sysdeps/generic/localplt.data: ... here.
31690 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31691 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31692 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31695 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31698 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31701 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31704 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31707 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31711 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31713 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31714 PPC32 and PPC64 files.
31715 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31716 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31718 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31720 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31721 __makecontext_ret to ...
31722 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31723 ... here and call exit if uc_link is NULL. New file.
31724 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31725 __makecontext_ret.S.
31726 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31727 __makecontext_ret to ...
31728 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31729 ... here and call exit if uc_link is NULL. New file.
31730 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31731 __makecontext_ret.S.
31733 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31735 * elf/elf.h (R_390_IRELATIVE): New definition.
31736 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31737 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31738 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31739 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31740 (elf_machine_lazy_rel): Likewise.
31741 * sysdeps/s390/dl-irel.h: New file.
31742 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31743 * sysdeps/s390/s390-64/memset.S: New asm code.
31744 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31745 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31746 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31747 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31748 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31749 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31750 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31751 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31752 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31753 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31754 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31755 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31756 * sysdeps/s390/s390-32/memset.S: New asm code.
31757 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31759 2012-07-17 Marek Polacek <polacek@redhat.com>
31762 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31763 * sysdeps/s390/s390-64/configure.in: Likewise.
31764 * sysdeps/sparc/configure.in: Likewise.
31765 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31766 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31767 * sysdeps/i386/configure.in: Likewise.
31768 * sysdeps/x86_64/configure.in: Likewise.
31769 * sysdeps/sh/configure.in: Likewise.
31770 * sysdeps/s390/s390-32/configure: Regenerated.
31771 * sysdeps/s390/s390-64/configure: Likewise.
31772 * sysdeps/x86_64/configure: Likewise.
31773 * sysdeps/sh/configure: Likewise.
31774 * sysdeps/powerpc/powerpc64/configure: Likewise.
31775 * sysdeps/powerpc/powerpc32/configure: Likewise.
31776 * sysdeps/sparc/configure: Likwise.
31777 * sysdeps/i386/configure: Likewise.
31779 * elf/dl-open.c: Comment fixes.
31781 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31783 * Makefile [CXX] (check-data): Remove.
31784 [CXX] (c++-types.data): New vpath directive.
31785 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31786 vpath. Do not allow for C++ type data being missing.
31787 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31788 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31789 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31790 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31791 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31792 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31793 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31796 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31799 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31802 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31805 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31808 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31811 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31814 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31817 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31818 definitions to architecture-specific files.
31819 (TLS_IE): Likewise.
31820 (TLS_LD): Likewise.
31821 (TLS_GD): Likewise.
31822 * sysdeps/i386/tls-macros.h: New file.
31823 * sysdeps/powerpc/tls-macros.h: Likewise.
31824 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31825 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31826 * sysdeps/sh/tls-macros.h: Likewise.
31827 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31828 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31829 * sysdeps/x86_64/tls-macros.h: Likewise.
31831 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31833 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31834 zero value for regular exit case.
31836 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31837 (__start_context): Preserve zero value for regular exit case.
31839 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31840 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31842 * manual/setjmp.texi (setcontext): Clarify normal process
31843 termination when uc_link is the null pointer.
31844 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31847 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31849 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31850 preprocessor. Test for each exception mask separately.
31852 2012-07-16 Andreas Jaeger <aj@suse.de>
31854 * po/ru.po: Update from translation team.
31856 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31858 * conform/data/string.h-data (NULL): Use macro-constant. Require
31860 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31861 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31862 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31863 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31866 2012-07-13 Andreas Jaeger <aj@suse.de>
31868 * po/fr.po: Update from translation team.
31870 2012-07-12 Marek Polacek <polacek@redhat.com>
31873 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31874 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31877 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31880 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31881 Change to 2.4.1 where previously 2.4.0.
31882 * sysdeps/unix/sysv/linux/configure: Regenerated.
31883 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31884 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31886 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31887 (__ASSUME_AT_CLKTCK): Remove.
31888 (__ASSUME_AT_PAGESIZE): Likewise.
31889 (__ASSUME_AT_XID): Likewise.
31890 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31891 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31892 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31894 (HAVE_AUX_PAGESIZE): Likewise.
31895 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31896 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31897 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31899 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31903 the temporary buffer used to invoke __gethostbyname2_r,
31904 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31905 host_data / struct gaih_addrtuple.
31906 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31907 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31908 header file nss/nsswitch.h.
31909 * nss/nsswitch.h (global scope): Add definition of implementation
31910 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31911 resolv/nss_dns/dns-host.c).
31913 2012-07-11 Andreas Jaeger <aj@suse.de>
31915 * po/fr.po: Update from translation team.
31917 * po/sv.po: Update from translation team
31918 * po/fr.po: Another update from translation team.
31920 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31922 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31923 for subnormals or multiply small sinh result by itself.
31924 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31927 2012-07-11 David S. Miller <davem@davemloft.net>
31929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31931 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31934 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31935 (INTERNAL_MARK): Shift it here.
31937 2012-07-10 Marek Polacek <polacek@redhat.com>
31940 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31941 libc_cv_asm_global_directive with .globl.
31942 * configure: Regenerated.
31943 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31945 * sysdeps/i386/configure: Regenerated.
31946 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31948 * sysdeps/x86_64/configure: Regenerated.
31949 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31950 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31951 * elf/tst-unique2mod2.c: Likewise.
31952 * elf/tst-unique2mod1.c: Likewise.
31953 * elf/tst-unique1mod2.c: Likewise.
31954 * elf/tst-unique1mod1.c: Likewise.
31955 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31956 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31957 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31958 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31959 * sysdeps/mach/sysdep.h: Likewise.
31960 * sysdeps/i386/sysdep.h: Likewise.
31961 * sysdeps/i386/i386-mcount.S: Likewise.
31962 * sysdeps/x86_64/_mcount.S: Likewise.
31963 * sysdeps/x86_64/sysdep.h: Likewise.
31964 * sysdeps/sh/_mcount.S: Likewise.
31965 * sysdeps/sh/sysdep.h: Likewise.
31966 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31967 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31968 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31969 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31970 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31971 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31972 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31973 * locale/localeinfo.h: Likewise.
31974 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31975 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31977 2012-07-09 Roland McGrath <roland@hack.frob.com>
31980 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31982 * manual/message.texi (The Uniforum approach): Likewise.
31983 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31984 (glibc iconv Implementation): Likewise.
31986 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31989 * math/s_clog.c (__clog): Avoid scaling a value down where that
31990 could result in underflow.
31991 * math/s_clog10.c (__clog10): Likewise.
31992 * math/s_clog10f.c (__clog10f): Likewise.
31993 * math/s_clog10l.c (__clog10l): Likewise.
31994 * math/s_clogf.c (__clogf): Likewise.
31995 * math/s_clogl.c (__clogl): Likewise.
31996 * math/libm-test.inc (clog_test): Add more tests.
31997 (clog10_test): Likewise.
31998 * sysdeps/i386/fpu/libm-test-ulps: Update.
31999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32001 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32004 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32005 by 7 not 8 to examine high bit of fractional part.
32008 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32009 for call to __mcount_internal.
32010 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32011 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32012 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32014 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32017 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32018 approximation for values within 0x1p-13f of an odd multiple of
32020 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32021 exception. Add more tests.
32022 * sysdeps/i386/fpu/libm-test-ulps: Update.
32025 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32026 inputs and return -1 for them. Do not check for +Inf in case not
32027 reachable for +Inf.
32028 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32029 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32030 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32031 and return -1 for them. Do not check for +Inf in case not
32032 reachable for +Inf.
32033 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32035 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32036 and return -1 for them. Do not check for +Inf in case not
32037 reachable for +Inf.
32038 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32039 spurious underflow.
32040 * sysdeps/i386/fpu/libm-test-ulps: Update.
32041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32043 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32045 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32047 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32051 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32052 could result in spurious underflow. Scale down values above
32053 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32054 * math/s_csqrtf.c (__csqrtf): Likewise.
32055 * math/s_csqrtl.c (__csqrtl): Likewise.
32056 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32057 spurious underflow.
32058 * sysdeps/i386/fpu/libm-test-ulps: Update.
32059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32061 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32063 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32065 * catgets/xopen-msg.awk: New file.
32066 * catgets/xopen-msg.sed: Removed.
32068 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32070 * intl/po2test.awk: New file.
32071 * intl/po2test.sed: Removed.
32073 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32076 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32077 or multiply small sinh result by itself.
32078 * math/s_ctanf.c (__ctanf): Likewise.
32079 * math/s_ctanh.c (__ctanh): Likewise.
32080 * math/s_ctanhf.c (__ctanhf): Likewise.
32081 * math/s_ctanhl.c (__ctanhl): Likewise.
32082 * math/s_ctanl.c (__ctanl): Likewise.
32083 * math/libm-test.inc (ctan_test_tonearest): New function.
32084 (ctan_test_towardzero): Likewise.
32085 (ctan_test_downward): Likewise.
32086 (ctan_test_upward): Likewise.
32087 (ctanh_test_tonearest): Likewise.
32088 (ctanh_test_towardzero): Likewise.
32089 (ctanh_test_downward): Likewise.
32090 (ctanh_test_upward): Likewise.
32091 (main): Call these new functions.
32092 * sysdeps/i386/fpu/libm-test-ulps: Update.
32093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32095 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32097 * .gitignore: Delete /ports entry.
32099 2012-07-03 Andreas Jaeger <aj@suse.de>
32101 * po/bg.po: Update from translation team.
32102 * po/cs.po: Likewise.
32103 * po/de.po: Likewise.
32104 * po/hr.po: Likewise.
32105 * po/nl.pl: Likewise.
32106 * po/pl.po: Likewise.
32107 * po/vi.po: Likewise.
32109 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32111 * Makeconfig [!+link] (+link-before-libc): New variable.
32112 [!+link] (+link-after-libc): Likewise.
32113 [!+link] (+link-tests): Likewise.
32114 [!+link] (+link): Define in terms of $(+link-before-libc) and
32115 $(+link-after-libc).
32116 [!+link-static] (+link-static-before-libc): New variable.
32117 [!+link-static] (+link-static-after-libc): Likewise.
32118 [!+link-static] (+link-static-tests): Likewise.
32119 [!+link-static] (+link-static): Define in terms of
32120 $(+link-static-before-libc) and $(+link-static-after-libc).
32121 [build-shared] (link-libc-before-gnulib): New variable.
32122 [build-shared] (link-libc-tests): Likewise.
32123 [build-shared] (link-libc): Define in terms of
32124 $(link-libc-before-gnulib).
32125 [!build-shared] (link-libc-tests): New variable.
32126 (link-libc-static-tests): New variable.
32127 [!gnulib] (gnulib-arch): New variable.
32128 [!gnulib] (gnulib-tests): Likewise.
32129 [!gnulib] (static-gnulib-arch): Likewise.
32130 [!gnulib] (static-gnulib-tests): Likewise.
32131 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32132 Define with "=" instead of ":=".
32133 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32134 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32135 * Rules (binaries-all-notests): New variable.
32136 (binaries-all-tests): Likewise.
32137 (binaries-static-notests): Likewise.
32138 (binaries-static-tests): Likewise.
32139 (binaries-all): Define using $(binaries-all-notests) and
32140 $(binaries-all-tests).
32141 (binaries-static): Define using $(binaries-static-notests) and
32142 $(binaries-static-tests).
32143 (binaries-shared-tests): New variable.
32144 (binaries-shared-notests): Likewise.
32145 (binaries-shared): Remove variable.
32146 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32147 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32148 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32149 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32150 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32151 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32152 * elf/Makefile (sln-modules): New variable.
32153 (extra-objs): Add $(sln-modules:=.o).
32154 (ldconfig-modules): Add static-stubs.
32155 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32156 * elf/static-stubs.c: New file.
32159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32160 by 7 not 8 to examine high bit of fractional part. Use volatile
32161 variables when splitting into final array of floats if
32162 __FLT_EVAL_METHOD__ != 0.
32163 * math/libm-test.inc (cos_test): Add another test.
32164 (sin_test): Likewise.
32165 * sysdeps/i386/fpu/libm-test-ulps: Update.
32168 * math/libm-test.inc (cosh_test): Add more tests.
32170 * version.h (RELEASE): Set to "development".
32171 (VERSION): Set to "2.16.90".
32173 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32175 * NEWS: Update copyright. Remove last-updated date.
32176 Mention math library bug fixes and timezone data changes.
32177 * README: Mention GNU/Hurd, x32, and HPPA support status.
32179 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32181 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32183 2012-06-27 Andreas Jaeger <aj@suse.de>
32185 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32187 2012-06-25 Andreas Jaeger <aj@suse.de>
32189 * sysdeps/s390/fpu/libm-test-ulps: Update.
32191 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32192 Thomas Schwinge <thomas@codesourcery.com>
32194 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32195 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32196 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32199 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32201 * sysdeps/mach/start.c: Remove file.
32202 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32203 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32204 * sysdeps/sh/init-first.c: Likewise.
32206 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32207 registers for frame unwinding purposes, add CFI directives.
32208 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32210 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32213 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32214 __fortify_fail returning.
32215 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32217 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32218 sysdeps/sh/____longjmp_chk.S.
32219 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32220 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32221 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32222 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32224 * sysdeps/sh/abort-instr.h: New file.
32225 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32226 process in case exit returns.
32228 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32229 initialize the GOT register before use.
32231 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32232 calculation of ARGC > 4.
32234 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32235 meaningful names to some local labels.
32237 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32238 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32240 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32241 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32242 (__arch_compare_and_exchange_val_16_acq): Likewise.
32243 (__arch_compare_and_exchange_val_32_acq): Likewise.
32244 (atomic_exchange_and_add): Fix gUSA sequence.
32245 (atomic_add): Likewise.
32246 (atomic_add_negative): Likewise.
32247 (atomic_add_zero): Likewise.
32248 (atomic_bit_test_set): Likewise.
32250 2012-06-22 Andreas Schwab <schwab@redhat.com>
32253 * include/link.h (struct link_map): Add l_free_initfini.
32254 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32256 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32257 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32258 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32261 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32263 * configure.in: Use AC_LANG_SOURCE.
32264 * configure: Regenerate.
32266 2012-06-22 Roland McGrath <roland@hack.frob.com>
32268 * configure.in (libc_cv_localstatedir): New substituted variable.
32269 * configure: Regenerated.
32270 * config.make.in (localstatedir): New variable, substituted from
32271 libc_cv_localstatedir.
32272 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32273 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32274 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32275 * sysdeps/gnu/configure: Regenerated.
32277 2012-06-21 Jeff Law <law@redhat.com>
32280 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32281 free. Simplify list management for _LIBC case.
32283 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32286 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32287 Clear sign bit of 64-bit integer value before comparing against
32290 * sysdeps/mach/configure: Regenerated.
32292 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32295 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32297 2012-06-21 Jeff Law <law@redhat.com>
32300 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32301 uint16_t for elements in the "seen" array to avoid char overflows.
32302 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32303 * elf/dl-open.c (dl_open_worker): Likewise.
32305 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32307 * scripts/list-sources.sh: Scan PORTS for translations.
32308 * po/libc.pot: Regenerated.
32310 2012-06-21 Andreas Jaeger <aj@suse.de>
32313 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32315 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32316 * bits/byteswap-16.h (__bswap_16): Likewise.
32317 * bits/byteswap.h (__bswap_constant_16): Likewise.
32319 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32322 * sysdeps/i386/fpu_control.h: Removed.
32323 * sysdeps/x86_64/fpu_control.h: Moved to ...
32324 * sysdeps/x86/fpu_control.h: Here.
32326 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32327 (_FPU_SETCW): Likewise.
32329 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32332 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32333 * sysdeps/x86/fpu/bits/mathinline.h: This.
32334 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32338 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32339 functions if __x86_64__ is defined.
32341 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32343 * string/endian.h: Add !__ASSEMBLER__ condition for including
32344 conversion interfaces.
32346 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32350 of ABS(x) in calculating zero to negative powers other than odd
32352 * math/libm-test.inc (pow_test): Add more tests.
32354 2012-06-15 Andreas Jaeger <aj@suse.de>
32356 * manual/contrib.texi (Contributors): Update entry of Liubov
32357 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32360 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32362 * string/string.h: Add __wur to GNU version of strerror_r.
32364 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32367 * string/Makefile (tests): Add tst-strtok_r.
32368 * string/tst-strtok_r.c: New file.
32369 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32370 RAX_LP/RDX_LP on SAVE_PTR.
32372 2012-06-14 Roland McGrath <roland@hack.frob.com>
32374 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32376 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32378 * libm_test.inc (csqrt_test): Allow more spurious underflow
32380 (j0_test): Likewise.
32381 (j1_test): Likewise.
32382 (y0_test): Likewise.
32383 (y1_test): Likewise.
32385 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32387 * po/Makefile (libc.pot): Use UTF-8 charset.
32389 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32392 Suppress sign-conversion warning from FD_SET.
32393 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32394 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32395 not unsigned long int.
32396 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32398 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32402 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32403 __extern_always_inline instead of __extern_inline.
32404 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32405 (__signbit): Likewise.
32406 (__signbitl): Support C++ namespace.
32407 (lrintf): New inline function.
32409 (llrintf): Likewise.
32410 (llrint): Likewise.
32420 (floorf): Likewise.
32421 (nearbyint): Likewise.
32422 (nearbyintf): Likewise.
32424 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32426 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32427 non-default versions.
32429 2012-06-11 Roland McGrath <roland@hack.frob.com>
32432 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32434 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32436 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32437 (FE_UPWARD, FE_DOWNWARD): Don't define.
32438 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32439 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32441 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32443 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32444 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32446 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32448 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32450 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32451 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32453 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32456 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32457 * sysdeps/i386/fpu/Implies: New file.
32458 * sysdeps/x86_64/fpu/Implies: Likewise.
32459 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32460 * sysdeps/x86/fpu/bits/fenv.h: This.
32462 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32465 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32468 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32469 character 0xffff that matches the last element of the
32472 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32477 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32479 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32480 values higher than 25.6283.
32482 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32484 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32485 subnormal exponent extraction and add some __builtin_expect.
32486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32487 Fix for subnormal mantissa calculation.
32489 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32491 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32492 cpu2 is -1 and errno is not ENOSYS.
32494 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32497 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32498 * sysdeps/x86/bits/string.h: This.
32499 * sysdeps/x86_64/bits/string.h: Removed.
32501 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32502 if not compiling for x86-64, but compiling for >= i486.
32504 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32505 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32507 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32508 New macro from Linux kernel 3.4.0.
32509 (FP_XSTATE_MAGIC2): Likewise.
32510 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32511 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32512 (struct _fpx_sw_bytes): New struct.
32513 (struct _xsave_hdr): Likewise.
32514 (struct _ymmh_state): Likewise.
32515 (struct _xstate): Likewise.
32517 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32518 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32519 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32520 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32521 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32522 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32524 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32525 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32526 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32527 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32528 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32529 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32531 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32534 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32535 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32536 (sysdep_headers): Include sys/platform/ppc.h.
32537 * sysdeps/powerpc/test-gettimebase.c: Test for
32538 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32539 * manual/Makefile (appendices): Include platform.texi.
32540 * manual/contrib.texi (Contributors): Update @node pointers.
32541 * manual/maint.texi (Maintenance): Likewise.
32542 (Platform): New node.
32543 * manual/platform.texi: New file. Document the new features.
32545 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32546 Jakub Jelinek <jakub@redhat.com>
32549 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32550 where __builtin_expect is unavailable.
32552 2012-06-03 David S. Miller <davem@davemloft.net>
32554 * stdlib/longlong.h: Updated from GCC.
32556 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32559 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32560 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32563 (GLIBC_2.16): Likewise.
32565 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32567 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32569 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32572 (default-abi): New variable.
32573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32574 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32576 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32578 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32580 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32583 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32584 definition. Document in comment.
32586 2012-06-01 David S. Miller <davem@davemloft.net>
32588 * stdlib/longlong.h: Updated from GCC.
32590 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32593 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32594 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32595 sys/debugreg.h sys/io.h here.
32596 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32597 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32599 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32600 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32601 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32602 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32603 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32604 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32606 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32607 Define only if __x86_64__ is defined.
32609 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32612 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32613 Use int64_t for variable i.
32614 * math/libm-test.inc (fmod_test): Add more tests.
32616 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32617 z computation is not scheduled after fetestexcept.
32618 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32619 Use math_force_eval instead of asm to ensure calculation scheduled
32620 before exception test.
32621 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32622 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32624 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32627 computation is not scheduled after fetestexcept.
32629 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32632 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32633 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32635 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32637 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32638 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32640 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32643 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32645 (__WCHAR_MIN): Support __WORDSIZE == 64.
32646 (__WCHAR_MAX): Likewise.
32648 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32649 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32652 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32653 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32656 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32657 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32659 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32660 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32662 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32663 Defined to 1 if __x86_64__ isn't defined.
32664 (_STAT_VER_LINUX_OLD): New.
32665 (st_atime): Remove duplicate.
32666 (st_mtime): Likewise.
32667 (st_ctime): Likewise.
32669 2012-05-31 David S. Miller <davem@davemloft.net>
32671 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32674 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32676 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32680 * elf/dl-reloc.c: Include <_itoa.h>.
32681 (_dl_reloc_bad_type): Remove use of INTUSE.
32682 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32683 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32684 * stdio-common/psiginfo.c (psiginfo): Likewise.
32685 * stdio-common/psignal.c (psignal): Likewise.
32686 * string/strsignal.c (strsignal): Likewise.
32687 * include/signal.h (_sys_siglist): Declare hidden proto.
32688 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32689 INTVARDEF with libc_hidden_data_def.
32690 * stdio-common/itoa-udigits.c: Likewise.
32691 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32692 (_itoa_lower_digits_internal): Remove declaration.
32693 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32694 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32695 (_sys_sigabbrev_internal): Remove aliases.
32696 (_sys_siglist): Define hidden alias.
32698 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32700 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32703 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32706 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32707 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32709 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32710 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32711 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32712 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32713 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32714 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32716 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32717 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32718 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32720 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32728 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32729 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32730 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32732 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32733 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32734 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32735 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32736 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32737 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32739 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32740 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32742 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32743 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32745 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32746 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32747 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32749 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32750 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32752 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32754 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32755 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32756 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32758 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32760 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32762 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32764 * math/math.h (M_El): Use two more decimal places.
32765 (M_LOG2El): Likewise.
32766 (M_LOG10El): Likewise.
32767 (M_LN2l): Likewise.
32768 (M_LN10l): Likewise.
32770 (M_PI_2l): Likewise.
32771 (M_PI_4l): Likewise.
32772 (M_1_PIl): Likewise.
32773 (M_2_PIl): Likewise.
32774 (M_2_SQRTPIl): Likewise.
32775 (M_SQRT2l): Likewise.
32776 (M_SQRT1_2l): Likewise.
32778 2012-05-31 David S. Miller <davem@davemloft.net>
32780 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32781 values between float registers.
32782 * sysdeps/sparc/sparc64/memset.S: Likewise.
32783 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32785 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32787 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32788 -D_FORTIFY_SOURCE=1.
32789 (CPPFLAGS-tst-longjmp_chk.c): Define.
32790 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32791 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32792 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32793 CFLAGS-tst-wchar-h.c.
32795 2012-05-31 Marek Polacek <polacek@redhat.com>
32798 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32799 __endmntent_internal): Remove declaration.
32800 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32801 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32802 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32804 2012-05-30 David S. Miller <davem@davemloft.net>
32806 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32807 (___Q_simulate_exceptions): Use real FP ops rather than writing
32809 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32812 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32815 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32816 * sysdeps/x86/bits/xtitypes.h: This.
32818 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32819 * sysdeps/x86/bits/wordsize.h: This.
32821 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32822 * sysdeps/x86/bits/huge_vall.h: This.
32824 * sysdeps/i386/bits/select.h: Removed.
32825 * sysdeps/x86_64/bits/select.h: Renamed to ...
32826 * sysdeps/x86/bits/select.h: This.
32828 * sysdeps/i386/bits/setjmp.h: Removed.
32829 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32830 * sysdeps/x86/bits/setjmp.h: This.
32832 * sysdeps/i386/bits/mathdef.h: Removed.
32833 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32834 * sysdeps/x86/bits/mathdef.h: This.
32836 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32839 * include/sys/socket.h (__connect_internal)
32840 (__libc_sa_len_internal): Remove declaration.
32841 (__connect, __libc_sa_len): Declare hidden_proto.
32842 (SA_LEN): Remove use of INTUSE.
32843 * socket/connect.c: Add libc_hidden_def.
32844 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32845 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32846 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32848 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32849 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32850 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32851 of adding _internal alias.
32853 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32856 * sysdeps/i386/bits/link.h: Removed.
32857 * sysdeps/i386/bits/linkmap.h: Likewise.
32858 * sysdeps/x86_64/bits/link.h: Renamed to ...
32859 * sysdeps/x86/bits/link.h: This.
32860 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32861 * sysdeps/x86/bits/linkmap.h: This.
32863 * sysdeps/i386/bits/endian.h: Removed.
32864 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32865 * sysdeps/x86/bits/endian.h: This.
32867 * sysdeps/i386/bits/byteswap.h: Removed.
32868 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32869 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32870 * sysdeps/x86/bits/byteswap.h: This.
32871 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32872 * sysdeps/x86/bits/byteswap-16.h: This.
32873 * sysdeps/i386/Implies: Add x86.
32874 * sysdeps/x86_64/Implies: Likewise.
32876 2012-05-30 David S. Miller <davem@davemloft.net>
32878 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32879 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32880 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32881 (FP_TRAPPING_EXCEPTIONS): Define.
32882 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32883 (FP_TRAPPING_EXCEPTIONS): Define.
32884 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32885 subnormals only when inexact has been signalled or underflow
32886 exceptions are enabled.
32887 (_FP_PACK_CANONICAL): Likewise.
32889 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32893 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32895 2012-05-30 Richard Henderson <rth@twiddle.net>
32897 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32898 with #ifndef NOT_IN_libc.
32900 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32901 marked to avoid plt entry.
32903 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32906 * Makeconfig (default-abi): New macro.
32907 (abi-includes): Likewise.
32908 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32909 $(abi-$(default-abi)-lib-soname) for soname if defined.
32910 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32912 * Makefile (installed-stubs): Likewise.
32913 * include/stubs-biarch.h: Removed.
32914 * scripts/lib-names.awk: Only handle one library at a time.
32915 * scripts/soversions.awk: Remove WORDSIZE support.
32916 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32918 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32920 (syscall-list-default-condition): Likewise.
32921 (syscall-list-default-condition): Likewise.
32922 (syscall-list-includes): Likewise.
32923 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32924 syscall-list-* with abi-*. Handle undefined abi-variants.
32925 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32926 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32927 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32928 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32929 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32930 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32932 (syscall-list-32-options): Likewise.
32933 (syscall-list-32-condition): Likewise.
32934 (syscall-list-64-options): Likewise.
32935 (syscall-list-64-condition): Likewise.
32936 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32938 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32941 (abi-64-ld-soname): New macro.
32942 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32943 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32946 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32947 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32949 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32951 * sysdeps/unix/sysv/linux/kernel-features.h
32952 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32953 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32954 include <kernel-features.h>.
32955 [!__NR_ftruncate64]: Remove conditional code.
32956 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32957 [__NR_ftruncate64]: Make code unconditional.
32958 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32959 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32960 include <kernel-features.h>.
32961 [!__NR_ftruncate64]: Remove conditional code.
32962 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32963 [__NR_ftruncate64]: Make code unconditional.
32964 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32966 include <kernel-features.h>.
32967 [!__NR_ftruncate64]: Remove conditional code.
32968 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32969 [__NR_ftruncate64]: Make code unconditional.
32970 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32972 include <kernel-features.h>.
32973 [!__NR_ftruncate64]: Remove conditional code.
32974 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32975 [__NR_ftruncate64]: Make code unconditional.
32976 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32978 * configure.in (libc_cv_fpie): Weaken to a compile test using
32979 LIBC_TRY_CC_OPTION.
32980 * configure: Regenerated.
32982 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32997 2012-05-27 David S. Miller <davem@davemloft.net>
32999 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33001 (__Q_simulate_exceptions): Return void. Change to simulate
33002 exceptions by writing into the %fsr.
33003 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33004 (__Qp_handle_exceptions): Likewise.
33006 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33007 __Qp_handle_exceptions.
33008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33009 __Qp_handle_exceptions.
33010 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33011 as unused and give dummy FP_RND_NEAREST initializer.
33012 (FP_INHIBIT_RESULTS): Define.
33013 (___Q_simulate_exceptions): Update declaration.
33014 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33016 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33017 as unused and give dummy FP_RND_NEAREST initializer.
33018 (__Qp_handle_exceptions): Update declaration.
33019 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33022 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33024 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33025 the temporary FPU control word.
33026 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33027 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33028 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33029 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33030 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33031 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33032 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33033 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33034 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33035 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33036 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33038 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33040 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33043 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33045 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33046 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33047 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33048 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33050 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33051 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33054 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33056 * po/h.po: Update from translation team.
33058 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33060 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33062 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33063 handling of denormals.
33064 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33065 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33066 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33067 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33068 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33073 2012-05-26 Marek Polacek <polacek@redhat.com>
33076 * math/libm-test.inc (fma_test): Don't always expect underflow
33079 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33082 * elf/tst-execstack.c: Include stackinfo.h.
33083 (do_test): Adjust test case to ensure that pthread_getattr_np
33084 behaviour remains the same after marking stack executable.
33086 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33088 * sysdeps/unix/sysv/linux/kernel-features.h
33089 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33090 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33092 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33093 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33094 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33096 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33097 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33099 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33101 * configure.in: Define the default includes to being none.
33102 * configure: Regenerated.
33104 2012-05-25 Roland McGrath <roland@hack.frob.com>
33106 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33107 * sysdeps/x86_64/setjmp.S: Likewise.
33108 * sysdeps/i386/bsd-setjmp.S: Likewise.
33109 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33110 * sysdeps/i386/setjmp.S: Likewise.
33111 * sysdeps/i386/__longjmp.S: Likewise.
33112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33113 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33115 * include/stap-probe.h: New file.
33116 * configure.in: Handle --enable-systemtap.
33117 * configure: Regenerated.
33118 * config.h.in (USE_STAP_PROBE): New #undef.
33119 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33120 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33121 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33123 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33127 to 2.4.0 where earlier.
33128 * sysdeps/unix/sysv/linux/configure: Regenerated.
33129 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33130 <kernel-features.h>.
33131 [__ASSUME_32BITUIDS]: Make code unconditional.
33132 [!__ASSUME_32BITUIDS]: Remove conditional code.
33133 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33134 <kernel-features.h>.
33135 [__ASSUME_32BITUIDS]: Make code unconditional.
33136 [!__ASSUME_32BITUIDS]: Remove conditional code.
33137 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33138 [__ASSUME_32BITUIDS]: Make code unconditional.
33139 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33140 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33141 <kernel-features.h>.
33142 [__ASSUME_32BITUIDS]: Make code unconditional.
33143 [!__ASSUME_32BITUIDS]: Remove conditional code.
33144 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33145 <kernel-features.h>.
33146 [__ASSUME_32BITUIDS]: Make code unconditional.
33147 [!__ASSUME_32BITUIDS]: Remove conditional code.
33148 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33149 <kernel-features.h>.
33150 [__ASSUME_32BITUIDS]: Make code unconditional.
33151 [!__ASSUME_32BITUIDS]: Remove conditional code.
33152 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33153 <kernel-features.h>.
33154 [__ASSUME_32BITUIDS]: Make code unconditional.
33155 [!__ASSUME_32BITUIDS]: Remove conditional code.
33156 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33157 <kernel-features.h>.
33158 [__ASSUME_32BITUIDS]: Make code unconditional.
33159 [!__ASSUME_32BITUIDS]: Remove conditional code.
33160 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33161 <kernel-features.h>.
33162 [__ASSUME_32BITUIDS]: Make code unconditional.
33163 [!__ASSUME_32BITUIDS]: Remove conditional code.
33164 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33165 <kernel-features.h>.
33166 [__ASSUME_32BITUIDS]: Make code unconditional.
33167 [!__ASSUME_32BITUIDS]: Remove conditional code.
33168 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33169 <kernel-features.h>.
33170 [__ASSUME_32BITUIDS]: Make code unconditional.
33171 [!__ASSUME_32BITUIDS]: Remove conditional code.
33172 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33173 <kernel-features.h>.
33174 [__ASSUME_32BITUIDS]: Make code unconditional.
33175 [!__ASSUME_32BITUIDS]: Remove conditional code.
33176 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33177 <kernel-features.h>.
33178 [__ASSUME_32BITUIDS]: Make code unconditional.
33179 [!__ASSUME_32BITUIDS]: Remove conditional code.
33180 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33181 <kernel-features.h>.
33182 [__NR_setresgid] (__setresgid): Do not declare.
33183 [__ASSUME_32BITUIDS]: Make code unconditional.
33184 [!__ASSUME_32BITUIDS]: Remove conditional code.
33185 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33186 <kernel-features.h>.
33187 [__NR_setresuid] (__setresuid): Do not declare.
33188 [__ASSUME_32BITUIDS]: Make code unconditional.
33189 [!__ASSUME_32BITUIDS]: Remove conditional code.
33190 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33191 <kernel-features.h>.
33192 [__ASSUME_32BITUIDS]: Make code unconditional.
33193 [!__ASSUME_32BITUIDS]: Remove conditional code.
33194 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33195 <kernel-features.h>.
33196 [__ASSUME_32BITUIDS]: Make code unconditional.
33197 [!__ASSUME_32BITUIDS]: Remove conditional code.
33198 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33199 <kernel-features.h>.
33200 [__ASSUME_32BITUIDS]: Make code unconditional.
33201 [!__ASSUME_32BITUIDS]: Remove conditional code.
33202 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33203 <kernel-features.h>.
33204 [__ASSUME_32BITUIDS]: Make code unconditional.
33205 [!__ASSUME_32BITUIDS]: Remove conditional code.
33206 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33207 <kernel-features.h>.
33208 [__ASSUME_32BITUIDS]: Make code unconditional.
33209 [!__ASSUME_32BITUIDS]: Remove conditional code.
33210 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33211 <kernel-features.h>.
33212 [__ASSUME_32BITUIDS]: Make code unconditional.
33213 [!__ASSUME_32BITUIDS]: Remove conditional code.
33214 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33215 <kernel-features.h>.
33216 [__ASSUME_32BITUIDS]: Make code unconditional.
33217 [!__ASSUME_32BITUIDS]: Remove conditional code.
33218 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33219 <kernel-features.h>.
33220 [__ASSUME_32BITUIDS]: Make code unconditional.
33221 [!__ASSUME_32BITUIDS]: Remove conditional code.
33222 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33223 <kernel-features.h>.
33224 [__ASSUME_32BITUIDS]: Make code unconditional.
33225 [!__ASSUME_32BITUIDS]: Remove conditional code.
33226 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33227 <kernel-features.h>.
33228 [__ASSUME_32BITUIDS]: Make code unconditional.
33229 [!__ASSUME_32BITUIDS]: Remove conditional code.
33230 * sysdeps/unix/sysv/linux/kernel-features.h
33231 (__ASSUME_SETRESUID_SYSCALL): Remove.
33232 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33233 (__ASSUME_32BITUIDS): Likewise.
33234 (__ASSUME_LDT_WORKS): Likewise.
33235 (__ASSUME_O_DIRECTORY): Likewise.
33236 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33237 architecture but not kernel version.
33238 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33239 (__ASSUME_MMAP2_SYSCALL): Likewise.
33240 (__ASSUME_STAT64_SYSCALL): Likewise.
33241 (__ASSUME_IPC64): Likewise.
33242 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33243 <kernel-features.h>.
33244 [__ASSUME_32BITUIDS]: Make code unconditional.
33245 [!__ASSUME_32BITUIDS]: Remove conditional code.
33246 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33247 <kernel-features.h>.
33248 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33249 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33250 132096]: Remove conditional code.
33251 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33252 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33253 <kernel-features.h>.
33254 [__ASSUME_32BITUIDS]: Make code unconditional.
33255 [!__ASSUME_32BITUIDS]: Remove conditional code.
33256 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33257 <kernel-features.h>.
33258 [__ASSUME_32BITUIDS]: Make code unconditional.
33259 [!__ASSUME_32BITUIDS]: Remove conditional code.
33260 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33261 <kernel-features.h>.
33262 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33264 (__setresgid): Do not declare.
33265 [__ASSUME_32BITUIDS]: Make code unconditional.
33266 [!__ASSUME_32BITUIDS]: Remove conditional code.
33267 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33268 <kernel-features.h>.
33269 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33271 (__setresuid): Do not declare.
33272 [__ASSUME_32BITUIDS]: Make code unconditional.
33273 [!__ASSUME_32BITUIDS]: Remove conditional code.
33274 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33275 <kernel-features.h>.
33276 [__ASSUME_32BITUIDS]: Make code unconditional.
33277 [!__ASSUME_32BITUIDS]: Remove conditional code.
33278 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33279 <kernel-features.h>.
33280 [__ASSUME_32BITUIDS]: Make code unconditional.
33281 [!__ASSUME_32BITUIDS]: Remove conditional code.
33283 2012-05-25 Richard Henderson <rth@twiddle.net>
33285 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33286 dl_hwcap to ifunc resolver.
33287 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33289 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33290 dl_hwcap to ifunc resolver.
33291 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33293 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33296 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33297 for |x| <= 2**-26, not 2**-57.
33298 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33301 2012-05-24 Jeff Law <law@redhat.com>
33303 * stdio-common/Makefile (tests): Add bug25.
33304 * stdio-common/bug25.c: New test.
33306 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33309 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33310 multiple of MALLOC_ALIGNMENT in size.
33311 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33313 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33315 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33317 (FILENAME_MAX): Use macro-int-constant.
33318 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33319 (_IOFBF): Use macro-int-constant.
33320 (_IOLBF): Likewise.
33321 (_IONBF): Likewise.
33322 (SEEK_CUR): Likewise.
33323 (SEEK_END): Likewise.
33324 (SEEK_SET): Likewise.
33325 (TMP_MAX): Likewise.
33326 (EOF): Use macro-int-constant. Require < 0.
33327 (NULL): Use macro-constant. Require == 0.
33328 (stdin): Require type to be FILE *.
33329 (stdout): Likewise.
33330 (stderr): Likewise.
33331 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33332 macro-int-constant.
33333 (EXIT_SUCCESS): Likewise.
33334 (NULL): Use macro-constant. Require == 0.
33335 (RAND_MAX): Use macro-int-constant.
33336 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33337 [C99-based standards] (strtof): Require function.
33338 [C99-based standards] (strtold): Likewise.
33339 [C99-based standards] (strtoll): Likewise.
33340 [C99-based standards] (strtoull): Likewise.
33341 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33342 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33343 [ISO || ISO99 || ISO11] (math.h): Likewise.
33344 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33345 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33346 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33348 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33351 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33352 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33353 * intl/dgettext.c (DCGETTEXT): Likewise.
33354 * intl/gettext.c (DCGETTEXT): Likewise.
33355 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33356 * posix/regex_internal.h (gettext): Likewise.
33357 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33358 Remove declaration.
33359 * include/argz.h (__argz_count_internal)
33360 (__argz_stringify_internal): Remove declaration.
33361 (__argz_count, __argz_stringify): Declare hidden proto.
33362 * intl/dcgettext.c: Remove use of INTDEF.
33363 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33364 * string/argz-stringify.c: Likewise.
33365 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33366 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33367 Declare hidden proto.
33368 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33369 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33370 Declare hidden proto.
33371 * include/stdio.h (__asprintf_internal): Don't declare.
33372 (__asprintf): Don't define as macro. Declare hidden proto.
33373 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33374 (__fsetlocking): Declare hidden proto.
33375 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33376 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33378 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33379 (_IO_setlinebuf): Remove use of INTUSE.
33380 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33381 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33382 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33383 Remove declaration.
33384 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33385 (_IO_do_flush): Remove use of INTUSE.
33386 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33387 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33388 (_IO_adjust_column, _IO_least_wmarker)
33389 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33390 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33391 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33392 (_IO_default_doallocate, _IO_wdefault_doallocate)
33393 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33394 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33395 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33396 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33397 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33398 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33399 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33400 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33401 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33402 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33403 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33404 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33405 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33407 (_IO_flush_all_internal, _IO_adjust_column_internal)
33408 (_IO_default_uflow_internal, _IO_default_finish_internal)
33409 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33410 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33411 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33412 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33413 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33414 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33415 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33416 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33417 (_IO_file_close_internal, _IO_file_close_it_internal)
33418 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33419 (_IO_file_init_internal, _IO_file_attach_internal)
33420 (_IO_file_fopen_internal, _IO_file_read_internal)
33421 (_IO_file_sync_internal, _IO_file_seek_internal)
33422 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33423 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33424 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33425 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33426 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33427 (_IO_list_all_internal, _IO_link_in_internal)
33428 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33429 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33430 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33431 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33432 (_IO_do_write_internal, _IO_padn_internal)
33433 (_IO_getline_info_internal, _IO_getline_internal)
33434 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33435 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33436 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33437 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33438 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33439 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33440 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33441 with libc_hidden_ver, remove use of INTUSE.
33442 * libio/genops.c: Likewise.
33443 * libio/freopen.c: Likewise.
33444 * libio/freopen64.c: Likewise.
33445 * libio/iofclose.c: Likewise.
33446 * libio/iofdopen.c: Likewise.
33447 * libio/iofflush.c: Likewise.
33448 * libio/iofflush_u.c: Likewise.
33449 * libio/iofgets.c: Likewise.
33450 * libio/iofgets_u.c: Likewise.
33451 * libio/iofopen.c: Likewise.
33452 * libio/iofopncook.c: Likewise.
33453 * libio/iofread.c: Likewise.
33454 * libio/iofread_u.c: Likewise.
33455 * libio/ioftell.c: Likewise.
33456 * libio/iofwrite.c: Likewise.
33457 * libio/iogetline.c: Likewise.
33458 * libio/iogets.c: Likewise.
33459 * libio/iogetwline.c: Likewise.
33460 * libio/iopadn.c: Likewise.
33461 * libio/iopopen.c: Likewise.
33462 * libio/ioseekoff.c: Likewise.
33463 * libio/ioseekpos.c: Likewise.
33464 * libio/iosetbuffer.c: Likewise.
33465 * libio/iosetvbuf.c: Likewise.
33466 * libio/ioungetc.c: Likewise.
33467 * libio/ioungetwc.c: Likewise.
33468 * libio/iovdprintf.c: Likewise.
33469 * libio/iovsprintf.c: Likewise.
33470 * libio/iovsscanf.c: Likewise.
33471 * libio/memstream.c: Likewise.
33472 * libio/obprintf.c: Likewise.
33473 * libio/oldfileops.c: Likewise.
33474 * libio/oldiofclose.c: Likewise.
33475 * libio/oldiofdopen.c: Likewise.
33476 * libio/oldiofopen.c: Likewise.
33477 * libio/oldiopopen.c: Likewise.
33478 * libio/oldstdfiles.c: Likewise.
33479 * libio/putc.c: Likewise.
33480 * libio/setbuf.c: Likewise.
33481 * libio/setlinebuf.c: Likewise.
33482 * libio/stdfiles.c: Likewise.
33483 * libio/strops.c: Likewise.
33484 * libio/vasprintf.c: Likewise.
33485 * libio/vscanf.c: Likewise.
33486 * libio/vsnprintf.c: Likewise.
33487 * libio/vswprintf.c: Likewise.
33488 * libio/wfiledoalloc.c: Likewise.
33489 * libio/wfileops.c: Likewise.
33490 * libio/wgenops.c: Likewise.
33491 * libio/wmemstream.c: Likewise.
33492 * libio/wstrops.c: Likewise.
33493 * libio/__fpurge.c: Likewise.
33494 * libio/__fsetlocking.c: Likewise.
33495 * assert/assert.c: Likewise.
33496 * debug/fgets_chk.c: Likewise.
33497 * debug/fgets_u_chk.c: Likewise.
33498 * debug/fread_chk.c: Likewise.
33499 * debug/fread_u_chk.c: Likewise.
33500 * debug/gets_chk.c: Likewise.
33501 * debug/obprintf_chk.c: Likewise.
33502 * debug/vasprintf_chk.c: Likewise.
33503 * debug/vdprintf_chk.c: Likewise.
33504 * debug/vsnprintf_chk.c: Likewise.
33505 * debug/vsprintf_chk.c: Likewise.
33506 * malloc/mtrace.c: Likewise.
33507 * misc/error.c: Likewise.
33508 * misc/syslog.c: Likewise.
33509 * stdio-common/asprintf.c: Likewise.
33510 * stdio-common/fxprintf.c: Likewise.
33511 * stdio-common/getw.c: Likewise.
33512 * stdio-common/isoc99_fscanf.c: Likewise.
33513 * stdio-common/isoc99_scanf.c: Likewise.
33514 * stdio-common/isoc99_vfscanf.c: Likewise.
33515 * stdio-common/isoc99_vscanf.c: Likewise.
33516 * stdio-common/isoc99_vsscanf.c: Likewise.
33517 * stdio-common/printf-prs.c: Likewise.
33518 * stdio-common/printf_fp.c: Likewise.
33519 * stdio-common/printf_fphex.c: Likewise.
33520 * stdio-common/printf_size.c: Likewise.
33521 * stdio-common/putw.c: Likewise.
33522 * stdio-common/scanf.c: Likewise.
33523 * stdio-common/sprintf.c: Likewise.
33524 * stdio-common/tmpfile.c: Likewise.
33525 * stdio-common/vfprintf.c: Likewise.
33526 * stdio-common/vfscanf.c: Likewise.
33527 * stdlib/strfmon_l.c: Likewise.
33528 * sunrpc/openchild.c: Likewise.
33529 * sunrpc/xdr_stdio.c: Likewise.
33530 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33531 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33533 2012-05-24 Roland McGrath <roland@hack.frob.com>
33535 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33537 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33538 in the third column, to generate for the shared library an IFUNC
33539 that uses _dl_vdso_vsym.
33540 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33541 * Makeconfig (object-suffixes-noshared): New variable.
33543 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33544 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33545 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33546 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33549 * include/sys/time.h (__gettimeofday): Remove macro.
33550 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33551 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33553 (__gettimeofday): Add libc_hidden_def.
33554 (gettimeofday): Add libc_hidden_weak.
33555 * sysdeps/mach/gettimeofday.c: Likewise.
33556 * sysdeps/posix/gettimeofday.c: Likewise.
33557 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33558 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33560 (__gettimeofday_internal): Remove strong_alias.
33561 (__gettimeofday): Add libc_hidden_def.
33562 (gettimeofday): Add libc_hidden_weak.
33563 * sysdeps/unix/syscalls.list (gettimeofday):
33564 Remove __gettimeofday_internal alias.
33566 2012-05-24 Daniel Jacobowitz <drow@false.org>
33567 H.J. Lu <hongjiu.lu@intel.com>
33570 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33571 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33572 (largebin_index_32_big): New.
33573 (largebin_index): Use it for 16-byte alignment.
33574 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33575 correction with front_misalign.
33577 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33605 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33606 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33608 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33612 * math/libm-test.inc (exp_test): Add test from bug 14036.
33613 (pow_test): Add test from bug 10846.
33615 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33617 (special_function): Do not include flags in test name.
33618 (parse_args): Likewise.
33619 * sysdeps/i386/fpu/libm-test-ulps: Update.
33620 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33621 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33622 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33625 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33627 * math/libm-test.inc ("Philosophy"): Update comment about
33629 (UNDERFLOW_EXCEPTION): New macro.
33630 (UNDERFLOW_EXCEPTION_OK): Likewise.
33631 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33632 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33633 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33634 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33635 (INVALID_EXCEPTION_OK): Update value.
33636 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33637 (OVERFLOW_EXCEPTION_OK): Likewise.
33638 (IGNORE_ZERO_INF_SIGN): Likewise.
33639 (test_exceptions): Handle underflow exceptions.
33640 (acos_test): Update for underflow exception expectations.
33641 (cexp_test): Likewise.
33642 (clog_test): Likewise.
33643 (clog10_test): Likewise.
33644 (csqrt_test): Likewise.
33645 (ctan_test): Likewise.
33646 (ctanh_test): Likewise.
33647 (exp_test): Likewise.
33648 (exp10_test): Likewise.
33649 (exp2_test): Likewise.
33650 (expm1_test): Likewise.
33651 (fma_test): Likewise.
33652 (j0_test): Likewise.
33653 (jn_test): Likewise.
33654 (nexttoward_test): Likewise.
33655 (pow_test): Likewise.
33656 (scalbn_test): Likewise.
33657 (scalbln_test): Likewise.
33658 (tan_test): Likewise.
33659 (y1_test): Likewise.
33660 * sysdeps/i386/fpu/libm-test-ulps: Update.
33661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33663 2012-05-23 David S. Miller <davem@davemloft.net>
33665 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33666 (__libc_sigaction): Remove unused local variables.
33668 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33670 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33672 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33674 mktime: avoid signed integer overflow
33675 * time/mktime.c (__mktime_internal): Do not mishandle the case
33676 where diff == INT_MIN.
33678 mktime: simplify computation of average
33679 * time/mktime.c (ranged_convert): Use new time_t_avg function
33680 instead of rolling our own (probably-slower) code.
33682 mktime: do not assume signed right shift propagates sign bit
33683 * time/mktime.c (isdst_differ): New static function.
33684 (__mktime_internal): No need to normalize tm_isdst now.
33685 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33688 mktime: merge another wrapv change from gnulib
33689 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33690 from some compilers.
33692 mktime: remove incorrect attempt at unusual arithmetics
33693 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33694 The code didn't really work on such machines anyway.
33695 (TYPE_MINIMUM): Assume two's complement.
33696 (twos_complement_arithmetic): Verify that long_int and time_t
33697 are two's complement (or unsigned, in the latter case).
33699 mktime: check signed shifts on long_int and time_t, too
33700 * time/mktime.c (SHR): Check that shifts work as desired
33701 on the types long_int and time_t too, as SHR is used on
33704 mktime: do not assume 'long' is wide enough
33705 * time/mktime.c (verify): Move decl up.
33706 (long_int): New type.
33707 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33708 to remove assumption in the code that 'long' is wide enough to
33709 store year values. This assumption is not true on x32 and on
33710 some non-glibc platforms.
33712 mktime: merge wrapv change from gnulib
33713 * time/mktime.c (WRAPV): New macro.
33714 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33715 (guess_time_tm, __mktime_internal): Do not assume that signed
33716 integer overflow wraps around; modern compilers generate code
33717 where this assumption is no longer valid.
33719 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33721 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33722 Replace "jmp L(pseudo_end)" with "ret".
33723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33726 2012-05-23 Andreas Jaeger <aj@suse.de>
33728 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33729 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33731 2012-05-23 Andreas Jaeger <aj@suse.de>
33732 Maximilian Attems <max@stro.at>
33734 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33737 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33739 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33740 code so that pseudo_end is just ret and the stack pointer is
33741 correct also for static library in error case.
33743 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33745 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33746 move to syscalls.list.
33747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33752 * manual/install.texi (Running make install): Do not mention Linux
33753 kernel version for which pt_chown is not needed.
33754 (Linux): Do not mention problems with nscd with 2.0 kernels.
33755 * INSTALL: Regenerated.
33757 2012-05-23 Andreas Jaeger <aj@suse.de>
33759 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33760 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33762 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33763 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33764 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33765 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33766 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33767 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33768 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33769 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33771 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33772 * sysdeps/unix/sysv/linux/bits/in.h
33773 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33775 2012-05-22 Roland McGrath <roland@hack.frob.com>
33777 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33778 (PREPARE_VERSION): Just use assert instead, it will be elided
33779 under [NDEBUG] anyway.
33781 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33783 * sysdeps/unix/sysv/linux/Makefile: Include
33784 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33785 (sysdep_routines): Remove sysctl.
33786 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33787 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33788 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33789 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33790 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33792 2012-05-22 Andreas Jaeger <aj@suse.de>
33794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33795 that pseudo_end is just ret and the stack pointer is correct also
33796 for static library in error case.
33798 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33801 * nss/nsswitch.c (defconfig_entries): New variable.
33802 (__nss_database_lookup): Don't leak defconfig entries.
33803 (nss_parse_service_list): Don't leak on error paths.
33804 (free_database_entries): New function.
33805 (free_defconfig): New function.
33806 (free_mem): Move common code to free_database_entries.
33808 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33810 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33812 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33814 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33815 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33818 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33819 (INTERNAL_SYSCALL_TYPES): Likewise.
33820 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33821 (LOAD_REGS_TYPES_[1-6]): Likewise.
33822 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33823 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33825 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33827 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33828 copysignl for GLIBC_2_0.
33829 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33830 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33832 logbl for GLIBC_2_0.
33833 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33834 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33836 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33839 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33841 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33844 * time/mktime.c: Update copyright years.
33846 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33848 mktime: merge comment-quoting-style change from gnulib
33849 * time/mktime.c: Quote 'like this' in comments.
33850 The GNU coding standards suggest that we no longer quote `like this',
33851 as "`" and "'" are typically rendered asymmetrically nowadays.
33852 The typical gnulib style is to quote 'like this' when quoting
33853 code, and "like this" when quoting English.
33855 * time/mktime.c (compile-command): Add "-I.".
33857 mktime: merge mktime-internal.h change from gnulib
33858 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33860 mktime: merge time_r change from gnulib
33861 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33863 mktime: merge DEBUG change from gnulib
33864 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33865 case system <time.h> has a #define.
33867 mktime: merge <sys/types.h> change from gnulib
33868 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33869 since <time.t> is now guaranteed to define time_t.
33871 mktime: merge HAVE_CONFIG_H change from gnulib
33872 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33874 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33879 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33881 (struct rusage): Use anonymous union to pad each field to
33884 2012-05-21 David S. Miller <davem@davemloft.net>
33886 * Makefules (o-iterator): Remove .s cases.
33887 (compile-command.s): Delete.
33888 (COMPILE.s): Delete.
33889 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33891 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33893 * configure.in (libc_cv_predef_stack_protector): Only consider
33894 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33895 * configure: Regenerated.
33897 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33900 New macro. Use R*LP on int and pointer.
33901 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33902 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33903 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33904 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33906 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33907 [__WORDSIZE_TIME64_COMPAT32] instead of
33908 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33909 (struct utmp): Likewise.
33910 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33911 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33913 (__WORDSIZE_TIME64_COMPAT32): This.
33914 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33915 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33916 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33917 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33918 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33919 (__WORDSIZE_TIME64_COMPAT32): New macro.
33921 2012-05-21 Andreas Jaeger <aj@suse.de>
33923 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33924 only if [SHARED]. Add prototype for __wcschr_ia32.
33926 2012-05-21 Roland McGrath <roland@hack.frob.com>
33928 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33929 of %rbp unmolested in the jmp_buf while mangling the low bits.
33930 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33931 unmolested high bits of %rbp while demangling the low bits.
33932 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33934 2012-05-21 Andreas Jaeger <aj@suse.de>
33936 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33937 * sunrpc/svc_simple.c: Use it for registerrpc.
33938 * sunrpc/xcrypt.c: Use it for passwd2des.
33940 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33942 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33944 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33945 Don't define if [__SYSCALL_WORDSIZE != 32].
33946 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33949 2012-05-21 Bruno Haible <bruno@clisp.org>
33950 Andreas Jaeger <aj@suse.de>
33952 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33953 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33954 inptr and inend for must_buffer_ch.
33955 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33956 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33957 * stdio-common/Makefile (tests): Remove bug15.
33958 (bug15-ENV): Remove macro.
33959 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33962 2012-05-19 Andreas Jaeger <aj@suse.de>
33963 Roland McGrath <roland@hack.frob.com>
33965 * manual/contrib.texi: Completely rewritten. It contains now an
33966 alphabetical list of contributors and their contributions.
33968 2012-05-21 Richard Henderson <rth@twiddle.net>
33970 * misc/getauxval.c (__getauxval): Use unsigned long int.
33971 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33972 (getauxval): Use unsigned long int.
33974 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33976 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33978 2012-05-21 Roland McGrath <roland@hack.frob.com>
33980 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33981 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33982 __alignof__ (long double).
33984 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33988 2012-05-20 Richard Henderson <rth@twiddle.net>
33990 * misc/getauxval.c: New file.
33991 * misc/sys/auxv.h: New file.
33992 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33993 (routines): Add getauxval.
33994 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33995 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33996 * elf/dl-sysdep.c (_dl_auxv): Remove.
33997 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33998 * elf/dl-support.c (_dl_auxv): New variable.
33999 (_dl_aux_init): Initialize it.
34000 * manual/startup.texi (Auxiliary Vector): New node.
34001 * sysdeps/generic/bits/hwcap.h: New file.
34002 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34003 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34004 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34005 * sysdeps/sparc/sysdep.h: ... here. Include it.
34006 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34007 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34019 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34023 2012-05-19 David S. Miller <davem@davemloft.net>
34025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34027 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34030 * math/s_ccosh.c: Include <float.h>
34031 (__ccosh): Avoid internal overflow calculating sinh and cosh
34032 values before multiplying by sin and cos values.
34033 * math/s_ccoshf.c: Likewise.
34034 * math/s_ccoshl.c: Likewise.
34035 * math/s_csin.c: Likewise.
34036 * math/s_csinf.c: Likewise.
34037 * math/s_csinl.c: Likewise.
34038 * math/s_csinh.c: Likewise.
34039 * math/s_csinhf.c: Likewise.
34040 * math/s_csinhl.c: Likewise.
34041 * math/libm-test.inc (ccos_test): Add more tests.
34042 (ccosh_test): Likewise.
34043 (csin_test): Likewise.
34044 (csinh_test): Likewise.
34045 * sysdeps/i386/fpu/libm-test-ulps: Update.
34046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34048 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34050 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34051 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34053 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34055 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34057 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34058 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34059 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34060 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34061 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34062 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34063 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34064 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34065 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34066 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34067 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34068 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34069 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34070 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34071 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34072 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34073 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34074 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34075 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34076 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34077 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34078 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34079 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34080 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34081 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34082 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34083 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34084 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34085 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34086 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34087 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34089 2012-05-18 Andreas Jaeger <aj@suse.de>
34091 * csu/.gitignore: Delete.
34093 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34095 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34096 (timex): Use __syscall_slong_t.
34098 2012-05-18 Andreas Jaeger <aj@suse.de>
34099 Carlos O'Donell <carlos_odonell@mentor.com>
34101 * manual/install.texi (Configuring and compiling): Update
34102 description about files modified in the source directory.
34103 * INSTALL: Regenerated.
34105 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34107 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34108 value. Use "or" to set return value to -1.
34109 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34110 negate return value.
34112 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34114 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34115 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34116 failure if the compiler has Graphite support disabled.
34117 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34119 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34120 (CFLAGS-memmove.c): Likewise.
34121 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34124 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34126 * sysdeps/x86_64/x32/_itoa.h: New file.
34128 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34129 getdents system call only if kernel and user dirents have the
34130 same d_ino and d_off.
34132 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34133 LLONG_MAX != LONG_MAX.
34134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34135 (_fitoa_word): Likewise.
34137 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34139 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34140 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34141 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34143 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34144 include <bits/wordsize.h>. Check __x86_64__ instead of
34146 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34147 if __x86_64__ is defined. Use anonymous union on fpstate.
34149 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34152 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34154 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34155 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34156 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34157 Refer to _rtld_local_ro instead of _rtld_global_ro.
34158 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34160 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34162 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34164 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34165 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34166 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34168 * sysdeps/powerpc/powerpc32/dl-machine.c
34169 (__elf_machine_runtime_setup) [PROF]: Don't reference
34172 2012-05-18 Andreas Jaeger <aj@suse.de>
34174 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34175 function only available for GCCs before 3.4 since GCC 3.4
34176 introduced a builtin.
34178 (llrintf): Likewise.
34179 (llrint): Likewise.
34186 (nearbyint): Likewise.
34187 (nearbyintf): Likewise.
34191 (floorf): Likewise.
34193 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34195 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34196 on both fields and cast pointer to __syscall_ulong_t.
34198 * bits/types.h (__fsword_t): New type.
34199 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34200 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34202 (__FSWORD_T_TYPE): Likewise.
34203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34204 (__FSWORD_T_TYPE): Likewise.
34205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34206 (__FSWORD_T_TYPE): Likewise.
34207 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34208 (__FSWORD_T_TYPE): Likewise.
34209 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34210 __SWORD_TYPE with __fsword_t.
34211 (statfs64): Likewise.
34213 2012-05-17 David S. Miller <davem@davemloft.net>
34215 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34217 2012-05-17 Andreas Jaeger <aj@suse.de>
34219 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34222 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34224 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34226 2012-05-17 Andreas Jaeger <aj@suse.de>
34228 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34231 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34233 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34235 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34237 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34238 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34240 2012-05-17 Andreas Jaeger <aj@suse.de>
34241 Carlos O'Donell <carlos_odonell@mentor.com>
34244 * sysdeps/x86_64/multiarch/init-arch.h
34245 (bit_YMM_Usable): Rename to...
34246 (bit_AVX_Usable): ... this.
34247 (bit_FMA4_Usable): New macro.
34248 (bit_XMM_state): New macro.
34249 (bit_YMM_state): New macro.
34250 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34251 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34252 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34253 (CPUID_OSXSAVE): New macro.
34254 (CPUID_AVX): New macro.
34255 (CPUID_FMA4): New macro.
34256 (index_YMM_Usable): Rename to...
34257 (index_AVX_Usable): ... this.
34258 (HAS_AVX): Use HAS_ARCH_FEATURE.
34259 (HAS_FMA4): Likewise.
34260 (HAS_YMM_USABLE): Remove.
34261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34262 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34264 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34265 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34266 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34267 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34268 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34270 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34272 * math/libm-test.c: Support platforms without multiple rounding modes.
34273 * math/bug-nextafter.c: Support platforms without FP exceptions.
34274 * math/bug-nexttoward.c: Likewise.
34275 * math/test-fenv.c: Likewise.
34276 * math/test-misc.c: Likewise.
34277 * stdlib/bug-getcontext.c: Likewise.
34279 2012-05-17 Andreas Jaeger <aj@suse.de>
34281 * manual/examples/search.c (critter_cmp): Change signature to
34283 * manual/string.texi (Collation Functions): Likewise.
34285 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34287 * bits/types.h: Fold copyright years.
34288 * bits/typesizes.h: Likewise.
34289 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34292 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34293 * time/time.h: Likewise.
34295 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34298 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34299 in instead of returning them. Return void.
34300 (__libc_mallinfo): Accumulate over all arenas.
34301 (__malloc_stats): Adjust for change in int_mallinfo interface.
34303 2012-05-16 Roland McGrath <roland@hack.frob.com>
34306 * configure.in (NM): Add AC_CHECK_TOOL for it.
34307 (libc_extra_cflags): New substituted variable.
34308 Check for -fstack-protector being used implicitly.
34309 * configure: Regenerated.
34310 * config.make.in (config-extra-cflags): New variable,
34311 gets @libc_extra_cflags@.
34312 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34315 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34316 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34317 * configure: Regenerated.
34318 * config.make.in (CPPUNDEFS): New substituted variable.
34319 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34320 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34321 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34323 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34325 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34326 (mq_attr): Use __syscall_slong_t.
34328 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34330 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34331 Check __x86_64__ instead of __WORDSIZE.
34332 (_STAT_VER_LINUX): Likewise.
34333 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34334 __syscall_ulong_t and __syscall_slong_t.
34335 (stat64): Likewise.
34337 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34341 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34343 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34345 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34347 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34350 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34351 include <bits/wordsize.h>. Check __x86_64__ instead of
34353 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34355 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34357 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34358 include <bits/wordsize.h>. Check __x86_64__ instead of
34360 (user_regs_struct): Use "__extension__ unsigned long long"
34361 instead of "unsigned long" if __x86_64__ is defined.
34362 (user): Likewise. Pad after pointer field if __ILP32__ is
34365 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34367 * configure.in (makeinfo): Require version 4.5 or later. Allow
34369 * configure: Regenerated.
34370 * manual/install.texi (texinfo): Increase version requirement to
34372 * INSTALL: Regenerated.
34374 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34376 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34378 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34380 * sysdeps/x86_64/x32/ffs.c: New file.
34382 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34384 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34385 defined. Use __syscall_ulong_t.
34386 (shminfo): Use __syscall_ulong_t.
34387 (shm_info): Likewise.
34389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34392 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34394 (msgqnum_t): Use __syscall_ulong_t.
34395 (msglen_t): Likewise.
34396 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34399 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34400 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34402 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34404 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34405 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34407 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34410 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34411 include <bits/wordsize.h>. Check __x86_64__ instead of
34414 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34415 "unsigned long long int" if __x86_64__ is defined.
34416 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34418 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34419 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34420 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34422 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34424 (GET_PC): Cast to uintptr_t first.
34425 (GET_FRAME): Likewise.
34426 (GET_STACK): Likewise.
34428 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34429 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34430 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34431 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34432 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34433 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34434 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34435 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34436 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34437 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34438 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34439 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34440 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34441 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34442 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34443 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34444 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34445 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34446 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34447 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34448 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34449 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34450 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34451 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34452 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34453 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34454 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34455 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34456 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34458 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34460 * Makerules (+depfiles): Also collect depfiles from .oS in
34462 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34463 .oS, $(libnldbl-routines)).
34465 * Makerules (native-compile-mkdep-flags): Define.
34466 * sunrpc/Makefile (extra-objs): Add $(addprefix
34467 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34468 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34469 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34470 calling $(make-target-directory).
34472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34474 * bits/types.h (__snseconds_t): Removed.
34475 * time/time.h (struct timespec): Replace __snseconds_t with
34477 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34478 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34481 (__SNSECONDS_T_TYPE): Likewise.
34482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34483 (__SNSECONDS_T_TYPE): Likewise.
34484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34485 (__SNSECONDS_T_TYPE): Likewise.
34487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34489 * sysdeps/mach/hurd/bits/typesizes.h
34490 (__SYSCALL_SLONG_TYPE): New macro.
34491 (__SYSCALL_ULONG_TYPE): Likewise.
34493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34495 * bits/types.h (__syscall_slong_t): New type.
34496 (__syscall_ulong_t): Likewise.
34498 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34499 (__SYSCALL_ULONG_TYPE): Likewise.
34500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34501 (__SYSCALL_SLONG_TYPE): Likewise.
34502 (__SYSCALL_ULONG_TYPE): Likewise.
34503 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34504 (__SYSCALL_SLONG_TYPE): Likewise.
34505 (__SYSCALL_ULONG_TYPE): Likewise.
34506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34507 (__SYSCALL_SLONG_TYPE): Likewise.
34508 (__SYSCALL_ULONG_TYPE): Likewise.
34510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34512 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34513 Add sigaltstack-offsets.sym.
34514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34515 <sigaltstack-offsets.h>.
34516 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34517 longjmp_msg pointer.
34518 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34519 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34521 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34523 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34525 * elf/stackguard-macros.h: Remove file.
34526 * sysdeps/generic/stackguard-macros.h: New file.
34527 * sysdeps/i386/stackguard-macros.h: Likewise.
34528 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34529 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34530 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34531 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34532 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34533 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34534 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34535 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34536 <elf/stackguard-macros.h>.
34539 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34540 __aligned__ in attribute.
34541 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34542 (gregset_t): Likewise.
34544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34546 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34547 * sysdeps/x86_64/64/Implies-after: Here. New file.
34548 * sysdeps/x86_64/x32/Implies-after: New file.
34550 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34552 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34553 and access return value for _dl_profile_fixup. Use R10_LP to
34556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34558 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34562 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34563 * sysdeps/x86_64/x32/sysdep.h: New file.
34565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34567 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34568 * sysdeps/x86_64/setjmp.S: Likewise.
34570 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34572 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34573 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34574 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34576 remove unused global constant.
34578 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34580 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34581 include of <not-cancel.h>.
34583 2012-05-15 Roland McGrath <roland@hack.frob.com>
34585 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34587 2012-05-15 Jeff Law <law@redhat.com>
34588 Andreas Jaeger <aj@suse.de>
34591 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34593 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34594 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34595 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34596 code changing __hst_map_handle.map.
34598 2012-05-15 Roland McGrath <roland@hack.frob.com>
34600 * configure.in (sysnames): Look for Implies-before and Implies-after
34602 * configure: Regenerated.
34604 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34606 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34607 8-byte data alignment with LP_SIZE alignment.
34609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34611 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34616 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34618 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34620 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34621 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34622 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34624 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34628 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34629 (stackinfo_sub_sp): Likewise.
34631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34633 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34638 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34643 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34648 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34652 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34653 into R11_LP and load __x86_64_shared_cache_size_half into
34656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34658 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34661 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34663 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34665 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34669 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34670 powerpc32/power7/fpu/s_logb.c via #include.
34671 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34672 powerpc32/power7/fpu/s_logbf.c via #include.
34673 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34674 powerpc32/power7/fpu/s_logbl.c via #include.
34676 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34678 * README.libm: Remove file.
34680 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34682 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34683 count for x32. Use R*_LP and omit operand-size suffix.
34685 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34687 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34688 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34689 * sysdeps/x86_64/x32/shlib-versions: New file.
34691 2012-05-14 Roland McGrath <roland@hack.frob.com>
34693 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34694 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34695 Use _dl_fatal_printf instead.
34697 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34699 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34700 set if not set by the user. Do not allow for being unset.
34701 * sysdeps/unix/sysv/linux/configure: Regenerated.
34703 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34705 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34706 the `q' suffix from lea and replace .quad with ASM_ADDR.
34708 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34711 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34713 (PTR_DEMANGLE): Likewise.
34715 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34717 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34719 (ASM_ADDR): Likewise.
34720 (RAX_LP): Likewise.
34721 (RBP_LP): Likewise.
34722 (RBX_LP): Likewise.
34723 (RCX_LP): Likewise.
34724 (RDI_LP): Likewise.
34725 (RSI_LP): Likewise.
34726 (RSP_LP): Likewise.
34729 (R10_LP): Likewise.
34730 (R10_LP): Likewise.
34731 (R11_LP): Likewise.
34732 (R12_LP): Likewise.
34733 (R13_LP): Likewise.
34734 (R14_LP): Likewise.
34735 (R15_LP): Likewise.
34737 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34739 * sysdeps/x86_64/x32/dl-machine.h: New file.
34741 2012-05-14 Andreas Jaeger <aj@suse.de>
34743 * manual/Makefile (subdir): Remove export of subdir.
34744 (all): Remove target.
34745 (.PHONY): Remove all from list.
34746 (mkinstalldirs): Remove.
34747 (.PHONY): Remove installdirs from list.
34748 ($(inst_infodir)/libc.info): Use make-target-directory.
34749 (installdirs): Remove.
34750 (subdir_%): Remove.
34751 (glibc-targets): Remove.
34754 ($(objpfx)stubs ../po/manual.pot): Remove.
34755 ($(objpfx)stamp%): Remove.
34756 (make-target-directory): Remove.
34757 (subdir_install): Remove.
34758 (routines): Remove.
34765 * manual/.gitignore: Remove, it's not needed anymore.
34766 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34768 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34770 (texis): Renamed to $(objpfx)texis.
34771 (texis-path): New, contains path to generated files.
34772 (chapters.%): Use texis-path for complete path, add extra argument
34774 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34775 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34776 (summary,texi, stamp-summary): Use complete path of
34777 files. Generate files in build dir.
34778 (dir-add.texi): Build in build dir.
34779 (libm-err.texi,stamp-libm-err): Likewise.
34780 (version.texi, stamp-version): Likewise.
34781 (.%c.texi): Likewise.
34782 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34783 (mostlyclean): Remove target.
34784 (realclean): Remove target.
34785 (generated): Add new variable with contents from mostlyclean and
34786 realclean, remove entries duplicated in common-mostlyclean, add
34787 stamp-libm-err and stamp-version.
34788 (generated-dirs): Add libc directory.
34789 ($(inst_infodir)/libc.info): Install files from build dir.
34791 * manual/install.texi (Configuring and compiling): Adjust since
34792 the info files are not part of the tar ball anymore.
34794 2012-05-14 Andreas Jaeger <aj@suse.de>
34796 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34799 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34803 to 2.2.0 where earlier.
34804 * sysdeps/unix/sysv/linux/configure: Regenerated.
34805 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34806 Remove conditional code.
34807 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34808 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34809 Remove conditional code.
34810 [!__NR_lchown]: Likewise.
34811 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34812 [__NR_lchown]: Likewise.
34813 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34814 comment referencing __ASSUME_LCHOWN_SYSCALL.
34815 * sysdeps/unix/sysv/linux/i386/sigaction.c
34816 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34817 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34818 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34819 Remove conditional code.
34820 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34821 (__protocol_available): Remove #if 0 code.
34822 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34824 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34825 * sysdeps/unix/sysv/linux/kernel-features.h
34826 (__ASSUME_GETCWD_SYSCALL): Don't define.
34827 (__ASSUME_REALTIME_SIGNALS): Likewise.
34828 (__ASSUME_PREAD_SYSCALL): Likewise.
34829 (__ASSUME_PWRITE_SYSCALL): Likewise.
34830 (__ASSUME_POLL_SYSCALL): Likewise.
34831 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34832 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34834 (__ASSUME_SIOCGIFNAME): Don't define.
34835 (__ASSUME_MSG_NOSIGNAL): Likewise.
34836 (__ASSUME_SENDFILE): Define unconditionally.
34837 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34838 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34840 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34841 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34842 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34843 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34844 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34845 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34846 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34848 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34854 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34860 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34863 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34866 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34867 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34869 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34870 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34871 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34872 Remove conditional code.
34873 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34874 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34875 Remove conditional code.
34876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34877 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34878 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34879 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34880 Remove conditional code.
34881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34882 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34883 Remove conditional code.
34884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34885 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34886 Remove conditional code.
34887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34888 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34889 Remove conditional code.
34890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34891 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34892 Remove conditional code.
34893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34894 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34897 * sysdeps/unix/sysv/linux/sigaction.c
34898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34900 * sysdeps/unix/sysv/linux/sigpending.c
34901 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34902 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34903 * sysdeps/unix/sysv/linux/sigprocmask.c
34904 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34905 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34906 * sysdeps/unix/sysv/linux/sigsuspend.c
34907 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34908 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34910 (__libc_missing_rt_sigs): Remove.
34911 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34912 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34913 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34914 Remove conditional code.
34915 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34916 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34918 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34919 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34920 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34921 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34923 2012-05-14 Andreas Jaeger <aj@suse.de>
34925 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34926 it's not used in glibc.
34927 (__coshm1): Likewise.
34928 (__acosh1p): Likewise.
34931 * manual/string.texi (Copying and Concatenation): Add missing
34932 variable in concat example.
34933 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34939 __builtin_clzl with __builtin_clzll.
34941 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34944 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34947 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34949 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34950 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34951 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34952 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34954 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34956 * NEWS: Update ia64 info.
34958 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34960 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34963 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34965 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34966 * sysdeps/unix/syscalls.list (dup3): Likewise.
34967 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34968 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34970 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34972 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34973 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34975 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34977 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34979 (TLS_IE): Use mov/add instead of movq/addq to load thread
34981 (TLS_GD_PREFIX): New.
34984 2012-05-11 David S. Miller <davem@davemloft.net>
34986 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34987 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34988 (_FPU_SETCW): Likewise.
34990 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34992 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34993 is 32-byte aligned.
34995 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34998 * iconvdata/gb18030.c: Update tables.
34999 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35000 characters specially.
35001 (BODY for TO_LOOP): Add encoding of missing ranges.
35003 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35006 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35007 * sysdeps/mach/hurd/dup3.c: Likewise.
35008 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35009 * sysdeps/powerpc/memmove.c:: Likewise.
35011 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35013 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35014 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35016 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35018 * elf/elf.h (R_X86_64_RELATIVE64): New.
35019 (R_X86_64_NUM): Updated.
35020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35021 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35022 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35023 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35024 tst-quad1pie tst-quad2pie
35025 (modules-names): Add tst-quadmod1 tst-quadmod2.
35026 ($(objpfx)tst-quad1): New dependency.
35027 ($(objpfx)tst-quad2): Likewise.
35028 ($(objpfx)tst-quad1pie): Likewise.
35029 ($(objpfx)tst-quad2pie): Likewise.
35030 * sysdeps/x86_64/tst-quad1.c: New file.
35031 * sysdeps/x86_64/tst-quad1pie.c: New file.
35032 * sysdeps/x86_64/tst-quad2.c: Likewise.
35033 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35034 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35035 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35036 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35037 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35041 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35042 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35043 * streams/stropts.h (t_scalar_t): Define type.
35045 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35046 (_PATH_PRESERVE): Set to "/var/lib".
35047 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35049 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35052 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35053 if __dir_mkfile succeeded.
35055 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35056 checking for _hurd_dtablesize. Unlock it right after having
35057 finished _hurd_dtable allocation.
35059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35061 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35062 * sysdeps/mach/hurd/configure: Regenerated.
35063 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35064 special-casing to...
35065 * sysdeps/gnu/configure.in: ... this new file.
35066 * sysdeps/unix/sysv/linux/configure: Regenerated.
35067 * sysdeps/gnu/configure: New generated file.
35069 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35070 for Linux: use nsec instead of usec, as well as:
35071 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35072 members of type struct timespec.
35073 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35075 (struct stat64): Likewise.
35076 (_STATBUF_ST_NSEC): New macro.
35077 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35079 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35080 __strtoul_internal rather than strtoul.
35082 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35084 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35087 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35089 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35090 which preserves existing values.
35091 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35093 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35095 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35096 TIMEOUT values. Return EINVAL for NFDS values either negative or
35097 greater than FD_SETSIZE.
35099 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35101 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35102 allocated, call __vm_protect to finish enabling the existing space, and
35103 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35104 allocate the remainder.
35106 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35108 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35109 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35111 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35113 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35114 sysdeps/mach/hurd/readlink.c.
35116 * posix/tst-sysconf.c (posix_options): Only use
35117 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35118 _POSIX_SYNCHRONIZED_IO when they are defined
35119 * sysdeps/mach/hurd/bits/posix_opt.h:
35120 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35121 (_XOPEN_REALTIME): Undefine macro.
35122 (_XOPEN_REALTIME_THREADS): Undefine macro.
35123 (_XOPEN_SHM): Undefine macro.
35124 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35126 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35128 (_POSIX_ASYNC_IO): Undefine macro.
35129 (_POSIX_PRIORITIZED_IO): Undefine macro.
35130 (_POSIX_SPIN_LOCKS): Define macro to -1.
35132 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35133 SA_NODEFER, SA_RESETHAND.
35134 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35135 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35138 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35140 * elf/Makefile (pldd-modules): Define unconditionally.
35142 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35144 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35148 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35149 Return ENOENT when name is empty.
35150 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35152 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35154 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35156 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35158 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35160 Fix mlock in all cases except non-readable pages.
35161 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35162 instead of VM_PROT_ALL as parameter to __vm_wire function.
35164 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35165 (__mkdir): When path is `/', just fail with EEXIST.
35166 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35168 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35170 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35171 <sys/uio.h> (for writev).
35172 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35173 and <sys/param.h> (for MIN).
35175 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35177 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35178 REQUESTED_TIME. Properly set the remaining time and return EINTR
35181 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35183 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35184 Depend on against $(link-rpcuserlibs).
35186 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35188 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35189 (__libc_stack_end): Do not use attribute_relro.
35190 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35191 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35192 to libthread-provided value.
35193 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35196 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35199 * bits/libc-lock.h (__libc_once_get): New macro.
35200 * sysdeps/mach/bits/libc-lock.h: Likewise.
35201 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35202 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35203 instead of using implementation details.
35205 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35206 * libio/freopen.c: Likewise.
35207 * libio/freopen64.c: Likewise.
35208 * misc/syslog.c: Likewise.
35209 * nscd/connections.c: Likewise.
35210 * nscd/netgroupcache.c: Likewise.
35211 * sysdeps/posix/getcwd.c: Likewise.
35213 2012-05-10 Roland McGrath <roland@hack.frob.com>
35215 * math/w_ilogbf.c: Add #include <limits.h>.
35217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35219 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35220 path instead of returning without unlocking.
35222 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35223 immediate-write ioctls.
35224 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35226 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35228 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35229 __builtin_frame_address instead of making assumptions about the
35230 location of the return address relative to DATA. Force early load of
35231 the return address.
35232 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35233 __builtin_frame_address.
35236 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35237 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35238 implement dup3 and do some further code clean-ups.
35239 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35240 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35242 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35244 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35246 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35247 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35248 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35249 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35250 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35253 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35254 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35255 when handler == SIG_ERR, not when handler != SIG_ERR.
35257 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35259 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35260 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35263 accept4 for GNU Hurd.
35264 * include/sys/socket.h (__libc_accept4): New prototype.
35265 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35266 to implement __libc_accept4.
35267 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35269 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35271 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35272 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35273 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35274 signal-defines.sym.
35276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35278 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35280 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35282 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35283 assertion on O_CLOEXEC flag.
35284 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35285 * hurd/intern-fd.c: Likewise.
35286 * hurd/port2fd.c: Likewise.
35288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35291 * bits/in.h (IPV6_PKTINFO): Define new macro.
35292 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35294 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35299 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35301 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35302 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35303 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35304 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35305 * math/libm-test.inc (logb_test) : Additional logb tests.
35307 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35308 Andreas Jaeger <aj@suse.de>
35310 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35311 * configure: Regenerated.
35312 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35313 * config.make.in (link-obsolete-rpc): New substituted variable.
35314 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35315 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35316 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35317 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35318 so that libc.a contains the symbols.
35319 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35320 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35321 * sunrpc/auth_none.c: Likewise.
35322 * sunrpc/auth_unix.c: Likewise.
35323 * sunrpc/authdes_prot.c: Likewise.
35324 * sunrpc/authuxprot.c: Likewise.
35325 * sunrpc/clnt_gen.c: Likewise.
35326 * sunrpc/clnt_perr.c: Likewise.
35327 * sunrpc/clnt_raw.c: Likewise.
35328 * sunrpc/clnt_simp.c: Likewise.
35329 * sunrpc/clnt_tcp.c: Likewise.
35330 * sunrpc/clnt_udp.c: Likewise.
35331 * sunrpc/clnt_unix.c: Likewise.
35332 * sunrpc/des_crypt.c: Likewise.
35333 * sunrpc/des_soft.c: Likewise.
35334 * sunrpc/get_myaddr.c: Likewise.
35335 * sunrpc/key_call.c: Likewise.
35336 * sunrpc/key_prot.c: Likewise.
35337 * sunrpc/netname.c: Likewise.
35338 * sunrpc/pm_getmaps.c: Likewise.
35339 * sunrpc/pm_getport.c: Likewise.
35340 * sunrpc/pmap_clnt.c: Likewise.
35341 * sunrpc/pmap_prot.c: Likewise.
35342 * sunrpc/pmap_prot2.c: Likewise.
35343 * sunrpc/pmap_rmt.c: Likewise.
35344 * sunrpc/publickey.c: Likewise.
35345 * sunrpc/rpc_cmsg.c: Likewise.
35346 * sunrpc/rpc_common.c: Likewise.
35347 * sunrpc/rpc_dtable.c: Likewise.
35348 * sunrpc/rpc_prot.c: Likewise.
35349 * sunrpc/rpc_thread.c: Likewise.
35350 * sunrpc/rtime.c: Likewise.
35351 * sunrpc/svc.c: Likewise.
35352 * sunrpc/svc_auth.c: Likewise.
35353 * sunrpc/svc_raw.c: Likewise.
35354 * sunrpc/svc_run.c: Likewise.
35355 * sunrpc/svc_tcp.c: Likewise.
35356 * sunrpc/svc_udp.c: Likewise.
35357 * sunrpc/svc_unix.c: Likewise.
35358 * sunrpc/svcauth_des.c: Likewise.
35359 * sunrpc/xcrypt.c: Likewise.
35360 * sunrpc/xdr.c: Likewise.
35361 * sunrpc/xdr_array.c: Likewise.
35362 * sunrpc/xdr_float.c: Likewise.
35363 * sunrpc/xdr_intXX_t.c: Likewise.
35364 * sunrpc/xdr_mem.c: Likewise.
35365 * sunrpc/xdr_rec.c: Likewise.
35366 * sunrpc/xdr_ref.c: Likewise.
35367 * sunrpc/xdr_sizeof.c: Likewise.
35368 * sunrpc/xdr_stdio.c: Likewise.
35370 2012-05-10 Roland McGrath <roland@hack.frob.com>
35372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35373 change. Update copyright years.
35375 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35377 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35379 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35380 Joseph Myers <joseph@codesourcery.com>
35381 Paul Pluzhnikov <ppluzhnikov@google.com>
35384 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35386 [cross-compiling] (extra-libs): Likewise.
35387 [cross-compiling] (extra-libs-others): Likewise.
35388 [cross-compiling] (librpcsvc-routines): Likewise.
35389 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35390 [cross-compiling] (omit-deps): Likewise.
35391 (sunrpc-CPPFLAGS): New variable.
35392 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35393 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35394 (cross-rpcgen-objs): New variable.
35395 (extra-objs): Append $(cross-rpcgen-objs).
35396 ($(cross-rpcgen-objs)): New rule.
35397 ($(objpfx)cross-rpcgen): Likewise.
35398 (rpcgen-cmd): Define to use $(built-program-file). Expand
35400 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35401 ($(objpfx)x%.stmp): Likewise.
35402 * sunrpc/proto.h [IS_IN_build] (_): Define.
35403 [IS_IN_build] (_libc_intl_domainname): Likewise.
35405 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35407 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35408 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35409 and R_X86_64_TPOFF64.
35411 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35413 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35414 sysdeps/unix/sysv/syscalls.list.
35417 * sysdeps/unix/sysv/syscalls.list: Remove file.
35419 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35422 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35423 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35424 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35425 (__LC_IDENTIFICATION): Make these macros useful in #if
35426 expressions, as required by C99.
35428 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35430 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35431 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35434 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35436 * stdlib/longlong.h: Updated from GCC.
35438 2012-05-09 Andreas Jaeger <aj@suse.de>
35440 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35441 default is first entry.
35442 (run_mode): Set type.
35443 (main): Remove informal message about syslog.
35444 (options): Fix typo.
35447 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35450 (llrintf): Likewise.
35451 (llrint): Likewise.
35454 (nearbyint): Likewise.
35455 (nearbyintf): Likewise.
35457 2012-05-09 Andreas Jaeger <aj@suse.de>
35458 Pedro Alves <palves@redhat.com>
35460 * nscd/nscd.c (run_mode): Use enum.
35461 (main): Cleanup coding style issue.
35463 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35464 Andreas Jaeger <aj@suse.de>
35466 * nscd/nscd.c (go_background): Replaced with...
35467 (run_mode): ... this.
35468 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35469 (options): Add -F --foreground.
35470 (main): Implement it.
35471 (parse_opt): Parse it.
35473 2012-05-09 Andreas Jaeger <aj@suse.de>
35476 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35477 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35478 -Wconversion warning.
35479 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35482 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35484 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35486 (LC_ALL): Use macro-int-constant.
35487 (LC_COLLATE): Likewise.
35488 (LC_CTYPE): Likewise.
35489 (LC_MESSAGES): Likewise.
35490 (LC_MONETARY): Likewise.
35491 (LC_NUMERIC): Likewise.
35492 (LC_TIME): Likewise.
35493 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35494 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35496 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35498 [C99-based standards] (float_t): Expect type.
35499 [C99-based standards] (double_t): Expect type.
35500 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35502 [C99-based standards] (HUGE_VALL): Likewise.
35503 [C99-based standards] (INFINITY): Likewise.
35504 [C99-based standards] (NAN): Likewise.
35505 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35506 [C99-based standards] (FP_NAN): Likewise.
35507 [C99-based standards] (FP_NORMAL): Likewise.
35508 [C99-based standards] (FP_SUBNORMAL): Likewise.
35509 [C99-based standards] (FP_ZERO): Likewise.
35510 [C99-based standards] (FP_FAST_FMA): Use
35511 optional-macro-int-constant. Specify type. Require == 1.
35512 [C99-based standards] (FP_FAST_FMAF): Likewise.
35513 [C99-based standards] (FP_FAST_FMAL): Likewise.
35514 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35515 [C99-based standards] (FP_ILOGBNAN): Likewise.
35516 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35518 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35519 [C99-based standards] (math_errhandling): Specify type.
35520 [ISO99 || ISO11] (signgam): Do not allow.
35521 [non-C99-based standards] (copysignf): Do not allow.
35522 [non-C99-based standards] (exp2f): Likewise.
35523 [non-C99-based standards] (log2f): Likewise.
35524 [non-C99-based standards] (modff): Allow.
35525 [non-C99-based standards] (erff): Do not allow.
35526 [non-C99-based standards] (erfcf): Likewise.
35527 [non-C99-based standards] (gammaf): Likewise.
35528 [non-C99-based standards] (hypotf): Likewise.
35529 [non-C99-based standards] (j0f): Likewise.
35530 [non-C99-based standards] (j1f): Likewise.
35531 [non-C99-based standards] (jnf): Likewise.
35532 [non-C99-based standards] (lgammaf): Likewise.
35533 [non-C99-based standards] (tgammaf): Likewise.
35534 [non-C99-based standards] (y0f): Likewise.
35535 [non-C99-based standards] (y1f): Likewise.
35536 [non-C99-based standards] (ynf): Likewise.
35537 [non-C99-based standards] (isnanf): Likewise.
35538 [non-C99-based standards] (acoshf): Likewise.
35539 [non-C99-based standards] (asinhf): Likewise.
35540 [non-C99-based standards] (atanhf): Likewise.
35541 [non-C99-based standards] (cbrtf): Likewise.
35542 [non-C99-based standards] (expm1f): Likewise.
35543 [non-C99-based standards] (ilogbf): Likewise.
35544 [non-C99-based standards] (log1pf): Likewise.
35545 [non-C99-based standards] (logbf): Likewise.
35546 [non-C99-based standards] (nextafterf): Likewise.
35547 [non-C99-based standards] (remainderf): Likewise.
35548 [non-C99-based standards] (rintf): Likewise.
35549 [non-C99-based standards] (scalbf): Likewise.
35550 [non-C99-based standards] (copysignl): Likewise.
35551 [non-C99-based standards] (exp2l): Likewise.
35552 [non-C99-based standards] (log2l): Likewise.
35553 [non-C99-based standards] (modfl): Allow.
35554 [non-C99-based standards] (erfl): Do not allow.
35555 [non-C99-based standards] (erfcl): Likewise.
35556 [non-C99-based standards] (gammal): Likewise.
35557 [non-C99-based standards] (hypotl): Likewise.
35558 [non-C99-based standards] (j0l): Likewise.
35559 [non-C99-based standards] (j1l): Likewise.
35560 [non-C99-based standards] (jnl): Likewise.
35561 [non-C99-based standards] (lgammal): Likewise.
35562 [non-C99-based standards] (tgammal): Likewise.
35563 [non-C99-based standards] (y0l): Likewise.
35564 [non-C99-based standards] (y1l): Likewise.
35565 [non-C99-based standards] (ynl): Likewise.
35566 [non-C99-based standards] (isnanl): Likewise.
35567 [non-C99-based standards] (acoshl): Likewise.
35568 [non-C99-based standards] (asinhl): Likewise.
35569 [non-C99-based standards] (atanhl): Likewise.
35570 [non-C99-based standards] (cbrtl): Likewise.
35571 [non-C99-based standards] (expm1l): Likewise.
35572 [non-C99-based standards] (ilogbl): Likewise.
35573 [non-C99-based standards] (log1pl): Likewise.
35574 [non-C99-based standards] (logbl): Likewise.
35575 [non-C99-based standards] (nextafterl): Likewise.
35576 [non-C99-based standards] (remainderl): Likewise.
35577 [non-C99-based standards] (rintl): Likewise.
35578 [non-C99-based standards] (scalbl): Likewise.
35579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35580 [non-C99-based standards] (FP_*): Do not allow.
35581 [C99-based standards] (FP_*): Change to
35582 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35583 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35585 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35586 (SIG_ERR): Likewise.
35587 [X/Open-based standards] (SIG_HOLD): Likewise.
35588 (SIG_IGN): Likewise.
35589 (SIGABRT): Use macro-int-constant. Specify type. Require
35591 (SIGFPE): Likewise.
35592 (SIGILL): Likewise.
35593 (SIGINT): Likewise.
35594 (SIGSEGV): Likewise.
35595 (SIGTER): Likewise.
35596 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35597 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35598 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35599 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35600 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35601 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35602 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35603 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35604 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35605 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35606 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35607 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35608 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35609 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35610 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35611 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35612 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35613 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35614 [X/Open-based standards] (SIGTRAP): Likewise.
35615 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35616 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35617 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35618 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35619 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35622 2012-05-08 Ian Wienand <ianw@vmware.com>
35625 * time/tzset.c (__tzset_parse_tz): Update default rules for
35626 daylight time changes in the Energy Policy Act of 2005.
35628 2012-05-09 Andreas Jaeger <aj@suse.de>
35631 * elf/ldconfig.c (parse_conf): Change string to make clear that
35632 ldconfig only issued a warning if ld.so.conf does not exist.
35634 2012-05-08 David S. Miller <davem@davemloft.net>
35636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35637 movxtod instead of popping the value on the stack.
35639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35641 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35643 * config.h.in: Add HAVE_ARM_PCS_VFP.
35645 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35648 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35649 checking but the checks are disabled for any reason.
35651 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35653 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35654 and ELF64_R_TYPE with ELFW(R_TYPE).
35656 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35658 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35659 (ulimit): Likewise.
35661 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35662 (settimeofday): Likewise.
35664 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35666 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35667 a struct th_u2 inside the union, and move tu_block/tu_code into
35668 a new th_u3 union of tu_block/tu_code inside of that. Move
35669 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35670 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35671 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35672 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35673 (th_stuff): Change to th_u1.tu_stuff.
35675 (th_msg): Change to th_u1.th_u2.tu_data.
35677 2012-05-07 David S. Miller <davem@davemloft.net>
35679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35682 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35683 (SETUP_PIC_REG): Use it.
35684 (SETUP_PIC_REG_LEAF): Use it.
35686 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35690 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35692 (EXPL_FINITE): Likewise.
35693 (FLDLOG): Likewise.
35694 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35695 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35697 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35699 (EXPL_FINITE): Likewise.
35700 (FLDLOG): Likewise.
35701 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35702 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35704 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35705 test of -max_value argument for long double.
35706 * sysdeps/i386/fpu/libm-test-ulps: Update.
35707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35709 2012-05-06 David S. Miller <davem@davemloft.net>
35711 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35712 quad soft-float symbols whose references which are compiler
35714 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35716 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35722 (EXPL_FINITE): Likewise.
35723 (FLDLOG): Likewise.
35726 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35727 Adjust comments for base varying.
35728 (__expl_finite): Change alias to EXPL_FINITE.
35729 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35731 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35732 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35734 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35735 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35737 (EXPL_FINITE): Likewise.
35738 (FLDLOG): Likewise.
35741 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35742 Adjust comments for base varying.
35743 (__expl_finite): Change alias to EXPL_FINITE.
35744 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35749 * math/libm-test.inc (check_float_internal): Correct ulp
35750 calculation for subnormal expected results.
35752 2012-05-06 Andreas Jaeger <aj@suse.de>
35754 * Makeconfig (+math-flags): New, set to -frounding-math.
35755 (+cflags): Add +math-flags so that all of glibc gets compiled with
35758 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35760 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35762 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35768 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35769 (__ieee754_expl): Allow for and saturate large arguments.
35770 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35771 (u_threshold): Likewise.
35772 (__exp): Call __ieee754_exp before checking for overflow and
35774 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35775 (u_threshold): Likewise.
35776 (__expf): Call __ieee754_expf before checking for overflow and
35778 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35779 (u_threshold): Likewise.
35780 (__expl): Call __ieee754_expl before checking for overflow and
35782 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35783 (__ieee754_expl): Allow for and saturate large arguments.
35784 * math/libm-test.inc (exp_test): Add another test. Do not allow
35785 missing overflow exception on overflow.
35786 (expm1_test): Do not allow missing overflow exception on overflow.
35788 * sysdeps/i386/fpu/e_expl.c: Move to ...
35789 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35790 rather than using inline asm.
35791 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35792 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35793 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35795 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35798 (signal): Likewise.
35802 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35804 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35805 sysdeps/unix/common/syscalls.list.
35806 (fchmod): Likewise.
35807 (fchown): Likewise.
35808 (ftruncate): Likewise.
35809 (getrusage): Likewise.
35810 (gettimeofday): Likewise.
35811 (setpgid): Likewise.
35812 (setregid): Likewise.
35813 (setreuid): Likewise.
35814 (sigaction): Likewise.
35815 (truncate): Likewise.
35816 (vhangup): Likewise.
35817 * sysdeps/unix/common/syscalls.list: Remove file.
35818 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35819 * sysdeps/unix/sysv/linux/Implies: Likewise.
35821 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35823 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35825 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35829 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35832 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35835 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35838 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35841 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35844 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35847 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35851 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35855 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35858 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35862 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35866 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35868 * sysdeps/unix/common/bits/dirent.h: Remove file.
35869 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35871 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35872 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35873 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35874 * sysdeps/unix/bsd/isatty.c: Likewise.
35875 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35876 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35877 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35879 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35882 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35883 long double comparison inaccuracies.
35884 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35887 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35889 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35890 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35892 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35895 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35896 nonzero digits before rounding a hex value.
35897 * stdlib/tst-strtod.c (tests): Add another test.
35899 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35901 * sysdeps/s390/fpu/libm-test-ulps: Update.
35903 2012-05-03 Andreas Jaeger <aj@suse.de>
35905 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35906 does not get optimized out.
35907 (malloc_opt_barrier): New.
35909 2012-05-03 Andreas Jaeger <aj@suse.de>
35910 Roland McGrath <roland@hack.frob.com>
35912 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35913 intermediate file deletion.
35914 (generated): Add .symlist files.
35916 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35919 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35920 Redirect under this condition.
35921 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35922 [__USE_GNU] (__dprintf_chk): Not under this condition.
35923 [__USE_GNU] (__vdprintf_chk): Likewise.
35924 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35925 under this condition.
35926 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35927 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35928 [__USE_XOPEN2K8] (vdprintf): Likewise.
35929 [__USE_GNU] (__dprintf_chk): Not under this condition.
35930 [__USE_GNU] (__vdprintf_chk): Likewise.
35931 [__USE_GNU] (dprintf): Likewise.
35932 [__USE_GNU] (vdprintf): Likewise.
35934 2012-05-03 Roland McGrath <roland@hack.frob.com>
35936 * elf/Makefile (common-generated): Set this instead of generated for
35937 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35938 $(all-built-dso)-derived lists.
35940 2012-05-03 Andreas Jaeger <aj@suse.de>
35942 * sysdeps/i386/fpu/libm-test-ulps: Update.
35945 * FAQ.in: Likewise.
35946 * scripts/gen-FAQ.pl: Likewise.
35947 * manual/install.texi (Installation): Point to online location of
35949 * Makefile (files-for-dist): Remove FAQ.
35952 2012-05-02 Allan McRae <allan@archlinux.org>
35954 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35955 (LDFLAGS-reldepmod5.so): Likewise.
35956 (LDFLAGS-reldep6mod1.so): Likewise.
35957 (LDFLAGS-reldep6mod4.so): Likewise.
35958 (LDFLAGS-reldep8mod3.so): Likewise.
35959 (LDFLAGS-unload4mod1.so): Likewise.
35960 (LDFLAGS-unload4mod2.so): Likewise.
35961 (LDFLAGS-tst-initorder): Likewise.
35962 (LDFLAGS-tst-initordera2.so): Likewise.
35963 (LDFLAGS-tst-initordera3.so): Likewise.
35964 (LDFLAGS-tst-initordera4.so): Likewise.
35965 (LDFLAGS-tst-initorderb2.so): Likewise.
35966 (LDFLAGS-noload): Likewise.
35967 (LDFLAGS-next): Likewise.
35968 (LDFLAGS-order2mod1.so): Likewise.
35969 (LDFLAGS-order2mod2.so): Likewise.
35970 (LDFLAGS-tst-initorder2): Likewise.
35971 (LDFLAGS-tst-initorder2a.so): Likewise.
35972 (LDFLAGS-tst-initorder2b.so): Likewise.
35973 (LDFLAGS-tst-initorder2c.so): Likewise.
35974 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35976 2012-05-02 David S. Miller <davem@davemloft.net>
35978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35980 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35983 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35985 2012-05-02 Andreas Jaeger <aj@suse.de>
35987 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35988 since we manipulate rounding mode.
35989 (CPPFLAGS-test-idouble.c): Likewise.
35990 (CPPFLAGS-test-ifloat.c): Likewise.
35991 (CFLAGS-test-ldouble.c): Likewise.
35992 (CFLAGS-test-double.c): Likewise.
35993 (CFLAGS-test-float.c): Likewise.
35994 (CFLAGS-test-misc.c): Likewise.
35995 (CFLAGS-test-test-fenv.c): Likewise.
35997 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36001 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36002 comparisons to determine direction to adjust input.
36004 2012-05-01 Roland McGrath <roland@hack.frob.com>
36006 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36007 output to the target.
36009 * scripts/localplt.awk: New file.
36010 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36011 (check-localplt-CFLAGS): Variable removed.
36012 ($(all-built-dso:=.jmprel)): New static pattern rule.
36013 (generated): Add those targets.
36014 (localplt-built-dso): New variable.
36015 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36017 * elf/check-localplt.c: File removed.
36019 * scripts/check-execstack.awk: New file.
36020 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36021 (check-execstack-CFLAGS): Variable removed.
36022 ($(objpfx)check-execstack.h): Target removed.
36023 ($(objpfx)execstack-default): New target.
36024 (generated): Add that instead of check-execstack.h.
36025 ($(all-built-dso:=.phdr)): New static pattern rule.
36026 (generated): Add those targets.
36027 * elf/check-execstack.c: File removed.
36029 * scripts/check-textrel.awk: New file.
36030 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36031 (check-textrel-CFLAGS): Variable removed.
36032 (all-built-dso): Use := to define.o
36033 ($(all-built-dso:=.dyn)): New static pattern rule.
36034 (generated): Add those targets.
36035 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36036 * config.make.in (READELF): New substituted variable.
36037 * elf/check-textrel.c: File removed.
36039 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36041 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36043 * conform/data/ctype.h-data [C99-based standards] (isblank):
36045 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36046 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36048 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36049 Specify type. Require positive value.
36050 (EILSEQ): Likewise.
36051 (ERANGE): Likewise.
36052 [ISO || POSIX] (EILSEQ): Do not expect.
36053 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36054 Specify type. Require positive value.
36055 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36056 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36057 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36058 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36059 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36060 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36061 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36062 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36063 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36064 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36065 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36066 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36067 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36068 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36069 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36070 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36071 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36072 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36073 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36074 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36075 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36076 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36077 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36078 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36079 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36080 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36081 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36082 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36083 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36084 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36085 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36086 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36087 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36088 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36089 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36090 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36091 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36092 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36093 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36094 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36095 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36096 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36097 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36098 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36099 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36100 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36101 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36102 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36103 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36104 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36105 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36106 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36107 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36108 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36109 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36110 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36111 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36112 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36113 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36114 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36115 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36116 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36117 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36118 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36119 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36120 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36121 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36122 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36123 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36124 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36125 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36126 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36127 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36128 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36129 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36130 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36131 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36133 (FLT_ROUNDS): Expect as macro, not constant.
36134 (FLT_MANT_DIG): Use macro-int-constant.
36135 (DBL_MANT_DIG): Likewise.
36136 (LDBL_MANT_DIG): Likewise.
36137 (FLT_DIG): Likewise.
36138 (DBL_DIG): Likewise.
36139 (LDBL_DIG): Likewise.
36140 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36141 (DBL_MIN_EXP): Likewise.
36142 (LDBL_MIN_EXP): Likewise.
36143 (FLT_MAX_EXP): Use macro-int-constant.
36144 (DBL_MAX_EXP): Likewise.
36145 (LDBL_MAX_EXP): Likewise.
36146 (FLT_MAX_10_EXP): Likewise.
36147 (DBL_MAX_10_EXP): Likewise.
36148 (LDBL_MAX_10_EXP): Likewise.
36149 (FLT_MAX): Use macro-constant.
36150 (DBL_MAX): Likewise.
36151 (LDBL_MAX): Likewise.
36152 (FLT_EPSILON): Use macro-constant. Give upper bound.
36153 (DBL_EPSILON): Likewise.
36154 (LDBL_EPSILON): Likewise.
36155 (FLT_MIN): Likewise.
36156 (DBL_MIN): Likewise.
36157 (LDBL_MIN): Likewise.
36158 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36159 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36160 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36161 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36162 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36163 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36164 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36165 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36166 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36167 [ISO11] (FLT_TRUE_MIN): Likewise.
36168 [ISO11] (LDBL_TRUE_MIN): Likewise.
36169 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36170 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36171 (SCHAR_MIN): Use macro-int-constant. Specify type.
36172 (SCHAR_MAX): Likewise.
36173 (UCHAR_MAX): Likewise.
36174 (CHAR_MIN): Likewise.
36175 (CHAR_MAX): Likewise.
36176 (MB_LEN_MAX): Use macro-int-constant.
36177 (SHRT_MIN): Use macro-int-constant. Specify type.
36178 (SHRT_MAX): Likewise.
36179 (USHRT_MAX): Likewise.
36180 (INT_MAX): Likewise.
36181 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36183 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36185 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36187 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36188 bound negative. Suffix upper bound with "L".
36189 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36191 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36193 [C99-based standards] (LLONG_MAX): Likewise.
36194 [C99-based standards] (ULLONG_MAX): Likewise.
36195 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36197 [ISO11] (max_align_t): Require type.
36198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36200 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36201 from $CFLAGS, without defining away __attribute__ calls.
36202 (checknamespace): Use $CFLAGS_namespace.
36204 * conform/conformtest.pl (@keywords): Only include C99 keywords
36205 for standards based on C99 or C11.
36207 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36209 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36212 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36213 usability of symbols in #if.
36215 * conform/conformtest.pl: If macro or constant types start
36216 "promoted:", expect the symbol to be of the following type
36217 promoted by the integer promotions.
36219 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36220 in one place. Also handle "macro-constant".
36222 * conform/conformtest.pl: Only accept expected macro values with
36223 "==". Parse all "macro" lines in one place.
36224 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36226 * conform/conformtest.pl: Handle braced types on "constant" lines
36227 instead of handling "typed-constant".
36228 * conform/data/signal.h-data: Use "constant" instead of
36231 * conform/conformtest.pl: Handle "optional-" at start of lines in
36232 one place rather than duplicating several cases. Handle each
36233 format of "macro" line with initial "optional-".
36235 * conform/conformtest.pl: Only accept expected constant or
36236 optional-constant values with "==". Parse all "constant" lines in
36237 one place. Parse all "optional-constant" lines in one place.
36238 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36239 * conform/data/fmtmsg.h-data: Likewise.
36240 * conform/data/netinet/in.h-data: Likewise.
36241 * conform/data/tar.h-data: Likewise.
36242 * conform/data/limits.h-data: Use "==" form on "constant" and
36243 "optional-constant" lines.
36245 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36246 Use -std=c99 for XOPEN2K.
36247 (@knownproblems): Remove.
36248 (newtoken): Don't check %isknown.
36250 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36251 Do not expect macro.
36252 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36253 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36254 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36255 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36256 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36257 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36258 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36259 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36260 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36261 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36262 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36263 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36264 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36265 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36266 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36267 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36268 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36269 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36270 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36271 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36272 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36273 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36274 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36275 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36276 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36277 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36278 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36279 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36280 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36281 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36282 [XPG3] (acosh): Likewise.
36283 [XPG3] (asinh): Likewise.
36284 [XPG3] (atanh): Likewise.
36285 [XPG3] (cbrt): Likewise.
36286 [XPG3] (expm1): Likewise.
36287 [XPG3] (ilogb): Likewise.
36288 [XPG3] (log1p): Likewise.
36289 [XPG3] (logb): Likewise.
36290 [XPG3] (nextafter): Likewise.
36291 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36292 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36293 [XPG3] (remainder): Likewise.
36294 [XPG3] (rint): Likewise.
36295 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36296 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36297 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36298 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36299 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36300 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36301 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36302 [UNIX98 || XOPEN2K] (scalb): Expect.
36303 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36304 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36305 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36306 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36307 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36308 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36309 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36310 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36311 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36312 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36313 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36314 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36315 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36316 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36317 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36318 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36319 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36320 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36321 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36322 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36323 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36324 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36325 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36326 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36327 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36328 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36329 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36330 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36331 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36332 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36333 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36334 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36335 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36336 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36337 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36338 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36339 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36340 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36341 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36342 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36343 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36344 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36345 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36346 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36347 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36348 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36349 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36350 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36351 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36352 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36353 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36354 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36355 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36356 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36357 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36358 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36359 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36360 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36361 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36362 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36363 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36364 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36365 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36366 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36367 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36368 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36369 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36370 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36371 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36372 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36373 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36374 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36375 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36376 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36377 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36378 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36379 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36380 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36381 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36382 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36383 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36384 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36385 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36386 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36387 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36388 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36389 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36390 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36391 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36392 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36393 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36394 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36395 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36396 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36397 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36398 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36399 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36400 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36401 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36402 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36403 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36404 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36405 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36406 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36407 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36408 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36409 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36410 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36411 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36412 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36413 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36414 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36415 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36416 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36417 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36418 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36419 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36420 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36421 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36422 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36423 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36424 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36425 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36426 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36427 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36428 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36429 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36430 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36431 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36432 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36433 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36434 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36435 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36436 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36437 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36438 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36439 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36441 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36442 _XOPEN_SOURCE_EXTENDED for XPG4.
36444 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36446 * Makeconfig (localtime): Remove variable.
36447 (inst_localtime-file): Likewise.
36449 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36470 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36474 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36475 comparisons to determine direction to adjust input.
36476 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36477 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36478 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36480 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36482 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36484 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36485 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36487 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36489 * math/libm-test.inc (nexttoward_test): Add more tests.
36491 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36494 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36495 in version GLIBC_2.1, not GLIBC_2.0.
36496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36499 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36502 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36504 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36505 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36506 * math/libm-test.inc (acos_test): Add more tests.
36507 (asin_test): Likewise.
36508 * sysdeps/i386/fpu/libm-test-ulps: Update.
36509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36512 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36514 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36515 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36516 * math/libm-test.inc (acos_test_tonearest): New function.
36517 (acos_test_towardzero): Likewise.
36518 (acos_test_downward): Likewise.
36519 (acos_test_upward): Likewise.
36520 (asin_test_tonearest): Likewise.
36521 (asin_test_towardzero): Likewise.
36522 (asin_test_downward): Likewise.
36523 (asin_test_upward): Likewise.
36524 (main): Call the new functions.
36525 * sysdeps/i386/fpu/libm-test-ulps: Update.
36526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36530 * math/e_exp10.c: Include <float.h>.
36531 (__ieee754_exp10): Handle underflow here rather than multiplying
36532 large negative argument by M_LN10.
36533 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36535 * math/e_exp10l.c: Include <float.h>.
36536 (__ieee754_exp10l): Handle underflow here rather than multiplying
36537 large negative argument by M_LN10l.
36538 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36539 spurious overflow exception on underflow.
36541 2012-04-29 Marek Polacek <polacek@redhat.com>
36543 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36544 (__fortify_function): New macro.
36545 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36546 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36547 __extern_always_inline.
36548 * libio/bits/stdio2.h: Likewise.
36549 * libio/bits/stdio.h: Likewise.
36550 * string/string.h: Likewise.
36551 * string/bits/string3.h: Likewise.
36552 * include/stdio.h: Likewise.
36553 * stdlib/bits/stdlib.h: Likewise.
36554 * stdlib/stdlib.h: Likewise.
36555 * rt/bits/mqueue2.h: Likewise.
36556 * rt/mqueue.h: Likewise.
36557 * posix/bits/unistd.h: Likewise.
36558 * posix/unistd.h: Likewise.
36559 * io/bits/poll2.h: Likewise.
36560 * io/bits/fcntl2.h: Likewise.
36561 * io/fcntl.h: Likewise.
36562 * io/sys/poll.h: Likewise.
36563 * misc/bits/syslog.h: Likewise.
36564 * misc/bits/syslog-ldbl.h: Likewise.
36565 * misc/sys/syslog.h: Likewise.
36566 * socket/bits/socket2.h: Likewise.
36567 * socket/sys/socket.h: Likewise.
36568 * debug/tst-chk1.c: Likewise.
36569 * wcsmbs/bits/wchar2.h: Likewise.
36570 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36571 * wcsmbs/wchar.h: Likewise.
36573 2012-04-29 Andreas Jaeger <aj@suse.de>
36575 * Makerules (tests): Remove enable-check-abi protection.
36576 (check-abi-warn): Remove.
36577 (check-abi-%): Remove check-abi-warn usage.
36579 * configure.in: Remove check-abi configure option.
36580 * configure: Regenerated.
36581 * config.make.in (enable-check-abi): Remove.
36583 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36586 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36587 double functions to double *_finite functions.
36590 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36591 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36593 * stdio-common/Makefile (tests): Add tst-sprintf3.
36594 * stdio-common/tst-sprintf3.c: New file.
36596 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36597 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36599 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36601 * conform/conformtest.pl: Remove duplicate typed-constant
36604 2012-04-28 David S. Miller <davem@davemloft.net>
36606 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36607 (check-abi-%): Remove AWK script prerequisite and explicit
36609 (check-abi): Rewrite to just diff the symlist with the abilist.
36610 (config-tls, config-abi-config): Delete, no longer used.
36611 (update-abi-%): Remove AWK script and explicit abilist directory.
36612 (update-abi): Rewrite to simply compare and conditionally copy the
36613 symlist and the sysdep abilist file. Remove update-abi-config
36615 * abilist/ld.abilist: Remove.
36616 * abilist/libBrokenLocale.abilist: Remove.
36617 * abilist/libanl.abilist: Remove.
36618 * abilist/libcrypt.abilist: Remove.
36619 * abilist/libdl.abilist: Remove.
36620 * abilist/librt.abilist: Remove.
36621 * abilist/libthread_db.abilist: Remove.
36622 * abilist/libutil.abilist: Remove.
36623 * scripts/extract-abilist.awk: Remove.
36624 * scripts/merge-abilist.awk: Remove.
36625 * sysdeps/generic/libcidn.abilist: New file.
36626 * sysdeps/generic/libnss_compat.abilist: New file.
36627 * sysdeps/generic/libnss_db.abilist: New file.
36628 * sysdeps/generic/libnss_dns.abilist: New file.
36629 * sysdeps/generic/libnss_files.abilist: New file.
36630 * sysdeps/generic/libnss_hesiod.abilist: New file.
36631 * sysdeps/generic/libnss_nis.abilist: New file.
36632 * sysdeps/generic/libnss_nisplus.abilist: New file.
36633 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36634 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36635 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36637 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36638 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36639 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36640 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36641 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36642 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36643 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36644 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36645 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36647 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36648 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36649 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36650 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36652 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36653 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36654 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36655 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36656 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36657 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36659 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36660 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36661 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36663 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36766 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36767 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36768 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36770 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36771 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36772 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36773 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36774 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36775 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36776 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36777 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36778 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36779 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36831 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36833 * conform/conformtest.pl: Fix typo in handling typed-constant from
36836 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36838 * README: Cut down references to pre-2.6 Linux kernels and
36839 Linuxthreads. Update lists of configurations in libc and ports
36840 and sort alphabetically. Say "or newer" with Linux kernel version
36843 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36845 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36848 * math/libm-test.inc (logb_test_downward): New test to expose
36849 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36852 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36855 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36857 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36858 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36860 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36862 * sysdeps/unix/i386/brk.S: Remove file.
36863 * sysdeps/unix/i386/dl-brk.S: Likewise.
36864 * sysdeps/unix/i386/pipe.S: Likewise.
36865 * sysdeps/unix/i386/sigreturn.S: Likewise.
36866 * sysdeps/unix/i386/syscall.S: Likewise.
36867 * sysdeps/unix/i386/vfork.S: Likewise.
36868 * sysdeps/unix/i386/wait.S: Likewise.
36870 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36871 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36873 * configure.in (arm*-none*): Do not allow without
36874 --enable-hacker-mode.
36875 (netbsd*): Remove case setting base_os.
36876 (386bsd*): Likewise.
36877 (freebsd*): Likewise.
36880 (sunos*): Likewise.
36881 (ultrix*): Likewise.
36882 (newsos*): Likewise.
36883 (dynix*): Likewise.
36889 (minix*): Likewise.
36890 (irix4*): Likewise.
36891 (irix6*): Likewise.
36892 (solaris[2-9]*): Likewise.
36894 * configure: Regenerated.
36896 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36899 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36900 overflow or cancellation in calculating denominator.
36901 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36902 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36903 down expression to avoid unexpected rounding in newer GCCs.
36904 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36906 2012-04-26 David S. Miller <davem@davemloft.net>
36908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36909 long-double compat symbols.
36910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36924 2012-04-25 David S. Miller <davem@davemloft.net>
36926 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36927 HWCAP_* values only after the memory barriers have been defined.
36928 (atomic_full_barrier): Define.
36929 (atomic_read_barrier): Define.
36930 (atomic_write_barrier): Define.
36932 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36934 * shlib-versions: Add libgcc_s version information.
36935 * sysdeps/generic/libgcc_s.h: Remove.
36936 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36938 * sysdeps/gnu/unwind-resume.c: Likewise.
36939 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36941 2012-04-25 David S. Miller <davem@davemloft.net>
36943 * sysdeps/unix/sparc/brk.S: Delete.
36944 * sysdeps/unix/sparc/dl-brk.S: Delete.
36945 * sysdeps/unix/sparc/pipe.S: Delete.
36946 * sysdeps/unix/sparc/sysdep.S: Delete.
36947 * sysdeps/unix/sparc/sysdep.h: Delete.
36948 * sysdeps/unix/sparc/vfork.S: Delete.
36949 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36950 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36951 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36952 (ret_ERRVAL, r0, r1, MOVE): Define.
36953 (JUMPTARGET): Remove.
36954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36955 sysdeps/unix/sparc/sysdep.h
36956 (ENTRY, END): Remove.
36957 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36959 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36961 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36962 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36965 * timezone/README: Update upstream location and email address for
36967 * timezone/zdump.c: Update from tzcode 2012b.
36968 * timezone/zic.c: Likewise.
36970 * configure.in (libc_cv_as_needed): Remove test.
36971 * configure: Regenerated.
36972 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36973 conditional definition.
36974 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36975 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36976 * config.make.in (have-as-needed): Remove variable.
36978 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36979 Paul Pluzhnikov <ppluzhnikov@google.com>
36981 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36984 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36986 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36987 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36988 * sysdeps/sh/strlen.S: Likewise.
36990 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36992 * sysdeps/unix/fork.S: Remove file.
36993 * sysdeps/unix/i386/fork.S: Likewise.
36994 * sysdeps/unix/sparc/fork.S: Likewise.
36996 * sysdeps/unix/system.c: Remove file.
36997 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36999 * sysdeps/unix/getegid.S: Remove file.
37000 * sysdeps/unix/geteuid.S: Likewise.
37002 2012-04-24 Roland McGrath <roland@hack.frob.com>
37004 * scripts/check-localplt.awk: New file.
37005 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37007 * scripts/data/localplt-generic.data: Add a comment.
37009 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37010 NODE when __dir_mkfile failed.
37011 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37012 Reported by Ludovic Courtès <ludo@gnu.org>.
37014 2012-04-24 Andreas Jaeger <aj@suse.de>
37016 * Makerules (common-clean): Also remove gen-as-const-headers
37019 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37021 * Makerules (native-compile): Do not change working directory for
37022 build. Use $(OUTPUT_OPTION) in command.
37023 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37025 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37028 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37029 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37030 * math/libm-test.inc (floor_test): Add more tests.
37031 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37033 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37035 * sysdeps/unix/getdents.c: Remove file.
37036 * sysdeps/unix/sysv/getdents.c: Likewise.
37037 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37039 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37040 sysdeps/unix/mman/syscalls.list.
37042 (mprotect): Likewise.
37044 (munmap): Likewise.
37045 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37046 * sysdeps/unix/mman/syscalls.list: Remove.
37047 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37049 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37050 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37051 * configure: Regenerated.
37052 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37053 $(libgcc_s_suffix).
37054 * config.make.in (libgcc_s_suffix): Remove variable.
37056 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37058 * sysdeps/unix/sysv/gethostname.c: Move to ...
37059 * sysdeps/posix/gethostname.c: ... here.
37061 * sysdeps/unix/execve.S: Remove file.
37063 * sysdeps/unix/_exit.S: Remove file.
37065 2012-04-23 Andreas Jaeger <aj@suse.de>
37068 * manual/Makefile: Remove make dist support, there's no
37069 need for a stand-alone documentation tar ball.
37070 (TEXI2DVI): Define always, it's not in Makeconfig.
37073 (edition): Removed.
37074 (glibc-doc-$(edition).tar): Removed
37078 (ETAGS): Remove, it's in Makeconfig.
37079 (move-if-change): Remove, it's in Makeconfig.
37081 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37084 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37085 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37086 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37087 (strtod_l, strtof_l, strtold_l): Remove __wur.
37088 It is not necessarily an error to ignore strtol's return value.
37089 One can reliably look at the stored endptr to decide whether
37090 the number had valid syntax.
37092 2012-04-21 Andreas Jaeger <aj@suse.de>
37095 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37097 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37099 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37100 * sysdeps/unix/sysv/Versions: Remove file.
37102 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37107 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37110 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37111 version from __vm86.
37113 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37115 * sysdeps/unix/common/lxstat.c: Remove file.
37116 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37118 * sysdeps/unix/sysv/Makefile: Remove file.
37120 * sysdeps/unix/sysv/direct.h: Remove file.
37122 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37123 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37124 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37125 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37126 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37127 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37128 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37130 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37132 * sysdeps/unix/xmknod.c: Remove file.
37133 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37135 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37137 * sysdeps/unix/sysv/i386/time.S: Remove file.
37139 * sysdeps/unix/fxstat.c: Remove file.
37140 * sysdeps/unix/xstat.c: Likewise.
37141 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37143 * sysdeps/unix/sysv/sigaction.c: Remove file.
37145 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37146 (sysdep_headers): Remove variable.
37147 [termio.h not in sysdep_headers] (generated): Likewise.
37148 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37149 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37150 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37151 * sysdeps/unix/sysv/tcflow.c: Likewise.
37152 * sysdeps/unix/sysv/tcflush.c: Likewise.
37153 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37154 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37155 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37156 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37157 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37159 * sysdeps/unix/siglist.c: Remove file.
37161 * sysdeps/unix/getppid.S: Remove file.
37163 * sysdeps/unix/mkdir.c: Remove file.
37164 * sysdeps/unix/rmdir.c: Likewise.
37166 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37168 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37170 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37171 errlist-compat value.
37173 2012-04-18 David S. Miller <davem@davemloft.net>
37175 * sysdeps/generic/memcopy.h (reg_char): Delete.
37176 * debug/strcat_chk.c: Use char, not reg_char.
37177 * debug/strcpy_chk.c: Likewise.
37178 * debug/strncat_chk.c: Likewise.
37179 * debug/strncpy_chk.c: Likewise.
37180 * string/memchr.c: Likewise.
37181 * string/memrchr.c: Likewise.
37182 * string/rawmemchr.c: Likewise.
37183 * string/strcat.c: Likewise.
37184 * string/strchr.c: Likewise.
37185 * string/strchrnul.c: Likewise.
37186 * string/strcmp.c: Likewise.
37187 * string/strcpy.c: Likewise.
37188 * string/strncat.c: Likewise.
37189 * string/strncmp.c: Likewise.
37190 * string/strncpy.c: Likewise.
37192 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37194 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37195 __builtin_memcopy is called when src and dest ranges are known to not
37198 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37200 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37201 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37202 fwd_align_merge macro call.
37203 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37204 bwd_align_merge macro call.
37205 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37207 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37209 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37210 bwd_align_merge macros.
37211 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37212 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37213 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37215 2012-04-18 David S. Miller <davem@davemloft.net>
37217 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37219 2012-04-18 Andreas Jaeger <aj@suse.de>
37222 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37223 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37224 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37226 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37227 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37228 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37230 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37231 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37232 Adjust for changed ldbl-128 files.
37234 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37235 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37236 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37238 2012-04-17 David S. Miller <davem@davemloft.net>
37240 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37242 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37244 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37245 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37246 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37247 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37248 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37249 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37251 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37254 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37255 * math/libm-test.inc: Add ilogb errno and exception tests.
37256 * math/w_ilogb.c: New file: ilogb wrapper.
37257 * math/w_ilogbf.c: New file: ilogbf wrapper.
37258 * math/w_ilogbl.c: New file: ilogbl wrapper.
37259 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37260 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37261 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37262 exception being thrown with 0.0 as argument.
37263 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37264 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37265 exception being thrown with 0.0 as argument.
37266 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37267 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37268 exception being thrown with 0.0 as argument.
37269 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37270 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37271 exception being thrown with 0.0 as argument.
37272 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37273 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37274 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37275 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37277 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37278 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37279 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37280 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37282 2012-04-17 Petr Baudis <pasky@ucw.cz>
37284 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37287 2012-04-16 Marek Polacek <polacek@redhat.com>
37289 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37291 2012-04-16 Marek Polacek <polacek@redhat.com>
37293 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37294 operands of fdivp instruction.
37296 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37298 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37299 * elf/tst-auditmod3b.c: Likewise.
37300 * elf/tst-auditmod4b.c: Likewise.
37301 * elf/tst-auditmod5b.c: Likewise.
37302 * elf/tst-auditmod6b.c: Likewise.
37303 * elf/tst-auditmod6c.c: Likewise.
37304 * elf/tst-auditmod7b.c: Likewise.
37305 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37306 * sysdeps/x86_64/preconfigure.in: Likewise.
37307 * sysdeps/x86_64/preconfigure: Regenerated.
37309 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37311 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37314 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37316 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37317 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37319 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37322 * locale/iso-639.def: Fix gl language name. Spotted by
37325 2012-04-12 Roland McGrath <roland@hack.frob.com>
37328 * libio/libio.h (__io_write_fn): Update comment.
37330 2012-04-12 Petr Baudis <pasky@ucw.cz>
37333 * stdio.texi (Hook Functions): The user provided writer function
37334 is not allowed to return -1.
37336 2012-04-11 David S. Miller <davem@davemloft.net>
37338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37340 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37342 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37343 Add a leading slash to rtkaio.
37345 2012-04-11 Jim Meyering <meyering@redhat.com>
37348 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37349 It is not necessarily an error to ignore fwrite's return
37350 value. One can reliably use ferror to test for errors after
37353 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37355 * bits/types.h (__snseconds_t): New type.
37356 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37358 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37360 (__SNSECONDS_T_TYPE): Likewise.
37361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37362 (__SNSECONDS_T_TYPE): Likewise.
37363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37364 (__SNSECONDS_T_TYPE): Likewise.
37366 2012-04-10 Andreas Jaeger <aj@suse.de>
37369 * manual/time.texi (Processor Time): Return type of times is
37370 elapsed real time since an arbitrary point in the past.
37371 (CPU Time): Move CLK_TCK from here...
37372 (Processor Time): ...to here. Correct description.
37373 * manual/conf.texi (Constants for Sysconf): Correct description of
37376 2012-04-10 David S. Miller <davem@davemloft.net>
37379 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37380 where the is a gap between DT_REL(A) and DT_JMPREL.
37382 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37384 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37385 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37386 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37388 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37390 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37391 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37392 (dl_main): Handle --inhibit-cache.
37393 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37395 * elf/dl-load.c (_dl_map_object): Use it.
37396 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37398 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37401 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37402 (__ieee754_powl): Saturate large exponents rather than testing for
37403 overflow of y*log2(x).
37404 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37405 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37409 * math/s_ctan.c: Include <float.h>.
37410 (__ctan): Avoid internal overflow or cancellation in calculating
37412 * math/s_ctanf.c: Likewise.
37413 * math/s_ctanl.c: Likewise.
37414 * math/s_ctanh.c: Likewise.
37415 * math/s_ctanhf.c: Likewise.
37416 * math/s_ctanhl.c: Likewise.
37417 * math/libm-test.inc (ctan_test): Add more tests.
37418 (ctanh_test): Likewise.
37419 * sysdeps/i386/fpu/libm-test-ulps: Update.
37420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37422 2012-04-09 Andreas Jaeger <aj@suse.de>
37425 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37426 is an optional BSD extension.
37429 * manual/stdio.texi (Opening Streams): Document additional fopen
37432 2012-04-09 Roland McGrath <roland@hack.frob.com>
37434 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37435 %eax without telling the compiler.
37437 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37440 * manual/install.texi: Use sourceware.org.
37442 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37445 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37446 (__ieee754_pow): Generate overflow and underflow using huge*huge
37447 and tiny*tiny rather than just returning constant infinity or zero
37448 for large exponents.
37449 * math/libm-test.inc (pow_test): Require overflow exceptions for
37450 applicable cases of large exponents.
37453 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37454 (__ieee754_pow): Use iterative multiplication algorithm only for
37455 integer exponents with absolute value below 1024. Check for odd
37456 integer exponents when using algorithm for real exponents.
37457 * math/libm-test.inc (pow_test): Add more tests.
37458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37460 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37463 * math/libm-test.inc (exp_test): Do not allow overflow exception
37466 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37469 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37470 instead of __kernel_standard_f.
37472 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37474 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37475 * sysdeps/x86_64/memset_chk.S: Likewise.
37477 2012-04-08 Andreas Jaeger <aj@suse.de>
37480 * manual/startup.texi (Environment Access): Describe return value
37481 for putenv and setenv.
37484 * manual/filesys.texi (Directory Entries): Add description for
37488 * manual/filesys.texi (Directory Entries): Clarify that it's file
37489 system not operating system in the description of DT_UNKNOWN.
37492 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37494 2012-04-08 Stephen Compall <s11@member.fsf.org>
37497 * manual/llio.texi (Opening and Closing Files): Add cross
37498 reference to explain mode argument.
37500 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37502 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37503 * sysdeps/x86_64/memset_chk.S: Likewise.
37505 2012-04-07 David S. Miller <davem@davemloft.net>
37507 * elf/elf.h (R_SPARC_WDISP10): Define.
37508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37511 R_SPARC_SIZE64 and R_SPARC_H34.
37513 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37515 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37516 conditions and remove no longer applicable assertion.
37518 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37520 * bits/byteswap.h: Include <features.h>.
37521 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37522 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37524 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37526 * bits/byteswap.h (__bswap_16): Removed.
37527 Include <bits/byteswap-16.h> to get __bswap_16.
37528 * sysdeps/i386/bits/byteswap.h: Likewise.
37529 * sysdeps/s390/bits/byteswap.h: Likewise.
37530 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37531 * bits/byteswap-16.h: New file.
37532 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37533 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37534 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37535 * string/Makefile (headers): Add bits/byteswap-16.h.
37537 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37540 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37542 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37543 * nss/tst-nss-static.c: New.
37545 2012-04-06 Robert Millan <rmh@gnu.org>
37548 * manual/llio.texi (File Position Primitive): lseek
37549 refers to WHENCE when it really means OFFSET.
37551 2012-04-06 Andreas Jaeger <aj@suse.de>
37553 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37554 strncmp declarations.
37556 * abilist/libc.abilist: Add __poll and __ppoll.
37558 2012-04-05 David S. Miller <davem@davemloft.net>
37560 * scripts/check-local-headers.sh: Accept a host triplet in the
37561 path matched by the exclude regexp.
37563 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37565 * sysdeps/powerpc/powerpc32/dl-machine.h
37566 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37567 * sysdeps/s390/s390-32/dl-machine.h
37568 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37569 * sysdeps/sparc/sparc32/dl-machine.h
37570 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37571 * sysdeps/sparc/sparc64/dl-machine.h
37572 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37574 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37576 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37577 undefined symbol errors.
37579 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37582 2012-04-05 Michael Matz <matz@suse.de>
37585 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37587 2012-04-05 Andreas Jaeger <aj@suse.de>
37590 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37593 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37595 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37596 which ROUND is no valid rounding mode.
37598 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37600 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37602 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37604 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37606 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37607 an exception using FPU order intentionally.
37609 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37611 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37612 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37613 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37614 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37616 2012-04-05 Simon Josefsson <simon@josefsson.org>
37619 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37620 EINVAL when BUFLEN is too smal.
37622 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37625 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37626 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37628 2012-04-03 Andreas Jaeger <aj@suse.de>
37631 * manual/setjmp.texi (System V contexts): Fix sentence.
37634 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37635 New macro for this case.
37636 [!__GNUC__] (__bswap_64): New inline function for this case.
37637 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37638 * bits/byteswap.h: Likewise.
37639 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37640 ull, guard with __GLIBC_HAVE_LONG_LONG.
37642 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37643 __GLIBC_HAVE_LONG_LONG.
37645 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37646 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37648 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37651 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37652 inptr and inend, rather than using last_ch.
37654 2012-04-02 David S. Miller <davem@davemloft.net>
37656 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37657 * stdio-common/printf-parse.h (read_int): Change return type to
37658 'int', return -1 on INT_MAX overflow.
37659 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37660 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37661 overflows INT_MAX. Check for overflow of in-format-string precision
37662 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37663 SIZE_MAX not INT_MAX for integer overflow test.
37664 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37665 skip the construct in the format string but do not record anything.
37666 * stdio-common/bug22.c: Adjust to test both width/prevision
37667 INT_MAX overflow as well as total length INT_MAX overflow. Check
37668 explicitly for proper errno values.
37670 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37672 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37674 * string/test-strcmp.c [! WIDE]: Likewise.
37675 * time/tst-mktime2.c: Likewise for INT_MAX.
37676 * string/test-string.h: #include <sys/param.h> for MIN.
37678 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37679 * sysdeps/i386/init-first.c (init): Likewise.
37680 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37681 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37682 * sysdeps/sh/init-first.c (init): Likewise.
37684 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37686 * po/ru.po: Update from translation team.
37687 * po/vi.po: Likewise.
37689 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37691 * resolv/nss_dns/dns-host.c: Merge copyright years.
37693 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37695 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37696 Optimize memcpy with prefetch if
37697 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37698 src, dst pointers have unequal 16 byte alignments.
37700 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37703 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37704 from a CNAME entry and return the minimum ttl for the query.
37705 (gaih_getanswer_slice): Likewise.
37707 2012-03-30 Jeff Law <law@redhat.com>
37709 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37711 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37712 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37714 * resolv/nss_dns/dns-host.c: Update copyright year.
37716 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37718 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37719 requests to save a system call. Fix check that all bytes are sent.
37721 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37722 comments for sendmmsg.
37724 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37727 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37728 with only 1 character between 0x0041 and 0x01b0.
37729 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37730 * wcsmbs/tst-mbsnrtowcs.c: New file.
37732 2012-03-29 David S. Miller <davem@davemloft.net>
37734 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37735 small copies by hand.
37737 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37740 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37741 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37744 2012-03-28 David S. Miller <davem@davemloft.net>
37746 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37747 that branches into memcpy.
37748 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37749 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37750 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37751 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37754 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37755 implementation too.
37756 * sysdeps/sparc/mempcpy.S: New file.
37758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37759 the IFUNC routine in the libc case.
37760 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37762 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37763 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37764 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37765 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37766 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37767 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37768 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37769 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37771 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37772 loop to 256 bytes instead of 64 bytes and fix test signedness.
37774 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37775 * sysdeps/sparc/sparc32/Makefile: rather than here...
37776 * sysdeps/sparc/sparc64/Makefile: and here.
37778 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37780 * malloc/mallocbug.c: Avoid warnings about unused variables.
37782 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37785 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37786 in the right place. Discard and retry query if response is
37787 larger than input buffer size.
37789 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37794 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37795 x for large integer exponent.
37796 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37797 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37798 sign of result as needed afterwards.
37799 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37800 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37801 result for underflowing pow the same as for overflow.
37802 (__kernel_standard_l): Handle powl overflow and underflow here
37803 rather than calling __kernel_standard.
37804 * math/libm-test.inc (pow_test): Add more tests.
37819 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37820 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37821 (__kernel_standard_l): New function.
37822 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37824 * math/w_acosl.c (__acosl): Likewise.
37825 * math/w_asinl.c (__asinl): Likewise.
37826 * math/w_atan2l.c (__atan2l): Likewise.
37827 * math/w_atanhl.c (__atanhl): Likewise.
37828 * math/w_coshl.c (__coshl): Likewise.
37829 * math/w_exp10l.c (__exp10l): Likewise.
37830 * math/w_exp2l.c (__exp2l): Likewise.
37831 * math/w_fmodl.c (__fmodl): Likewise.
37832 * math/w_hypotl.c (__hypotl): Likewise.
37833 * math/w_j0l.c (__j0l, __y0l): Likewise.
37834 * math/w_j1l.c (__j1l, __y1l): Likewise.
37835 * math/w_jnl.c (__jnl, __ynl): Likewise.
37836 * math/w_lgammal.c (__lgammal): Likewise.
37837 * math/w_log10l.c (__log10l): Likewise.
37838 * math/w_log2l.c (__log2l): Likewise.
37839 * math/w_logl.c (__logl): Likewise.
37840 * math/w_powl.c (__powl): Likewise.
37841 * math/w_remainderl.c (__remainderl): Likewise.
37842 * math/w_scalbl.c (sysv_scalbl): Likewise.
37843 * math/w_sinhl.c (__sinhl): Likewise.
37844 * math/w_sqrtl.c (__sqrtl): Likewise.
37845 * math/w_tgammal.c (__tgammal): Likewise.
37846 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37847 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37848 * math/libm-test.inc (acos_test): Add more tests.
37849 (acosh_test): Likewise.
37850 (asin_test): Likewise.
37851 (atanh_test): Likewise.
37852 (exp_test): Likewise.
37853 (exp10_test): Likewise.
37854 (exp2_test): Likewise.
37855 (expm1_test): Likewise.
37856 (lgamma_test): Likewise.
37857 (log_test): Likewise.
37858 (log10_test): Likewise.
37859 (log1p_test): Likewise.
37860 (log2_test): Likewise.
37861 (pow_test): Do not allow some spurious overflow exceptions.
37862 (sqrt_test): Add more tests.
37863 (tgamma_test): Likewise.
37864 (y0_test): Likewise.
37865 (y1_test): Likewise.
37866 (yn_test): Likewise.
37868 2012-03-27 Anton Blanchard <anton@samba.org>
37870 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37872 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37873 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37874 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37876 2012-03-27 David S. Miller <davem@davemloft.net>
37878 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37880 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37881 have-as-vis3 check.
37883 2012-03-27 Andreas Jaeger <aj@suse.de>
37885 * sysdeps/x86_64/elf/configure.in: Moved to ...
37886 * sysdeps/x86_64/configure.in: ... here.
37887 * sysdeps/x86_64/elf/start.S: Moved to ...
37888 * sysdeps/x86_64/start.S: ... here.
37889 * sysdeps/x86_64/elf/configure: Delete.
37891 * sysdeps/x86_64/configure.in: Merge contents from
37892 sysdeps/i386/configure.in (without i686 check).
37894 * sysdeps/i386/elf/Versions: Merge into ...
37895 * sysdeps/i386/Versions: ... this.
37896 * sysdeps/i386/elf/Versions: Delete file.
37897 * sysdeps/i386/elf/start.S: Moved to ...
37898 * sysdeps/i386/start.S: ...here.
37899 * sysdeps/i386/elf/configure.in: Merge into...
37900 * sysdeps/i386/configure.in: ...here.
37901 * sysdeps/i386/elf/configure.in: Delete file.
37902 * sysdeps/i386/elf/configure: Delete file.
37904 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37905 * debug/backtracesyms.c: ... here.
37906 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37907 * debug/backtracesymsfd.c: ... here.
37908 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37909 * sysdeps/generic/ifunc-sel.h: ... here.
37911 * sysdeps/unix/i386/start.c: Delete file.
37912 * sysdeps/unix/sparc/start.c: Delete file.
37913 * sysdeps/unix/start.c: Delete file.
37915 * sysdeps/sh/elf/configure.in: Moved to ...
37916 * sysdeps/sh/configure.in: ... here.
37917 * sysdeps/sh/elf/start.S: Moved to ...
37918 * sysdeps/sh/start.S: ... here.
37919 * sysdeps/sh/elf/configure: Delete file.
37921 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37922 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37923 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37924 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37925 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37926 * sysdeps/powerpc/powerpc64/start.S: here.
37927 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37928 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37929 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37930 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37931 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37933 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37934 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37935 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37936 * sysdeps/powerpc/powerpc32/start.S: ... here.
37937 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37938 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37939 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37941 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37942 * sysdeps/powerpc/ifunc-sel.h: ... here.
37943 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37944 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37946 * sysdeps/sparc/elf/configure.in: Moved to ...
37947 * sysdeps/sparc/configure.in: ... here.
37948 * sysdeps/sparc/elf/configure: Delete file.
37949 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37950 * sysdeps/sparc/sparc32/start.S: ... here.
37951 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37952 * sysdeps/sparc/sparc64/start.S: ... here.
37953 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37954 * sysdeps/sparc/sparc32/Makefile: ... this.
37955 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37956 * sysdeps/sparc/sparc64/Makefile: ... this.
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/bsd-setjmp.S: Moved to ...
37961 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37962 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37963 * sysdeps/s390/s390-32/setjmp.S: ... here.
37964 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37965 * sysdeps/s390/s390-32/configure.in: ... here.
37966 * sysdeps/s390/s390-32/elf/configure: Delete file.
37967 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37968 * sysdeps/s390/s390-32/start.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/bsd-setjmp.S: Moved to ...
37973 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37974 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37975 * sysdeps/s390/s390-64/setjmp.S: ... here.
37976 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37977 * sysdeps/s390/s390-64/configure.in: ... here
37978 * sysdeps/s390/s390-64/elf/configure: Delete file.
37979 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37980 * sysdeps/s390/s390-64/start.S: ... here.
37981 * sysdeps/s390/s390-64/elf/configure: Delete.
37983 * configure.in: Remove support for elf directories in sysdeps.
37985 * configure: Regenerated.
37986 * sysdeps/i386/configure: Regenerated.
37987 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37988 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37989 * sysdeps/s390/s390-32/configure: Regenerated.
37990 * sysdeps/s390/s390-64/configure: Regenerated.
37991 * sysdeps/sh/configure: Regenerated.
37992 * sysdeps/sparc/configure: Regenerated.
37993 * sysdeps/x86_64/configure: Regenerated.
37995 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38000 denormal result into account.
38002 2012-03-25 Roland McGrath <roland@hack.frob.com>
38004 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38005 Reported by Allan McRae <allan@archlinux.org>.
38007 2012-03-23 Jeff Law <law@redhat.com>
38009 * nss/getnssent.c (__nss_getent): Fix typo.
38011 2012-03-23 David S. Miller <davem@davemloft.net>
38013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38015 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38017 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38018 to pad to uint64_t for each field.
38019 (dl_tls_index): Replace unsigned long with uint64_t.
38021 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38022 Paul Pluzhnikov <ppluzhnikov@google.com>
38025 * grp/Makefile (otherlibs): Don't set it.
38026 * inet/Makefile (otherlibs): Likewise.
38027 * login/Makefile (otherlibs): Likewise.
38028 * nscd/Makefile (otherlibs): Likewise.
38029 * posix/Makefile (otherlibs): Likewise.
38030 * pwd/Makefile (otherlibs): Likewise.
38031 * rt/Makefile (otherlibs): Likewise.
38032 * sunrpc/Makefile (otherlibs): Likewise.
38033 * nss/Makefile (otherlibs): Likewise.
38034 Add libnss_files to routines and static-only-routines.
38035 ($(objpfx)getent): Remove rule.
38036 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38037 static-only-routines.
38039 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38042 * math/s_cexp.c: Include <float.h>.
38043 (__cexp): Handle exp result overflowing not necessarily
38044 overflowing both real and imaginary parts of result.
38045 * math/s_cexpf.c: Likewise.
38046 * math/s_cexpl.c: Likewise.
38047 * math/libm-test.inc (cexp_test): Add more tests.
38048 * sysdeps/i386/fpu/libm-test-ulps: Update.
38049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38051 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38053 * include/link.h (ELFW): New macro.
38054 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38055 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38057 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38059 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38062 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38064 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38066 (struct La_x32_retval): Likewise.
38068 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38070 * sysdeps/x86_64/preconfigure.in: New file.
38071 * sysdeps/x86_64/preconfigure: New generated file.
38073 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38076 * math/e_exp2l.c: Include <float.h>.
38077 (__ieee754_exp2l): Handle overflow and underflow cases
38078 separately. Only pass fractional part of argument to
38080 * math/libm-test.inc (exp2_test): Add more tests.
38082 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38083 negating x to take absolute value.
38084 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38086 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38087 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38089 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38090 computing low part if x was negated.
38091 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38093 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38095 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38096 la_x32_gnu_pltexit.
38097 (pltexit): Cast int_retval to ptrdiff_t.
38098 * elf/tst-auditmod3b.c: Likewise.
38099 * elf/tst-auditmod4b.c: Likewise.
38100 * elf/tst-auditmod5b.c: Likewise.
38101 * elf/tst-auditmod6b.c: Likewise.
38102 * elf/tst-auditmod6c.c: Likewise.
38103 * elf/tst-auditmod7b.c: Likewise.
38105 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38106 and x32_gnu_pltexit.
38108 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38109 __ELF_NATIVE_CLASS.
38110 (La_x32_regs): New macro.
38111 (La_x32_retval): Likewise.
38112 (la_x32_gnu_pltenter): New function prototype.
38113 (la_x32_gnu_pltexit): Likewise.
38115 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38122 * configure.in (libc_cv_cc_nofma): Check for option to disable
38123 generation of FMA instructions.
38124 * configure: Regenerate.
38125 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38126 * sysdeps/ieee754/dbl-64/Makefile: New file.
38127 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38128 Remove brandred-fma4.
38129 (CFLAGS-brandred-fma4.c): Remove.
38130 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38131 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38133 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38136 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38138 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38139 LLONG_MAX != LONG_MAX.
38140 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38141 (_fitoa_word): Likewise.
38142 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38143 LLONG_MAX != LONG_MAX.
38144 * stdio-common/_itowa.h: Include <_itoa.h>.
38145 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38146 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38147 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38148 only if not defined.
38149 (_ITOA_WORD_TYPE): Likewise.
38150 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38151 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38153 2012-03-21 David S. Miller <davem@davemloft.net>
38155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38157 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38159 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38160 of x86_64 when setting libc_cv_slibdir, libdir and
38162 * sysdeps/unix/sysv/linux/configure: Regenerated.
38164 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38166 * manual/lang.texi (Old Varargs): Remove section.
38167 (How Variadic): Update menu.
38168 (va_start): Do not mention varargs.h.
38170 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38171 Joseph Myers <joseph@codesourcery.com>
38173 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38175 * configure: Regenerated.
38177 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38179 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38180 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38183 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38186 * Makefile (files-for-dist): Remove NOTES.
38187 (NOTES): Remove rule.
38188 * README: Don't refer to NOTES.
38189 * manual/creature.texi: Don't include macros.texi.
38190 * manual/intro.texi (creature.texi): Remove comment referring to
38193 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38194 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38195 * configure: Regenerated.
38196 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38197 LIBC_TRY_CC_OPTION.
38198 (libc_cv_as_i686): Likewise.
38199 (libc_cv_cc_avx): Likewise.
38200 (libc_cv_cc_sse2avx): Likewise.
38201 (libc_cv_cc_fma4): Likewise.
38202 (libc_cv_cc_novzeroupper): Likewise.
38203 * sysdeps/i386/configure: Regenerated.
38206 * sysdeps/i386/fpu/s_cexp.S: Remove.
38207 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38208 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38209 * math/libm-test.inc (cexp_test): Add more tests.
38210 * sysdeps/i386/fpu/libm-test-ulps: Update.
38211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38213 2012-03-21 Allan McRae <allan@archlinux.org>
38215 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38217 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38220 * math/w_exp2.c: Do not include <float.h>.
38221 (o_threshold, u_threshold): Remove.
38222 (__exp2): Calculate result before checking finiteness and calling
38224 * math/w_exp2f.c: Likewise.
38225 * math/w_exp2l.c: Likewise.
38226 * math/libm-test.inc (exp2_test): Require overflow exception for
38230 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38231 range of signed 64-bit integers before using fistpll. Remove
38232 checks for whether integers fit in mantissa bits.
38233 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38234 the range of signed 32-bit integers before using fistpl. Remove
38235 checks for whether integers fit in mantissa bits.
38236 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38237 (__ieee754_powl): Test for y outside the range of signed 64-bit
38238 integers before using fistpll. Reduce 64-bit values to 63-bit
38240 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38241 divide-by-zero is raised for zero to large negative powers.
38242 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38243 (__ieee754_powl): Test for y outside the range of signed 64-bit
38244 integers before using fistpll. Reduce 64-bit values to 63-bit
38246 * math/libm-test.inc (pow_test): Add more tests.
38248 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38250 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38251 <stdio-common/_itoa.h>.
38252 * debug/segfault.c: Likewise.
38253 * elf/dl-cache.c: Likewise.
38254 * elf/dl-minimal.c: Likewise.
38255 * elf/dl-misc.c: Likewise.
38256 * elf/dl-sysdep.c: Likewise.
38257 * elf/dl-version.c: Likewise.
38258 * elf/rtld.c: Likewise.
38259 * hurd/hurdsock.c: Likewise.
38260 * hurd/lookup-retry.c: Likewise.
38261 * malloc/malloc.c: Likewise.
38262 * malloc/mtrace.c: Likewise.
38263 * nscd/nscd_getgr_r.c: Likewise.
38264 * nscd/nscd_getpw_r.c: Likewise.
38265 * nscd/nscd_getserv_r.c: Likewise.
38266 * posix/getopt_init.c: Likewise.
38267 * posix/wordexp.c: Likewise.
38268 * stdio-common/_itoa.c: Likewise.
38269 * stdio-common/printf_fphex.c: Likewise.
38270 * stdio-common/vfprintf.c: Likewise.
38271 * string/_strerror.c: Likewise.
38272 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38273 * sysdeps/i386/i686/hp-timing.h: Likewise.
38274 * sysdeps/mach/_strerror.c: Likewise.
38275 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38276 * sysdeps/mach/hurd/sethostid.c: Likewise.
38277 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38278 * sysdeps/mach/xpg-strerror.c: Likewise.
38279 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38281 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38282 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38283 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38284 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38285 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38286 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38287 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38288 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38289 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38290 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38291 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38292 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38293 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38294 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38295 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38296 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38297 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38298 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38299 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38301 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38303 * stdio-common/_itoa.h: Moved to ...
38304 * sysdeps/generic/_itoa.h: Here.
38306 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38308 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38309 instead of "_itoa.h" and "_itowa.h".
38310 * stdio-common/vfprintf.: Likewise.
38312 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38314 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38316 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38317 (__signbit): Likwise.
38318 (llrintf): Likwise.
38321 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38323 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38326 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38328 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38329 OVERFLOW_EXCEPTION_OK.
38330 * math/libm-test.inc ("Philosophy"): Update comment about
38332 (OVERFLOW_EXCEPTION): Define.
38333 (OVERFLOW_EXCEPTION_OK): Likewise.
38334 (INVALID_EXCEPTION_OK): Renumber.
38335 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38336 (IGNORE_ZERO_INF_SIGN): Likewise.
38337 (test_exceptions): Handle FE_OVERFLOW.
38338 (exp10_test): Expect overflow exceptions.
38339 (exp2_test): Likewise.
38340 (expm1_test): Likewise.
38341 (nextafter_test): Likewise.
38342 (pow_test): Likewise.
38343 (scalbn_test): Likewise.
38344 (scalbln_test): Likewise.
38346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38348 * sysdeps/x86_64/bits/atomic.h
38349 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38351 (atomic_exchange_acq): Likewise.
38352 (__arch_exchange_and_add_body): Likewise.
38353 (__arch_add_body): Likewise.
38354 (atomic_add_negative): Likewise.
38355 (atomic_add_zero): Likewise.
38357 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38359 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38360 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38362 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38364 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38365 Check __x86_64__ instead of __WORDSIZE.
38367 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38369 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38371 2012-03-19 David S. Miller <davem@davemloft.net>
38373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38375 * sysdeps/sparc/fpu/fenv_private.h: New file.
38376 * sysdeps/sparc/fpu/math_private.h: Use it.
38377 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38379 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38380 (libc_feholdexcept_setroundl): Remove.
38381 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38383 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38384 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38386 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38388 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38389 int64_t instead of long int.
38390 (INSERT_WORDS64): Likwise.
38392 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38394 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38395 _Unwind_GetCFA return to _Unwind_Ptr first.
38397 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38400 * math/s_clog.c: Include <float.h>.
38401 (__clog): Scale large or subnormal inputs.
38402 * math/s_clogf.c: Likewise.
38403 * math/s_clogl.c: Likewise.
38404 * math/s_clog10.c: Include <float.h>.
38405 (M_LOG10_2): Define.
38406 (__clog10): Scale large or subnormal inputs.
38407 * math/s_clog10f.c: Likewise.
38408 * math/s_clog10l.c: Likewise.
38409 * math/libm-test.inc (clog_test): Add more tests.
38410 (clog10_test): Likewise.
38411 * sysdeps/i386/fpu/libm-test-ulps: Update.
38412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38415 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38417 * math/libm-test.inc (atan2_test): Add another test.
38419 * Makerules (common-objdir-compile): Remove.
38420 * sysdeps/unix/Makefile (config-generated): Do not add
38421 $(unix-generated) to variable.
38422 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38423 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38425 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38427 [generic bits/local_lim.h] (before-compile): Do not append to
38429 [generic bits/local_lim.h] (common-generated): Likewise.
38430 [generic sys/param.h] (before-compile): Do not append to variable.
38431 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38432 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38433 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38434 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38436 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38437 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38438 [generic sys/param.h] ($(addprefix
38439 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38440 [generic sys/param.h] (common-generated): Do not append to
38442 [generic sys/param.h] (sysdep_headers): Likewise.
38443 [generic bits/errno.h] (before-compile): Do not append to
38445 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38447 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38448 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38449 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38450 [generic bits/errno.h] (common-generated): Do not append to
38452 [generic bits/ioctls.h] (before-compile): Do not append to
38454 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38456 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38457 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38458 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38460 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38461 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38462 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38463 [generic bits/ioctls.h] (common-generated): Do not append to
38465 [generic sys/syscall.h] (syscall.h): Remove variable.
38466 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38468 [generic sys/syscall.h] (before-compile): Do not append to
38470 [generic sys/syscall.h] (common-generated): Likewise.
38471 * sysdeps/unix/errnos-tmpl.c: Remove file.
38472 * sysdeps/unix/errnos.awk: Likewise.
38473 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38474 * sysdeps/unix/ioctls.awk: Likewise.
38475 * sysdeps/unix/mk-local_lim.c: Likewise.
38476 * sysdeps/unix/snarf-ioctls: Likewise.
38478 2012-03-19 Richard Henderson <rth@twiddle.net>
38480 * sysdeps/i386/fpu/fenv_private.h: New file.
38481 * sysdeps/i386/fpu/math_private.h: Use it.
38482 (math_opt_barrier, math_force_eval): Remove.
38483 (libc_feholdexcept_setround_53bit): Remove.
38484 (libc_feupdateenv_53bit): Remove.
38485 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38486 (math_opt_barrier, math_force_eval): Remove.
38487 (libc_feholdexcept): Remove.
38488 (libc_feholdexcept_setround): Remove.
38489 (libc_fetestexcept, libc_fesetenv): Remove.
38490 (libc_feupdateenv_test): Remove.
38491 (libc_feupdateenv, libc_feholdsetround): Remove.
38492 (libc_feresetround): Remove.
38494 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38495 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38497 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38498 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38499 (libc_feupdateenv_testl): New.
38500 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38501 (libc_feupdateenv_testf): New.
38502 (libc_feupdateenv): Use libc_feupdateenv_test.
38503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38504 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38506 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38507 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38508 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38509 (libc_feresetround_noex): New.
38510 (libc_feresetround_noexf): New.
38511 (libc_feresetround_noexl): New.
38512 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38513 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38514 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38515 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38518 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38520 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38521 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38522 SET_RESTORE_ROUND_NOEX.
38523 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38524 SET_RESTORE_ROUND_NOEXF.
38525 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38526 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38527 (libc_feholdsetroundf): New.
38528 (libc_feresetround, libc_feresetroundf): New.
38530 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38531 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38532 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38534 * sysdeps/generic/math_private.h: Include <fenv.h>.
38535 (default_libc_feholdexcept): New.
38536 (default_libc_feholdexcept_setround): New.
38537 (default_libc_fesetenv, default_libc_feupdateenv): New.
38538 (libc_feholdexcept): Only define if undefined.
38539 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38540 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38541 (libc_feholdexcept_setroundl): Likewise.
38542 (libc_feholdexcept_setround_53bit): Likewise.
38543 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38544 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38545 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38546 (libc_feupdateenv_53bit): Likewise.
38547 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38548 (libc_feholdexcept): Convert from macro to inline function.
38549 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38550 (libc_fesetenv, libc_feupdateenv): Likewise.
38552 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38553 not previously defined.
38554 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38555 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38556 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38557 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38558 * sysdeps/ieee754/flt-32/math_private.h: New file.
38559 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38560 math_private.h below SET_FLOAT_WORD.
38561 (__isnan, __isinf_ns, __finite): Remove.
38562 (__isnanf, __isinf_nsf, __finitef): Remove.
38564 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38568 2012-03-17 David S. Miller <davem@davemloft.net>
38571 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38574 2012-03-16 David S. Miller <davem@davemloft.net>
38576 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38580 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38582 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38583 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38584 sysdep_routines when subdir is sysvipc.
38585 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38586 __getshmlba helper.
38588 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38590 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38592 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38595 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38597 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38598 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38599 (__lround): Renamed to ...
38600 (__llround): This. Replace long int with long long int.
38601 Define lround functions as aliases of llround functions.
38602 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38604 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38606 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38607 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38608 adresses to uintptr_t. Replace "long int" and "unsigned long
38609 int" with "greg_t" on va_arg.
38611 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38613 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38614 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38616 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38617 Move e_machine check before EI_CLASS check. Handle x32
38618 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38619 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38620 SKIP_EM_IA_64 and include
38621 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38623 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38624 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38625 (add_system_dir): New macro.
38627 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38628 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38630 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38641 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38643 * math/w_j0f.c (j0f): Likewise.
38645 * math/w_j0l.c (__j0l): Likewise.
38647 * math/w_j1.c (j1): Likewise.
38649 * math/w_j1f.c (j1f): Likewise.
38651 * math/w_j1l.c (__j1l): Likewise.
38653 * math/w_jn.c (jn): Likewise.
38655 * math/w_jnf.c (jnf): Likewise.
38657 * math/w_jnl.c (__jnl): Likewise.
38659 * math/libm-test.inc (j0_test): Add more tests.
38660 (j1_test): Likewise.
38661 (jn_test): Likewise. Add trailing semicolon to existing test.
38662 (y0_test): Likewise.
38663 (y1_test): Likewise.
38664 * sysdeps/i386/fpu/libm-test-ulps: Update.
38665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38669 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38670 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38671 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38672 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38673 (__tanl): Set errno for infinite argument.
38674 * sysdeps/i386/fpu/mptan.c: Remove.
38675 * sysdeps/i386/fpu/s_tan.S: Likewise.
38676 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38677 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38678 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38679 * math/libm-test.inc (tan_test): Add more tests and enable more
38680 tests for double and long double.
38681 * sysdeps/i386/fpu/libm-test-ulps: Update.
38682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38684 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38686 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38687 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38689 2012-03-16 Roland McGrath <roland@hack.frob.com>
38691 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38692 * configure.in: Use it for both main tree and add-ons.
38693 * configure: Regenerated.
38695 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38697 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38699 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38701 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38705 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38706 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38707 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38708 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38709 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38711 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38713 != 0 for prec == 2.
38714 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38715 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38716 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38717 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38718 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38719 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38720 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38721 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38722 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38723 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38724 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38725 * math/libm-test.inc (cos_test): Add more tests and enable more
38726 tests for long double.
38727 (sin_test): Likewise.
38728 (sincos_test): Likewise.
38729 * sysdeps/i386/fpu/libm-test-ulps: Update.
38730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38732 2012-03-16 David S. Miller <davem@davemloft.net>
38734 * sysdeps/sparc/fpu/math_private.h: New file.
38736 2012-03-15 David S. Miller <davem@davemloft.net>
38738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38752 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38753 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38755 * sysdeps/sparc/sparc-ifunc.h: New file.
38756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38801 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38803 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38807 2012-03-15 Andreas Jaeger <aj@suse.de>
38810 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38811 ieee754/flt-32 implementation for sin, cos and sincos.
38812 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38813 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38814 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38815 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38816 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38817 ieee754/flt-32 implementation for tan.
38819 * math/libm-test.inc (cos_test): Enable some large input tests for
38821 (sin_test): Likewise.
38822 (sincos_test): Likewise.
38823 (tan_test): Add tests for large input.
38825 * sysdeps/i386/fpu/libm-test-ulps: Update.
38827 2012-03-15 Andreas Jaeger <aj@suse.de>
38830 * math/libm-test.inc (cos_test): Add more test cases.
38831 (sin_test): Likewise.
38832 (sincos_test): Likewise.
38834 2012-03-15 Andreas Jaeger <aj@suse.de>
38837 * math/libm-test.inc (cos_test): Add a test case for large input
38839 (sin_test): Likewise.
38840 (sincos_test): Likewise.
38842 2012-03-15 Andreas Jaeger <aj@suse.de>
38843 Joseph Myers <joseph@codesourcery.com>
38846 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38847 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38848 * sysdeps/i386/fpu/branred.c: Likewise.
38849 * sysdeps/i386/fpu/dosincos.c: Likewise.
38850 * sysdeps/i386/fpu/mpa.c: Likewise.
38851 * sysdeps/i386/fpu/s_cos.S: Likewise.
38852 * sysdeps/i386/fpu/s_sin.S: Likewise.
38853 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38854 * sysdeps/i386/fpu/sincos32.c: Likewise.
38856 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38858 (libc_feupdateenv_53bit): Define.
38859 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38861 (libc_feupdateenv_53bit): Define.
38863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38864 53 bit (without extend i386 double precision).
38866 * math/libm-test.inc (sincos_test): Add tests for large input.
38870 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38872 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38876 2012-03-15 David S. Miller <davem@davemloft.net>
38878 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38879 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38880 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38881 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38906 fmin/fmax sysdep routines.
38907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38909 2012-03-14 David S. Miller <davem@davemloft.net>
38911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38915 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38917 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38931 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38983 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38988 * sysdeps/sparc/configure.in: New file.
38989 * sysdeps/sparc/configure: Generate.
38990 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38991 * configure: Regenerate.
38992 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38993 * config.make.in (have-as-vis3): New.
38994 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38995 available use -Av9d instead of -Av9a.
38996 * sysdeps/sparc/sparc64/Makefile: Likewise.
38997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39006 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39007 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39012 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39013 fzeros/fnegs to load 0x80000000 into a float register instead of
39015 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39017 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39021 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39022 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39023 ($(inst_includedir)/bits/syscall.h): Remove rule.
39024 ($(objpfx)bits/syscall.d): Include instead of
39025 $(objpfx)syscall-list.d.
39026 (generated): Change syscall-list.h and syscall-list.d to
39027 bits/syscall.h and bits/syscall.d.
39029 2012-03-14 Roland McGrath <roland@hack.frob.com>
39032 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39034 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39037 * math/s_csqrt.c: Include <float.h>.
39038 (__csqrt): Scale large or subnormal inputs.
39039 * math/s_csqrtf.c: Likewise.
39040 * math/s_csqrtl.c: Likewise.
39041 * math/libm-test.inc (csqrt_test): Add more tests.
39042 * sysdeps/i386/fpu/libm-test-ulps: Update.
39043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39046 * math/libm-test.inc (hypot_test): Add more tests.
39048 2012-03-13 David S. Miller <davem@davemloft.net>
39051 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39052 double-precision for the calculation instead of scaling.
39054 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39056 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39057 manipulate bits before adding and subtracting TWO52[sx].
39058 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39059 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39061 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39063 2012-03-13 David S. Miller <davem@davemloft.net>
39065 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39066 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39067 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39068 rtld-global-offsets.h
39069 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39071 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39074 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39076 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39077 'err' in the ifdef scope in which it is actually used.
39079 * nss/nss_db/db-init.c: Include string.h
39081 2012-03-12 David S. Miller <davem@davemloft.net>
39083 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39084 masking out of the most significant byte of random value used.
39085 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39086 Fix coding style in previous change.
39088 * sysdeps/unix/sysv/linux/kernel-features.h
39089 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39090 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39092 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39095 2012-03-11 David S. Miller <davem@davemloft.net>
39097 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39098 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39099 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39100 for 'resultvar' otherwise things get truncated on 64-bit.
39102 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39103 Fix masking out of the most significant byte of random value used.
39105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39107 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39111 2012-03-09 David S. Miller <davem@davemloft.net>
39113 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39114 variables with appropriate CPP guards.
39115 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39116 from the frame pointer, not the stack pointer. Correct layout
39117 comments. Fix test on resulting framesize and the management of
39118 the outregs buffer for pltexit. Preserve floating point return
39119 values across _dl_call_pltexit call.
39120 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39121 framesize and the management of the outregs buffer for pltexit.
39122 Preserve floating point return values across _dl_call_pltexit
39124 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39125 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39126 (la_sparc64_gnu_pltexit): New functions.
39127 (print_exit): Fix format string for return register value.
39129 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39131 * sunrpc/Makefile (others): Add rpcgen.
39132 ($(objpfx)rpcgen): Remove special build rule and dependency on
39134 * sunrpc/rpcgen.c: New file.
39136 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39139 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39140 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39141 * sysdeps/i386/crti.S: Likewise.
39142 * sysdeps/i386/crtn.S: Likewise.
39143 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39144 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39145 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39146 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39147 * sysdeps/sh/crti.S: Likewise.
39148 * sysdeps/sh/crtn.S: Likewise.
39149 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39152 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39154 * locale/programs/locfile-kw.gperf: Likewise.
39155 * locale/programs/charmap-kw.h: Regenerated.
39156 * locale/programs/locfile-kw.h: Likewise.
39159 * intl/plural.y: Replace FSF snail mail address with URL.
39160 * intl/plural.c: Regenerated.
39162 2012-03-09 Richard Henderson <rth@twiddle.net>
39164 * include/math_private.h: Remove file.
39165 * math/math_private.h: Move file ...
39166 * sysdeps/generic/math_private.h: ... here.
39168 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39169 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39170 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39172 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39173 and <math_private.h>.
39174 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39175 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39176 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39177 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39178 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39179 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39180 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39181 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39182 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39183 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39185 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39186 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39187 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39188 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39189 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39190 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39191 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39192 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39193 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39195 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39196 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39197 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39198 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39199 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39200 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39204 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39205 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39206 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39207 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39208 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39209 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39210 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39211 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39212 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39213 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39214 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39215 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39216 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39217 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39218 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39219 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39220 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39221 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39222 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39223 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39224 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39225 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39226 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39227 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39228 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39229 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39230 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39231 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39238 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39239 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39240 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39241 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39242 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39243 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39244 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39245 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39246 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39248 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39252 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39253 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39254 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39256 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39258 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39261 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39262 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39263 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39264 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39265 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39266 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39267 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39268 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39269 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39270 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39271 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39272 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39273 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39274 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39275 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39276 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39277 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39278 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39279 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39280 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39281 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39282 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39284 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39285 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39287 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39288 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39289 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39290 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39291 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39292 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39293 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39294 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39295 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39296 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39297 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39298 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39299 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39300 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39301 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39302 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39303 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39304 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39305 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39306 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39307 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39308 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39309 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39310 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39311 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39312 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39313 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39315 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39316 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39317 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39318 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39319 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39320 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39321 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39322 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39323 * sysdeps/ieee754/k_standard.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39341 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39344 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39349 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39350 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39351 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39354 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39355 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39357 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39362 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39363 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39364 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39367 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39368 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39369 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39370 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39372 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39373 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39374 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39375 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39376 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39377 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39380 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39381 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39382 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39383 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39384 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39385 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39386 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39387 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39391 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39394 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39397 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39400 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39401 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39403 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39404 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39405 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39406 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39407 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39408 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39409 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39410 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39411 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39412 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39414 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39415 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39416 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39417 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39418 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39419 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39420 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39421 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39422 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39423 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39424 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39425 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39426 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39427 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39428 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39429 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39430 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39431 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39432 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39433 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39434 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39435 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39436 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39437 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39438 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39439 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39440 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39441 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39442 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39443 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39444 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39445 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39446 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39447 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39448 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39449 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39450 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39451 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39452 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39453 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39454 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39455 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39456 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39457 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39458 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39459 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39460 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39461 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39462 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39463 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39464 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39465 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39466 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39467 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39468 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39469 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39470 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39471 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39472 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39473 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39474 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39475 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39476 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39477 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39478 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39479 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39480 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39481 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39482 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39483 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39484 * sysdeps/ieee754/s_lib_version.c: Likewise.
39485 * sysdeps/ieee754/s_matherr.c: Likewise.
39486 * sysdeps/ieee754/s_signgam.c: Likewise.
39487 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39488 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39489 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39490 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39491 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39492 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39493 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39494 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39495 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39496 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39497 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39498 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39499 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39500 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39501 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39502 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39503 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39504 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39505 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39507 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39509 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39511 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39512 * sunrpc/rpc_main.c: Likewise.
39513 * sunrpc/rpc_svcout.c: Likewise.
39515 2012-03-09 David S. Miller <davem@davemloft.net>
39517 * include/math_private.h: New file.
39519 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39521 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39522 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39523 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39524 from <bits/socket_type.h>.
39525 (enum __socket_type): Don't define here.
39526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39528 bits/socket_type.h.
39531 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39532 checking __USE_GNU.
39534 * Makerules ($(inst_includedir)/%.h): New rule.
39535 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39536 (install-others): Remove variable setting.
39537 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39539 2012-03-08 Richard Henderson <rth@twiddle.net>
39541 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39542 from macro to inline function; merge with the
39543 !__LIBC_INTERNAL_MATH_INLINES version.
39544 (__ieee754_sqrtf): Likewise.
39546 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39547 to inline function.
39548 (__rintf, __floor, __floorf): Likewise.
39550 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39551 macro to inline function.
39552 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39554 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39555 not <math/math_private.h>.
39557 2012-03-08 David S. Miller <davem@davemloft.net>
39559 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39561 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39563 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39565 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39567 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39568 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39570 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39572 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39573 be defined individually, they must be defined as a block. Define
39574 S for printing a string instead of hidint the different by using a
39575 macro for adding the 'l'.
39576 * stdio-common/tst-fphex-wide.c: Adjust.
39578 2012-03-07 Marek Polacek <polacek@redhat.com>
39580 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39582 2012-03-08 Marek Polacek <polacek@redhat.com>
39585 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39586 * stdio-common/tst-fphex.c: Define a few macros to make the
39587 test reusable. Use them.
39588 * stdio-common/tst-fphex-wide.c: New file.
39590 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39593 * manual/macros.texi (gnusystems): New macro.
39594 (nongnusystems): Likewise.
39595 (gnulinuxhurdsystems): Likewise.
39596 (gnuhurdsystems): Likewise..
39597 (gnulinuxsystems): Likewise.
39598 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39599 variants of the GNU system, not "GNU system".
39600 * manual/conf.texi: Likewise.
39601 * manual/errno.texi: Likewise. Update example of errno macro
39603 * manual/filesys.texi: Likewise.
39604 (getumask): Document as specific to GNU/Hurd.
39605 * manual/install.texi: Likewise. Reword some references to
39607 * manual/intro.texi: Likewise.
39608 * manual/io.texi: Likewise.
39609 (File Name Portability): Detail which constraints are inapplicable
39610 to all GNU systems and which are only inapplicable to GNU/Hurd.
39611 * manual/job.texi: Likewise.
39612 * manual/llio.texi: Likewise.
39613 (O_NOCTTY): Document as present on GNU/Linux.
39614 * manual/maint.texi: Likewise.
39615 * manual/memory.texi: Likewise.
39616 * manual/pattern.texi: Likewise.
39617 * manual/pipe.texi: Likewise.
39618 * manual/process.texi: Likewise.
39619 * manual/resource.texi: Likewise.
39620 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39622 * manual/setjmp.texi: Likewise.
39623 * manual/signal.texi: Likewise.
39624 * manual/startup.texi: Likewise.
39625 * manual/stdio.texi: Likewise.
39626 * manual/terminal.texi: Likewise.
39627 (ONLCR): Document as POSIX.
39628 (OXTABS): Document availability on GNU/Linux as XTABS.
39629 (ONOEOT): Document availability separately from other bits.
39630 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39631 * manual/time.texi: Likewise.
39632 * manual/users.texi: Likewise.
39633 * INSTALL: Regenerated.
39634 * sysdeps/gnu/errlist.c: Regenerated.
39636 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39637 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39638 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39640 * configure: Regenerated.
39642 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39644 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39645 default includes instead of AC_HEADER_CHECK.
39646 * sysdeps/i386/configure: Regenerated.
39649 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39650 * math/s_cacoshf.c (__cacoshf): Likewise.
39651 * math/s_cacoshl.c (__cacoshl): Likewise.
39652 * math/s_casinh.c (__casinh): Set signs of result from argument.
39653 * math/s_casinhf.c (__casinhf): Likewise.
39654 * math/s_casinhl.c (__casinhl): Likewise.
39655 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39656 (casinh_test): Add more tests.
39657 * sysdeps/i386/fpu/libm-test-ulps: Update.
39658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39660 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39662 * po/zh_TW.po: Update from translation team.
39664 * login/Makefile (distribute): Remove variable.
39665 * catgets/Makefile: Likewise.
39666 * mach/Makefile: Likewise.
39667 * malloc/Makefile: Likewise.
39668 * misc/Makefile: Likewise.
39669 * iconv/Makefile: Likewise.
39670 * nscd/Makefile: Likewise.
39671 * hurd/Makefile: Likewise.
39672 * manual/Makefile: Likewise.
39673 * locale/Makefile: Likewise.
39674 * intl/Makefile: Likewise.
39675 * conform/Makefile: Likewise.
39676 * nss/Makefile: Likewise.
39677 * time/Makefile: Likewise.
39678 * soft-fp/Makefile: Likewise.
39679 * dirent/Makefile: Likewise.
39680 * gmon/Makefile: Likewise.
39681 * po/Makefile: Likewise.
39682 * rt/Makefile: Likewise.
39683 * socket/Makefile: Likewise.
39684 * math/Makefile: Likewise.
39685 * signal/Makefile: Likewise.
39686 * debug/Makefile: Likewise.
39687 * elf/Makefile: Likewise.
39688 * timezone/Makefile: Likewise.
39689 * stdlib/Makefile: Likewise.
39690 * iconvdata/Makefile: Likewise.
39691 * sunrpc/Makefile: Likewise.
39692 * io/Makefile: Likewise.
39693 * argp/Makefile: Likewise.
39694 * inet/Makefile: Likewise.
39695 * hesiod/Makefile: Likewise.
39696 * grp/Makefile: Likewise.
39697 * csu/Makefile: Likewise.
39698 * wctype/Makefile: Likewise.
39699 * crypt/Makefile: Likewise.
39700 * libio/Makefile: Likewise.
39701 * string/Makefile: Likewise.
39702 * nis/Makefile: Likewise.
39703 * resolv/Makefile: Likewise.
39704 * stdio-common/Makefile: Likewise.
39705 * wcsmbs/Makefile: Likewise.
39706 * dlfcn/Makefile: Likewise.
39707 * posix/Makefile: Likewise.
39710 * timezone/Makefile: Don't install timezone files, just the programs
39713 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39715 * nss/databases.def: Add missing gshadow entry.
39717 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39719 2012-03-06 Marek Polacek <polacek@redhat.com>
39722 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39723 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39724 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39725 * stdio-common/tst-long-dbl-fphex.c: New file.
39727 2012-03-06 David S. Miller <davem@davemloft.net>
39729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39730 (set_obp_int): New function.
39731 (get_obp_int): New function.
39732 (__get_clockfreq_via_dev_openprom): Likewise.
39733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39734 Avoid unused variable warnings on 'val' and use builtin_expect.
39735 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39737 (INLINE_CLONE_SYSCALL): Likewise.
39739 2012-03-05 David S. Miller <davem@davemloft.net>
39741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39743 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39747 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39748 only for |x| >= 40.
39749 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39751 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39753 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39754 Replace gettimeofday with __vdso_gettimeofday.
39756 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39757 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39758 __vdso_clock_gettime and __vdso_getcpu.
39760 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39761 time with __vdso_time.
39763 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39765 * manual/lang.texi (size_t): Note types to which size_t may be
39766 equivalent with the GNU C Library, but do not describe when
39767 differences between them are significant.
39769 2012-03-05 Andreas Jaeger <aj@suse.de>
39771 * sysdeps/i386/fpu/libm-test-ulps: Update.
39773 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39776 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39777 (__ieee754_pow): Save and restore rounding mode and use
39778 round-to-nearest for main computations.
39779 * math/libm-test.inc (pow_test_tonearest): New function.
39780 (pow_test_towardzero): Likewise.
39781 (pow_test_downward): Likewise.
39782 (pow_test_upward): Likewise.
39783 (main): Call the new functions.
39784 * sysdeps/i386/fpu/libm-test-ulps: Update.
39785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39788 * math/libm-test.inc (cosh_test_tonearest): New function.
39789 (cosh_test_towardzero): Likewise.
39790 (cosh_test_downward): Likewise.
39791 (cosh_test_upward): Likewise.
39792 (sinh_test_tonearest): Likewise.
39793 (sinh_test_towardzero): Likewise.
39794 (sinh_test_downward): Likewise.
39795 (sinh_test_upward): Likewise.
39796 (main): Call the new functions.
39797 * sysdeps/i386/fpu/libm-test-ulps: Update.
39798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39800 2012-03-05 Tom de Vries <tom@codesourcery.com>
39802 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39803 default stack guard is set in last bytes.
39804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39806 2012-03-05 Kees Cook <keescook@chromium.org>
39808 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39811 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39812 possibly allocate from heap instead of stack.
39813 * stdio-common/bug-vfprintf-nargs.c: New file.
39814 * stdio-common/Makefile (tests): Add nargs overflow test.
39816 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39820 2012-03-03 Marek Polacek <polacek@redhat.com>
39822 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39823 * math/math_private.h: Likewise.
39824 * stdlib/tst-strtod.c: Likewise.
39825 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39826 * sysdeps/x86_64/bits/atomic.h: Likewise.
39828 2012-03-02 David S. Miller <davem@davemloft.net>
39830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39834 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39835 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39836 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39837 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39839 2012-03-02 Roland McGrath <roland@hack.frob.com>
39842 * manual/examples/README: New file, says the example source files
39843 can be used under GPL>=2.
39844 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39845 line containing just "*/".
39846 * manual/examples/add.c: Add copyright header (GPL>=2).
39847 * manual/examples/argp-ex1.c: Likewise.
39848 * manual/examples/argp-ex2.c: Likewise.
39849 * manual/examples/argp-ex3.c: Likewise.
39850 * manual/examples/argp-ex4.c: Likewise.
39851 * manual/examples/atexit.c: Likewise.
39852 * manual/examples/db.c: Likewise.
39853 * manual/examples/dir.c: Likewise.
39854 * manual/examples/dir2.c: Likewise.
39855 * manual/examples/execinfo.c: Likewise.
39856 * manual/examples/filecli.c: Likewise.
39857 * manual/examples/filesrv.c: Likewise.
39858 * manual/examples/fmtmsgexpl.c: Likewise.
39859 * manual/examples/genpass.c: Likewise.
39860 * manual/examples/inetcli.c: Likewise.
39861 * manual/examples/inetsrv.c: Likewise.
39862 * manual/examples/isockad.c: Likewise.
39863 * manual/examples/longopt.c: Likewise.
39864 * manual/examples/memopen.c: Likewise.
39865 * manual/examples/memstrm.c: Likewise.
39866 * manual/examples/mkfsock.c: Likewise.
39867 * manual/examples/mkisock.c: Likewise.
39868 * manual/examples/mygetpass.c: Likewise.
39869 * manual/examples/pipe.c: Likewise.
39870 * manual/examples/popen.c: Likewise.
39871 * manual/examples/rprintf.c: Likewise.
39872 * manual/examples/search.c: Likewise.
39873 * manual/examples/select.c: Likewise.
39874 * manual/examples/setjmp.c: Likewise.
39875 * manual/examples/sigh1.c: Likewise.
39876 * manual/examples/sigusr.c: Likewise.
39877 * manual/examples/stpcpy.c: Likewise.
39878 * manual/examples/strdupa.c: Likewise.
39879 * manual/examples/strftim.c: Likewise.
39880 * manual/examples/strncat.c: Likewise.
39881 * manual/examples/subopt.c: Likewise.
39882 * manual/examples/swapcontext.c: Likewise.
39883 * manual/examples/termios.c: Likewise.
39884 * manual/examples/testopt.c: Likewise.
39885 * manual/examples/testpass.c: Likewise.
39886 * manual/examples/timeval_subtract.c: Likewise.
39889 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39891 * manual/timeval_subtract.c.texi: ... here, new file.
39893 2012-03-02 David S. Miller <davem@davemloft.net>
39895 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39897 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39900 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39901 (__sin): Save and restore rounding mode and use round-to-nearest
39902 for all computations.
39903 (__cos): Save and restore rounding mode and use round-to-nearest
39904 for all computations.
39905 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39907 (tan): Save and restore rounding mode and use round-to-nearest for
39909 * math/libm-test.inc (cos_test_tonearest): New function.
39910 (cos_test_towardzero): Likewise.
39911 (cos_test_downward): Likewise.
39912 (cos_test_upward): Likewise.
39913 (sin_test_tonearest): Likewise.
39914 (sin_test_towardzero): Likewise.
39915 (sin_test_downward): Likewise.
39916 (sin_test_upward): Likewise.
39917 (tan_test_tonearest): Likewise.
39918 (tan_test_towardzero): Likewise.
39919 (tan_test_downward): Likewise.
39920 (tan_test_upward): Likewise.
39921 (main): Call the new functions.
39922 * sysdeps/i386/fpu/libm-test-ulps: Update.
39923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39926 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39927 small n, then large n, before computing and testing k+n.
39928 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39931 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39933 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39934 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39935 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39936 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39937 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39938 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39939 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39940 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39941 * math/libm-test.inc (scalbn_test): Add more tests.
39942 (scalbln_test): Likewise.
39944 * manual/filesys.texi (mode_t): Describe constraints on size and
39945 signedness, not exact equivalence to a particular type.
39947 (ino64_t): Likewise.
39949 (nlink_t): Likewise.
39950 (blkcnt_t): Likewise.
39951 (blkcnt64_t): Likewise.
39952 * manual/llio.texi (off_t): Likewise.
39955 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39956 (__ieee754_exp): Save and restore rounding mode and use
39957 round-to-nearest for all computations.
39958 * math/libm-test.inc (exp_test_tonearest): New function.
39959 (exp_test_towardzero): Likewise.
39960 (exp_test_downward): Likewise.
39961 (exp_test_upward): Likewise.
39962 (main): Call the new functions.
39963 * sysdeps/i386/fpu/libm-test-ulps: Update.
39964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39966 2012-03-01 Chris Demetriou <cgd@google.com>
39968 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39969 have predictable order.
39971 2012-03-01 David S. Miller <davem@davemloft.net>
39973 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39975 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39976 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39977 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39978 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39980 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39981 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39982 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39984 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39985 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39986 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39987 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39988 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39992 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39993 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39994 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39996 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39997 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39998 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39999 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40000 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40003 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40004 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40005 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40006 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40007 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40009 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40010 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40011 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40012 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40013 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40014 * sysdeps/sparc/elf/configure: Regenerated.
40016 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40018 * configure.in (AS, LD): Require binutils 2.20 or later.
40019 * configure: Regenerated.
40020 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40021 as required minimum version.
40022 * INSTALL: Regenerated.
40026 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40027 before squaring exponent.
40028 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40029 bottom long double and 27 bits of top long double before squaring
40031 * math/libm-test.inc (erfc_test): Add more tests.
40032 * sysdeps/i386/fpu/libm-test-ulps: Update.
40033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40036 2012-03-01 Kai Tietz <ktietz@redhat.com>
40038 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40039 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40040 containing bit-fields.
40041 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40042 * soft-fp/single.h (_FP_UNION_S): Likewise.
40043 * soft-fp/double.h (_FP_UNION_D): Likewise.
40045 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40048 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40049 not include ../strcmp.S.
40050 [USE_AS_STRNCASECMP_L]: Likewise.
40051 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40052 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40053 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40054 (__strncasecmp_l_ia32): Define as alias to
40055 __strncasecmp_l_nonascii.
40058 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40059 * sysdeps/i386/fpu/libm-test-ulps: Update.
40060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40062 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40065 2012-02-29 Jeff Law <law@redhat.com>
40067 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40068 out of bounds read.
40070 2012-02-29 Marek Polacek <polacek@redhat.com>
40073 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40074 * elf/Makefile: Add rules to run tst-unused-dep.out.
40076 2012-02-28 David S. Miller <davem@davemloft.net>
40078 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40079 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40080 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40081 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40082 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40083 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40085 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40087 * math/libm-test.inc (llround_test): Move one test from
40088 lround_test. Use TEST_f_L in moved test.
40089 (lround_test): Move misplaced test to llround_test. Add testcase
40092 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40094 * sysdeps/x86_64/fpu/e_expf.S: New file.
40095 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40097 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40100 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40101 of remain_len that may cause incomplete multi-byte character and
40103 * posix/bug-regex33.c: New file.
40104 * posix/Makefile (tests): Add bug-regex33.
40106 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40108 * manual/macros.texi: New file.
40109 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40110 * manual/libc.texinfo: Include macros.texi.
40111 * manual/creatute.texi: Likewise.
40112 * manual/install.texi: Likewise.
40113 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40114 @glibcadj{} in references to the GNU C Library.
40115 * manual/charset.texi: Likewise.
40116 * manual/conf.texi: Likewise.
40117 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40118 when not using those macros.
40119 * manual/creature.texi: Likewise.
40120 * manual/crypt.texi: Likewise.
40121 * manual/errno.texi: Likewise.
40122 * manual/filesys.texi: Likewise.
40123 * manual/header.texi: Likewise.
40124 * manual/install.texi: Likewise.
40125 * manual/intro.texi: Likewise.
40126 * manual/io.texi: Likewise.
40127 * manual/job.texi: Likewise.
40128 * manual/lang.texi: Likewise.
40129 * manual/libc.texiinfo: Likewise.
40130 * manual/llio.texi: Likewise.
40131 * manual/locale.texi: Likewise.
40132 * manual/maint.texi: Likewise.
40133 * manual/math.texi: Likewise.
40134 * manual/memory.texi: Likewise.
40135 * manual/message.texi: Likewise.
40136 * manual/nss.texi: Likewise.
40137 * manual/pattern.texi: Likewise.
40138 * manual/process.texi: Likewise.
40139 * manual/resource.texi: Likewise.
40140 * manual/search.texi: Likewise.
40141 * manual/setjmp.texi: Likewise.
40142 * manual/signal.texi: Likewise.
40143 * manual/socket.texi: Likewise.
40144 * manual/startup.texi: Likewise.
40145 * manual/stdio.texi: Likewise.
40146 * manual/string.texi: Likewise.
40147 * manual/sysinfo.texi: Likewise.
40148 * manual/syslog.texi: Likewise.
40149 * manual/terminal.texi: Likewise.
40150 * manual/time.texi: Likewise.
40151 * manual/users.texi: Likewise.
40152 * INSTALL: Regenerated.
40153 * NOTES: Regenerated.
40154 * sysdeps/gnu/errlist.c: Regenerated.
40156 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40158 * include/dirent.h: Include <dirstream.h> before
40161 2012-02-28 David S. Miller <davem@davemloft.net>
40163 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40164 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40165 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40166 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40168 2012-02-27 David S. Miller <davem@davemloft.net>
40170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40172 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40173 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40176 frame pointer instead of stack pointer relative arg slot.
40177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40178 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40179 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40181 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40184 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40186 2012-02-27 David S. Miller <davem@davemloft.net>
40188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40192 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40193 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40194 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40195 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40197 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40199 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40200 later. Allow versions 5-9.
40201 * configure: Regenerated.
40202 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40203 required minimum version and 4.6 as recommended version. Do not
40204 mention bugs in GCC 2.7 and 2.8.
40205 * INSTALL: Regenerated.
40207 2012-02-27 David S. Miller <davem@davemloft.net>
40209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40213 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40214 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40215 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40216 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40218 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40219 manipulate bits before adding and subtracting TWO112[sx].
40220 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40222 2012-02-27 Roland McGrath <roland@hack.frob.com>
40225 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40226 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40227 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40228 being in POSIX, because they are in 1003.1-2008.
40230 * rt/tst-aio.c: Include <fcntl.h>.
40231 * rt/tst-aio7.c: Likewise.
40232 * rt/tst-aio64.c: Likewise.
40234 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40236 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40238 * manual/install.texi (--with-headers): Describe headers as
40239 interface headers, not private headers.
40240 (Specific advice for GNU/Linux systems): Describe use of headers
40241 from "make headers_install", not private headers from older
40243 * INSTALL: Regenerated.
40244 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40246 * sysdeps/unix/sysv/linux/configure: Regenerated.
40248 * manual/llio.texi (fclean): Remove documentation.
40250 * manual/Makefile (libc-texi-generated): New variable. Include
40252 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40253 $(libc-texi-generated), not duplicated list of files.
40254 (version.texi, stamp-version): New rules.
40255 (realclean): Remove $(libc-texi-generated), not individual files
40256 from that list. Do not remove dir-add.texinfo.
40257 * manual/libc.texinfo: Comment out uses of edition numbers and
40258 references to printed manual. Remove last-updated dates.
40259 (EDITION): Comment out.
40261 (VERSION, UPDATED): Remove.
40262 (version.texi): Include.
40264 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40266 * sysdeps/posix/spawni.c: Include <signal.h>.
40267 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40268 * sysdeps/pthread/aio_fsync.c: Likewise.
40270 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40272 * conform/Makefile (tests): Run only when not cross-compiling and
40273 when fast-check is not defined.
40275 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40276 * conform/data/limits.h-data: Fixes for POSIX2008.
40277 * conform/run-conformtest.sh: Run all tests.
40278 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40280 * include/bits/dlfcn.h: Likewise.
40281 * include/langinfo.h: Likewise.
40282 * include/monetary.h: Likewise.
40283 * include/sys/poll.h: Likewise.
40285 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40287 * posix/spawn.h: Define __need_sigset_t.
40288 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40289 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40290 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40291 to get sigevent_t only.
40292 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40293 only for __USE_GNU.
40294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40295 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40296 process_vm_writev only for __USE_GNU.
40297 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40299 * conform/Makefile: For now ignore errors from run-conformtest.
40300 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40301 POSIX to avoid namespace pollution. Don't prepend headers.
40302 * conform/data/aio.h-data: Fixes for POSIX testing.
40303 * conform/data/fcntl.h-data: Likewise.
40304 * conform/data/glob.h-data: Likewise.
40305 * conform/data/grp.h-data: Likewise.
40306 * conform/data/pthread.h-data: Likewise.
40307 * conform/data/pwd.h-data: Likewise.
40308 * conform/data/signal.h-data: Likewise.
40309 * conform/data/spawn.h-data: Likewise.
40310 * conform/data/stdio.h-data: Likewise.
40311 * conform/data/stdlib.h-data: Likewise.
40312 * conform/data/stropts.h-data: Likewise.
40313 * conform/data/sys/mman.h-data: Likewise.
40314 * conform/data/sys/stat.h-data: Likewise.
40315 * conform/data/sys/types.h-data: Likewise.
40316 * conform/data/sys/wait.h-data: Likewise.
40317 * conform/data/time.h-data: Likewise.
40318 * conform/data/unistd.h-data: Likewise.
40319 * conform/data/utime.h-data: Likewise.
40321 * io/sys/stat.h: fchmod was always in POSIX.
40322 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40323 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40324 * rt/aio.h: Define __need_timespec before including <time.h>.
40325 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40326 struct. Add forward declaration of pthread_attr_t and use it in
40328 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40329 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40330 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40331 always remove CLK_TCK definition.
40333 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40335 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40337 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40339 * conform/run-conformtest.sh: New file.
40340 * conform/Makefile: Run run-conformtest for tests.
40341 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40344 * conform/data/uchar.h-data: New file.
40345 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40346 * conform/data/arpa/inet.h-data: Likewise.
40347 * conform/data/assert.h-data: Likewise.
40348 * conform/data/complex.h-data: Likewise.
40349 * conform/data/cpio.h-data: Likewise.
40350 * conform/data/ctype.h-data: Likewise.
40351 * conform/data/dirent.h-data: Likewise.
40352 * conform/data/dlfcn.h-data: Likewise.
40353 * conform/data/errno.h-data: Likewise.
40354 * conform/data/fcntl.h-data: Likewise.
40355 * conform/data/float.h-data: Likewise.
40356 * conform/data/fmtmsg.h-data: Likewise.
40357 * conform/data/fnmatch.h-data: Likewise.
40358 * conform/data/ftw.h-data: Likewise.
40359 * conform/data/glob.h-data: Likewise.
40360 * conform/data/grp.h-data: Likewise.
40361 * conform/data/iconv.h-data: Likewise.
40362 * conform/data/inttypes.h-data: Likewise.
40363 * conform/data/langinfo.h-data: Likewise.
40364 * conform/data/libgen.h-data: Likewise.
40365 * conform/data/limits.h-data: Likewise.
40366 * conform/data/locale.h-data: Likewise.
40367 * conform/data/math.h-data: Likewise.
40368 * conform/data/monetary.h-data: Likewise.
40369 * conform/data/mqueue.h-data: Likewise.
40370 * conform/data/ndbm.h-data: Likewise.
40371 * conform/data/net/if.h-data: Likewise.
40372 * conform/data/netdb.h-data: Likewise.
40373 * conform/data/netinet/in.h-data: Likewise.
40374 * conform/data/nl_types.h-data: Likewise.
40375 * conform/data/poll.h-data: Likewise.
40376 * conform/data/pthread.h-data: Likewise.
40377 * conform/data/pwd.h-data: Likewise.
40378 * conform/data/regex.h-data: Likewise.
40379 * conform/data/sched.h-data: Likewise.
40380 * conform/data/search.h-data: Likewise.
40381 * conform/data/semaphore.h-data: Likewise.
40382 * conform/data/setjmp.h-data: Likewise.
40383 * conform/data/signal.h-data: Likewise.
40384 * conform/data/spawn.h-data: Likewise.
40385 * conform/data/stdarg.h-data: Likewise.
40386 * conform/data/stdio.h-data: Likewise.
40387 * conform/data/stdlib.h-data: Likewise.
40388 * conform/data/string.h-data: Likewise.
40389 * conform/data/strings.h-data: Likewise.
40390 * conform/data/stropts.h-data: Likewise.
40391 * conform/data/sys/ipc.h-data: Likewise.
40392 * conform/data/sys/mman.h-data: Likewise.
40393 * conform/data/sys/msg.h-data: Likewise.
40394 * conform/data/sys/resource.h-data: Likewise.
40395 * conform/data/sys/select.h-data: Likewise.
40396 * conform/data/sys/sem.h-data: Likewise.
40397 * conform/data/sys/shm.h-data: Likewise.
40398 * conform/data/sys/socket.h-data: Likewise.
40399 * conform/data/sys/stat.h-data: Likewise.
40400 * conform/data/sys/statvfs.h-data: Likewise.
40401 * conform/data/sys/time.h-data: Likewise.
40402 * conform/data/sys/timeb.h-data: Likewise.
40403 * conform/data/sys/times.h-data: Likewise.
40404 * conform/data/sys/types.h-data: Likewise.
40405 * conform/data/sys/uio.h-data: Likewise.
40406 * conform/data/sys/un.h-data: Likewise.
40407 * conform/data/sys/utsname.h-data: Likewise.
40408 * conform/data/sys/wait.h-data: Likewise.
40409 * conform/data/syslog.h-data: Likewise.
40410 * conform/data/tar.h-data: Likewise.
40411 * conform/data/termios.h-data: Likewise.
40412 * conform/data/utime.h-data: Likewise.
40413 * conform/data/utmpx.h-data: Likewise.
40414 * conform/data/varargs.h-data: Likewise.
40415 * conform/data/wchar.h-data: Likewise.
40416 * conform/data/wctype.h-data: Likewise.
40417 * conform/data/wordexp.h-data: Likewise.
40419 * include/stropts.h: New file.
40420 * include/uchar.h: New file.
40421 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40422 * include/assert.h: Likewise.
40423 * include/ctype.h: Likewise.
40424 * include/dirent.h: Likewise.
40425 * include/dlfcn.h: Likewise.
40426 * include/fcntl.h: Likewise.
40427 * include/fnmatch.h: Likewise.
40428 * include/glob.h: Likewise.
40429 * include/grp.h: Likewise.
40430 * include/libio.h: Likewise.
40431 * include/locale.h: Likewise.
40432 * include/math.h: Likewise.
40433 * include/net/if.h: Likewise.
40434 * include/netdb.h: Likewise.
40435 * include/netinet/in.h: Likewise.
40436 * include/pthread.h: Likewise.
40437 * include/pwd.h: Likewise.
40438 * include/regex.h: Likewise.
40439 * include/sched.h: Likewise.
40440 * include/search.h: Likewise.
40441 * include/setjmp.h: Likewise.
40442 * include/signal.h: Likewise.
40443 * include/stdio.h: Likewise.
40444 * include/stdlib.h: Likewise.
40445 * include/string.h: Likewise.
40446 * include/sys/cdefs.h: Likewise.
40447 * include/sys/mman.h: Likewise.
40448 * include/sys/msg.h: Likewise.
40449 * include/sys/resource.h: Likewise.
40450 * include/sys/select.h: Likewise.
40451 * include/sys/socket.h: Likewise.
40452 * include/sys/stat.h: Likewise.
40453 * include/sys/statvfs.h: Likewise.
40454 * include/sys/time.h: Likewise.
40455 * include/sys/times.h: Likewise.
40456 * include/sys/uio.h: Likewise.
40457 * include/sys/utsname.h: Likewise.
40458 * include/sys/wait.h: Likewise.
40459 * include/termios.h: Likewise.
40460 * include/time.h: Likewise.
40461 * include/ulimit.h: Likewise.
40462 * include/unistd.h: Likewise.
40463 * include/utime.h: Likewise.
40464 * include/wchar.h: Likewise.
40465 * include/wctype.h: Likewise.
40466 * include/wordexp.h: Likewise.
40468 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40470 * time/time.h: TIME_UTC must be a macro.
40471 Make timespec_get available for ISO C11 only as well.
40473 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40475 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40476 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40478 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40480 * configure.in: Use -o not -a in test for unsupported multi-arch.
40482 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40484 * manual/texinfo.tex: Update to version 2012-01-19.16.
40486 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40488 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40490 2012-02-24 Roland McGrath <roland@hack.frob.com>
40493 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40494 * manual/fdl-1.3.texi: New file.
40495 * manual/fdl-1.1.texi: File removed.
40498 * manual/libc.texinfo (FDL_VERSION): New @set.
40499 Use it for mention of FDL in cover text.
40500 (Documentation License): Use it in @include file name.
40502 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40503 Roland McGrath <roland@hack.frob.com>
40506 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40507 (not LONG_LONG_MAX and LONG_LONG_MIN.
40508 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40509 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40511 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40513 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40517 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40518 manipulate bits before adding and subtracting TWO23[sx].
40519 * math/libm-test.inc (nearbyint_test): Add more tests.
40521 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40524 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40525 bits before adding and subtracting TWO23[sx].
40526 * math/libm-test.inc (rint_test): Add more tests.
40527 (rint_test_tonearest): Likewise.
40528 (rint_test_towardzero): Likewise.
40529 (rint_test_downward): Likewise.
40530 (rint_test_upward: Likewise.
40532 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40535 * include/stdc-predef.h: New file. Extracted from features.h.
40536 * include/features.h: Include stdc-predef.h.
40537 * Makefile (headers): Add stdc-predef.h.
40538 * CONFORMANCE (Compiler limitations): Update.
40540 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40542 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40544 2012-02-21 David S. Miller <davem@davemloft.net>
40546 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40547 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40549 2012-02-20 David S. Miller <davem@davemloft.net>
40551 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40552 using a normal save/restore sequence, rather than allocating a
40553 dummy stack frame just to store a frame pointer and restore.
40554 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40556 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40558 * manual/install.texi: Fix stray word in line-wrapped comment.
40560 2012-02-20 David S. Miller <davem@davemloft.net>
40562 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40563 both binutils and gcc support GOTDATA.
40565 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40566 "rd %pc" in the PIC register setup sequences.
40568 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40569 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40570 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40571 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40572 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40573 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40574 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40575 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40577 (SYSCALL_ERROR_HANDLER): Likewise.
40578 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40579 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40581 (SYSCALL_ERROR_HANDLER): Likewise.
40583 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40584 (HAVE_GCC_GOTDATA): New.
40585 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40586 relocation support in both binutils and gcc.
40587 * sysdeps/sparc/elf/configure: Regenerate.
40589 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40590 * sysdeps/sparc/sparc32/elf/configure: Delete.
40591 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40592 * sysdeps/sparc/sparc64/elf/configure: Delete.
40593 * sysdeps/sparc/elf/configure.in: New file.
40594 * sysdeps/sparc/elf/configure: Generate.
40596 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40597 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40598 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40599 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40600 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40602 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40604 * manual/install.texi: Do not mention specific glibc version
40606 * manual/libc.texinfo (VERSION, UPDATED): Update.
40607 (@copying): Use @copyright{} and range of years.
40609 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40612 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40613 [crti.S not in sysdirs] (generated): Do not append.
40614 [crti.S not in sysdirs] (omit-deps): Likewise.
40615 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40616 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40617 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40618 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40619 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40621 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40622 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40623 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40624 * csu/defs.awk: Remove file.
40625 * sysdeps/generic/initfini.c: Likewise.
40626 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40628 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40631 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40633 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40634 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40635 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40636 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40637 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40638 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40640 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40641 (__EPOLL_PACKED): Define to empty if not defined by
40643 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40647 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40649 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40650 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40651 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40652 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40654 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40658 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40660 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40663 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40664 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40667 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40669 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40670 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40672 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40674 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40675 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40677 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40679 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40682 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40684 * math/w_acos.c: Use non-signaling floating-point comparisons.
40685 * math/w_acosf.c: Likewise.
40686 * math/w_acosh.c: Likewise.
40687 * math/w_acoshf.c: Likewise.
40688 * math/w_acoshl.c: Likewise.
40689 * math/w_acosl.c: Likewise.
40690 * math/w_asin.c: Likewise.
40691 * math/w_asinf.c: Likewise.
40692 * math/w_asinl.c: Likewise.
40693 * math/w_atanh.c: Likewise.
40694 * math/w_atanhf.c: Likewise.
40695 * math/w_atanhl.c: Likewise.
40696 * math/w_exp2.c: Likewise.
40697 * math/w_exp2f.c: Likewise.
40698 * math/w_exp2l.c: Likewise.
40699 * math/w_j0.c: Likewise.
40700 * math/w_j0f.c: Likewise.
40701 * math/w_j0l.c: Likewise.
40702 * math/w_j1.c: Likewise.
40703 * math/w_j1f.c: Likewise.
40704 * math/w_j1l.c: Likewise.
40705 * math/w_jn.c: Likewise.
40706 * math/w_jnf.c: Likewise.
40707 * math/w_log.c: Likewise.
40708 * math/w_log10.c: Likewise.
40709 * math/w_log10f.c: Likewise.
40710 * math/w_log10l.c: Likewise.
40711 * math/w_log2.c: Likewise.
40712 * math/w_log2f.c: Likewise.
40713 * math/w_log2l.c: Likewise.
40714 * math/w_logf.c: Likewise.
40715 * math/w_logl.c: Likewise.
40716 * math/w_sqrt.c: Likewise.
40717 * math/w_sqrtf.c: Likewise.
40718 * math/w_sqrtl.c: Likewise.
40719 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40720 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40721 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40722 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40723 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40725 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40728 * manual/string.texi (strnlen): Use correct parameter name in
40729 equivalent expression.
40731 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40734 * manual/users.texi (seteuid): Consistently use neweuid for
40737 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40740 * manual/nss.texi (Services in the NSS configuration): Correct
40741 list of services in example configuration file.
40743 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40746 * manual/arith.texi: Remove statements about negative zero
40747 behaving identically to zero.
40749 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40752 * manual/install.texi: Do not document upgrading from libc5.
40754 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40757 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40759 2012-02-18 David S. Miller <davem@davemloft.net>
40761 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40762 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40763 %o7 across the call.
40764 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40767 SETUP_PIC_REG_LEAF.
40768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40769 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40770 * sysdeps/sparc/crtn.S: Likewise.
40772 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40774 * aout/Makefile: Remove.
40776 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40779 * manual/examples/argp-ex1.c (main): Format definition in GNU
40781 * manual/examples/argp-ex2.c (main): Likewise.
40782 * manual/examples/argp-ex3.c (main): Likewise.
40783 * manual/examples/argp-ex4.c (main): Likewise.
40784 * manual/examples/longopt.c (main): Use new-style prototype
40786 * manual/examples/strncat.c (main): Specify return type and use
40787 (void) for arguments.
40788 * manual/examples/subopt.c (main): Use char **argv argument.
40790 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40793 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40796 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40799 * manual/string.texi (strchr): Change when strchrnul is
40802 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40805 * manual/locale.texi (setlocale): Document LOCPATH.
40807 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40810 * manual/process.texi (execle): Move @dots{} before last argument.
40812 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40815 * manual/charset.texi (Generic Charset Conversion): Fix typo
40816 (LC_TYPE -> LC_CTYPE).
40818 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40821 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40822 (scalbnf): Likewise.
40823 (scalbnl): Likewise.
40824 (scalbln): Likewise.
40825 (scalblnf): Likewise.
40826 (scalblnl): Likewise.
40827 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40828 (vwarnx): Likewise.
40831 * manual/filesys.texi (telldir): Use braces around return type.
40832 * manual/llio.texi (mmap): Add space after comma.
40833 (mmap64): Likewise.
40834 * manual/math.texi (jn): Use @var{} on parameter names.
40840 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40842 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40844 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40845 (sched_get_priority_max): Likewise.
40846 * manual/signal.texi (sigvec): Add space after comma.
40847 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40849 (if_indextoname): Likewise.
40850 (if_freenameindex): Likewise.
40851 (sendto): Use ',' instead of '.' in prototype.
40852 * manual/startup.texi (syscall): Use @dots{} instead of literal
40854 * manual/stdio.texi (__fpending): Separate initial words of
40855 paragraph from @deftypefun line.
40856 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40858 (vsyslog): Use @var{} on parameter names.
40859 * manual/terminal.texi (stty): Use @var{} on parameter names.
40860 * manual/users.texi (getutmp): Use @var{} on parameter names.
40861 (getutmpx): Likewise.
40863 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40866 * manual/stdio.texi (fopen): Fix typos in description of
40869 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40872 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40873 get clock_id definition.
40875 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40878 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40879 (madvise): Cast every argument to void on its own.
40881 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40884 * manual/startup.texi (Exit Status): Fix typo.
40886 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40889 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40890 * manual/examples/argp-ex2.c: Likewise.
40891 * manual/examples/argp-ex3.c: Likewise.
40893 2012-02-16 Richard Henderson <rth@redhat.com>
40895 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40896 * sysdeps/s390/s390-32/initfini.c: Remove.
40897 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40898 * sysdeps/s390/s390-64/initfini.c: Remove.
40900 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40902 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40903 compiler output for sysdeps/generic/initfini.c.
40904 * sysdeps/sh/elf/initfini.c: Remove file.
40906 2012-02-16 David S. Miller <davem@davemloft.net>
40909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40911 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40912 * sysdeps/sparc/crti.S: New file.
40913 * sysdeps/sparc/crtn.S: New file.
40914 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40915 * sysdeps/sparc/sparc64/Makefile: Likewise.
40917 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40920 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40922 2012-02-15 Roland McGrath <roland@hack.frob.com>
40925 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40927 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40928 (write, read, close): Likewise.
40929 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40931 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40933 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40934 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40935 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40936 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40938 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40942 2012-02-14 Marek Polacek <polacek@redhat.com>
40944 * sysdeps/x86_64/crti.S: New file.
40945 * sysdeps/x86_64/crtn.S: New file.
40946 * sysdeps/x86_64/elf/initfini.c: Remove file.
40948 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40950 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40951 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40952 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40953 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40955 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40959 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40961 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40962 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40963 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40964 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40966 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40970 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40972 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40973 __feraiseexcept instead of feraiseexcept.
40975 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40976 nanosleep invocations.
40977 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40978 strings, and add error checking for a nanosleep invocations.
40980 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40982 Replace FSF snail mail address with URLs, as per GNU coding standards.
40983 Most of the snail mail addresses were wrong anyway, and omitting
40984 them makes the source code easier to maintain. Almost all of the
40985 changes are to license notices and to locale LC_IDENTIFICATION
40986 addresses, except for this one:
40987 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40988 not its snail mail address.
40990 2012-02-09 Richard Henderson <rth@twiddle.net>
40992 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40993 of kernel-features.h.
40995 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40997 2012-02-08 Marek Polacek <polacek@redhat.com>
40999 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41000 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41001 * sysdeps/gnu/_G_config.h: Likewise.
41002 * sysdeps/generic/_G_config.h: Likewise.
41004 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41006 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41010 * sysdeps/powerpc/powerpc32/crti.S: New file.
41011 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41012 * sysdeps/powerpc/powerpc64/crti.S: New file.
41013 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41015 * Makeconfig (have-initfini): Don't set.
41016 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41017 * configure.in (nopic_initfini): Don't substitute.
41018 * config.h.in (HAVE_INITFINI): Don't #undef.
41019 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41020 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41022 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41024 Support crti.S and crtn.S provided directly by architectures.
41025 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41026 [crti.S in sysdirs] (omit-deps): Likewise.
41027 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41028 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41029 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41030 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41031 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41032 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41033 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41034 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41035 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41036 compiler output for sysdeps/generic/initfini.c.
41037 * sysdeps/i386/elf/Makefile: Remove file.
41038 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41040 2012-02-07 Marek Polacek <polacek@redhat.com>
41042 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41043 * sysdeps/gnu/_G_config.h: Likewise.
41044 * sysdeps/mach/hurd/_G_config.h: Likewise.
41046 2012-02-07 Marek Polacek <polacek@redhat.com>
41048 * math/Makefile (tests): Add tst-CMPLX2.
41049 * math/tst-CMPLX2.c: New file.
41051 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41053 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41055 * math/libm-test.inc (jn_test): Add missing L suffix.
41057 2012-02-06 Marek Polacek <polacek@redhat.com>
41059 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41060 * sysdeps/i386/fpu/e_powf.S: Likewise.
41061 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41062 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41063 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41064 * sysdeps/i386/fpu/e_pow.S: Likewise.
41065 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41066 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41067 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41068 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41069 * sysdeps/i386/fpu/e_log2.S: Likewise.
41070 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41071 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41072 * sysdeps/i386/fpu/e_powl.S: Likewise.
41073 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41074 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41075 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41076 * sysdeps/i386/fpu/e_logl.S: Likewise.
41077 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41078 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41079 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41080 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41081 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41082 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41083 * sysdeps/i386/fpu/e_log.S: Likewise.
41084 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41085 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41086 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41087 * sysdeps/i386/fpu/e_logf.S: Likewise.
41088 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41089 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41090 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41091 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41092 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41093 * sysdeps/i386/fpu/e_log10.S: Likewise.
41094 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41095 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41096 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41097 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41098 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41099 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41100 * sysdeps/i386/asm-syntax.h: Likewise.
41101 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41102 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41103 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41104 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41105 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41106 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41107 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41108 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41109 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41110 * sysdeps/powerpc/sysdep.h: Likewise.
41111 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41112 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41114 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41117 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41119 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41121 * sysdeps/i386/sysdep.h: Include <features.h>.
41122 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41125 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41127 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41129 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41132 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41134 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41135 (SETUP_PIC_REG): Use GET_PC_THUNK.
41136 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41139 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41141 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41142 for non-PIC compilation.
41143 (SETUP_PIC_REG): Add .p2align directive.
41144 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41145 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41146 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41147 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41148 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41149 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41150 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41152 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41153 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41154 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41155 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41156 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41157 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41158 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41159 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41160 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41161 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41162 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41163 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41164 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41165 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41166 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41167 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41168 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41169 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41170 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41171 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41172 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41173 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41174 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41175 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41176 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41177 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41178 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41179 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41180 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41181 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41182 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41183 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41184 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41186 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41188 * math/tst-CMPLX.c: Include <stdio.h>.
41190 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41192 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41194 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41195 * sysdeps/sparc/bits/mathdef.h: Likewise.
41197 2012-01-31 Marek Polacek <polacek@redhat.com>
41199 * libio/libio.h: Don't define _PARAMS.
41200 * locale/programs/config.h: Don't define PARAMS.
41201 * stdlib/strtol_l.c: Likewise.
41202 (__strtol_l): Remove PARAMS from the prototype.
41204 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41206 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41207 names. Just use the correct names. Remove unnecessary wrapper
41209 * malloc/arena.c: Likewise.
41210 * malloc/hooks.c: Likewise.
41212 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41213 ARENA_TEST says not to. Simplify test for creation of a new arena.
41214 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41216 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41218 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41220 (update_get_addr): New function.
41221 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41222 GET_ADDR_MODULE parameter.
41224 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41226 * crypt/cert.c: Remove __STDC__ conditionals.
41227 * crypt/crypt-entry.c: Likewise.
41228 * crypt/crypt_util.c: Likewise.
41229 * libio/filedoalloc.c: Likewise.
41230 * libio/fileops.c: Likewise.
41231 * libio/genops.c: Likewise.
41232 * libio/iofclose.c: Likewise.
41233 * libio/iofdopen.c: Likewise.
41234 * libio/iofopen.c: Likewise.
41235 * libio/iofopen64.c: Likewise.
41236 * libio/iogetdelim.c: Likewise.
41237 * libio/iopopen.c: Likewise.
41238 * libio/obprintf.c: Likewise.
41239 * libio/oldfileops.c: Likewise.
41240 * libio/oldiofclose.c: Likewise.
41241 * libio/oldiofdopen.c: Likewise.
41242 * libio/oldiofopen.c: Likewise.
41243 * libio/oldiopopen.c: Likewise.
41244 * libio/wfiledoalloc.c: Likewise.
41245 * libio/wgenops.c: Likewise.
41246 * locale/programs/xmalloc.c: Likewise.
41247 * misc/syslog.c: Likewise.
41248 * stdio-common/xbug.c: Likewise.
41249 * string/memchr.c: Likewise.
41250 * string/memcmp.c: Likewise.
41251 * string/memrchr.c: Likewise.
41252 * string/rawmemchr.c: Likewise.
41253 * sysdeps/posix/getcwd.c: Likewise.
41254 * time/strftime_l.c: Likewise.
41256 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41258 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41259 * config.make.in (config-cflags-sse2avx): Define.
41260 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41263 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41265 * scripts/config.guess: Update from upstream config git repository.
41266 * scripts/config.sub: Likewise.
41268 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41270 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41272 (R_TILEPRO_*, R_TILEGX_*): New macros.
41274 * scripts/firstversions.awk: Fix bug in version range handling.
41276 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41278 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41280 * include/sys/epoll.h: New file.
41281 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41284 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41286 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41287 Avoid unnecessary __WORDSIZE == 64 test.
41288 (fmaxf): Use VEX format if possible.
41293 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41294 * math/math_private.h: Remove libc_fegetround* and
41296 * sysdeps/i386/configure.in: Check for -msse2avx.
41297 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41298 also if SSE2AVX is defined.
41299 Remove libc_fegetround* and libc_fesetround*.
41300 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41301 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41302 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41304 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41305 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41306 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41307 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41308 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41310 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41312 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41314 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41316 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41318 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41321 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41323 * Makeconfig (libm): Define.
41324 * elf/Makefile: Add rules to build and run tst-relsort1.
41325 * elf/tst-relsort1.c: New file.
41326 * elf/tst-relsort1mod1.c: New file.
41327 * elf/tst-relsort1mod2.c: New file.
41329 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41331 * math/s_ldexp.c: Remove __STDC__ conditionals.
41332 * math/s_ldexpf.c: Likewise.
41333 * math/s_ldexpl.c: Likewise.
41334 * math/s_nextafter.c: Likewise.
41335 * math/s_nexttowardf.c: Likewise.
41336 * math/s_significand.c: Likewise.
41337 * math/s_significandf.c: Likewise.
41338 * math/s_significandl.c: Likewise.
41339 * math/w_jnl.c: Likewise.
41340 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41341 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41342 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41343 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41344 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41345 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41346 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41347 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41348 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41349 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41350 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41351 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41352 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41353 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41354 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41355 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41356 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41357 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41358 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41359 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41360 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41361 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41362 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41363 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41364 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41365 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41366 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41367 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41368 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41369 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41370 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41371 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41372 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41373 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41374 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41375 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41376 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41377 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41378 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41379 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41380 * sysdeps/ieee754/k_standard.c: Likewise.
41381 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41382 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41383 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41384 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41385 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41386 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41388 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41389 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41390 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41391 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41392 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41393 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41394 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41395 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41396 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41397 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41398 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41399 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41400 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41401 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41402 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41403 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41404 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41405 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41406 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41407 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41408 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41410 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41411 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41412 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41413 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41414 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41415 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41416 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41417 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41418 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41419 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41420 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41421 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41422 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41423 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41424 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41425 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41426 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41427 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41428 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41429 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41430 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41431 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41432 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41433 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41434 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41435 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41436 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41437 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41438 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41439 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41440 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41441 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41442 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41443 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41444 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41445 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41446 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41447 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41448 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41449 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41450 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41451 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41452 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41453 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41454 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41455 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41456 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41457 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41458 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41459 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41460 * sysdeps/ieee754/s_matherr.c: Likewise.
41461 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41462 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41466 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41468 * crypt/md5.h: Remove __STDC__ conditionals.
41469 * libio/libioP.h: Likewise.
41470 * locale/programs/config.h: Likewise.
41471 * sysdeps/generic/sysdep.h: Likewise.
41472 * sysdeps/i386/asm-syntax.h: Likewise.
41473 * sysdeps/s390/asm-syntax.h: Likewise.
41474 * sysdeps/unix/sysdep.h: Likewise.
41475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41478 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41480 * libio/libio.h: Remove __STDC__ conditionals.
41481 * malloc/obstack.h: Likewise.
41482 * math/complex.h: Likewise.
41483 * math/math.h: Likewise.
41484 * sysdeps/generic/_G_config.h: Likewise.
41485 * sysdeps/gnu/_G_config.h: Likewise.
41486 * sysdeps/mach/hurd/_G_config.h: Likewise.
41487 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41488 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41489 * sysdeps/sparc/bits/mathdef.h: Likewise.
41491 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41494 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41495 Clean up HAS_* macros.
41496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41497 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41499 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41502 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41503 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41505 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41507 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41509 * elf/tst-unique3.cc (gets): Remove declaration.
41510 * elf/tst-unique3lib.cc (gets): Likewise.
41511 * elf/tst-unique3lib2.cc (gets): Likewise.
41512 * elf/tst-unique4.cc (gets): Likewise.
41514 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41516 * include/stdio.h: Add C++ protection. Add gets declarations and
41518 * debug/tst-chk1.c: Don't declare gets here.
41519 * stdio-common/tst-gets.c: Likewise.
41521 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41523 * posix/glob: Remove directory.
41525 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41527 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41529 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41531 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41532 of the non-standard EPFNOSUPPORT.
41534 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41536 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41537 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41538 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41540 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41542 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41544 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41546 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41548 * nscd/grpcache.c (cache_addgr): Likewise.
41549 * nscd/hstcache.c (cache_addhst): Likewise.
41550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41551 * nscd/pwdcache.c (cache_addpw): Likewise.
41552 * nscd/servicescache.c (cache_addserv): Likewise.
41554 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41556 * malloc/malloc.c: Various cleanups.
41557 * malloc/hooks.c: Likewise.
41559 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41560 * stdlib/bug-fmtmsg1.c: New file.
41562 * stdlib/fmtmsg.c (init): Add missing unlock.
41563 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41565 2012-01-12 Marek Polacek <polacek@redhat.com>
41567 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41570 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41572 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41573 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41574 macro to ensure uniqueness of label name.
41575 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41576 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41578 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41582 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41583 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41587 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41589 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41591 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41592 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41593 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41595 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41597 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41598 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41599 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41600 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41602 * math/bits/math-finite.h: Add ldexp support.
41604 2012-01-10 Marek Polacek <polacek@redhat.com>
41606 * locale/programs/localedef.h (show_archive_content): Add noreturn
41609 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41611 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41613 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41615 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41617 * io/Makefile (headers): Add bits/poll2.h.
41619 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41622 typo #include statement.
41624 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41626 * include/sys/cdefs.h: Define __attribute_alloc_size.
41627 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41628 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41629 * elf/pldd.c: Likewise.
41630 * iconv/iconv_charmap.c: Likewise.
41631 * iconv/iconvconfig.c: Likewise.
41632 * iconv/strtab.c: Likewise.
41633 * locale/programs/locale.c: Likewise.
41634 * locale/programs/localedef.h: Likewise.
41635 * locale/programs/simple-hash.c: Likewise.
41636 * nscd/nscd.h: Likewise.
41637 * nss/makedb.c: Likewise.
41638 * sysdeps/generic/ldconfig.h: Likewise.
41639 * locale/programs/localedef.c: Remove xmalloc prototype.
41640 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41642 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41644 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41647 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41649 * math/Makefile (tests): Add tst-CMPLX.
41650 * math/tst-CMPLX.c: New file.
41652 * math/complex.h (CMPLXL): Fix typo.
41654 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41655 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41657 * debug/tst-chk1.c: Add poll and ppoll tests.
41658 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41659 * include/sys/poll.h: Add hidden proto for ppoll.
41660 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41661 * sysdeps/mach/hurd/ppoll.c: Likewise.
41662 * io/ppoll.c: Likewise.
41663 * debug/poll_chk.c: New file.
41664 * debug/ppoll_chk.c: New file.
41665 * include/bits/poll2.h: New file.
41666 * io/bits/poll2.h: New file.
41669 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41671 * configure.in: static is always set to yes. Remove.
41672 * config.make.in: Don't set build-static.
41673 * Makeconfig: Remove use of build-static.
41674 * dlfcn/Makefile: Likewise.
41675 * elf/Makefile: Likewise.
41676 * math/Makefile: Likewise.
41677 * misc/Makefile: Likewise.
41678 * nptl/Makefile: Likewise.
41679 * sysdeps/mach/hurd/Makefile: Likewise.
41681 * configure.in: PWD_P is not used anymore.
41682 * config.make.in: Remove PWD_P entry.
41684 * configure.in: Remove last remnants of RANLIB.
41685 No need to check for signed size_t anymore.
41686 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41688 Remove __builtin_expect test because we require at least gcc 3.4.
41689 * aclocal.m4: Likewise.
41691 * wcsmbs/mbrtoc16.c: Implement using towc function.
41692 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41693 * wcsmbs/wcsmbsload.c: Likewise.
41694 * iconv/gconv_simple.c: Likewise.
41695 * iconv/gconv_int.h: Likewise.
41696 * iconv/gconv_builtin.h: Likewise.
41697 * iconv/iconv_prog.c: Remove CHAR16 handling.
41699 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41701 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41703 * configure.in: Remove --with-elf and --enable-bounded options.
41704 Dont set base_machine for ia64. More non-ELF conditions removed.
41705 Remove testing and setting of leading underscore information.
41706 * config.make.in (build-bounded): Set to no.
41707 * config.h.in: Remove NO_UNDERSCORES entry.
41708 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41710 * csu/start.c: Remove !NO_UNDERSCORE code.
41711 * locale/localeinfo.h: Likewise.
41712 * sysdeps/generic/machine-gmon.h: Likewise.
41713 * sysdeps/generic/sysdep.h: Likewise.
41714 * sysdeps/i386/sysdep.h: Likewise.
41715 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41716 * sysdeps/mach/sysdep.h: Likewise.
41717 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41718 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41719 * sysdeps/sh/sysdep.h: Likewise.
41720 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41721 * sysdeps/unix/i386/sysdep.S: Likewise.
41722 * sysdeps/unix/sparc/start.c: Likewise.
41723 * sysdeps/unix/sparc/sysdep.S: Likewise.
41724 * sysdeps/unix/sparc/sysdep.h: Likewise.
41725 * sysdeps/unix/start.c: Likewise.
41726 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41727 * sysdeps/x86_64/sysdep.h: Likewise.
41729 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41732 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41734 * argp/argp-fmtstream.h: Use const instead __const.
41735 * argp/argp.h: Likewise.
41736 * assert/assert.h: Likewise.
41737 * bits/fenv.h: Likewise.
41738 * bits/sched.h: Likewise.
41739 * bits/sigset.h: Likewise.
41740 * bits/sigthread.h: Likewise.
41741 * catgets/nl_types.h: Likewise.
41742 * conform/data/pthread.h-data: Likewise.
41743 * crypt/crypt-private.h: Likewise.
41744 * crypt/crypt.h: Likewise.
41745 * crypt/crypt_util.c: Likewise.
41746 * ctype/ctype.h: Likewise.
41747 * debug/execinfo.h: Likewise.
41748 * debug/mbsnrtowcs_chk.c: Likewise.
41749 * debug/mbsrtowcs_chk.c: Likewise.
41750 * debug/wcsnrtombs_chk.c: Likewise.
41751 * debug/wcsrtombs_chk.c: Likewise.
41752 * debug/wcstombs_chk.c: Likewise.
41753 * dirent/dirent.h: Likewise.
41754 * dlfcn/dlfcn.h: Likewise.
41755 * elf/neededtest4.c: Likewise.
41756 * grp/grp.h: Likewise.
41757 * gshadow/gshadow.h: Likewise.
41758 * iconv/gconv.h: Likewise.
41759 * iconv/gconv_int.h: Likewise.
41760 * iconv/gconv_simple.c: Likewise.
41761 * iconv/iconv.h: Likewise.
41762 * iconv/loop.c: Likewise.
41763 * iconv/skeleton.c: Likewise.
41764 * include/aio.h: Likewise.
41765 * include/aliases.h: Likewise.
41766 * include/argz.h: Likewise.
41767 * include/arpa/inet.h: Likewise.
41768 * include/assert.h: Likewise.
41769 * include/dirent.h: Likewise.
41770 * include/dlfcn.h: Likewise.
41771 * include/execinfo.h: Likewise.
41772 * include/fcntl.h: Likewise.
41773 * include/fenv.h: Likewise.
41774 * include/glob.h: Likewise.
41775 * include/grp.h: Likewise.
41776 * include/libintl.h: Likewise.
41777 * include/mntent.h: Likewise.
41778 * include/netdb.h: Likewise.
41779 * include/pwd.h: Likewise.
41780 * include/rpc/netdb.h: Likewise.
41781 * include/sched.h: Likewise.
41782 * include/search.h: Likewise.
41783 * include/shadow.h: Likewise.
41784 * include/signal.h: Likewise.
41785 * include/stdio.h: Likewise.
41786 * include/stdlib.h: Likewise.
41787 * include/string.h: Likewise.
41788 * include/sys/socket.h: Likewise.
41789 * include/sys/stat.h: Likewise.
41790 * include/sys/statfs.h: Likewise.
41791 * include/sys/statvfs.h: Likewise.
41792 * include/sys/syslog.h: Likewise.
41793 * include/sys/time.h: Likewise.
41794 * include/sys/uio.h: Likewise.
41795 * include/time.h: Likewise.
41796 * include/unistd.h: Likewise.
41797 * include/utmp.h: Likewise.
41798 * include/wchar.h: Likewise.
41799 * include/wctype.h: Likewise.
41800 * inet/aliases.h: Likewise.
41801 * inet/arpa/inet.h: Likewise.
41802 * inet/netinet/ether.h: Likewise.
41803 * inet/netinet/in.h: Likewise.
41804 * intl/libintl.h: Likewise.
41805 * io/bits/fcntl2.h: Likewise.
41806 * io/fcntl.h: Likewise.
41807 * io/ftw.h: Likewise.
41808 * io/sys/poll.h: Likewise.
41809 * io/sys/stat.h: Likewise.
41810 * io/sys/statfs.h: Likewise.
41811 * io/sys/statvfs.h: Likewise.
41812 * io/utime.h: Likewise.
41813 * libio/bits/stdio.h: Likewise.
41814 * libio/bits/stdio2.h: Likewise.
41815 * libio/libio.h: Likewise.
41816 * libio/libioP.h: Likewise.
41817 * libio/stdio.h: Likewise.
41818 * locale/lc-ctype.c: Likewise.
41819 * locale/locale.h: Likewise.
41820 * login/utmp.h: Likewise.
41821 * malloc/arena.c: Likewise.
41822 * malloc/malloc.c: Likewise.
41823 * malloc/malloc.h: Likewise.
41824 * malloc/mcheck.c: Likewise.
41825 * malloc/mtrace.c: Likewise.
41826 * math/bits/mathcalls.h: Likewise.
41827 * math/fenv.h: Likewise.
41828 * math/math_private.h: Likewise.
41829 * misc/bits/error.h: Likewise.
41830 * misc/bits/syslog.h: Likewise.
41831 * misc/err.h: Likewise.
41832 * misc/error.h: Likewise.
41833 * misc/fstab.h: Likewise.
41834 * misc/mntent.h: Likewise.
41835 * misc/regexp.h: Likewise.
41836 * misc/search.h: Likewise.
41837 * misc/sgtty.h: Likewise.
41838 * misc/sys/mman.h: Likewise.
41839 * misc/sys/syslog.h: Likewise.
41840 * misc/sys/uio.h: Likewise.
41841 * misc/sys/xattr.h: Likewise.
41842 * misc/ttyent.h: Likewise.
41843 * nis/rpcsvc/ypclnt.h: Likewise.
41844 * nss/nss.h: Likewise.
41845 * posix/bits/unistd.h: Likewise.
41846 * posix/fnmatch.h: Likewise.
41847 * posix/glob.h: Likewise.
41848 * posix/sched.h: Likewise.
41849 * posix/spawn.h: Likewise.
41850 * posix/sys/wait.h: Likewise.
41851 * posix/unistd.h: Likewise.
41852 * posix/wordexp.h: Likewise.
41853 * pwd/pwd.h: Likewise.
41854 * resolv/netdb.h: Likewise.
41855 * resource/sys/resource.h: Likewise.
41856 * rt/aio.h: Likewise.
41857 * rt/bits/mqueue2.h: Likewise.
41858 * rt/mqueue.h: Likewise.
41859 * shadow/shadow.h: Likewise.
41860 * signal/signal.h: Likewise.
41861 * socket/send.c: Likewise.
41862 * socket/sendto.c: Likewise.
41863 * socket/sys/socket.h: Likewise.
41864 * stdio-common/printf.h: Likewise.
41865 * stdlib/bits/stdlib.h: Likewise.
41866 * stdlib/fmtmsg.h: Likewise.
41867 * stdlib/monetary.h: Likewise.
41868 * stdlib/stdlib.h: Likewise.
41869 * stdlib/ucontext.h: Likewise.
41870 * streams/stropts.h: Likewise.
41871 * string/argz.h: Likewise.
41872 * string/bits/string2.h: Likewise.
41873 * string/string.h: Likewise.
41874 * string/strings.h: Likewise.
41875 * sunrpc/rpc/auth.h: Likewise.
41876 * sunrpc/rpc/auth_des.h: Likewise.
41877 * sunrpc/rpc/clnt.h: Likewise.
41878 * sunrpc/rpc/netdb.h: Likewise.
41879 * sunrpc/rpc/pmap_clnt.h: Likewise.
41880 * sunrpc/rpc/xdr.h: Likewise.
41881 * sysdeps/generic/inttypes.h: Likewise.
41882 * sysdeps/generic/net/if.h: Likewise.
41883 * sysdeps/generic/sys/swap.h: Likewise.
41884 * sysdeps/gnu/net/if.h: Likewise.
41885 * sysdeps/gnu/utmpx.h: Likewise.
41886 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41887 * sysdeps/i386/i486/bits/string.h: Likewise.
41888 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41889 * sysdeps/s390/bits/string.h: Likewise.
41890 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41891 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41892 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41893 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41894 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41895 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41896 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41897 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41898 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41899 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41900 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41901 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41902 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41903 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41904 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41905 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41906 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41907 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41908 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41911 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41912 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41913 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41914 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41915 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41916 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41918 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41919 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41920 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41921 * sysvipc/sys/ipc.h: Likewise.
41922 * sysvipc/sys/msg.h: Likewise.
41923 * sysvipc/sys/sem.h: Likewise.
41924 * sysvipc/sys/shm.h: Likewise.
41925 * termios/termios.h: Likewise.
41926 * time/sys/time.h: Likewise.
41927 * time/time.h: Likewise.
41928 * wcsmbs/bits/wchar2.h: Likewise.
41929 * wcsmbs/uchar.h: Likewise.
41930 * wcsmbs/wchar.h: Likewise.
41931 * wctype/wctype.h: Likewise.
41934 * Makeconfig: Remove all but ELF support including AIX support.
41935 * Makerules: Likewise.
41936 * config.h.in: Likewise.
41937 * config.make.in: Likewise.
41938 * configure: Likewise.
41939 * configure.in: Likewise.
41940 * csu/Makefile: Likewise.
41941 * csu/version.c: Likewise.
41942 * debug/Makefile: Likewise.
41943 * dlfcn/Makefile: Likewise.
41944 * elf/Makefile: Likewise.
41945 * extra-lib.mk: Likewise.
41946 * iconv/Makefile: Likewise.
41947 * include/libc-symbols.h: Likewise.
41948 * include/shlib-compat.h: Likewise.
41949 * resolv/Makefile: Likewise.
41950 * resolv/res_libc.c: Likewise.
41951 * rt/Makefile: Likewise.
41952 * sysdeps/i386/asm-syntax.h: Likewise.
41953 * sysdeps/i386/sysdep.h: Likewise.
41954 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41955 * sysdeps/mach/sysdep.h: Likewise.
41956 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41957 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41958 * sysdeps/s390/asm-syntax.h: Likewise.
41959 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41961 * sysdeps/sh/sysdep.h: Likewise.
41962 * sysdeps/unix/sparc/sysdep.h: Likewise.
41963 * sysdeps/wordsize-32/divdi3.c: Likewise.
41964 * sysdeps/x86_64/sysdep.h: Likewise.
41966 * argp/Versions: Remove _argp_unlock_xxx.
41969 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41970 * abilist/libBrokenLocale.abilist: Likewise.
41971 * abilist/libanl.abilist: Likewise.
41972 * abilist/libc.abilist: Likewise.
41973 * abilist/libcrypt.abilist: Likewise.
41974 * abilist/libdl.abilist: Likewise.
41975 * abilist/libm.abilist: Likewise.
41976 * abilist/libnsl.abilist: Likewise.
41977 * abilist/libpthread.abilist: Likewise.
41978 * abilist/libresolv.abilist: Likewise.
41979 * abilist/librt.abilist: Likewise.
41980 * abilist/libthread_db.abilist: Likewise.
41981 * abilist/libutil.abilist: Likewise.
41982 * abilist/libnss_db.abilist: New file.
41984 * scripts/abilist.awk: Add support for indirect functions.
41986 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41988 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41990 * shlib-versions: Remove entries for ports architectures.
41992 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41994 * elf/stackguard-macros.h: Remove support for IA-64.
41995 * elf/tst-auditmod1.c: Likewise.
41996 * sysdeps/generic/ldsodefs.h: Likewise.
41998 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41999 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42003 * configure.in: Remove --enable-omitfp support.
42005 * config.make.in: Likewise.
42006 * Makeconfig: Likewise.
42007 * manual/install.texi: Likewise.
42009 In case anyone cares, the IA-64 architecture could move to ports.
42010 * sysdeps/ia64/*: Removed.
42011 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42012 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42015 * configure.in: Remove entries for unsupported architectures.
42018 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42019 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42021 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42022 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42023 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42024 fall back to using wcrtomb.
42025 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42026 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42028 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42029 * wcsmbs/tst-c16c32-1.c: New file.
42031 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42034 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42036 * elf/tst-unique3.cc: Add explicit declaration of gets.
42037 * elf/tst-unique3lib.cc: Likewise.
42038 * elf/tst-unique3lib2.cc: Likewise.
42039 * elf/tst-unique4.cc: Likewise.
42041 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42043 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42046 * assert/assert.h (static_assert): Don't define for C++.
42047 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42048 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42050 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42052 * iconv/loop.c (single loop): Fix assertion in storing of
42055 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42057 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42059 * posix/getconf.c: Update copyright year.
42060 * nss/getent.c: Likewise.
42061 * nss/makedb.c: Likewise.
42062 * iconv/iconvconfig.c: Likewise.
42063 * iconv/iconv_prog.c: Likewise.
42064 * elf/ldconfig.c: Likewise.
42065 * elf/pldd.c: Likewise.
42066 * elf/sotruss.ksh: Likewise.
42067 * catgets/gencat.c: Likewise.
42068 * csu/version.c: Likewise.
42069 * elf/ldd.bash.in: Likewise.
42070 * elf/sprof.c (print_version): Likewise.
42071 * locale/programs/locale.c: Likewise.
42072 * locale/programs/localedef.c: Likewise.
42073 * login/programs/pt_chown.c: Likewise.
42074 * nscd/nscd.c (print_version): Likewise.
42075 * debug/xtrace.sh: Likewise.
42076 * malloc/memusage.sh: Likewise.
42077 * malloc/mtrace.pl: Likewise.
42078 * debug/catchsegv.sh: Likewise.
42080 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42082 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42085 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42088 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42089 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42091 * iconv/gconv_int.h: Likewise.
42092 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42093 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42094 from libc for GLIBC_2.16.
42095 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42096 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42097 * wcsmbs/uchar.h: Really define mbstate_t.
42098 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42099 * wcsmbs/c16rtomb.c: New file.
42100 * wcsmbs/mbrtoc16.c: New file.
42101 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42102 for C/POSIX locale.
42103 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42104 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42106 * wcsmbs/wchar.h: Add missing __restrict.
42108 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42111 * time/Makefile (routines): Add timespec_get.
42112 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42113 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42114 timespec for ISO C11.
42115 * time/timespec_get.c: New file.
42116 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42117 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42120 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42121 * stdlib/stdlib.h: Declare aligned_alloc.
42122 * Versions.def: Add GLIBC_2.16 for libc.
42123 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42126 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42129 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42133 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42136 * assert/assert.h (static_assert): Define.
42138 * version.h: Update for 2.16 development version.
42141 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42144 * version.h (RELEASE): Bump for 2.15 release.
42145 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42147 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42148 Patch by Marek Polacek <mpolacek@redhat.com>.
42150 * bits/byteswap.h: Protect long long constants with __extension__.
42151 * sysdeps/i386/bits/byteswap.h: Likewise.
42152 * sysdeps/ia64/bits/byteswap.h: Likewise.
42153 * sysdeps/s390/bits/byteswap.h: Likewise.
42154 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42156 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42160 destination buffer.
42161 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42163 2011-12-23 Marek Polacek <polacek@redhat.com>
42165 * elf/dl-addr.c (determine_info): Add inline keyword.
42166 * elf/tst-auditmod4b.c (check_avx): Likewise.
42167 * elf/tst-auditmod6b.c (check_avx): Likewise.
42168 * elf/tst-auditmod6c.c (check_avx): Likewise.
42169 * elf/tst-auditmod7b.c (check_avx): Likewise.
42171 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42173 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42176 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42179 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42180 processing for last bytes.
42182 2011-08-06 Bruno Haible <bruno@clisp.org>
42185 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42186 U+0385, not to U+1FEE.
42189 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42190 entry for U+00A5 U+0301.
42192 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42195 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42196 buffer for the output is too small.
42198 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42202 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42203 SSE flags if possible.
42205 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42208 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42209 processing for last bytes.
42211 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42213 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42214 (syscall-list-default-options, syscall-list-default-condition)
42215 (syscall-list-includes): Define.
42216 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42217 list of ABIs and options and #if conditions for each ABI. Do not
42218 handle common syscalls between ABIs specially.
42219 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42221 (syscall-list-variants, syscall-list-32bit-options)
42222 (syscall-list-32bit-condition, syscall-list-64bit-options)
42223 (syscall-list-64bit-condition): Define.
42224 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42225 (syscall-list-variants, syscall-list-32bit-options)
42226 (syscall-list-32bit-condition, syscall-list-64bit-options)
42227 (syscall-list-64bit-condition): Define.
42228 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42230 (syscall-list-variants, syscall-list-32bit-options)
42231 (syscall-list-32bit-condition, syscall-list-64bit-options)
42232 (syscall-list-64bit-condition): Define.
42233 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42235 (syscall-list-variants, syscall-list-32bit-options)
42236 (syscall-list-32bit-condition, syscall-list-64bit-options)
42237 (syscall-list-64bit-condition): Define.
42239 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42241 * locale/iso-639.def: Add brx entry.
42244 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42245 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42247 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42248 __feraiseexcept_renamed.
42250 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42253 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42254 EPOLLET with unsigned values.
42255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42256 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42258 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42259 to large cancellation.
42260 * math/s_cacoshf.c: Likewise.
42261 * math/s_cacoshl.c: Likewise.
42263 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42267 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42268 * math/s_cacoshf.c: Likewise.
42269 * math/s_cacoshl.c: Likewise.
42271 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42274 * iconv/gconv.h: Define __GCONV_SWAP.
42275 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42276 * iconvdata/utf-16.c: Likewise.
42277 * iconvdata/utf-32.c: Likewise.
42279 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42283 numerator after shifting it by one limb.
42285 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42287 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42288 under [__USE_EXTERN_INLINES].
42290 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42293 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42295 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42297 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42298 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42300 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42301 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42302 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42303 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42304 for strncasecmp/strncasecmp_l compilation.
42305 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42306 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42308 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42311 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42314 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42317 * time/tzfile.c (__tzfile_read): Check values from file header.
42319 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42321 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42322 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42323 * powerpc/powerpc32/dl-start.S: Likewise.
42324 * powerpc/powerpc32/elf/start.S: Likewise.
42325 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42326 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42327 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42328 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42329 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42330 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42331 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42332 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42333 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42334 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42335 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42336 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42337 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42338 * powerpc/powerpc32/memset.S: Likewise.
42339 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42340 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42341 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42342 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42343 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42344 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42345 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42346 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42347 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42348 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42349 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42350 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42351 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42353 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42355 * math/libm-test.inc: Added more nearbyint tests.
42356 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42357 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42358 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42361 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42363 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42366 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42368 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42369 Add wcscpy-ssse3 wcscpy-c.
42370 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42371 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42372 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42373 * sysdeps/x86_64/wcschr.S: New file.
42374 * sysdeps/x86_64/wcsrchr.S: New file.
42375 * string/test-strcmp.c: Remove checking of wcscmp function for
42377 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42378 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42379 wcsrchr-sse2 wcsrchr-c.
42380 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42381 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42382 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42383 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42384 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42385 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42386 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42387 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42388 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42389 * wcsmbc/wcschr.c (WCSCHR): New macro.
42391 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42393 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42394 * wcsmbs/test-wcsrchr.c: New file.
42395 * string/test-strrchr.c: Add wcsrchr support.
42397 * wcsmbs/test-wcscpy.c: New file.
42398 * string/test-strcpy.c: Add wcscpy support.
42401 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42403 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42406 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42409 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42411 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42413 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42414 Minor optimizations.
42416 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42417 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42418 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42420 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42422 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42423 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42424 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42425 for gcc to avoid warnings.
42426 * inet/Makefile (tests): Add tst-checks.
42427 * inet/tst-checks.c: New file.
42429 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42432 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42435 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42436 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42438 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42440 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42442 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42445 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42447 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42449 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42450 conditional on GCC version.
42451 (__arch_compare_and_exchange_val_8_acq)
42452 (__arch_compare_and_exchange_val_16_acq)
42453 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42454 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42455 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42457 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42459 * sysdeps/sh/backtrace.c: New file.
42461 2011-12-02 Andreas Schwab <schwab@redhat.com>
42463 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42466 2011-12-01 Andreas Schwab <schwab@redhat.com>
42468 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42469 falling back to utime.
42471 2011-11-30 Andreas Schwab <schwab@redhat.com>
42473 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42474 expectations for float.
42476 2011-11-29 Andreas Schwab <schwab@redhat.com>
42478 * locale/weight.h (findidx): Add parameter len.
42479 * locale/weightwc.h (findidx): Likewise.
42480 * posix/fnmatch_loop.c (FCT): Adjust caller.
42481 * posix/regcomp.c (build_equiv_class): Likewise.
42482 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42483 * posix/regexec.c (check_node_accept_bytes): Likewise.
42484 * string/strcoll_l.c (STRCOLL): Likewise.
42485 * string/strxfrm_l.c (STRXFRM): Likewise.
42487 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42489 * Makefile.in: Remove CVSOPT handling.
42490 * configure.in: Remove use of AC_REVISION.
42491 * iconvdata/Makefile (distribute): No need to filter out CVS.
42492 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42495 2011-11-16 Andreas Schwab <schwab@redhat.com>
42497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42498 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42499 [USE_AS_STRNCASECMP_L]: Likewise.
42500 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42501 NO_TLS_DIRECT_SEG_REFS.
42502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42503 Fix argument offsets for non-PIC.
42504 [USE_AS_STRNCASECMP_L]: Likewise.
42505 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42506 NO_TLS_DIRECT_SEG_REFS.
42508 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42510 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42512 * locale/loadlocale.c (_nl_load_locale): Likewise.
42514 2011-11-15 Andreas Schwab <schwab@redhat.com>
42516 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42517 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42518 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42519 (SYSCALL_GETTIME): Set errno on error.
42521 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42522 count references to noai6ai_cached.
42524 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42526 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42528 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42529 FD_CLOEXEC for /proc/self/maps.
42531 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42532 FD_CLOEXEC for /proc/meminfo.
42534 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42537 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42538 FD_CLOEXEC for given file.
42540 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42542 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42543 FD_CLOEXEC for /etc/hosts.
42544 (_gethtent): Likewise.
42546 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42548 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42549 cancellation and set FD_CLOEXEC for /etc/netgroup.
42551 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42552 reading /etc/publickey.
42554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42555 allow cancellation when reading /etc/group.
42557 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42559 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42561 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42562 when using data file.
42564 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42566 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42567 (write_nis_obj): Use "c" and "e" in fopen.
42569 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42571 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42573 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42575 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42577 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42580 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42582 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42584 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42586 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42587 file parsing and set FD_CLOEXEC.
42589 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42591 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42593 2011-11-14 Andreas Schwab <schwab@redhat.com>
42595 * malloc/arena.c (arena_get2): Don't call reused_arena when
42596 _int_new_arena failed.
42598 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42600 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42601 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42602 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42603 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42604 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42605 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42606 to compile strcasecmp and strncasecmp.
42607 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42608 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42610 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42612 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42614 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42615 locale-defines.sym to gen-as-const-headers.
42616 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42617 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42619 to compile strcasecmp and strncasecmp.
42620 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42621 strcasecmp_l and strncasecmp_l.
42622 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42623 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42624 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42625 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42626 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42627 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42628 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42629 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42630 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42631 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42632 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42634 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42636 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42637 result of SYSDEP_GETTIME_CPU to retval.
42638 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42639 parameter list to macro. Remove trailing semicolon. Adjust users.
42641 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42644 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42646 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42648 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42649 from unused variable.
42651 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42653 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42656 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42659 * sunrpc/rpc_prot.c (rejected): Fix case value.
42661 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42662 unsigned long long int to avoid warnings in shift.
42664 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42666 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42669 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42670 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42671 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42673 * nis/nis_table.c (nis_list): Use variable of correct type for
42674 result of __follow_path call.
42676 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42678 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42679 of math functions ceil, trunc, floor, round, and sqrt, when
42680 avaliable on the platform.
42681 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42683 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42684 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42685 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42687 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42689 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42690 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42692 2011-11-11 Roland McGrath <roland@hack.frob.com>
42694 * include/unistd.h: Fix __readlink return type.
42695 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42697 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42699 * stdlib/ucontext.h: Undo last change for makecontext.
42701 2011-11-11 Andreas Schwab <schwab@redhat.com>
42703 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42705 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42706 * setjmp/setjmp.h: Mark functions as non-leaf.
42707 * setjmp/bits/setjmp2.h: Likewise.
42708 * stdlib/ucontext.h: Likewise.
42710 2011-11-10 Andreas Schwab <schwab@redhat.com>
42712 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42713 (reused_arena): Don't check arena limit.
42714 (arena_get2): Atomically check arena limit.
42716 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42718 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42719 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42721 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42724 2011-11-07 Andreas Schwab <schwab@redhat.com>
42726 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42727 handler when locking.
42729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42730 Fix size of allocated buffer.
42732 2011-11-04 Andreas Schwab <schwab@redhat.com>
42735 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42736 declarations for long double functions.
42737 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42739 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42741 2011-11-03 Andreas Schwab <schwab@redhat.com>
42743 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42746 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42749 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42751 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42753 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42755 * include/alloca.h (stackinfo_alloca_round): Define.
42756 (extend_alloca): Use it.
42757 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42758 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42761 * scripts/check-local-headers.sh: Ignore libaudit.h.
42763 * nscd/Makefile (extra-objs): Make recursively expanded.
42765 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42767 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42768 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42770 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42771 * posix/tst-rfc3484-2.c: Likewise.
42772 * posix/tst-rfc3484-3.c: Likewise.
42774 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42776 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42778 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42779 process_vm_writev from libc using GLIBC_2.15 version.
42781 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42783 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42785 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42788 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42791 * nss/getent.c (initgroups_keys): Show error message in case no group
42794 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42795 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42796 __bump_nl_timestamp.
42797 * nscd/connections (nscd_init): When host database is served open
42798 netlink socket and request notification about configuration changes.
42799 (main_loop_poll): Track netlink file descriptor and bump timestamp
42800 in case data becomes available.
42801 (main_loop_epoll): Likewise.
42802 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42803 (database_pers_head): Add extra_data fileds.
42804 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42805 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42806 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42809 in6ai data, call __free_in6ai.
42810 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42811 Add -DHAVE_NETLINK.
42812 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42813 interface information. Reuse previous data if netlink timestamp
42815 (__bump_nl_timestamp): New function.
42816 (__free_in6ai): New function.
42818 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42820 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42821 close_not_cancel_no_status here.
42822 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42824 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42827 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42830 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42831 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42832 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42834 2011-07-03 Andreas Jaeger <aj@suse.de>
42837 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42838 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42839 * math/libm-test.inc (sin_test): Add test case.
42841 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42844 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42845 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42847 * elf/chroot_canon.c (chroot_canon): Cleanups.
42849 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42852 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42853 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42855 * string/test-strchr.c: Make usable for strchrnul testing.
42856 * string/test-strchrnul.c: New file.
42857 * string/Makefile (strop-tests): Add strchrnul.
42859 * po/it.po: Update from translation team.
42860 * po/es.po: Likewise.
42862 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42864 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42865 the three constants needed as parameters. Drop the others.
42866 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42867 __m128i_strloadu_tolower.
42868 Create and initialize variable zero and use it in all the places
42869 where _mm_setzero_si128 was used.
42871 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42872 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42873 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42874 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42876 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42877 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42878 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42879 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42880 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42881 __mpranred, __mptan.
42882 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42883 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42884 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42885 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42886 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42887 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42889 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42890 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42892 2011-10-28 Andreas Schwab <schwab@redhat.com>
42894 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42895 redefine if SHARED.
42896 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42899 wide char related routines to wcsmbs subdir.
42901 2011-10-27 Andreas Schwab <schwab@redhat.com>
42904 * misc/sys/cdefs.h (__THROWNL): Define.
42905 * posix/unistd.h: Use __THREADNL instead of __THREAD
42906 for memory synchronization functions.
42908 2011-10-26 Roland McGrath <roland@hack.frob.com>
42911 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42913 * manual/stdio.texi (Obstack Streams): Node removed.
42915 2011-10-26 Andreas Schwab <schwab@redhat.com>
42917 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42918 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42919 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42921 * math/math_private.h (math_force_eval): Allow non-addressable
42923 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42925 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42927 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42928 file is not needed.
42930 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42932 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42933 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42935 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42936 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42937 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42939 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42940 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42941 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42942 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42943 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42944 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42945 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42946 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42947 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42948 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42949 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42950 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42951 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42952 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42953 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42954 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42955 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42956 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42957 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42959 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42960 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42962 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42963 place. Use VEX encoding when compiling for AVX.
42965 2011-10-25 Andreas Schwab <schwab@redhat.com>
42967 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42968 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42970 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42972 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42974 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42975 useless if() expression.
42976 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42977 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42978 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42980 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42984 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42985 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42986 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42987 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42988 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42989 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42990 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42991 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42992 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42994 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42996 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42998 2011-10-25 Andreas Schwab <schwab@redhat.com>
43000 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43002 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43004 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43006 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43007 .text section. Avoid duplicate constants.
43008 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43018 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43020 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43023 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43025 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43028 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43029 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43030 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43031 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43032 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43033 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43034 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43035 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43036 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43037 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43038 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43039 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43040 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43041 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43042 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43043 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43044 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43045 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43046 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43047 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43048 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43049 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43050 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43051 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43052 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43054 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43056 * sysdeps/x86_64/dla.h: Move to ...
43057 * sysdeps/x86_64/fpu/dla.h: ...here.
43058 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43059 situations. Use __builtin_fma only for gcc 4.6 and up.
43061 * config.make.in: Add have-mfma4 entry.
43062 * configure.in: Substitute libc_cv_cc_fma4.
43063 * math/Makefile (dbl-only-routines): Add sincostab.
43064 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43065 Use __sincostab not sincos.
43066 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43068 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43073 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43074 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43075 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43076 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43078 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43079 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43081 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43082 define aliases when function name is a macro.
43083 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43084 sysdeps/ieee754/dbl-64/sincos.tbl.
43085 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43086 fma4-enabled routines.
43087 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43088 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43089 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43090 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43091 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43092 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43094 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43096 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43097 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43098 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43099 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43100 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43101 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43102 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43103 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43104 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43105 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43106 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43107 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43108 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43109 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43110 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43111 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43112 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43113 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43114 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43115 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43116 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43118 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43126 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43127 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43129 2011-10-24 Andreas Schwab <schwab@redhat.com>
43131 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43133 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43135 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43137 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43139 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43141 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43142 Remove unused variable magic_bits.
43143 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43145 * string/strnlen.c: Define and use STRNLEN macro.
43146 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43147 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43148 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43149 * wcsmbs/wcslen.c: Define and use WCSLEN.
43150 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43151 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43152 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43153 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43154 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43155 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43156 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43158 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43161 strnlen-sse2-no-bsf.
43162 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43163 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43164 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43165 Add strnlen support.
43166 (USE_AS_STRNLEN): New macro.
43167 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43168 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43169 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43170 * sysdeps/x86_64/wcslen.S: New file.
43172 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43174 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43175 XMM-moves are used for copying on small sizes.
43177 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43179 * wcsmbs/Makefile (strop-tests): Add wcschr.
43180 * wcsmbs/test-wcschr.c: New file.
43181 * string/test-strchr.c: Update.
43182 Add wcschr support.
43185 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43187 * wcsmbs/Makefile (strop-tests): Add wcslen.
43188 * wcsmbs/test-wcslen.c: New file.
43189 * string/test-strlen.c: Update.
43190 Add wcslen support.
43193 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43195 * po/it.po: Update from translation team.
43197 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43199 * sysdeps/x86_64/wcscmp.S: Update.
43200 Fix wrong comparison semantics.
43201 wcscmp shall use signed comparison not unsigned.
43202 Don't use substraction to avoid overflow bug.
43203 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43204 * wcsmbc/wcscmp.c: Likewise.
43205 * string/test-strcmp.c: Likewise.
43206 Add new tests to check cases with negative values.
43208 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43210 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43211 * sysdeps/x86_64/dla.h: ...here. New file.
43212 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43213 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43217 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43222 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43225 __ynl_finite aliases.
43227 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43231 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43233 [DLA_FMA] (EMULV): Use DLA_FMA.
43234 [DLA_FMA] (MUL12): Use EMULV.
43235 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43236 that are not needed.
43237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43242 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43245 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43247 * math/s_nan.c: Undef __nan.
43248 * math/s_nanf.c: Undef __nanf.
43249 * math/s_nanl.c: Undef __nanl.
43250 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43253 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43255 * math/s_catan.c: Add branch predictions.
43256 * math/s_catanf.c: Likewise.
43257 * math/s_catanh.c: Likewise.
43258 * math/s_catanhf.c: Likewise.
43259 * math/s_catanhl.c: Likewise.
43260 * math/s_catanl.c: Likewise.
43261 * math/s_cexp.c: Likewise.
43262 * math/s_cexpf.c: Likewise.
43263 * math/s_cexpl.c: Likewise.
43264 * math/s_clog.c: Likewise.
43265 * math/s_clog10.c: Likewise.
43266 * math/s_clog10f.c: Likewise.
43267 * math/s_clog10l.c: Likewise.
43268 * math/s_clogf.c: Likewise.
43269 * math/s_clogl.c: Likewise.
43270 * math/s_csqrt.c: Likewise.
43271 * math/s_csqrtf.c: Likewise.
43272 * math/s_csqrtl.c: Likewise.
43273 * math/s_ctanf.c: Likewise.
43274 * math/s_ctanh.c: Likewise.
43275 * math/s_ctanhf.c: Likewise.
43276 * math/s_ctanhl.c: Likewise.
43277 * math/s_ctanl.c: Likewise.
43279 * math/math_private.h: Define __nan, __nanf, __nanl.
43280 * math/s_cacosh.c: Include <math_private.h>.
43281 * math/s_cacoshl.c: Likewise.
43282 * math/s_casinh.c: Likewise.
43283 * math/s_casinhf.c: Likewise.
43284 * math/s_casinhl.c: Likewise.
43285 * math/s_ccos.c: Rely entire on ccosh.
43286 * math/s_ccosf.c: Rely entire on ccoshf.
43287 * math/s_ccosl.c: Rely entirely on ccoshl.
43288 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43289 Remove tests for FE_INVALID.
43290 * math/s_ccoshf.c: Likewise.
43291 * math/s_ccoshl.c: Likewise.
43292 * math/s_csin.c: Likewise.
43293 * math/s_csinf.c: Likewise.
43294 * math/s_csinh.c Likewise.
43295 * math/s_csinhf.c: Likewise.
43296 * math/s_csinhl.c: Likewise.
43297 * math/s_csinl.c: Likewise.
43298 * math/s_ctan.c: Likewise.
43299 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43300 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43301 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43303 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43306 compilation problems.
43308 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43311 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43313 * sysdeps/i386/configure.in: Test for -mfma4 option.
43314 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43315 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43316 COMMON_CPUID_INDEX_80000001.
43317 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43318 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43319 use it if FMA3 is not supported.
43320 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43322 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43323 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43325 2011-10-20 Andreas Schwab <schwab@redhat.com>
43328 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43329 it would create a cycle with a link time dependency.
43331 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43333 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43335 * string/Makefile (strop-tests): Add rawmemchr.
43336 * string/test-rawmemchr.c: New file.
43338 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43339 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43340 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43341 when compiling str{,n}casecmp and when AVX is available. Hook up
43342 new optimized code in initializers.
43344 2011-10-19 Andreas Schwab <schwab@redhat.com>
43346 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43347 __feraiseexcept instead of feraiseexcept.
43349 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43351 * math/math_private.h: Define defaults for libc_fetestexcept and
43353 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43354 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43355 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43356 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43357 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43358 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43359 libc_fetestexcept and libc_feupdateenv.
43361 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43362 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43363 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43364 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43365 libc_feholdexcept_setround.
43367 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43368 Add s_nearbyint-c and s_nearbyintf-c.
43369 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43370 nearbyintf inlines.
43371 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43372 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43373 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43374 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43376 * math/math_private.h: Define defaults for libc_fegetround,
43377 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43378 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43379 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43380 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43381 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43382 standard functions.
43383 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43384 Remove comments and hacks for old compiler versions.
43385 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43386 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43387 libc_feholdexceptl.
43389 2011-10-18 Andreas Schwab <schwab@redhat.com>
43391 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43392 (__feraiseexcept_renamed): Add __NTH.
43393 (feraiseexcept): Add __NTH. Rename local variables to fix
43394 namespace violations.
43396 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43398 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43400 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43402 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43403 recently added interfaces.
43404 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43406 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43407 about macro parameter expansion.
43409 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43410 __NO_MATH_INLINES is defined. Cleanups.
43412 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43413 and __floorf is target has SSE4.1.
43414 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43415 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43416 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43417 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43419 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43421 (floorf): Likewise.
43423 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43425 2011-10-17 Andreas Schwab <schwab@redhat.com>
43427 * misc/sys/cdefs.h: Fix last change.
43429 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43432 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43434 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43436 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43437 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43438 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43439 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43440 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43441 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43442 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43443 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43444 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43445 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43446 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43447 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43448 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43449 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43450 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43451 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43452 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43453 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43454 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43455 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43456 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43457 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43459 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43460 ceil, ceilf, floor, floorf.
43462 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43463 Perform IRELATIVE relocations last.
43465 * elf/do-rel.h: Add another parameter nrelative, replacing the
43466 local variable with the same name. Change name of the function
43467 to end in Rel or Rela (uppercase).
43468 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43469 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43470 elf_dynamic_do_##reloc function.
43472 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43474 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43475 is sufficient, at least on modern CPUs.
43477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43479 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43480 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43482 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43484 * math/bits/math-finite.h: Add entries for exp.
43485 * math/e_expl.c: Add __*_finite alias.
43486 * sysdeps/i386/fpu/e_exp.S: Likewise.
43487 * sysdeps/i386/fpu/e_expf.S: Likewise.
43488 * sysdeps/i386/fpu/e_expl.c: Likewise.
43489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43490 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43491 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43493 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43494 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43495 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43497 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43498 is sufficient, at least on modern CPUs.
43500 * ctype/ctype-info.c (__ctype_init): Define.
43501 * include/ctype.h (__ctype_init): Declare.
43502 (__ctype_b_loc): The variable is always initialized.
43503 (__ctype_toupper_loc): Likewise.
43504 (__ctype_tolower_loc): Likewise.
43505 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43506 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43508 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43510 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43512 * configure.in: Also look in $cxxmachine/include for C++ system
43515 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43517 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43518 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43519 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43520 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43521 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43522 (USE_AS_WMEMCMP): New macro.
43524 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43525 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43526 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43527 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43529 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43530 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43531 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43532 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43533 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43534 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43535 (USE_AS_WMEMCMP): New macro.
43536 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43537 * sysdeps/string/test-memcmp.c: Update.
43538 Fix simple_wmemcmp.
43540 * wcsmbs/wmemcmp.c: Update.
43541 (WMEMCMP): New macro.
43544 2011-10-12 Andreas Jaeger <aj@suse.de>
43547 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43549 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43551 * libio/iofwide.c (do_length): Avoid warning.
43553 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43555 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43557 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43559 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43560 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43561 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43562 * sysdeps/i386/i686/fpu/e_log.S: New file.
43563 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43564 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43566 * ctype/ctype.h: Add support for inlined isXXX functions when
43567 compiling C++ code.
43569 2011-10-14 Andreas Schwab <schwab@redhat.com>
43571 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43573 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43575 2011-10-13 Roland McGrath <roland@hack.frob.com>
43578 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43580 2011-10-13 Andreas Schwab <schwab@redhat.com>
43582 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43583 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43586 * sysdeps/x86_64/memrchr.S: Check for zero size.
43588 * string/stratcliff.c: Add memrchr tests.
43590 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43593 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43594 rawmemchr-sse2 rawmemchr-sse2-bsf.
43595 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43596 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43597 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43598 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43599 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43600 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43601 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43602 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43603 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43604 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43605 * string/memrchr.c (MEMRCHR): New macro.
43607 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43609 Add integration with gcc's -ffinite-math-only and optimize wrapper
43611 * Versions.def: Define GLIBC_2.15 version for libm.
43612 * math/Makefile (headers): Add bits/math-finite.h.
43613 * math/bits/math-finite.h: New file.
43614 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43615 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43616 * math/e_acoshl.c: Add __*_finite alias.
43617 * math/e_acosl.c: Likewise.
43618 * math/e_asinl.c: Likewise.
43619 * math/e_atan2l.c: Likewise.
43620 * math/e_atanhl.c: Likewise.
43621 * math/e_coshl.c: Likewise.
43622 * math/e_exp10.c: Likewise.
43623 * math/e_exp10f.c: Likewise.
43624 * math/e_exp10l.c: Likewise.
43625 * math/e_exp2l.c: Likewise.
43626 * math/e_fmodl.c: Likewise.
43627 * math/e_gammal_r.c: Likewise.
43628 * math/e_hypotl.c: Likewise.
43629 * math/e_j0l.c: Likewise.
43630 * math/e_j1l.c: Likewise.
43631 * math/e_jnl.c: Likewise.
43632 * math/e_lgammal_r.c: Likewise.
43633 * math/e_log10l.c: Likewise.
43634 * math/e_log2l.c: Likewise.
43635 * math/e_logl.c: Likewise.
43636 * math/e_powl.c: Likewise.
43637 * math/e_sinhl.c: Likewise.
43638 * math/e_sqrtl.c: Likewise.
43639 * math/e_scalb.c: Completely rewritten and optimized.
43640 * math/e_scalbf.c: Likewise.
43641 * math/e_scalbl.c: Likewise.
43642 * math/w_acos.c: Likewise.
43643 * math/w_acosf.c: Likewise.
43644 * math/w_acosl.c: Likewise.
43645 * math/w_acosh.c: Likewise.
43646 * math/w_acoshf.c: Likewise.
43647 * math/w_acoshl.c: Likewise.
43648 * math/w_asin.c: Likewise.
43649 * math/w_asinf.c: Likewise.
43650 * math/w_asinl.c: Likewise.
43651 * math/w_atan2.c: Likewise.
43652 * math/w_atan2f.c: Likewise.
43653 * math/w_atan2l.c: Likewise.
43654 * math/w_atanh.c: Likewise.
43655 * math/w_atanhf.c: Likewise.
43656 * math/w_atanhl.c: Likewise.
43657 * math/w_exp10.c: Likewise.
43658 * math/w_exp10f.c: Likewise.
43659 * math/w_exp10l.c: Likewise.
43660 * math/w_fmod.c: Likewise.
43661 * math/w_fmodf.c: Likewise.
43662 * math/w_fmodl.c: Likewise.
43663 * math/w_j0.c: Likewise.
43664 * math/w_j0f.c: Likewise.
43665 * math/w_j0l.c: Likewise.
43666 * math/w_j1.c: Likewise.
43667 * math/w_j1f.c: Likewise.
43668 * math/w_j1l.c: Likewise.
43669 * math/w_jn.c: Likewise.
43670 * math/w_jnf.c: Likewise.
43671 * math/w_log.c: Likewise.
43672 * math/w_logf.c: Likewise.
43673 * math/w_logl.c: Likewise.
43674 * math/w_log10.c: Likewise.
43675 * math/w_log10f.c: Likewise.
43676 * math/w_log10l.c: Likewise.
43677 * math/w_log2.c: Likewise.
43678 * math/w_log2f.c: Likewise.
43679 * math/w_log2l.c: Likewise.
43680 * math/w_pow.c: Likewise.
43681 * math/w_powf.c: Likewise.
43682 * math/w_powl.c: Likewise.
43683 * math/w_remainder.c: Likewise.
43684 * math/w_remainderf.c: Likewise.
43685 * math/w_remainderl.c: Likewise.
43686 * math/w_scalb.c: Likewise.
43687 * math/w_scalbf.c: Likewise.
43688 * math/w_scalbl.c: Likewise.
43689 * math/w_sqrt.c: Likewise.
43690 * math/w_sqrtf.c: Likewise.
43691 * math/w_sqrtl.c: Likewise.
43692 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43693 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43695 * math/math_private.h: Declare __kernel_standard_f.
43696 * math/w_cosh.c: Remove cruft and optimize a bit.
43697 * math/w_coshf.c: Likewise.
43698 * math/w_coshl.c: Likewise.
43699 * math/w_exp2.c: Likewise.
43700 * math/w_exp2f.c: Likewise.
43701 * math/w_exp2l.c: Likewise.
43702 * math/w_hypot.c: Likewise.
43703 * math/w_hypotf.c: Likewise.
43704 * math/w_hypotl.c: Likewise.
43705 * math/w_lgamma.c: Likewise.
43706 * math/w_lgamma_r.c: Likewise.
43707 * math/w_lgammaf.c: Likewise.
43708 * math/w_lgammaf_r.c: Likewise.
43709 * math/w_lgammal.c: Likewise.
43710 * math/w_lgammal_r.c: Likewise.
43711 * math/w_sinh.c: Likewise.
43712 * math/w_sinhf.c: Likewise.
43713 * math/w_sinhl.c: Likewise.
43714 * math/w_tgamma.c: Likewise.
43715 * math/w_tgammaf.c: Likewise.
43716 * math/w_tgammal.c: Likewise.
43717 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43718 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43719 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43720 Minor optimizations. Pretty printing. Remove cruft.
43721 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43722 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43723 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43724 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43725 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43726 * sysdeps/i386/fpu/e_asin.S: Likewise.
43727 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43728 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43729 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43730 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43731 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43732 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43733 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43734 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43735 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43736 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43737 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43738 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43739 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43740 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43741 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43742 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43743 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43744 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43745 * sysdeps/i386/fpu/e_log.S: Likewise.
43746 * sysdeps/i386/fpu/e_log10.S: Likewise.
43747 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43748 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43749 * sysdeps/i386/fpu/e_log2.S: Likewise.
43750 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43751 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43752 * sysdeps/i386/fpu/e_logf.S: Likewise.
43753 * sysdeps/i386/fpu/e_logl.S: Likewise.
43754 * sysdeps/i386/fpu/e_pow.S: Likewise.
43755 * sysdeps/i386/fpu/e_powf.S: Likewise.
43756 * sysdeps/i386/fpu/e_powl.S: Likewise.
43757 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43758 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43759 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43760 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43761 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43762 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43763 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43764 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43765 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43766 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43767 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43769 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43770 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43771 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43772 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43773 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43774 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43775 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43776 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43777 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43778 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43779 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43780 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43782 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43783 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43784 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43786 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43787 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43788 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43789 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43790 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43791 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43792 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43793 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43794 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43795 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43796 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43797 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43798 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43799 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43800 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43801 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43802 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43803 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43804 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43805 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43806 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43807 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43808 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43809 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43810 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43811 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43812 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43813 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43814 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43815 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43816 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43817 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43818 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43819 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43820 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43821 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43822 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43823 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43824 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43825 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43826 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43827 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43829 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43830 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43831 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43832 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43833 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43834 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43835 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43836 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43837 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43838 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43839 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43840 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43841 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43842 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43843 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43844 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43845 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43846 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43847 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43848 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43849 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43850 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43851 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43853 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43854 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43855 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43856 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43857 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43858 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43859 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43860 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43861 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43862 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43863 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43864 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43865 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43866 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43867 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43868 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43869 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43870 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43871 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43872 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43873 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43874 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43876 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43877 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43878 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43879 (__isnanf): Likewise.
43880 (__isinf_ns): Likewise.
43881 (__isinf_nsf): Likewise.
43882 (__finite): Likewise.
43883 (__finitef): Likewise.
43884 (__ieee754_sqrt): Define as macro.
43885 (__ieee754_sqrtf): Define as macro.
43886 (__ieee754_sqrtl): Define as macro.
43887 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43889 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43890 __FINITE_MATH_ONLY__ consistent.
43891 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43893 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43895 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43898 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43900 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43902 * po/ja.po: Update from translation team.
43904 2011-10-08 Roland McGrath <roland@hack.frob.com>
43906 * locale/programs/locarchive.c (prepare_address_space): New function.
43907 (create_archive, enlarge_archive, open_archive): Use it.
43909 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43910 inside [SHARED], where it is used.
43912 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43914 * nss/getent.c (netgroup_keys): Remove unused variable.
43915 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43917 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43919 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43920 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43921 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43922 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43923 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43924 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43925 * math/Makefile (libm-calls): Add s_isinf_ns.
43926 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43927 * math/multc3.c: Likewise.
43928 * math/s_casin.c: Likewise.
43929 * math/s_casinf.c: Likewise.
43930 * math/s_casinl.c: Likewise.
43931 * math/s_ccos.c: Likewise.
43932 * math/s_ccosf.c: Likewise.
43933 * math/s_ccosl.c: Likewise.
43934 * math/s_ctan.c: Likewise.
43935 * math/s_ctanf.c: Likewise.
43936 * math/s_ctanh.c: Likewise.
43937 * math/s_ctanhf.c: Likewise.
43938 * math/s_ctanhl.c: Likewise.
43939 * math/s_ctanl.c: Likewise.
43940 * math/w_fmod.c: Likewise.
43941 * math/w_fmodf.c: Likewise.
43942 * math/w_fmodl.c: Likewise.
43943 * math/w_remainder.c: Likewise.
43944 * math/w_remainderf.c: Likewise.
43945 * math/w_remainderl.c: Likewise.
43946 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43947 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43948 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43950 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43951 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43952 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43953 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43955 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43957 * stdio-common/printf_fphex.c: Likewise.
43958 * stdio-common/printf_size.c: Likewise.
43960 * math/e_exp10.c: Include math_private.h using <...> not "...".
43961 * math/e_exp10f.c: Likewise.
43962 * math/e_exp10l.c: Likewise.
43963 * math/e_exp2l.c: Likewise.
43964 * math/e_j0l.c: Likewise.
43965 * math/e_j1l.c: Likewise.
43966 * math/e_jnl.c: Likewise.
43967 * math/e_lgammal_r.c: Likewise.
43968 * math/e_rem_pio2l.c: Likewise.
43969 * math/e_scalb.c: Likewise.
43970 * math/e_scalbf.c: Likewise.
43971 * math/e_scalbl.c: Likewise.
43972 * math/k_cosl.c: Likewise.
43973 * math/k_sinl.c: Likewise.
43974 * math/k_tanl.c: Likewise.
43975 * math/s_cacoshf.c: Likewise.
43976 * math/s_catan.c: Likewise.
43977 * math/s_catanf.c: Likewise.
43978 * math/s_catanh.c: Likewise.
43979 * math/s_catanhf.c: Likewise.
43980 * math/s_catanhl.c: Likewise.
43981 * math/s_catanl.c: Likewise.
43982 * math/s_ccosh.c: Likewise.
43983 * math/s_ccoshf.c: Likewise.
43984 * math/s_ccoshl.c: Likewise.
43985 * math/s_cexp.c: Likewise.
43986 * math/s_cexpf.c: Likewise.
43987 * math/s_cexpl.c: Likewise.
43988 * math/s_clog.c: Likewise.
43989 * math/s_clog10.c: Likewise.
43990 * math/s_clog10f.c: Likewise.
43991 * math/s_clog10l.c: Likewise.
43992 * math/s_clogf.c: Likewise.
43993 * math/s_clogl.c: Likewise.
43994 * math/s_csin.c: Likewise.
43995 * math/s_csinf.c: Likewise.
43996 * math/s_csinh.c: Likewise.
43997 * math/s_csinhf.c: Likewise.
43998 * math/s_csinhl.c: Likewise.
43999 * math/s_csinl.c: Likewise.
44000 * math/s_csqrt.c: Likewise.
44001 * math/s_csqrtf.c: Likewise.
44002 * math/s_csqrtl.c: Likewise.
44003 * math/s_ctan.c: Likewise.
44004 * math/s_ctanf.c: Likewise.
44005 * math/s_ctanh.c: Likewise.
44006 * math/s_ctanhf.c: Likewise.
44007 * math/s_ctanhl.c: Likewise.
44008 * math/s_ctanl.c: Likewise.
44009 * math/s_ldexp.c: Likewise.
44010 * math/s_ldexpf.c: Likewise.
44011 * math/s_ldexpl.c: Likewise.
44012 * math/s_significand.c: Likewise.
44013 * math/s_significandf.c: Likewise.
44014 * math/s_significandl.c: Likewise.
44015 * math/w_acos.c: Likewise.
44016 * math/w_acosf.c: Likewise.
44017 * math/w_acosh.c: Likewise.
44018 * math/w_acoshf.c: Likewise.
44019 * math/w_acoshl.c: Likewise.
44020 * math/w_acosl.c: Likewise.
44021 * math/w_asin.c: Likewise.
44022 * math/w_asinf.c: Likewise.
44023 * math/w_asinl.c: Likewise.
44024 * math/w_atan2.c: Likewise.
44025 * math/w_atan2f.c: Likewise.
44026 * math/w_atan2l.c: Likewise.
44027 * math/w_atanh.c: Likewise.
44028 * math/w_atanhf.c: Likewise.
44029 * math/w_atanhl.c: Likewise.
44030 * math/w_cosh.c: Likewise.
44031 * math/w_coshf.c: Likewise.
44032 * math/w_coshl.c: Likewise.
44033 * math/w_dremf.c: Likewise.
44034 * math/w_exp10.c: Likewise.
44035 * math/w_exp10f.c: Likewise.
44036 * math/w_exp10l.c: Likewise.
44037 * math/w_exp2.c: Likewise.
44038 * math/w_exp2f.c: Likewise.
44039 * math/w_fmod.c: Likewise.
44040 * math/w_fmodf.c: Likewise.
44041 * math/w_fmodl.c: Likewise.
44042 * math/w_hypot.c: Likewise.
44043 * math/w_hypotf.c: Likewise.
44044 * math/w_hypotl.c: Likewise.
44045 * math/w_j0.c: Likewise.
44046 * math/w_j0f.c: Likewise.
44047 * math/w_j0l.c: Likewise.
44048 * math/w_j1.c: Likewise.
44049 * math/w_j1f.c: Likewise.
44050 * math/w_j1l.c: Likewise.
44051 * math/w_jn.c: Likewise.
44052 * math/w_jnf.c: Likewise.
44053 * math/w_jnl.c: Likewise.
44054 * math/w_lgamma.c: Likewise.
44055 * math/w_lgamma_r.c: Likewise.
44056 * math/w_lgammaf.c: Likewise.
44057 * math/w_lgammaf_r.c: Likewise.
44058 * math/w_lgammal.c: Likewise.
44059 * math/w_lgammal_r.c: Likewise.
44060 * math/w_log.c: Likewise.
44061 * math/w_log10.c: Likewise.
44062 * math/w_log10f.c: Likewise.
44063 * math/w_log10l.c: Likewise.
44064 * math/w_log2.c: Likewise.
44065 * math/w_log2f.c: Likewise.
44066 * math/w_log2l.c: Likewise.
44067 * math/w_logf.c: Likewise.
44068 * math/w_logl.c: Likewise.
44069 * math/w_pow.c: Likewise.
44070 * math/w_powf.c: Likewise.
44071 * math/w_powl.c: Likewise.
44072 * math/w_remainder.c: Likewise.
44073 * math/w_remainderf.c: Likewise.
44074 * math/w_remainderl.c: Likewise.
44075 * math/w_scalb.c: Likewise.
44076 * math/w_scalbf.c: Likewise.
44077 * math/w_scalbl.c: Likewise.
44078 * math/w_sinh.c: Likewise.
44079 * math/w_sinhf.c: Likewise.
44080 * math/w_sinhl.c: Likewise.
44081 * math/w_sqrt.c: Likewise.
44082 * math/w_sqrtf.c: Likewise.
44083 * math/w_sqrtl.c: Likewise.
44084 * math/w_tgamma.c: Likewise.
44085 * math/w_tgammaf.c: Likewise.
44086 * math/w_tgammal.c: Likewise.
44088 * po/ja.po: Update from translation team.
44090 2011-09-29 Andreas Jaeger <aj@suse.de>
44093 * sunrpc/netname.c (netname2host): Fix logic.
44097 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44099 * math/w_remainder.c (__remainder): Likewise.
44100 * math/w_remainderf.c (__remainderf): Likewise.
44101 * math/libm-test.inc (remainder_test): Add test cases.
44103 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44105 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44108 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44110 * string/test-memcmp.c: Avoid unncessary #defines.
44111 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44113 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44115 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44116 Use new sse2 version for core i3 - i7 as it's faster
44117 than sse42 version.
44118 (bit_Prefer_PMINUB_for_stringop): New.
44119 * sysdeps/x86_64/rawmemchr.S: Update.
44120 Replace with faster SSE2 version.
44121 * sysdeps/x86_64/memrchr.S: New file.
44122 * sysdeps/x86_64/memchr.S: Update.
44123 Replace with faster SSE2 version.
44125 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44127 * elf/dl-load.c (lose): Add cast to avoid warning.
44129 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44131 * po/ca.po: Update from translation team.
44133 * inet/getnetgrent_r.c: Hook up nscd.
44134 * nscd/Makefile (routines): Add nscd_netgroup.
44135 (nscd-modules): Add netgroupcache.
44136 (CFLAGS-netgroupcache.c): Define.
44137 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44138 (cache_search): Add const to second parameter.
44139 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44141 (dbs): Add netgrdb entry.
44142 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44143 (verify_persistent_db): Handle netgrdb.
44144 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44145 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44147 (netgroup_response_header): Define.
44148 (innetgroup_response_header): Define.
44149 (datahead): Add netgroup_response_header and innetgroup_response_header
44151 * nscd/nscd.conf: Add entries for netgroup cache.
44152 * nscd/nscd.h (dbtype): Add netgrdb.
44153 (_PATH_NSCD_NETGROUP_DB): Define.
44154 (netgroup_iov_disabled): Declare.
44155 (xmalloc, xcalloc, xrealloc): Move declarations here.
44156 (cache_search): Adjust prototype.
44157 Add netgroup-related prototypes.
44158 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44159 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44160 (__nscd_innetgr): Declare.
44161 * nscd/selinux.c (perms): Use access_vector_t as element type and
44162 add netgroup-related initializers.
44163 * nscd/netgroupcache.c: New file.
44164 * nscd/nscd_netgroup.c: New file.
44165 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44166 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44167 For four parameters use innetgr.
44168 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44169 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44170 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44171 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44173 * nscd/connections.c (register_traced_file): Don't register file
44174 for disabled databases.
44176 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44178 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44180 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44181 from tree and freeing node.
44183 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44185 * nss/nsswitch.c (__nss_database_lookup): Handle
44186 nss_parse_service_list out of memory case.
44188 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44190 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44191 out of memory case.
44193 2011-10-04 Andreas Schwab <schwab@redhat.com>
44195 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44196 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44198 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44199 elf_machine_rela, elf_machine_lazy_rel.
44200 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44201 (ELF_DYNAMIC_DO_REL): Likewise.
44202 (ELF_DYNAMIC_DO_RELA): Likewise.
44203 (ELF_DYNAMIC_RELOCATE): Likewise.
44204 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44205 to ELF_DYNAMIC_DO_REL.
44206 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44207 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44208 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44210 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44211 skip_ifunc, don't call ifunc function if non-zero.
44212 (elf_machine_rela): Likewise.
44213 (elf_machine_lazy_rel): Likewise.
44214 (elf_machine_lazy_rela): Likewise.
44215 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44216 (elf_machine_lazy_rel): Likewise.
44217 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44219 (elf_machine_lazy_rel): Likewise.
44220 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44222 (elf_machine_lazy_rel): Likewise.
44223 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44224 (elf_machine_lazy_rel): Likewise.
44225 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44226 (elf_machine_lazy_rel): Likewise.
44227 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44228 (elf_machine_lazy_rel): Likewise.
44229 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44230 (elf_machine_lazy_rel): Likewise.
44231 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44232 (elf_machine_lazy_rel): Likewise.
44233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44234 (elf_machine_lazy_rel): Likewise.
44236 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44238 * nss/nss_files/files-init.c (_nss_files_init): Use static
44239 initialization for all the *_traced_file variables.
44241 2011-09-28 Andreas Schwab <schwab@redhat.com>
44243 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44245 2011-09-27 Roland McGrath <roland@hack.frob.com>
44248 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44250 2011-09-27 Andreas Schwab <schwab@redhat.com>
44252 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44253 Reread the line before reparsing it.
44255 2011-09-26 Andreas Schwab <schwab@redhat.com>
44257 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44259 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44260 Maxim Kuvyrkov <maxim@codesourcery.com>
44261 Joseph Myers <joseph@codesourcery.com>
44263 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44264 if needed for __stack_chk_guard.
44266 2011-09-19 Roland McGrath <roland@hack.frob.com>
44268 * sysdeps/posix/spawni.c (script_execute): Always define it.
44269 It will be optimized away if unused.
44270 (maybe_script_execute): New function.
44271 (__spawni): Call it.
44273 * Makerules: Don't include tls.make.
44274 (config-tls): Always set to thread.
44275 * tls.make.c: File removed.
44277 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44279 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44280 * config.make.in (CPPFLAGS-config): New substituted variable.
44282 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44284 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44287 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44288 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44290 2011-09-15 Roland McGrath <roland@hack.frob.com>
44292 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44293 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44294 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44295 (CALL_FAIL): Likewise.
44296 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44297 (CALL_FAIL): Macro removed.
44298 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44300 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44302 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44303 for __FINITE_MATH_ONLY__ == 1.
44305 2011-09-15 Andreas Schwab <schwab@redhat.com>
44307 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44308 __ieee754_sqrt instead of sqrt.
44309 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44310 __ieee754_sqrtf instead of sqrtf.
44311 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44312 __floorf instead of floorf.
44313 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44314 __floorf, __truncf instead of floorf, truncf.
44316 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44318 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44320 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44321 __extern_always_inline.
44322 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44325 2011-09-14 Andreas Schwab <schwab@redhat.com>
44327 * elf/rtld.c (dl_main): Also relocate in dependency order when
44328 doing symbol dependency testing.
44330 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44332 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44333 Always define `refsym'.
44335 2011-09-13 Andreas Schwab <schwab@redhat.com>
44337 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44338 (__FD_ELT): Renamed from __FDELT.
44339 * misc/bits/select2.h (__FD_ELT): Likewise.
44340 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44341 __FD_MASK instead of __FDELT, __FDMASK.
44342 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44344 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44347 * elf/Makefile (gen-ldd): Fix pattern.
44349 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44350 (init_tls): Likewise.
44352 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44354 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44356 2011-09-12 Andreas Schwab <schwab@redhat.com>
44358 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44359 `struct cmsghdr *' instead of `void *'.
44360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44363 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44365 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44367 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44368 ldd_rewrite_script.
44370 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44372 * configure.in: Remove --with-tls option.
44373 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44374 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44375 out in case it is missing.
44376 * sysdeps/ia64/elf/configure.in: Likewise.
44377 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44378 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44379 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44380 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44381 * sysdeps/sh/elf/configure.in: Likewise.
44382 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44383 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44384 * sysdeps/x86_64/elf/configure.in: Likewise.
44385 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44386 * sysdeps/mach/hurd/tls.h: Likewise.
44389 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44392 * configure.in: Fix use of AC_INIT.
44394 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44396 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44398 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44400 * malloc/hooks.c: Likewise.
44403 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44404 variables statically.
44405 (narenas): Initialize.
44406 (list_lock): Initialize.
44407 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44408 initializtion of main_arena and list_lock. Small cleanups.
44409 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44410 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44411 Add initializers to main_arena and mp_.
44412 (malloc_state): Remove pagesize member. Change all users to use
44415 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44416 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44417 is always initialized.
44419 * malloc/malloc.c: Removed unused configurations and dead code.
44420 * malloc/arena.c: Likewise.
44421 * malloc/hooks.c: Likewise.
44422 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44424 * include/tls.h: Removed. USE___THREAD must always be defined.
44425 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44426 * elf/dl-libc.c: Likewise.
44427 * elf/dl-tsd.c: Likewise.
44428 * include/errno.h: Likewise.
44429 * include/netdb.h: Likewise.
44430 * include/resolv.h: Likewise.
44431 * inet/herrno-loc.c: Likewise.
44432 * inet/herrno.c: Likewise.
44433 * malloc/arena.c: Likewise.
44434 * malloc/hooks.c: Likewise.
44435 * malloc/malloc.c: Likewise.
44436 * resolv/res-state.c: Likewise.
44437 * resolv/res_libc.c: Likewise.
44438 * sysdeps/i386/dl-machine.h: Likewise.
44439 * sysdeps/ia64/dl-machine.h: Likewise.
44440 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44441 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44442 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44443 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44444 * sysdeps/sh/dl-machine.h: Likewise.
44445 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44446 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44447 * sysdeps/unix/i386/sysdep.S: Likewise.
44448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44449 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44451 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44453 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44454 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44458 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44459 * sysdeps/x86_64/dl-machine.h: Likewise.
44460 * tls.make.c: Likewise.
44462 * configure.in: Remove --with-__thread option. Make tests for
44463 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44464 tls_model attribute fail if no support is available. Remove
44466 * Makeconfig: Adjust for dropped configure option. All features are
44468 * Makerules: Likewise.
44469 * Versions.def: Likewise.
44470 * argp/argp-fmtstream.c: Likewise.
44471 * argp/argp-fmtstream.h: Likewise.
44472 * argp/argp-help.c: Likewise.
44473 * assert/assert.c: Likewise.
44474 * config.h.in: Likewise.
44475 * config.make.in: Likewise.
44476 * configure: Likewise.
44477 * configure.in: Likewise.
44478 * csu/Versions: Likewise.
44479 * csu/init.c: Likewise.
44480 * elf/tst-audit2.c: Likewise.
44481 * elf/tst-tls10.c: Likewise.
44482 * elf/tst-tls10.h: Likewise.
44483 * elf/tst-tls11.c: Likewise.
44484 * elf/tst-tls12.c: Likewise.
44485 * elf/tst-tls14.c: Likewise.
44486 * elf/tst-tlsmod11.c: Likewise.
44487 * elf/tst-tlsmod12.c: Likewise.
44488 * elf/tst-tlsmod13.c: Likewise.
44489 * elf/tst-tlsmod13a.c: Likewise.
44490 * elf/tst-tlsmod14a.c: Likewise.
44491 * elf/tst-tlsmod15b.c: Likewise.
44492 * elf/tst-tlsmod16a.c: Likewise.
44493 * elf/tst-tlsmod16b.c: Likewise.
44494 * elf/tst-tlsmod7.c: Likewise.
44495 * elf/tst-tlsmod8.c: Likewise.
44496 * elf/tst-tlsmod9.c: Likewise.
44497 * gmon/gmon.c: Likewise.
44498 * grp/fgetgrent_r.c: Likewise.
44499 * grp/putgrent.c: Likewise.
44500 * hurd/fopenport.c: Likewise.
44501 * include/libc-symbols.h: Likewise.
44502 * include/tls.h: Likewise.
44503 * intl/gettextP.h: Likewise.
44504 * intl/loadinfo.h: Likewise.
44505 * locale/global-locale.c: Likewise.
44506 * locale/localeinfo.h: Likewise.
44507 * mach/devstream.c: Likewise.
44508 * malloc/arena.c: Likewise.
44509 * malloc/set-freeres.c: Likewise.
44510 * misc/err.c: Likewise.
44511 * misc/getttyent.c: Likewise.
44512 * misc/mntent_r.c: Likewise.
44513 * posix/getopt.c: Likewise.
44514 * posix/wordexp.c: Likewise.
44515 * pwd/fgetpwent_r.c: Likewise.
44516 * resolv/Versions: Likewise.
44517 * resolv/res_hconf.c: Likewise.
44518 * shadow/fgetspent_r.c: Likewise.
44519 * shadow/putspent.c: Likewise.
44520 * stdio-common/printf_fphex.c: Likewise.
44521 * stdio-common/tmpfile.c: Likewise.
44522 * stdlib/abort.c: Likewise.
44523 * stdlib/fmtmsg.c: Likewise.
44524 * sunrpc/auth_unix.c: Likewise.
44525 * sunrpc/clnt_perr.c: Likewise.
44526 * sunrpc/clnt_tcp.c: Likewise.
44527 * sunrpc/clnt_udp.c: Likewise.
44528 * sunrpc/clnt_unix.c: Likewise.
44529 * sunrpc/openchild.c: Likewise.
44530 * sunrpc/svc_simple.c: Likewise.
44531 * sunrpc/svc_tcp.c: Likewise.
44532 * sunrpc/svc_udp.c: Likewise.
44533 * sunrpc/svc_unix.c: Likewise.
44534 * sunrpc/xdr.c: Likewise.
44535 * sunrpc/xdr_array.c: Likewise.
44536 * sunrpc/xdr_rec.c: Likewise.
44537 * sunrpc/xdr_ref.c: Likewise.
44538 * sunrpc/xdr_stdio.c: Likewise.
44540 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44542 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44544 2011-07-03 Andreas Jaeger <aj@suse.de>
44546 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44547 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44548 regenerate with gen-libm-tests.pl.
44550 2010-05-12 Petr Baudis <pasky@suse.cz>
44553 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44554 around j0() zero points by switching to j1().
44555 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44556 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44558 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44560 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44562 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44564 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44567 Patch in part by Pavel Roskin <proski@gnu.org>.
44570 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44572 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44573 Free memory block if necessary.
44576 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44577 be NULL. Don't lock in this case.
44579 2011-09-09 Roland McGrath <roland@hack.frob.com>
44581 * elf/elf.h (ELFOSABI_GNU): New macro.
44582 (ELFOSABI_LINUX): Define to that.
44584 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44586 * string/strncat.c (strncat): Undef the symbol in case it has been
44587 defined in bits/string.h.
44589 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44591 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44593 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44596 2011-08-17 Andreas Jaeger <aj@suse.de>
44598 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44600 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44601 Ian Lance Taylor <iant@google.com>
44603 * math/libm-test.inc (lround_test): New testcase.
44604 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44606 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44608 * Makefile: Remove support for automatic cvs check-ins.
44609 * Makerules: Likewise.
44610 * config.make.in: Likewise.
44611 * configure.in: Likewise.
44612 * intl/Makefile: Likewise.
44613 * locale/Makefile: Likewise.
44614 * po/Makefile: Likewise.
44615 * posix/Makefile: Likewise.
44616 * sysdeps/gnu/Makefile: Likewise.
44617 * sysdeps/mach/hurd/Makefile: Likewise.
44618 * sysdeps/sparc/sparc32/Makefile: Likewise.
44621 * posix/Makefile (bug-regex32-ENV): Define.
44622 Patch by John Stanley <jpsinthemix@verizon.net>.
44624 * misc/Makefile (headers): Add bits/select2.h.
44625 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44626 * misc/bits/select2.h: New file.
44627 * include/bits/select2.h: New file.
44628 * debug/Makefile (routines): Add fdelt_chk.
44629 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44630 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44632 * debug/fdelt_chk.c: New file.
44634 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44635 * wcsmbs/test-wmemcmp.c: Likewise.
44636 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44637 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44639 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44641 * string/Makefile (strop-tests): Add memcmp.
44642 * string/test-wmemcmp.c: New file.
44643 * string/test-memcmp.c: Add wmemcmp support.
44645 2011-09-08 Roland McGrath <roland@hack.frob.com>
44648 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44651 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44652 garbage value in a __mach_port_mod_refs call in the cases of the
44653 task-self and thread-self ports.
44655 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44657 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44659 2011-09-08 Andreas Schwab <schwab@redhat.com>
44661 * elf/dl-load.c (lose): Check for non-null L.
44663 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44665 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44667 * elf/dl-libc.c (dlerror_run): Pass back error code from
44671 * elf/dl-load.c (lose): Free l_origin if it is valid.
44673 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44675 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44676 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44678 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44679 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44680 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44682 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44684 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44685 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44686 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44687 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44688 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44689 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44690 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44691 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44692 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44693 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44695 2011-08-15 Alan Modra <amodra@gmail.com>
44698 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44699 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44700 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44701 ppc_mcount to static-only-routines.
44702 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44704 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44705 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44707 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44709 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44710 for finite and infinity parameters.
44712 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44714 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44715 and add nop instructions for throughput optimization.
44716 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44718 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44721 aligned copy for power7 with vector-scalar instructions.
44722 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44724 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44729 2011-09-07 Andreas Schwab <schwab@redhat.com>
44732 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44735 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44737 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44738 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44739 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44740 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44743 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44745 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44746 Forgot to demangle the pointer.
44748 * sysdeps/i386/sysdep.h: Define atom_text_section.
44749 * sysdeps/x86_64/sysdep.h: Likewise.
44750 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44751 section with atom_text_section.
44752 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44753 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44754 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44755 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44756 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44758 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44759 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44760 already be defined. Change to take two parameters and don't assign
44761 result to variable. Adjust all users.
44762 Define INTERNAL_GETTIME if not already defined.
44763 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44766 HAVE_CLOCK_GETTIME_VSYSCALL.
44767 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44770 gettimeofday vsyscall, just use time.
44772 2011-09-06 Andreas Schwab <schwab@redhat.com>
44774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44777 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44779 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44783 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44784 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44785 syscall if possible.
44787 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44789 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44790 e_ident. Don't pass to find_mapsXX.
44791 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44793 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44796 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44797 * sysdeps/x86_64/multiarch/strchr.S: Update.
44798 Check bit_slow_BSF bit.
44799 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44800 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44801 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44803 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44806 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44808 (tryshell): Define.
44809 (__spawni): Change last parameter to be flag. Test
44810 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44811 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44812 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44813 * posix/spawni.c: Likewise.
44814 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44815 * posix/spawnp.c: Likewise. Change normal version to use
44816 SPAWN_XFLAGS_USE_PATH.
44817 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44818 SPAWN_XFLAGS_TRY_SHELL.
44821 * posix/glob.h: Remove gcc 1.x support.
44824 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44826 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44829 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44831 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44832 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44833 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44834 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44835 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44836 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44838 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44840 * sysdeps/x86_64/wcscmp.S: New file.
44842 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44843 wcscmp-c wcscmp-sse2
44844 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44845 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44846 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44847 * wcsmbs/wcscmp.c: Allow renaming.
44849 2011-09-05 David S. Miller <davem@davemloft.net>
44851 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44852 stack slot, rather than the struct return pointer slot.
44853 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44854 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44856 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44858 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44860 * po/ja.po: Update from translation team.
44863 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44864 kernel in 64-bit binaries.
44866 2011-09-01 David S. Miller <davem@davemloft.net>
44868 * elf/elf.h (HWCAP_SPARC_*): Move to..
44869 * sysdeps/sparc/sysdep.h: this new file and add new values.
44870 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44871 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44872 _DL_HWCAP_COUNT to 24.
44873 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44875 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44876 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44877 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44879 instead of magic constants.
44880 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44882 2011-08-31 David S. Miller <davem@davemloft.net>
44884 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44886 Reimplement to do errno handling inline.
44887 (SYSCALL_ERROR_HANDLER): New macro.
44888 (__SYSCALL_STRING): Do not do errno handling in asm.
44889 (__CLONE_SYSCALL_STRING): Delete.
44890 (__INTERNAL_SYSCALL_STRING): Delete.
44891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44892 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44893 (PSEUDO): Reimplement to do errno handling inline.
44894 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44895 (SYSCALL_ERROR_HANDLER): New macro.
44896 (__SYSCALL_STRING): Do not do errno handling in asm.
44897 (__CLONE_SYSCALL_STRING): Delete.
44898 (__INTERNAL_SYSCALL_STRING): Delete.
44899 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44900 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44902 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44903 (inline_syscall*): Add 'err' argument.
44904 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44905 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44906 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44907 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44909 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44910 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44912 2011-08-30 Andreas Schwab <schwab@redhat.com>
44914 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44916 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44918 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44921 2011-08-24 David S. Miller <davem@davemloft.net>
44923 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44925 2011-08-24 Andreas Schwab <schwab@redhat.com>
44927 * elf/Makefile: Add rules to build and run unload8 test.
44928 * elf/unload8.c: New file.
44929 * elf/unload8mod1.c: New file.
44930 * elf/unload8mod1x.c: New file.
44931 * elf/unload8mod2.c: New file.
44932 * elf/unload8mod3.c: New file.
44934 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44937 2011-08-23 David S. Miller <davem@davemloft.net>
44939 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44940 subtract stack bias.
44941 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44942 %sp not %fp in calculations.
44943 (_JMPBUF_UNWINDS_ADJ): Likewise.
44945 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44946 (aio_suspend): Call it to force an exception region around the
44947 AIO_MISC_WAIT() invocation.
44949 2011-08-23 Andreas Schwab <schwab@redhat.com>
44951 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44954 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44956 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44958 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44959 and <dl-machine.h>.
44960 (Elf64_FuncDesc): Remove.
44962 2011-08-22 David S. Miller <davem@davemloft.net>
44964 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44965 sigaltstack check, add missing cfi directives.
44966 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44967 missing cfi directives, and sigaltstack handling.
44969 2011-08-16 Andreas Schwab <schwab@redhat.com>
44972 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44973 object is seen twice.
44974 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44976 * elf/Makefile (distribute): Add tst-initorder2.c.
44977 (tests): Add tst-initorder2.
44978 (modules-names): Add tst-initorder2a tst-initorder2b
44979 tst-initorder2c tst-initorder2d. Add rules to build them.
44980 ($(objpfx)tst-initorder2.out): New rule.
44981 * elf/tst-initorder2.c: New file.
44982 * elf/tst-initorder2.exp: New file.
44984 2011-08-22 Andreas Schwab <schwab@redhat.com>
44986 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44988 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44989 dependencies back to end of function.
44991 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44992 $(elfobjdir)/ld.so.
44994 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44996 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44997 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44999 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45000 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45001 of __vdso_gettimeofday.
45002 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45003 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45005 (_libc_vdso_platform_setup): Remove initialization of
45006 __vdso_gettimeofday and __vdso_time.
45008 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45010 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45011 and fgetc_unlocked.
45012 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45015 * elf/dl-open.c (add_to_global): Report additions to the global scope
45016 for LD_DEBUG=scopes.
45017 (dl_open_worker): Also print scope of newly loaded dependencies.
45018 (_dl_show_scope): Indicate if there is no scope.
45021 * stdio-common/Makefile (tests): Add bug24.
45022 * stdio-common/bug24.c: New file.
45024 2011-08-19 Andreas Jaeger <aj@suse.de>
45027 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45028 non-existant file when using close-on-exec mode.
45030 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45033 the very first instruction.
45035 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45036 the CFI state in the end.
45037 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45038 inclusion of dl-trampoline.h.
45039 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45041 2011-08-19 Andreas Schwab <schwab@redhat.com>
45043 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45044 expectations for long double.
45046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45047 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45049 2011-08-14 David S. Miller <davem@davemloft.net>
45051 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45052 artificual limit depends upon the system page size.
45054 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45056 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45057 * resolv/Makefile: Define CFLAGS-libresolv.
45059 2011-08-17 Andreas Schwab <schwab@redhat.com>
45061 * nss/makedb.c (compute_tables): Make variables used in nested
45064 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45066 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45067 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45068 if buffer was too small.
45070 * elf/pldd.c (main): Attach to all threads in the process.
45071 Rewrite /proc handling to use *at functions.
45073 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45075 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45076 specifies first scope to show.
45077 (dl_open_worker): Update callers. Move printing scope of new
45078 object to before the relocation.
45079 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45080 * sysdeps/generic/ldsodefs.h: Update declaration.
45082 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45083 string for the scope number.
45085 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45087 * nscd/servicescache.c (cache_addserv): Make sure written is always
45090 2011-08-14 Roland McGrath <roland@hack.frob.com>
45092 * sysdeps/i386/i486/bits/atomic.h
45093 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45094 statement expression, so as to suppress "set but not used" warning.
45095 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45097 * string/strncat.c (STRNCAT): Use prototype definition.
45099 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45100 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45102 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45103 (localedef-modules): Add localedef.
45104 (locale-modules): Add locale.
45106 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45107 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45108 to avoid a warning.
45110 2011-08-14 David S. Miller <davem@davemloft.net>
45112 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45113 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45115 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45117 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45118 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45119 * elf/rtld.c (dl_main): Set l_name of vDSO.
45120 Call _dl_show_scope when DL_DEBUG_SCOPES.
45121 (process_dl_debug): Recognize scopes flag and also set it for all.
45122 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45123 Declare _dl_show_scope.
45125 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45126 (do_dlopen): Pass caller_dlopen to dl_open.
45127 (__libc_dlopen_mode): Initialize caller_dlopen.
45129 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45130 of libc. Make tolower call locale-independent. Optimize a bit by
45131 using isdigit instead of isalnum.
45132 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45134 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45136 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45137 was a dependency or dynamically loaded.
45139 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45141 * intl/l10nflist.c: Allow architecture-specific pop function.
45142 * sysdeps/x86_64/l10nflist.c: New file.
45144 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45147 2011-08-10 Andreas Schwab <schwab@redhat.com>
45149 * include/dirent.h: Add libc_hidden_proto for scandirat and
45150 scandirat64. Don't declare __scandirat64.
45151 * dirent/scandirat.c: Add libc_hidden_def.
45152 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45153 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45155 2011-08-10 David S. Miller <davem@davemloft.net>
45157 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45159 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45161 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45163 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45165 * Versions.def [libc]: Add GLIBC_2.15.
45166 * dirent/Makefile (routines): Add scandirat and scandirat64.
45167 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45169 * dirent/dirent.h: Declare scandirat and scandirat64.
45170 * dirent/scandirat.c: New file.
45171 * dirent/scandirat64.c: New file.
45172 * sysdeps/wordsize-64/scandirat.c: New file.
45173 * sysdeps/wordsize-64/scandirat64.c: New file.
45174 * dirent/opendir.c: Define opendirat.
45175 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45177 * dirent/scandir64.c: Adjust for scandir.c change.
45178 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45179 __scandirat64, and __scandir_cancel_handler.
45180 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45181 additional parameter and use openat instead of open (outside of ld.so).
45182 Add new __opendir as wrapper around __opendirat.
45183 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45184 here without requiring old scandirat implementation.
45186 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45188 * dirent/scandir.c (cancel_handler): Renamed to
45189 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45190 defined. Adjust users.
45191 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45192 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45194 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45196 * string/test-string.h (IMPL): Use __STRING to expand name and then
45199 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45202 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45204 * string/Makefile: Update.
45205 (strop-tests): Append strncat.
45206 * string/test-wcscmp.c: New file.
45207 New comprehensive test for wcscmp.
45208 * string/test-strcmp.c: Update.
45209 (WIDE): New define.
45211 2011-07-22 Andreas Schwab <schwab@redhat.com>
45213 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45216 2011-07-26 Andreas Schwab <schwab@redhat.com>
45218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45219 encoding to ACE if AI_IDN.
45221 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45224 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45226 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45228 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45229 Fix overflow bug in strncat.
45230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45232 * string/test-strncat.c: Update.
45233 Add new tests for checking overflow bugs.
45235 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45238 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45239 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45240 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45241 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45242 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45243 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45244 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45245 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45247 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45248 (USE_AS_STRCAT): Define.
45249 Add strcat and strncat support.
45250 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45252 2011-07-25 Andreas Schwab <schwab@redhat.com>
45254 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45255 __n bigger than INT_MAX+1.
45256 (__strncmp_g): Likewise.
45258 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45260 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45261 * libio/stido.h: Likewise.
45263 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45268 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45270 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45271 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45272 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45275 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45278 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45280 (_dl_x86_64_save_sse): Likewise.
45282 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45286 (_dl_x86_64_save_sse): Likewise.
45288 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45290 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45292 2011-07-21 Andreas Schwab <schwab@redhat.com>
45294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45296 (_dl_x86_64_save_sse): Use correct AVX check.
45298 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45300 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45301 bug in strncpy/strncat.
45302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45304 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45306 * string/tester.c (test_strcat): Add tests for different alignments
45307 of source and destination.
45308 (test_strncat): Likewise.
45310 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45313 * posix/glob.c (glob): Check passed in values before using them in
45314 expressions to avoid some overflows.
45315 (glob_in_dir): Likewise.
45318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45319 check for AVX enablement so that we don't crash with old kernels and
45321 * elf/tst-audit4.c: Add same checks here.
45322 * elf/tst-audit6.c: Likewise.
45324 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45326 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45328 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45330 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45332 * po/cs.po: Update from translation team.
45333 * po/bg.po: Likewise.
45335 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45337 * misc/sys/cdefs.h: Add support for const attribute.
45338 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45339 to gnu_dev_{major,minor,makedev} functions.
45341 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45343 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45345 2011-07-20 Andreas Schwab <schwab@redhat.com>
45347 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45350 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45353 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45354 register in order to avoid conflicts with the soft frame pointer
45355 being held in r11 when necessary.
45356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45357 (INTERNAL_VSYSCALL_NCS): Likewise.
45359 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45361 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45362 * elf/dl-fini.c (_dl_fini): Adjust caller.
45363 * elf/dl-close.c (_dl_close_worker): Likewise.
45364 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45366 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45368 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45369 "aux_cache->nlibs < 0".
45371 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45372 in the reload-count case.
45374 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45377 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45378 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45379 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45380 * sysdeps/x86_64/multiarch/strcat.S: New file.
45381 * sysdeps/x86_64/multiarch/strncat.S: New file.
45382 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45383 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45384 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45385 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45386 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45387 (USE_AS_STRCAT): Define.
45388 Add strcat and strncat support.
45389 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45391 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45392 * string/strncat.c: Update.
45393 (USE_AS_STRNCAT): Define.
45394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45395 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45397 * sysdeps/x86_64/multiarch/init-arch.h
45398 (bit_Prefer_PMINUB_for_stringop): New.
45399 (index_Prefer_PMINUB_for_stringop): Likewise.
45400 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45401 bit_Prefer_PMINUB_for_stringop.
45403 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45405 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45407 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45408 of casting of buffer.
45409 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45410 buffer32 and buffer64.
45411 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45412 writes instead of casting of buffer.
45413 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45415 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45418 2011-07-19 Andreas Schwab <schwab@redhat.com>
45420 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45422 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45424 * nscd/nscd.c (termination_handler): Don't do anything for a database
45425 if it has not yet been initialized.
45427 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45429 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45431 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45433 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45435 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45437 * po/nl.po: Update from translation team.
45438 * po/sv.po: Likewise.
45440 2011-07-16 Roland McGrath <roland@hack.frob.com>
45442 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45443 now disallowed by GCC.
45445 * configure.in (use-default-link): Default to yes if a test -shared
45446 link meets our qualifications.
45447 * configure: Regenerated.
45449 * config.make.in (output-format): New variable.
45450 * configure.in: Check for ld --print-output-format support.
45451 * configure: Regenerated.
45452 * Makerules ($(common-objpfx)format.lds)
45453 [$(output-format) != unknown]: Just use $(output-format),
45454 instead of the linker-script munging.
45456 2011-07-14 Roland McGrath <roland@hack.frob.com>
45458 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45459 of $(common-objpfx)shlib.lds.
45460 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45462 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45463 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45465 * configure.in (-z relro check): Adjust test code to add a large
45466 writable data section after it.
45467 * configure: Regenerated.
45469 2011-07-11 Roland McGrath <roland@hack.frob.com>
45471 * configure.in (-z relro check): Fix test code to make the variable
45473 * configure: Regenerated.
45475 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45477 * nscd/nscd.h (struct traced_file): Define.
45478 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45479 elements. Add traced_files.
45480 (inotify_fd): Declare.
45481 (register_traced_file): Declare.
45482 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45483 (inotify_fd): Export.
45484 (resolv_conf_descr): Remove.
45485 (nscd_init): Move inotify descriptor creation to main.
45486 Don't register files for notification here.
45487 (register_traced_file): New function.
45488 (invalidate_cache): Don't use reset_res to determine whether to call
45489 res_init, go through the list of registered files.
45490 (main_loop_poll): The inotify descriptors are now stored in the
45491 structures for the traced files.
45492 (main_loop_epoll): Likewise
45493 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45494 to __nss_disable_nscd.
45495 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45496 for a database anymore. Check the records for all the registered
45498 * nss/Makefile (libnss_files-routines): Add files-init.
45499 (libnss_db-routines): Add db-init.
45500 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45501 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45502 * nss/nss_db/db-init.c: New file.
45503 * nss/nss_files/files-init.c: New file.
45504 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45505 __nss_lookup_function.
45506 (__nss_lookup_function): Call nss_load_library.
45507 (nss_load_all_libraries): New function.
45508 (__nss_disable_nscd): Take parameter with callback function for files
45509 to register. Set is_nscd. Load all the DSOs for the NSS modules
45510 used for the cached services.
45511 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45512 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45513 options for features to all the files in nscd.
45515 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45517 2011-07-10 Roland McGrath <roland@hack.frob.com>
45519 * csu/elf-init.c (__libc_csu_init): Comment typo.
45521 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45523 * po/pl.po: Update from translation team.
45524 * po/ja.po: Likewise.
45525 * po/ru.po: Likewise.
45526 * po/ko.po: Likewise.
45527 * po/fr.po: Likewise.
45529 2011-07-09 Roland McGrath <roland@hack.frob.com>
45531 * configure.in (.ctors/.dtors header and trailer check):
45532 Use an empirical test on a built program.
45533 * configure: Regenerated.
45535 * configure.in (-z relro check): Use an empirical test on a built DSO.
45536 Detect, but do not require, on ia64.
45537 * configure: Regenerated.
45539 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45540 Update tests that use readelf to use $READELF instead.
45541 * configure: Regenerated.
45543 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45545 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45546 if the result is not used.
45548 2011-07-05 Andreas Jaeger <aj@suse.de>
45551 * stdlib/tst-strtod.c: Add testcase.
45553 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45555 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45556 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45557 The latter has a higher limit. Take additional parameter to pass to
45559 (__pathconf): Pass file to __statfs_link_max.
45560 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45562 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45566 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45567 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45569 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45570 (__statfs_filesize_max): Likewise.
45571 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45573 2011-07-05 Andreas Jaeger <aj@suse.de>
45575 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45577 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45579 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45581 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45584 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45586 * Makefile (strop-tests): Add strncat.
45587 * string/test-strncat.c: New file.
45589 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45591 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45593 2011-06-21 Andreas Jaeger <aj@suse.de>
45595 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45596 Copy rule from iconvdata/Makefile.
45598 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45601 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45602 but no long options are defined, just return 'W'.
45604 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45607 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45609 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45611 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45613 (innetgr): Likewise.
45615 2011-07-05 Roland McGrath <roland@hack.frob.com>
45617 * config.make.in (install_root): Default to $(DESTDIR).
45619 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45621 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45623 2011-07-02 Roland McGrath <roland@hack.frob.com>
45625 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45627 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45628 containing directory rather than embedding absolute directory names.
45630 * scripts/check-local-headers.sh: Rewritten using awk.
45631 Match by word, not by line. Print error messages for matches.
45632 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45634 * Makerules [shlib-lds-flags empty]:
45635 ($(common-objpfx)libc_pic.opts): New target.
45636 ($(common-objpfx)libc_pic.os.clean): New target.
45637 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45639 * config.make.in (OBJCOPY): New variable.
45640 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45641 * configure: Regenerated.
45643 * config.make.in (use-default-link): New variable.
45644 * configure.in (use_default_link): Grok --with-default-link to set it.
45645 * configure: Regenerated.
45646 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45647 (shlib-lds, shlib-lds-flags): Define to empty.
45649 * Makerules (shlib-lds): New variable.
45650 (shlib-lds-flags): New variable.
45651 (build-shlib, build-moduile, build-module-asneeded): Use it.
45652 ($(common-objpfx)libc.so): Use $(shlib-lds).
45653 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45654 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45656 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45657 DT_FLAGS/DT_FLAGS_1 with zero flags.
45659 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45660 linker script munging.
45662 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45664 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45666 * crypt/sha512.c (sha512_process_block): Perform total addition using
45667 128-bit if possible.
45668 (__sha512_finish_ctx): Likewise.
45669 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45671 * crypt/sha256.c (SWAP64): Define.
45672 (sha256_process_block): Perform total addition using 64-bit if
45674 (__sha256_finish_ctx): Likewise.
45676 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45678 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45679 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45680 * nscd/hstcache.c (cache_addhst): Likewise.
45681 * nscd/grpcache.c (cache_addgr): Likewise.
45682 * nscd/aicache.c (addhstaiX): Likewise
45683 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45685 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45687 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45689 * nscd/hstcache.c (cache_addhst): Likewise.
45690 * nscd/grpcache.c (cache_addgr): Likewise.
45691 * nscd/aicache.c (addhstaiX): Likewise
45693 2011-07-01 Andreas Schwab <schwab@redhat.com>
45695 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45696 domain only when needed.
45698 2011-06-30 Andreas Schwab <schwab@redhat.com>
45700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45701 is always restored.
45703 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45705 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45706 are re-adding the entry.
45707 * nscd/servicescache.c (cache_addserv): Likewise.
45709 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45711 * sysdeps/generic/dl-irel.h: fix protection against multiple
45713 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45715 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45718 * malloc/memusage.sh: Fix quoting in message.
45719 * debug/xtrace.sh: Likewise.
45721 * configure.in: Remove support for --experimental-malloc option, make
45723 * config.make.in: Likewise.
45724 * malloc/Makefile: Likewise.
45726 2011-06-27 Andreas Schwab <schwab@redhat.com>
45728 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45729 two-byte characters.
45731 2011-06-27 Roland McGrath <roland@hack.frob.com>
45733 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45734 AC_CACHE_CHECK invocation.
45735 * configure: Regenerated.
45737 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45739 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45742 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45743 bit from old_res_options.
45745 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45747 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45748 value type for setfct.
45750 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45753 __gettimeofday instead of gettimeofday.
45755 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45757 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45759 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45761 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45763 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45766 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45769 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45770 strcpy-sse2-unaligned strncpy-sse2-unaligned
45771 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45772 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45773 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45774 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45775 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45776 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45777 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45778 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45779 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45780 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45781 (STRCPY): Support SSE2 and SSSE3 versions.
45783 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45786 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45787 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45788 kernels which artificially limit size of requests.
45790 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45793 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45794 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45795 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45796 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45797 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45798 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45799 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45800 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45801 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45802 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45803 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45804 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45805 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45806 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45808 Enable unaligned load optimization for Intel Core i3, i5 and i7
45810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45812 (index_Fast_Unaligned_Load): Define.
45813 (HAS_FAST_UNALIGNED_LOAD): Define.
45815 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45817 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45819 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45823 until it is clear that the information is realy needed.
45824 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45826 2011-06-22 Andreas Schwab <schwab@redhat.com>
45828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45830 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45833 /sys/devices/system/cpu/online if it is usable.
45835 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45836 reading the information from the /proc filesystem to once a second.
45838 2011-06-21 Andreas Jaeger <aj@suse.de>
45840 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45841 NULL after inclusion of kernel headers.
45843 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45845 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45846 calls to internal_setent.
45849 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45850 addresses using gethostbyname4_r ignore IPv4 addresses.
45852 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45853 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45855 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45857 2011-06-20 David S. Miller <davem@davemloft.net>
45859 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45861 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45863 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45864 (elf_irel): Use it.
45865 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45866 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45867 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45868 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45869 * sysdeps/x86_64/dl-irel.h: Likewise.
45871 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45872 * elf/dl-sym.c: Likewise.
45874 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45876 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45877 need to dereference resplen2.
45879 2011-06-14 Andreas Schwab <schwab@redhat.com>
45881 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45883 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45885 * Makeconfig: Define vardbdir and inst_vardbdir.
45886 * nss/Makefile: Add rules to install db-Makefile.
45888 * nss/nss_db/db-XXX.c: Cleanup.
45890 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45891 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45893 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45894 * nss/makedb.c: Implement -g option to specify that value strings
45895 are generated and should not be added to table iterated over for
45897 * nss/nss_db/db-initgroups.c: New file.
45899 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45902 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45903 (internal_getgrouplist): Adjust to name change.
45904 Update use_initgroups_entry if this is not the first call.
45905 * nss/databases.def: Add initgroups entry.
45907 * nss/makedb.c (compute_tables): Check result of multiple hash table
45908 sizes to minimize maximum chain length.
45910 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45912 * Versions.def: Add entry for libnss_db.
45913 * shlib-versions: Likewise.
45914 * nss/Makefile: Add rules to build libnss_db.
45915 * nss/Versions: Add libnss_db information. Organize libnss_files
45917 * nss/db-Makefile: Add gshadow support. Change rules for the new
45918 makedb progra. Some minor improvements to generate smaller files.
45919 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45921 * nss/makedb.c: ...here.
45922 Improve database format to be smaller and require less memory at
45924 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45926 * nss/nss_db/db-netgrp.c: Likewise.
45927 * nss/nss_db/db-open.c: Likewise.
45928 * nss/nss_files/flies-XXX.x: Adjust comments.
45929 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45930 * nss/nss_files/files-grp.c: Likewise.
45931 * nss/nss_files/files-hosts.c: Likewise.
45932 * nss/nss_files/files-network.c: Likewise.
45933 * nss/nss_files/files-proto.c: Likewise.
45934 * nss/nss_files/files-pwd.c: Likewise.
45935 * nss/nss_files/files-rpc.c: Likewise.
45936 * nss/nss_files/files-service.c: Likewise.
45937 * nss/nss_files/files-sgrp.c: Likewise.
45938 * nss/nss_files/files-spwd.c: Likewise.
45939 * nss/nss_db/db-alias.c: Removed.
45940 * nss/nss_db/dummy-db.h: Removed.
45942 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45944 * nss/makedb.c: Rewritten to not use database library.
45945 * nss/Makefile: Update to build new makedb program.
45947 2011-06-14 Andreas Jaeger <aj@suse.de>
45949 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45950 memset declaration.
45952 2011-06-10 Andreas Schwab <schwab@redhat.com>
45954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45957 2011-06-10 Roland McGrath <roland@hack.frob.com>
45959 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45960 * elf/Makefile ($(objpfx)ld.so): Likewise.
45962 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45963 Don't list ld.so twice in dependencies.
45965 * posix/bug-regex31.c: Include <stdlib.h>.
45967 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45969 * nis/nss_compat/compat-spwd.c
45970 (getspent_next_nss_netgr): Remove unused variable.
45971 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45973 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45974 nonmembers" output to use the right array.
45976 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45978 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45980 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45981 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45982 * catgets/gencat.c (read_input_file): Likewise.
45983 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45985 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45986 variable definition inside #if's controlling its use.
45988 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45990 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45992 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45994 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45997 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45999 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46000 * configure: Regenerated.
46002 * Makerules: Revert last change.
46003 * elf/Makefile: Likewise.
46005 2011-06-09 Roland McGrath <roland@hack.frob.com>
46007 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46008 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46009 (reloc-link): Likewise.
46011 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46013 * elf/Makefile: Add rules to build pldd.
46014 * elf/pldd.c: New file.
46015 * elf/pldd-xx.c: New file.
46017 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46019 * version.h: Update for 2.15 development version.
46021 2011-06-07 David S. Miller <davem@davemloft.net>
46023 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46026 elf_machine_lazy_rel): Likewise.
46027 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46029 elf_machine_lazy_rel): Likewise.
46030 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46031 dl_hwcap via passed in argument.
46032 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46035 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46037 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46039 2011-06-06 Roland McGrath <roland@hack.frob.com>
46042 * manual/fdl-1.1.texi: New file, verbatim from:
46043 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46044 * manual/lgpl-2.1.texi: New file, verbatim from:
46045 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46046 * manual/Makefile (licenses): New variable, list those new file names.
46048 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46050 * manual/fdl.texi: File removed.
46051 * manual/lesser.texi: File removed.
46052 * manual/libc.texinfo (Copying, Documentation License):
46053 Use new @include file names, put @appendix directive before @include.
46055 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46058 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46059 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46060 (mq_open): Add __NTH.
46062 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46065 Assume Intel Core i3/i5/i7 processor if AVX is available.
46067 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46072 2011-05-31 Andreas Schwab <schwab@redhat.com>
46074 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46075 memory. Use alloca_account. Fix memory leak when retrying.
46077 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46079 * version.h (RELEASE): Bump for 2.14 release.
46080 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46082 * config.make.in (RANLIB): Remove entry.
46084 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46086 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46087 (libc.pot): Work around missing support for .ksh extension in xgettext.
46090 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46091 if both request failed.
46092 (send_dg): In case of server errors clear resplen or *resplen2.
46095 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46096 when there are multiple maps.
46097 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46098 (_dl_fini): Remove test here.
46100 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46102 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46105 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46106 bit from old_res_options.
46107 (gaih_inet): Likewise.
46110 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46113 * resolv/res_init.c (res_setoptions): Make the code more compact.
46116 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46120 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46122 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46125 * malloc/malloc.h: Declare malloc hook variables as volatile.
46127 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46131 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46132 raise in the comment.
46133 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46134 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46135 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46137 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46140 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46141 grow the buffers more if it already has to be sufficient.
46142 (build_wcs_upper_buffer): Likewise.
46143 * posix/regexec.c (check_matching): Likewise.
46144 (clean_state_log_if_needed): Likewise.
46145 (extend_buffers): Don't enlarge buffers beyond size of the input
46147 Patches mostly by Emil Wojak <emil@wojak.eu>.
46148 * posix/bug-regex32.c: New file.
46149 * posix/Makefile (tests): Add bug-regex32.
46151 * locale/findlocale.c (_nl_find_locale): Return right away if
46152 _nl_explode_name failed.
46153 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46155 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46157 * debug/xtrace.sh: Unify messages.
46158 * malloc/memusage.sh: Likewise.
46161 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46162 time symbol from vDSO. Substitute with vsyscall if not available.
46163 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46166 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46167 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46168 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46169 Add sendmmsg and internal_sendmmsg.
46170 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46171 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46172 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46174 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46175 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46176 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46178 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46181 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46182 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46184 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46188 * iconvdata/Makefile (tests): Add bug-iconv9.
46189 * iconvdata/bug-iconv9.c: New file.
46191 2011-05-27 Andreas Schwab <schwab@redhat.com>
46194 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46196 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46199 (struct user_regs_struct): Change intcs field back to cs.
46201 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46203 * po/ja.po: Update from translation team.
46205 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46208 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46209 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46211 2011-05-20 Andreas Schwab <schwab@redhat.com>
46213 * stdlib/longlong.h: Update from GCC.
46215 2011-05-23 Andreas Schwab <schwab@redhat.com>
46217 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46219 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46220 Add parameter name.
46221 (__sysconf): Pass it down.
46223 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46226 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46228 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46229 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46230 add in in __libc_use_alloca calls. Adjust callers.
46231 (glob): Use malloc in some situations.
46233 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46234 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46237 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46239 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46240 and CLOCK_BOOTTIME_ALARM.
46243 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46246 * string/_strerror.c (__strerror_r): Print negative errors as signed
46250 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46251 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46252 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46254 * configure.in: Fix typo in redirection and correct removal of test
46255 files in two cases.
46258 * locale/setlocale.c (new_composite_name): Fix test to check for
46259 identical name of all categories.
46262 * libio/filedoalloc.c (local_isatty): New function.
46263 (_IO_file_doallocate): Use local_isatty.
46264 * stdio-common/perror.c (perror): In case a new stream is used
46265 forward the stream error.
46266 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46269 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46274 * include/alloca.h (extend_alloca_account): Define.
46277 * posix/regex.h: Fix comments with documentation of user-accessible
46278 fields after compilation and describe correct free'ing of pattern
46279 after re_compile_pattern.
46280 Patch by Reuben Thomas <rrt@sc3d.org>.
46282 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46284 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46285 and -mno-altivec to prevent the compiler from using Altivec and/or
46286 VSX instructions when the corresponding registers are not available.
46288 2011-05-19 Andreas Schwab <schwab@redhat.com>
46290 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46292 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46294 * libio/freopen.c (freopen): Use __dup2, not dup2.
46295 * libio/freopen64.c (freopen64): Likewise.
46297 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46300 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46301 * math/Makefile (tests): Add test-powl.
46302 (CFLAGS-test-powl.c): Define.
46303 * math/test-powl.c: New file.
46305 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46307 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46309 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46312 * iconvdata/gb18030.c: Update to GB18020-2005.
46314 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46316 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46317 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46318 Patch by Aharon Robbins <arnold@skeeve.com>.
46321 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46325 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46326 through underflows.
46329 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46330 point to strings before performing equality test for error_one_per_line
46334 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46337 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46338 (struct user_fpregs_struct): Avoid __uint*_t types.
46341 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46342 symbol info. Use it instead of calling _dl_addr locally.
46343 (lock_and_info): New function.
46344 (tr_freehook): Call lock_and_info and pass symbol info as additional
46345 parameter to tr_where.
46346 (tr_mallochook): Likewise.
46347 (tr_reallochook): Likewise.
46348 (tr_memalignhook): Likewise.
46350 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46351 used and couldn't be at all thread-safe.
46353 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46355 * libio/freopen.c (freopen): Don't close old file descriptor
46356 before the new one is opened. Instead dup the new file descriptor
46357 to the old one after the new stream is created.
46358 * libio/freopen64.c (freopen64): Likewise.
46359 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46360 * libio/fileops.c (_IO_new_file_close_it): Handle new
46361 _IO_FLAGS2_NOCLOSE flag.
46362 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46363 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46364 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46365 _IO_FLAGS2_NOCLOSE flag.
46366 * include/unistd.h: Add hidden_proto for dup3.
46367 Define __have_dup3.
46368 * io/dup3.c: Define hidden symbol.
46369 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46372 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46373 when an incomplete long option is used.
46374 * posix/tst-getopt_long1.c: New file.
46375 * posix/Makefile (tests): Add tst-getopt_long1.
46378 * scripts/config.guess: Update from autoconf-2.68.
46379 * scripts/config.sub: Likewise.
46382 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46384 (has_cpuclock): ...this. New function.
46385 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46386 macro here based on has_cpuclock code.
46389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46390 First byte (not low byte) is now always NUL.
46391 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46394 Use non-cancelable interfaces.
46397 * locale/iso-639.def: Add entry for Sorani.
46400 * include/stdlib.h: Move include protection to the right place.
46401 Define abort_msg_s. Declare __abort_msg with it.
46402 * stdlib/abort.c (__abort_msg): Adjust type.
46403 * assert/assert.c (__assert_fail_base): New function. Majority
46404 of code from __assert_fail. Allocate memory for __abort_msg with
46406 (__assert_fail): Now call __assert_fail_base.
46407 * assert/assert-perr.c: Remove bulk of implementation. Use
46408 __assert_fail_base.
46409 * include/assert.hL Declare __assert_fail_base.
46410 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46412 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46414 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46418 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46419 until all modules are registered in the DTV.
46420 * elf/Makefile: Add rules to build and run tst-tls19.
46421 * elf/tst-tls19.c: New file.
46422 * elf/tst-tls19mod1.c: New file.
46423 * elf/tst-tls19mod2.c: New file.
46424 * elf/tst-tls19mod3.c: New file.
46425 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46428 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46432 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46433 two-byte sequence errors.
46434 * iconvdata/Makefile (tests): Add bug-iconv8.
46435 * iconvdata/bug-iconv8.c: New file.
46438 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46441 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46444 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46445 (dummy_getcfa): New function.
46446 (init): Get _Unwind_GetCFA address, use dummy if not found.
46447 (backtrace_helper): In recursion check, also check whether CFA changes.
46448 (__backtrace): Completely initialize arg.
46450 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46451 storing incomplete byte sequence in state object. Avoid testing for
46452 guaranteed too small input if we know there is enough data available.
46454 2011-05-11 Andreas Schwab <schwab@redhat.com>
46456 * Makeconfig (+link-pie): Indent.
46457 * Rules (binaries-pie): Define if $(have-fpie) and
46459 (binaries-shared): Also filter out $(binaries-pie).
46460 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46461 * nscd/Makefile (others-pie): Add nscd.
46462 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46463 ($(objpfx)nscd): Remove command override.
46464 * login/Makefile (others-pie): Add pt_chown.
46465 ($(objpfx)pt_chown): Remove command override.
46466 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46467 remove command overrides.
46469 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46471 * libio/tst_putwc.c: Fix error messages.
46474 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46475 currently writing and seek to current position when not.
46476 * libio/Makefile (tests): Add bug-fclose1.
46477 * libio/bug-fclose1.c: New file.
46479 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46482 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46483 don't set DF_1_NODELETE here.
46484 (do_lookup_x): When entering new entry test for copy relocation
46485 and if necessary set DF_1_NODELETE flag.
46486 * elf/tst-unique4.cc: New file.
46487 * elf/tst-unique4.h: New file.
46488 * elf/tst-unique4lib.cc: New file.
46489 * elf/Makefile: Add rules to build and run tst-unique4.
46490 Patch by Piotr Bury <pbury@goahead.com>.
46492 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46495 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46498 * misc/mntent_r.c (addmntent): Flush the stream after the output
46501 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46502 (is_trusted_path_normalize): Skip initial colon. Append slash
46503 to empty buffer. Duplicate is_trusted_path code but allow
46504 constructed patch to be prefix.
46505 (is_dst): Allow $ORIGIN followed by /.
46506 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46507 Correct testing of result of is_trusted_path_normalize
46508 (decompose_rpath): Fix warning.
46510 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46513 * grp/initgroups.c (internal_getgrouplist): When we found the service
46514 list through the initgroups entry in nsswitch.conf do not always
46515 continue on a successful lookup. Don't always use the
46516 __nss_group_database value if it is set.
46517 * nss/nsswitch.conf (initgroups): Change action for successful db
46518 lookup to continue for compatibility.
46520 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46523 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46525 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46527 * iconvdata/tst-tables.sh: Likewise.
46528 * iconvdata/cp770.c: New file.
46529 * iconvdata/cp771.c: New file.
46530 * iconvdata/cp772.c: New file.
46531 * iconvdata/cp773.c: New file.
46532 * iconvdata/cp774.c: New file.
46533 * iconvdata/testdata/CP770: New file.
46534 * iconvdata/testdata/CP770..UTF8: New file.
46535 * iconvdata/testdata/CP771: New file.
46536 * iconvdata/testdata/CP771..UTF8: New file.
46537 * iconvdata/testdata/CP772: New file.
46538 * iconvdata/testdata/CP772..UTF8: New file.
46539 * iconvdata/testdata/CP773: New file.
46540 * iconvdata/testdata/CP773..UTF8: New file.
46541 * iconvdata/testdata/CP774: New file.
46542 * iconvdata/testdata/CP774..UTF8: New file.
46544 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46546 * iconvdata/gen-8bit-gap.sh: Likewise.
46547 * iconvdata/gen-8bit.sh: Likewise.
46549 * locale/iso-639.def: Add ary entry.
46552 * locale/C-translit.h.in: Add U20A1 transliteration.
46555 * locale/iso-639.def: Add wae entry.
46556 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46559 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46563 * locale/C-translit.h.in: Add entry for U20B9.
46564 Patch by pravin.d.s@gmail.com.
46566 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46569 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46570 ENAMETOOLONG use generic getcwd.
46571 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46572 in rtld. Use *stat64.
46573 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46574 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46575 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46576 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46577 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46578 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46579 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46580 __fstatat64 macros.
46581 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46582 * dirent/rewinddir.c: Add libc_hidden_def.
46583 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46584 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46586 * include/dirent.h (__alloc_dir): Add flags parameter.
46587 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46588 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46590 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46591 from fdopendir if O_CLOEXEC is already set.
46593 2011-03-15 Alan Modra <amodra@gmail.com>
46595 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46596 l_tls_firstbyte_offset non-zero. Save padding offset in
46597 l_tls_firstbyte_offset for later use.
46598 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46599 freeing static tls block.
46601 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46603 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46604 where #ifdef was intended. The intent is to prevent ARG_MAX from
46605 being defined by the kernel headers.
46607 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46610 * resolv/resolv.h: Define RES_NOTLDQUERY.
46611 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46612 no-tld-query and set RES_NOTLDQUERY.
46613 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46614 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46615 modern BIND to search name as TLD unless forbidden.
46617 2011-05-07 Petr Baudis <pasky@suse.cz>
46618 Ulrich Drepper <drepper@gmail.com>
46621 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46622 (is_trusted_path): ...to here.
46623 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46624 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46625 using is_trusted_path_normalize() in setuid scripts.
46627 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46629 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46630 __BEGIN/__END_DECLS.
46632 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46635 NSS_STATUS_NOTFOUND if no record was found.
46637 2011-05-05 Andreas Schwab <schwab@redhat.com>
46639 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46640 (headers-not-in-tirpc): Remove rpc/netdb.h
46641 * resolv/netdb.h: Revert last change.
46643 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46645 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46646 circular dependency between libgcc.a and libc.a.
46648 2011-05-05 Andreas Schwab <schwab@redhat.com>
46650 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46651 * nis/Makefile: Don't install rpcsvc/*.
46652 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46653 instead of <rpc/types.h>.
46654 (MAXHOSTNAMELEN): Define.
46656 2011-05-03 Andreas Schwab <schwab@redhat.com>
46658 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46660 2011-04-28 Maciej Babinski <mbabinski@google.com>
46663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46664 gethostbyname4_r when IPv6 results are possible.
46666 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46669 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46670 _PC_PIPE_BUF handling.
46672 2011-04-30 Bruno Haible <bruno@clisp.org>
46675 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46676 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46678 * inet/getnameinfo.c (getnameinfo): Likewise.
46680 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46682 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46683 to groups setting in database lookup.
46684 * nss/nsswitch.conf: Add initgroups entry.
46686 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46689 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46691 Patch by Eric Blake <eblake@redhat.com>.
46693 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46695 * sunrpc/Makefile (need-export-routines): Add svc_run.
46696 (routines): Remove svc_run.
46697 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46698 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46699 * sunrpc/svc_run.c (svc_run): Likewise.
46700 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46702 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46704 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46705 problem in reallocation in last patch.
46707 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46709 * sunrpc/Makefile: Move inclusion of Rules.
46711 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46713 * nss/nss_files/files-initgroups.c: New file.
46714 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46715 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46716 _nss_files_initgroups_dyn.
46718 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46720 * elf/elf.h (R_ARM_IRELATIVE): Define.
46722 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46724 * po/ru.po: Update from translation team.
46726 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46728 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46731 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46734 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46735 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46736 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46737 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46738 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46740 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46742 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46744 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46745 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46748 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46751 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46753 * stdlib/bug-getcontext.c: New file.
46754 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46756 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46758 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46759 instructions into .machine "z9-109".
46760 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46761 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46763 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46765 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46766 between environment variables and auxiliary vector.
46768 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46770 * Makefile: Add rules to build linkobj/libc.so.
46771 * include/libc-symbols.h: Define libc_hidden_nolink.
46772 * include/rpc/auth.h: Mark functions which are to be hidden.
46773 * include/rpc/auth_des.h: Likewise.
46774 * include/rpc/auth_unix.h: Likewise.
46775 * include/rpc/clnt.h: Likewise.
46776 * include/rpc/des_crypt.h: Likewise.
46777 * include/rpc/key_prot.h: Likewise.
46778 * include/rpc/pmap_clnt.h: Likewise.
46779 * include/rpc/pmap_prot.h: Likewise.
46780 * include/rpc/pmap_rmt.h: Likewise.
46781 * include/rpc/rpc_msg.h: Likewise.
46782 * include/rpc/svc.h: Likewise.
46783 * include/rpc/svc_auth.h: Likewise.
46784 * include/rpc/xdr.h: Likewise.
46785 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46786 * nss/Makefile: Likewise.
46787 * sunrpc/Makefile: Don't install headers. Build library with normal
46788 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46789 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46790 for the compat linking library. Remove use of INTDEF/INTUSE.
46791 * sunrpc/auth_none.c: Likewise.
46792 * sunrpc/auth_unix.c: Likewise.
46793 * sunrpc/authdes_prot.c: Likewise.
46794 * sunrpc/authuxprot.c: Likewise.
46795 * sunrpc/clnt_gen.c: Likewise.
46796 * sunrpc/clnt_perr.c: Likewise.
46797 * sunrpc/clnt_raw.c: Likewise.
46798 * sunrpc/clnt_simp.c: Likewise.
46799 * sunrpc/clnt_tcp.c: Likewise.
46800 * sunrpc/clnt_udp.c: Likewise.
46801 * sunrpc/clnt_unix.c: Likewise.
46802 * sunrpc/des_crypt.c: Likewise.
46803 * sunrpc/des_soft.c: Likewise.
46804 * sunrpc/get_myaddr.c: Likewise.
46805 * sunrpc/key_call.c: Likewise.
46806 * sunrpc/key_prot.c: Likewise.
46807 * sunrpc/netname.c: Likewise.
46808 * sunrpc/pm_getmaps.c: Likewise.
46809 * sunrpc/pm_getport.c: Likewise.
46810 * sunrpc/pmap_clnt.c: Likewise.
46811 * sunrpc/pmap_prot.c: Likewise.
46812 * sunrpc/pmap_prot2.c: Likewise.
46813 * sunrpc/pmap_rmt.c: Likewise.
46814 * sunrpc/publickey.c: Likewise.
46815 * sunrpc/rpc_cmsg.c: Likewise.
46816 * sunrpc/rpc_common.c: Likewise.
46817 * sunrpc/rpc_dtable.c: Likewise.
46818 * sunrpc/rpc_prot.c: Likewise.
46819 * sunrpc/rpc_thread.c: Likewise.
46820 * sunrpc/rtime.c: Likewise.
46821 * sunrpc/svc.c: Likewise.
46822 * sunrpc/svc_auth.c: Likewise.
46823 * sunrpc/svc_authux.c: Likewise.
46824 * sunrpc/svc_raw.c: Likewise.
46825 * sunrpc/svc_run.c: Likewise.
46826 * sunrpc/svc_simple.c: Likewise.
46827 * sunrpc/svc_tcp.c: Likewise.
46828 * sunrpc/svc_udp.c: Likewise.
46829 * sunrpc/svc_unix.c: Likewise.
46830 * sunrpc/svcauth_des.c: Likewise.
46831 * sunrpc/xcrypt.c: Likewise.
46832 * sunrpc/xdr.c: Likewise.
46833 * sunrpc/xdr_array.c: Likewise.
46834 * sunrpc/xdr_float.c: Likewise.
46835 * sunrpc/xdr_intXX_t.c: Likewise.
46836 * sunrpc/xdr_mem.c: Likewise.
46837 * sunrpc/xdr_rec.c: Likewise.
46838 * sunrpc/xdr_ref.c: Likewise.
46839 * sunrpc/xdr_sizeof.c: Likewise.
46840 * sunrpc/xdr_stdio.c: Likewise.
46842 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46845 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46846 * sysdeps/ia64/dl-tls.h: Likewise.
46847 * sysdeps/powerpc/dl-tls.h: Likewise.
46848 * sysdeps/s390/dl-tls.h: Likewise.
46849 * sysdeps/sh/dl-tls.h: Likewise.
46850 * sysdeps/sparc/dl-tls.h: Likewise.
46851 * sysdeps/x86_64/dl-tls.h: Likewise.
46852 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46854 2011-03-14 Andreas Schwab <schwab@redhat.com>
46856 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46857 rpath element also skip the following colon.
46858 (expand_dynamic_string_token): Add is_path parameter and pass
46859 down to DL_DST_REQUIRED and _dl_dst_substitute.
46860 (decompose_rpath): Call expand_dynamic_string_token with
46861 non-zero is_path. Ignore empty rpaths.
46862 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46865 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46870 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46873 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46874 Patch by Filipe David Manana <fdmanana@apache.org>.
46876 2011-04-07 Andreas Schwab <schwab@redhat.com>
46878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46879 Maintain aligned stack.
46880 (CHECK_RSP): Remove unused macro.
46882 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46884 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46885 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46887 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46889 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46891 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46893 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46896 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46897 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46898 * sysdeps/x86_64/memmove.c: New file.
46899 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46900 (memcpy): Renamed to ...
46901 (__new_memcpy): This.
46902 (memcpy): Provide GLIBC_2_14 memcpy.
46903 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46904 (memcpy): Provide GLIBC_2_2_5 memcpy.
46906 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46909 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46911 2011-03-30 Andreas Schwab <schwab@redhat.com>
46913 * misc/syncfs.c: New file.
46914 * misc/Makefile (routines): Add syncfs.
46915 * posix/unistd.h: Declare syncfs.
46916 * sysdeps/unix/syscalls.list: Add syncfs.
46918 2011-04-01 Andreas Schwab <schwab@redhat.com>
46920 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46923 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46927 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46928 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46930 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46932 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46934 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46935 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46936 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46938 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46940 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46941 sync_file_range.c with -fexceptions.
46942 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46943 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46944 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46945 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46946 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46947 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46948 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46949 sync_file_range as cancellation point
46950 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46951 now a wrapper around __call_sync_file_range with cancellation handling.
46952 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46953 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46954 function name to __call_sync_file_range.
46955 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46956 Add call_sync_file_range.
46958 2011-04-01 Andreas Schwab <schwab@redhat.com>
46960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46963 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46965 * iconv/iconv.h: Fix typo in comment.
46966 * io/fcntl.h: Likewise.
46967 * libio/stdio.h: Likewise.
46968 * posix/spawn.h: Likewise.
46969 * posix/unistd.h: Likewise.
46970 * stdlib/stdlib.h: Likewise.
46971 * time/time.h: Likewise.
46972 * wcsmbs/wchar.h: Likewise.
46974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46975 open_by_handle): Add.
46976 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46977 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46978 Augment a few comments.
46979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46981 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46984 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46987 * io/fcntl.h (AT_EMPTY_PATH): Define.
46989 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46991 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46992 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46993 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46995 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46996 * Versions.def: Add GLIBC_2.14.
46997 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47000 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47002 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47004 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47006 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47009 * string/test-strncmp.c (do_page_test): New function.
47010 (check2): Likewise.
47011 (test_main): Call check2.
47012 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47014 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47017 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47018 Handle cache information in CPU leaf 4.
47019 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47021 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47024 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47025 character representation.
47026 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47028 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47030 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47031 END(__isnan) to END(__isnanf) to match function entry point/label
47032 EALIGN(__isnanf,...).
47034 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47036 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47038 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47041 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47042 copy from the symbol referenced in the relocation to initialize the
47044 Patch by Piotr Bury <pbury@goahead.com>.
47045 * elf/Makefile: Add rules to build and tst-unique3.
47046 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47047 * elf/tst-unique3.cc: New file.
47048 * elf/tst-unique3.h: New file.
47049 * elf/tst-unique3lib.cc: New file.
47050 * elf/tst-unique3lib2.cc: New file.
47052 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47054 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47056 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47057 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47060 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47062 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47063 to-be-loaded object along a path to loader is ld.so.
47065 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47066 Ulrich Drepper <drepper@gmail.com>
47068 * sysdeps/x86_64/memset.S: After aligning destination, code
47069 branches to different locations depending on the value of
47070 misalignment, when multiarch is enabled. Fix this.
47072 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47074 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47075 Set _x86_64_preferred_memory_instruction for AMD processsors.
47076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47077 Set bit_Prefer_SSE_for_memop for AMD processors.
47079 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47081 * libio/fmemopen.c (fmemopen): Optimize a bit.
47083 2011-03-03 Andreas Schwab <schwab@redhat.com>
47085 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47087 2011-03-03 Roland McGrath <roland@redhat.com>
47089 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47091 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47093 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47094 __bzero_ultra1 instead of __memset_ultra1.
47096 2011-02-23 Andreas Schwab <schwab@redhat.com>
47097 Ulrich Drepper <drepper@gmail.com>
47100 * include/link.h (struct link_map): Add l_orig_initfini.
47101 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47102 returning unsuccessfully.
47103 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47104 close of a file loaded at startup, restore the original l_initfini
47106 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47107 list, store the pointer.
47108 * elf/Makefile ($(objpfx)noload-mem): New rule.
47109 (noload-ENV): Define.
47110 (tests): Add $(objpfx)noload-mem.
47111 * elf/noload.c: Include <memcheck.h>.
47112 (main): Call mtrace. Close all opened handles.
47114 2011-02-17 Andreas Schwab <schwab@redhat.com>
47117 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47118 dependencies are missing.
47120 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47122 Fix __if_freereq crash: Unlike the generic version which uses free,
47124 * sysdeps/mach/hurd/ifreq.h: New file.
47126 2011-01-27 Petr Baudis <pasky@suse.cz>
47127 Ulrich Drepper <drepper@gmail.com>
47130 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47131 to extend_alloca().
47132 * stdio-common/bug23.c: New file.
47133 * stdio-common/Makefile (tests): Add bug23.
47135 2010-09-28 Andreas Schwab <schwab@redhat.com>
47136 Ulrich Drepper <drepper@gmail.com>
47139 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47140 before performing relro protection. At old place add assertion
47141 to make sure nothing changed.
47143 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47144 Glauber de Oliveira Costa <glommer@gmail.com>
47146 * elf/elf.h: Add new ARM TLS relocs.
47148 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47151 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47153 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47155 * sysdeps/wordsize-64/tst-writev.c: New file.
47157 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47159 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47160 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47161 insns in _dl_start to prevent a TOC reference before relocs are
47164 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47167 * Makeconfig: Remove RANLIB definition.
47168 * Makerules: Don't use RANLIB.
47169 * aclocal.m4: Remove ranlib test.
47170 * configure.in: No need to check for ranlib.
47171 * elf/rtld-Rules: Don't use RANLIB.
47173 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47175 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47177 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47178 inclusion protection macro.
47180 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47181 SIGRTMIN and SIGRTMAX and print information in that case only when
47182 SIGRTMIN is defined.
47184 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47186 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47187 arginfo fn returning -1.
47189 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47190 and thousands string is zero terminated.
47192 2011-02-03 Andreas Schwab <schwab@redhat.com>
47194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47195 sysdeps/unix/sysv/linux/bits/socket.h.
47197 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47199 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47200 (__CPU_COUNT): Remove old macros.
47201 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47202 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47203 (__CPU_ALLOC, __CPU_FREE): Add macros.
47204 (__sched_cpualloc, __sched_cpufree): Add declarations.
47206 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47208 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47209 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47210 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47211 (readdhstai): Return value of addhstaiX call.
47212 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47213 (addgrbyX): Return value returned by cache_addgr.
47214 (readdgrbyname): Return value returned by addgrbyX.
47215 (readdgrbygid): Likewise.
47216 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47217 (addpwbyX): Return value returned by cache_addpw.
47218 (readdpwbyname): Return value returned by addhstbyX.
47219 (readdpwbyuid): Likewise.
47220 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47221 (addservbyX): Return value returned by cache_addserv.
47222 (readdservbyname): Return value returned by addservbyX:
47223 (readdservbyport): Likewise.
47224 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47225 (addhstbyX): Return value returned by cache_addhst.
47226 (readdhstbyname): Return value returned by addhstbyX.
47227 (readdhstbyaddr): Likewise.
47228 (readdhstbynamev6): Likewise.
47229 (readdhstbyaddrv6): Likewise.
47230 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47231 (readdinitgroups): Return value returned by addinitgroupsX.
47232 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47233 (prune_cache): Keep track of timeout value of re-added entries.
47234 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47235 * nscd/nscd.h: Adjust prototypes of readd* functions.
47237 2011-02-04 Roland McGrath <roland@redhat.com>
47239 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47240 (nis_stats): Likewise.
47241 * nis/nis_modify.c (nis_modify): Likewise.
47242 * nis/nis_remove.c (nis_remove): Likewise.
47243 * nis/nis_add.c (nis_add): Likewise.
47245 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47247 * posix/fnmatch_loop.c: Add some consts.
47249 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47251 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47254 * config.make.in (config-cflags-novzeroupper): Define.
47255 * configure.in: Substitute libc_cv_cc_novzeroupper.
47256 * elf/Makefile (AVX-CFLAGS): Define.
47257 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47258 (CFLAGS-tst-auditmod4a.c): Likewise.
47259 (CFLAGS-tst-auditmod4b.c): Likewise.
47260 (CFLAGS-tst-auditmod6b.c): Likewise.
47261 (CFLAGS-tst-auditmod6c.c): Likewise.
47262 (CFLAGS-tst-auditmod7b.c): Likewise.
47263 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47265 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47267 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47268 function to the callback.
47269 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47271 2011-02-02 Andreas Schwab <schwab@redhat.com>
47273 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47276 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47279 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47281 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47283 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47286 * elf/Makefile: Add rules to build and run new test.
47287 * elf/tst-initorder.c: New file.
47288 * elf/tst-initorder.exp: New file.
47289 * elf/tst-initordera1.c: New file.
47290 * elf/tst-initordera2.c: New file.
47291 * elf/tst-initordera3.c: New file.
47292 * elf/tst-initordera4.c: New file.
47293 * elf/tst-initorderb1.c: New file.
47294 * elf/tst-initorderb2.c: New file.
47295 * elf/tst-order-a1.c: New file.
47296 * elf/tst-order-a2.c: New file.
47297 * elf/tst-order-a3.c: New file.
47298 * elf/tst-order-a4.c: New file.
47299 * elf/tst-order-b1.c: New file.
47300 * elf/tst-order-b2.c: New file.
47301 * elf/tst-order-main.c: New file.
47302 New test case by George Gensure <werkt0@gmail.com>.
47304 2010-10-01 Andreas Schwab <schwab@redhat.com>
47306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47307 decoding ACE if AI_CANONIDN.
47309 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47311 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47313 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47315 * version.h (RELEASE): Bump for 2.13 release.
47316 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47318 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47320 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47322 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47323 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47324 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47325 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47327 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47329 * posix/getconf.c: Update copyright year.
47330 * catgets/gencat.c: Likewise.
47331 * csu/version.c: Likewise.
47332 * debug/catchsegv.sh: Likewise.
47333 * debug/xtrace.sh: Likewise.
47334 * elf/ldconfig.c: Likewise.
47335 * elf/ldd.bash.in: Likewise.
47336 * elf/sprof.c (print_version): Likewise.
47337 * iconv/iconv_prog.c: Likewise.
47338 * iconv/iconvconfig.c: Likewise.
47339 * locale/programs/locale.c: Likewise.
47340 * locale/programs/localedef.c: Likewise.
47341 * malloc/memusage.sh: Likewise.
47342 * malloc/mtrace.pl: Likewise.
47343 * nscd/nscd.c (print_version): Likewise.
47344 * nss/getent.c: Likewise.
47346 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47347 PF_CAIF, and PF_ALG.
47348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47350 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47352 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47353 (modules-names): Use them.
47354 (ifunc-test-modules, ifunc-pie-tests): Define.
47355 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47356 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47357 (test-extras): Likewise.
47358 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47359 $(compile-command.c).
47360 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47361 (all-built-dso): Define.
47362 (check-textrel.out, check-execstack.out): Depend on it.
47364 * configure.in: Don't override --enable-multi-arch.
47366 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47369 * nscd/hstcache.c (tryagain): Define.
47370 (cache_addhst): Return tryagain not notfound for temporary errors.
47371 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47374 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47377 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47378 to make the syscall.
47379 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47382 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47383 and fall back to matching as normal character if the string ends before
47384 the matching ']' is found. This is what POSIX requires.
47385 * posix/testfnm.c: Adjust test result.
47386 * posix/globtest.sh: Adjust test result. Add new test.
47387 * posix/tst-fnmatch.input: Likewise.
47388 * posix/tst-fnmatch2.c: Add new test.
47390 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47392 * elf/Makefile (check-execstack): Revert last change. Depend on
47394 (check-execstack.h): New target.
47395 (generated): Add check-execstack.h.
47396 * elf/check-execstack.c: Include "check-execstack.h".
47397 (main): Revert last change.
47398 (handle_file): Return zero if GNU_STACK is absent and
47399 DEFAULT_STACK_PERMS doesn't include PF_X.
47401 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47403 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47404 in child fails because the descriptor is already closed.
47405 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47406 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47407 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47410 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47414 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47415 temporary buffer used to handle multi lookups locally.
47416 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47418 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47420 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47423 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47425 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47426 alignment for SSE2.
47428 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47431 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47432 characters. When rounding increased number of integer digits recompute
47434 * stdio-common/tst-grouping.c: New file.
47435 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47437 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47439 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47440 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47442 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47444 * bits/select.h: Likewise.
47446 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47448 * po/ja.po: Update from translation team.
47450 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47453 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47454 implementation just like for lxstat, fxstatat, et al.
47456 2010-12-27 Jim Meyering <meyering@redhat.com>
47459 * posix/regexec.c (build_trtable): Return failure indication upon
47460 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47462 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47465 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47466 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47467 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47468 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47471 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47474 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47475 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47477 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47479 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47480 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47481 script has SORT_BY_INIT_PRIORITY.
47482 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47483 NO_CTORS_DTORS_SECTIONS is defined.
47484 * elf/soinit.c: Likewise.
47485 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47486 NO_CTORS_DTORS_SECTIONS is defined.
47487 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47488 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47489 * sysdeps/sh/init-first.c: Likewise.
47490 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47492 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47494 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47495 always use the slow path.
47497 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47499 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47500 similar rule which adds the sysdep directories to the header search in
47501 order to pick up the correct platform stackinfo.h.
47502 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47503 perform test if it is, otherwise return successfully without testing.
47504 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47505 DEFAULT_STACK_PERMS define in stackinfo.h.
47506 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47507 defined in stackinfo.h.
47508 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47509 DEFAULT_STACK_PERMS defined in stackinfo.h.
47510 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47511 * sysdeps/ia64/stackinfo.h: Likewise.
47512 * sysdeps/s390/stackinfo.h: Likewise.
47513 * sysdeps/sh/stackinfo.h: Likewise.
47514 * sysdeps/sparc/stackinfo.h: Likewise.
47515 * sysdeps/x86_64/stackinfo.h: Likewise.
47516 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47517 PF_X for powerpc64. Retain PF_X for powerpc32.
47519 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47521 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47523 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47524 GETDENTS_64BIT_ALIGNED.
47526 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47528 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47530 2010-12-10 Andreas Schwab <schwab@redhat.com>
47532 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47535 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47536 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47538 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47539 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47541 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47544 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47547 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47549 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47551 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47553 * po/it.po: Update from translation team.
47555 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47560 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47562 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47564 2010-11-24 Andreas Schwab <schwab@redhat.com>
47566 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47568 (gaih_getanswer_slice): Likewise.
47570 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47574 2010-05-31 Petr Baudis <pasky@suse.cz>
47577 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47578 silently even in the chroot mode.
47580 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47582 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47583 last patch a bit. Pretty printing
47585 2010-05-31 Petr Baudis <pasky@suse.cz>
47588 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47589 initialization of skip_initgroups_dyn.
47591 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47593 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47594 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47596 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47598 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47600 2010-11-11 Andreas Schwab <schwab@redhat.com>
47602 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47603 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47604 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47605 ($(objpfx)tst-fnmatch-mem): New rule.
47606 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47607 * posix/tst-fnmatch.c (main): Call mtrace.
47609 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47612 Support Intel processor model 6 and model 0x2c.
47614 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47616 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47619 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47622 * string/test-strncasecmp.c (check_result): New function.
47623 (do_one_test): Use it.
47624 (check1): New function.
47625 (test_main): Use it.
47626 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47627 Support strcasecmp and strncasecmp.
47629 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47632 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47633 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47635 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47637 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47641 * sysdeps/x86_64/multiarch/bzero.S: New file.
47642 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47643 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47644 * sysdeps/x86_64/multiarch/memset.S: New file.
47645 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47647 Set bit_Prefer_SSE_for_memop for Intel processors.
47648 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47650 (index_Prefer_SSE_for_memop): Define.
47651 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47653 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47655 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47656 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47658 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47661 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47662 (__x86_64_raw_data_cache_size_half): Likewise.
47663 (__x86_64_raw_shared_cache_size): Likewise.
47664 (__x86_64_raw_shared_cache_size_half): Likewise.
47666 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47667 (__x86_64_raw_data_cache_size_half): Likewise.
47668 (__x86_64_raw_shared_cache_size): Likewise.
47669 (__x86_64_raw_shared_cache_size_half): Likewise.
47670 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47671 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47672 and __x86_64_raw_shared_cache_size_half. Round
47673 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47674 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47675 to multiple of 256 bytes.
47677 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47680 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47681 of inacessible symlinks. Verify result of symlink before returning it.
47682 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47683 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47685 2010-10-28 Erich Ritz <erichritz@gmail.com>
47687 * math/math.h (isinf): Fix typo in comment.
47689 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47691 * po/da.po: Update from translation team.
47693 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47695 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47696 is added to the list.
47698 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47699 Ulrich Drepper <drepper@gmail.com>
47701 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47702 the global list here. Move code to...
47703 (_dl_add_to_namespace_list): ...here. New function.
47704 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47705 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47706 * elf/dl-load.c (lose): Don't remove the element from the list.
47707 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47708 (_dl_map_object): Likewise.
47710 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47713 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47714 into all bytes of SSE register.
47715 Patch by Richard Li <richardpku@gmail.com>.
47717 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47720 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47723 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47725 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47726 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47727 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47728 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47733 2010-10-22 Andreas Schwab <schwab@redhat.com>
47735 * include/dlfcn.h (__RTLD_SECURE): Define.
47736 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47737 mode & __RTLD_SECURE instead.
47738 (open_path): Rename preloaded parameter to secure.
47739 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47740 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47741 * elf/dl-deps.c (openaux): Likewise.
47742 * elf/rtld.c (struct map_args): Remove is_preloaded.
47743 (map_doit): Don't use it.
47744 (dl_main): Likewise.
47745 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47746 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47748 2010-09-09 Andreas Schwab <schwab@redhat.com>
47750 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47751 (sysd-rules-targets): Remove duplicates.
47752 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47753 rtld-%.$o dependency.
47755 2010-10-18 Andreas Schwab <schwab@redhat.com>
47757 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47758 _dl_map_object do it.
47760 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47762 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47763 fast fma builtins, define the macros in the C99 standard.
47764 (FP_FAST_FMAF): Likewise.
47765 (FP_FAST_FMAL): Likewise.
47766 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47768 * bits/mathdef.h: Update copyright year.
47769 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47771 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47773 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47774 builtins, define the macros in the C99 standard.
47775 (FP_FAST_FMAF): Likewise.
47776 (FP_FAST_FMAL): Likewise.
47777 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47779 (FP_FAST_FMAF): Likewise.
47781 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47784 * math/libm-test.inc (fma_test): Some new testcases.
47785 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47786 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47787 y and infinite z. Do multiplication by C already in long double.
47788 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47790 y and infinite z. Do bitwise or of inexact bit into u.d.
47791 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47792 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47793 * sysdeps/i386/fpu/s_fma.S: Removed.
47794 * sysdeps/i386/fpu/s_fmal.S: Removed.
47796 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47799 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47801 computation is not scheduled after fetestexcept. Fix value
47802 of minimum denormal long double.
47804 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47807 * math/libm-test.inc (fma_test): Add some more tests.
47808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47811 2010-10-15 Andreas Schwab <schwab@redhat.com>
47813 * scripts/data/localplt-s390-linux-gnu.data: New file.
47814 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47816 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47819 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47820 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47822 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47824 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47826 if one of x and y is very large and the other is subnormal.
47827 * sysdeps/s390/fpu/s_fmaf.c: New file.
47828 * sysdeps/s390/fpu/s_fma.c: New file.
47829 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47830 * sysdeps/powerpc/fpu/s_fma.S: New file.
47831 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47832 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47833 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47835 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47838 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47840 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47841 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47842 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47843 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47844 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47845 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47846 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47848 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47851 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47852 * posix/bug-regex31.input: Add test case.
47854 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47856 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47857 * posix/bug-regex31.input: New file.
47860 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47861 (parse_sub_exp): Fix last change, use postorder.
47863 * posix/bug-regex31.c: New file.
47864 * posix/Makefile: Add rules to build and run bug-regex31.
47866 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47869 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47872 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47873 to have entries in sys_siglist.
47876 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47879 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47882 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47883 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47884 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47885 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47886 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47887 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47888 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47889 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47890 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47891 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47892 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47893 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47894 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47895 * math/ftestexcept.c (fetestexcept): Likewise.
47896 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47897 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47898 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47899 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47900 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47901 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47902 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47904 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47907 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47910 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47912 * string/bug-strstr1.c: New file.
47913 * string/Makefile: Add rules to build and run bug-strstr1.
47915 2010-10-05 Eric Blake <eblake@redhat.com>
47918 * string/str-two-way.h (two_way_long_needle): Always clear memory
47919 when skipping input due to the shift table.
47921 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47924 * malloc/mcheck.c: Handle large requests.
47927 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47928 for strncmp and strncasecmp.
47929 * string/stratcliff.c: Add tests for strcmp and strncmp.
47930 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47932 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47934 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47937 2010-09-30 Andreas Jaeger <aj@suse.de>
47939 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47940 (CGROUP_SUPER_MAGIC): Define.
47941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47942 Handle btrfs and cgroup file systems.
47943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47946 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47948 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47949 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47951 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47954 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47955 trying to locate the ELF header.
47957 2010-09-27 Andreas Schwab <schwab@redhat.com>
47960 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47961 Mask out sign-bit copies when constructing f_fsid.
47963 2010-09-24 Petr Baudis <pasky@suse.cz>
47965 * debug/stack_chk_fail_local.c: Add missing licence exception.
47966 * debug/warning-nop.c: Likewise.
47968 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47970 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47971 implementing getdents64 using getdents syscall, set d_type if
47972 __ASSUME_GETDENTS32_D_TYPE.
47974 2010-09-16 Andreas Schwab <schwab@redhat.com>
47976 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47977 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47979 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47982 * posix/unistd.h: Undo change of feature selection for ftruncate from
47985 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47987 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47990 2010-09-20 Andreas Schwab <schwab@redhat.com>
47992 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47994 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47996 2010-09-14 Andreas Schwab <schwab@redhat.com>
47998 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47999 variables after CHECK_SP call.
48000 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48002 2010-09-13 Andreas Schwab <schwab@redhat.com>
48003 Ulrich Drepper <drepper@redhat.com>
48005 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48006 re-relocationg ld.so.
48007 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48008 _dl_init_paths call.
48009 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48012 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48014 * resolv/res_init.c (__res_vinit): Count the default server we added.
48016 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48017 Ulrich Drepper <drepper@redhat.com>
48020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48021 (____longjmp_chk): Use %ebx for saving value across system call.
48024 2010-09-06 Andreas Schwab <schwab@redhat.com>
48026 * manual/Makefile: Don't mix pattern rules with normal rules.
48028 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48030 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48032 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48033 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48034 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48035 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48039 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48042 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48043 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48045 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48047 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48048 * sysdeps/x86_64/addmul_1.S: Likewise.
48049 * sysdeps/x86_64/lshift.S: Likewise.
48050 * sysdeps/x86_64/mul_1.S: Likewise.
48051 * sysdeps/x86_64/rshift.S: Likewise.
48052 * sysdeps/x86_64/sub_n.S: Likewise.
48053 * sysdeps/x86_64/submul_1.S: Likewise.
48055 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48057 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48058 Define __sched_param instead of SCHED_* and sched_param when
48059 <bits/sched.h> is included with __need_schedparam defined.
48060 * bits/sched.h [__need_schedparam]
48061 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48062 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48063 (__defined_schedparam): Define to 1.
48064 (__sched_param): New structure, identical to sched_param.
48065 (__need_schedparam): Undefine.
48067 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48069 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48070 (epoll_create1): Declare.
48072 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48074 2010-08-31 Andreas Schwab <schwab@redhat.com>
48077 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48078 shifting retval into place.
48080 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48082 * nis/rpcsvc/nis.h: Update copyright notice.
48083 * nis/rpcsvc/nis.x: Likewise.
48084 * nis/rpcsvc/nis_callback.h: Likewise.
48085 * nis/rpcsvc/nis_callback.x: Likewise.
48086 * nis/rpcsvc/nis_object.x: Likewise.
48087 * nis/rpcsvc/nis_tags.h: Likewise.
48088 * nis/rpcsvc/yp.h: Likewise.
48089 * nis/rpcsvc/yp.x: Likewise.
48090 * nis/rpcsvc/ypupd.h: Likewise.
48091 * nis/yp_xdr.c: Likewise.
48092 * nis/ypupdate_xdr.c: Likewise.
48094 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48095 mainly the body of pmap_getport. Add parameters to specify timeouts.
48096 (pmap_getport): Use __libc_rpc_getport.
48097 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48098 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48099 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48101 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48106 2010-08-27 Roland McGrath <roland@redhat.com>
48108 * sysdeps/i386/i686/multiarch/Makefile
48109 (CFLAGS-varshift.c): New variable.
48111 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48113 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48114 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48118 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48120 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48122 * sysdeps/x86_64/strlen.S: Unroll the loop.
48123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48124 strlen-sse2 strlen-sse2-bsf.
48125 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48126 __strlen_no_bsf if bit_Slow_BSF is set.
48127 (__strlen_sse42): Removed.
48128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48129 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48131 2010-08-25 Roland McGrath <roland@redhat.com>
48133 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48134 * sysdeps/x86_64/multiarch/varshift.c: New file.
48135 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48136 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48137 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48138 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48140 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48143 strlen-sse2 strlen-sse2-bsf.
48144 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48145 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48146 (__strlen_sse2): Removed.
48147 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48148 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48150 bit_Slow_BSF for Atom.
48151 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48152 (index_Slow_BSF): Define.
48153 (HAS_SLOW_BSF): Define.
48155 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48158 * resolv/res_init.c (__res_vinit): When no server address at all
48159 is given default to loopback.
48161 2010-08-24 Roland McGrath <roland@redhat.com>
48163 * configure.in: Remove config-name.h generation.
48164 * configure: Regenerated.
48165 * config-name.in: File removed.
48166 * scripts/config-uname.sh: New file.
48167 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48168 ($(objdir)config-name.h): New target.
48170 * sunrpc/rpc_parse.h: Avoid nested comment.
48172 2010-08-24 Richard Henderson <rth@redhat.com>
48173 Ulrich Drepper <drepper@redhat.com>
48174 H.J. Lu <hongjiu.lu@intel.com>
48176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48178 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48179 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48180 _mm_alignr_epi8 with _mm_loadu_si128.
48181 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48182 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48183 (__m128i_shift_right): Removed.
48184 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48185 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48186 * sysdeps/x86_64/multiarch/varshift.h: New file.
48187 * sysdeps/x86_64/multiarch/varshift.S: New file.
48189 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48191 * configure.in: Move assembler checks to before sysdep dir checking.
48193 2010-08-20 Petr Baudis <pasky@suse.cz>
48195 * LICENSES: Sync the sunrpc license.
48197 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48199 * sunrpc/auth_des.c: Update copyright notice once again.
48200 * sunrpc/auth_none.c: Likewise.
48201 * sunrpc/auth_unix.c: Likewise.
48202 * sunrpc/authdes_prot.c: Likewise.
48203 * sunrpc/authuxprot.c: Likewise.
48204 * sunrpc/bindrsvprt.c: Likewise.
48205 * sunrpc/clnt_gen.c: Likewise.
48206 * sunrpc/clnt_perr.c: Likewise.
48207 * sunrpc/clnt_raw.c: Likewise.
48208 * sunrpc/clnt_simp.c: Likewise.
48209 * sunrpc/clnt_tcp.c: Likewise.
48210 * sunrpc/clnt_udp.c: Likewise.
48211 * sunrpc/clnt_unix.c: Likewise.
48212 * sunrpc/des_crypt.c: Likewise.
48213 * sunrpc/des_soft.c: Likewise.
48214 * sunrpc/get_myaddr.c: Likewise.
48215 * sunrpc/getrpcport.c: Likewise.
48216 * sunrpc/key_call.c: Likewise.
48217 * sunrpc/key_prot.c: Likewise.
48218 * sunrpc/openchild.c: Likewise.
48219 * sunrpc/pm_getmaps.c: Likewise.
48220 * sunrpc/pm_getport.c: Likewise.
48221 * sunrpc/pmap_clnt.c: Likewise.
48222 * sunrpc/pmap_prot.c: Likewise.
48223 * sunrpc/pmap_prot2.c: Likewise.
48224 * sunrpc/pmap_rmt.c: Likewise.
48225 * sunrpc/rpc/auth.h: Likewise.
48226 * sunrpc/rpc/auth_unix.h: Likewise.
48227 * sunrpc/rpc/clnt.h: Likewise.
48228 * sunrpc/rpc/des_crypt.h: Likewise.
48229 * sunrpc/rpc/key_prot.h: Likewise.
48230 * sunrpc/rpc/netdb.h: Likewise.
48231 * sunrpc/rpc/pmap_clnt.h: Likewise.
48232 * sunrpc/rpc/pmap_prot.h: Likewise.
48233 * sunrpc/rpc/pmap_rmt.h: Likewise.
48234 * sunrpc/rpc/rpc.h: Likewise.
48235 * sunrpc/rpc/rpc_des.h: Likewise.
48236 * sunrpc/rpc/rpc_msg.h: Likewise.
48237 * sunrpc/rpc/svc.h: Likewise.
48238 * sunrpc/rpc/svc_auth.h: Likewise.
48239 * sunrpc/rpc/types.h: Likewise.
48240 * sunrpc/rpc/xdr.h: Likewise.
48241 * sunrpc/rpc_clntout.c: Likewise.
48242 * sunrpc/rpc_cmsg.c: Likewise.
48243 * sunrpc/rpc_common.c: Likewise.
48244 * sunrpc/rpc_cout.c: Likewise.
48245 * sunrpc/rpc_dtable.c: Likewise.
48246 * sunrpc/rpc_hout.c: Likewise.
48247 * sunrpc/rpc_main.c: Likewise.
48248 * sunrpc/rpc_parse.c: Likewise.
48249 * sunrpc/rpc_parse.h: Likewise.
48250 * sunrpc/rpc_prot.c: Likewise.
48251 * sunrpc/rpc_sample.c: Likewise.
48252 * sunrpc/rpc_scan.c: Likewise.
48253 * sunrpc/rpc_scan.h: Likewise.
48254 * sunrpc/rpc_svcout.c: Likewise.
48255 * sunrpc/rpc_tblout.c: Likewise.
48256 * sunrpc/rpc_util.c: Likewise.
48257 * sunrpc/rpc_util.h: Likewise.
48258 * sunrpc/rpcinfo.c: Likewise.
48259 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48260 * sunrpc/rpcsvc/key_prot.x: Likewise.
48261 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48262 * sunrpc/rpcsvc/mount.x: Likewise.
48263 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48264 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48265 * sunrpc/rpcsvc/rex.x: Likewise.
48266 * sunrpc/rpcsvc/rstat.x: Likewise.
48267 * sunrpc/rpcsvc/rusers.x: Likewise.
48268 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48269 * sunrpc/rpcsvc/spray.x: Likewise.
48270 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48271 * sunrpc/rtime.c: Likewise.
48272 * sunrpc/svc.c: Likewise.
48273 * sunrpc/svc_auth.c: Likewise.
48274 * sunrpc/svc_authux.c: Likewise.
48275 * sunrpc/svc_raw.c: Likewise.
48276 * sunrpc/svc_run.c: Likewise.
48277 * sunrpc/svc_simple.c: Likewise.
48278 * sunrpc/svc_tcp.c: Likewise.
48279 * sunrpc/svc_udp.c: Likewise.
48280 * sunrpc/svc_unix.c: Likewise.
48281 * sunrpc/svcauth_des.c: Likewise.
48282 * sunrpc/xcrypt.c: Likewise.
48283 * sunrpc/xdr.c: Likewise.
48284 * sunrpc/xdr_array.c: Likewise.
48285 * sunrpc/xdr_float.c: Likewise.
48286 * sunrpc/xdr_mem.c: Likewise.
48287 * sunrpc/xdr_rec.c: Likewise.
48288 * sunrpc/xdr_ref.c: Likewise.
48289 * sunrpc/xdr_sizeof.c: Likewise.
48290 * sunrpc/xdr_stdio.c: Likewise.
48292 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48295 2010-08-19 Andreas Schwab <schwab@redhat.com>
48297 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48299 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48301 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48303 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48304 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48305 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48306 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48307 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48308 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48310 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48311 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48312 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48313 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48314 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48316 2010-07-26 Anton Blanchard <anton@samba.org>
48318 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48319 * malloc/arena.c (heap_trim): Likewise.
48321 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48323 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48326 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48328 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48330 * sysdeps/i386/elf/Makefile: New file.
48332 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48334 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48335 from fanotify_init.
48336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48337 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48339 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48341 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48343 * sysdeps/multiarch/strcmp.S: Likewise.
48345 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48347 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48348 strncase_l-nonascii.
48349 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48350 Add strncase_l-ssse3.
48351 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48352 * sysdeps/x86_64/strcmp.S: Likewise.
48353 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48354 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48355 * sysdeps/x86_64/strncase.S: New file.
48356 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48357 * sysdeps/x86_64/strncase_l.S: New file.
48358 * string/Makefile (strop-tests): Add strncasecmp.
48359 * string/test-strncasecmp.c: New file.
48361 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48364 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48365 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48367 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48369 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48371 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48373 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48374 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48375 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48377 2010-05-01 Alan Modra <amodra@gmail.com>
48379 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48380 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48381 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48382 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48383 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48384 tidying. Don't tail-call __sigjmp_save for static lib.
48385 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48387 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48388 (CALL_MCOUNT): Add eh info, and nop after bl.
48389 (TAIL_CALL_SYSCALL_ERROR): New macro.
48390 (PSEUDO_RET): Use it.
48391 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48392 Correct save location of integer regs and cr.
48393 (_dl_profile_resolve): Correct cr save location. Delete nops
48394 after bl when SHARED. Reduce cfi size a little by better
48395 placement of cfi directives.
48396 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48397 make a stack frame. Instead use parm save area as a temp.
48398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48399 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48401 Don't make a stack frame for parent, use parm save area.
48402 Increase child stack frame to 112 bytes. Don't save unused reg,
48403 and adjust reg usage. Set up cfi on error recovery and
48404 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48406 (__makecontext): Add dummy nop after jump to exit.
48407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48408 Use correct parm save area and cr save, reduce stack frame.
48409 Correct cfi for possible PSEUDO_RET frame setup.
48410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48411 Branch to local label emitted by PSEUDO_RET rather than
48414 2010-08-12 Andreas Schwab <schwab@redhat.com>
48417 * locale/programs/locale.c (print_assignment): New function.
48418 (show_locale_vars): Use it.
48420 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48422 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48424 (struct statfs64): Likewise.
48425 (_STATFS_F_FLAGS): Define.
48426 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48427 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48428 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48429 (ST_VALID): Define locally.
48430 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48431 __statvfs_getflags, use the provided value.
48432 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48433 __ASSUME_STATFS_F_FLAGS.
48435 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48437 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48438 Add sys/fanotify.h.
48439 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48440 fanotify_mask for GLIBC_2.13.
48441 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48442 fanotify_init and fanotify_mark.
48443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48444 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48446 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48448 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48449 prlimit64 for GLIBC_2.13.
48450 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48455 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48456 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48457 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48460 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48463 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48464 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48466 * nss/Makefile: Add rules to build and run tst-nss-test1.
48467 * shlib-versions: Add entry for libnss_test1.
48468 * nss/nss_test1.c: New file.
48469 * nss/tst-nss-test1.c: New file.
48471 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48472 (__nss_configure_lookup): Set appropriate entry in
48473 __nss_configure_lookup to true.
48474 * nss/nsswitch.h: Define enum with indeces of databases in
48475 databases and __nss_database_custom arrays. Declare
48476 __nss_database_custom.
48477 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48478 to avoid using nscd when custom rules are installed.
48479 * nss/getXXbyYY_r.c: Likewise.
48480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48482 * nss/nss_files/files-parse.c: Whitespace fixes.
48484 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48487 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48488 * posix/fnmatch_loop.c: Likewise.
48490 2010-07-17 Andi Kleen <ak@linux.intel.com>
48492 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48493 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48494 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48495 * Versions.def [GLIBC_2.13]: Add.
48497 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48499 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48500 Also fail if tpwd after pwuid call is NULL.
48502 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48504 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48505 when converting to ms.
48507 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48509 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48510 EOPNOTSUPP errors with ENOTTY.
48511 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48512 EOPNOTSUPP errors with ENOTTY.
48514 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48516 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48517 Add strcasecmp_l-ssse3.
48518 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48520 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48521 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48522 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48524 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48526 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48528 * string/Makefile (strop-tests): Add strcasecmp.
48529 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48530 strcasecmp_l-nonascii.
48531 (gen-as-const-headers): Add locale-defines.sym.
48532 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48533 * sysdeps/x86_64/strcasecmp.S: New file.
48534 * sysdeps/x86_64/strcasecmp_l.S: New file.
48535 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48536 * sysdeps/x86_64/locale-defines.sym: New file.
48537 * string/test-strcasecmp.c: New file.
48539 * string/test-strcasestr.c: Test both ends of the range of characters.
48540 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48542 2010-07-29 Roland McGrath <roland@redhat.com>
48545 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48547 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48549 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48552 2010-07-27 Andreas Schwab <schwab@redhat.com>
48554 * manual/memory.texi (Malloc Tunable Parameters): Document
48557 2010-07-26 Roland McGrath <roland@redhat.com>
48560 * configure.in (-fgnu89-inline check): Set and substitute
48561 gnu89_inline, not libc_cv_gnu89_inline.
48562 * configure: Regenerated.
48563 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48565 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48567 * string/test-strnlen.c: New file.
48568 * string/Makefile (strop-tests): Add strnlen.
48569 * string/tester.c (test_strnlen): Add a few more test cases.
48570 * string/tst-strlen.c: Better error reporting.
48572 * sysdeps/x86_64/strnlen.S: New file.
48574 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48576 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48577 lower-latency instructions.
48579 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48581 * string/test-strcasestr.c: New file.
48582 * string/test-strstr.c: New file.
48583 * string/Makefile (strop-tests): Add strstr and strcasestr.
48584 * string/str-two-way.h: Don't undefine MAX.
48585 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48587 2010-07-21 Andreas Schwab <schwab@redhat.com>
48589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48590 strcasestr-nonascii.
48591 (CFLAGS-strcasestr-nonascii.c): Define.
48592 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48593 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48594 Remove unused attribute.
48596 2010-07-20 Roland McGrath <roland@redhat.com>
48598 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48599 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48600 ld.so.cache was broken. With it, there is no way to disable dsocaps
48601 like LD_HWCAP_MASK can disable hwcaps.
48603 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48605 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48607 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48609 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48610 call in strcasestr.
48611 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48612 __strcasestr_sse42_nonascii.
48613 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48614 strcasestr-nonascii.c.
48615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48617 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48619 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48620 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48621 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48622 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48624 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48626 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48629 2010-07-06 Andreas Schwab <schwab@redhat.com>
48632 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48635 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48637 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48638 _PC_PIPE_BUF using F_GETPIPE_SZ.
48640 2010-07-05 Roland McGrath <roland@redhat.com>
48642 * manual/arith.texi (Rounding Functions): Fix rint description
48643 implicit in round description.
48645 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48647 * elf/Makefile: Fix linking for a few tests to make recent linker
48650 2010-06-30 Andreas Schwab <schwab@redhat.com>
48652 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48653 $(common-objpfx)libc_nonshared.a.
48655 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48657 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48658 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48659 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48660 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48661 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48662 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48663 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48664 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48679 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48680 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48681 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48682 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48683 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48684 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48685 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48686 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48687 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48688 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48689 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48690 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48706 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48708 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48709 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48710 * string/memmove.c (memmove): Renamed to ...
48711 (MEMMOVE): ...this. Default to memmove.
48712 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48713 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48716 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48717 mempcpy-ssse3-back memmove-ssse3-back.
48718 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48719 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48720 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48721 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48722 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48723 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48724 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48725 * sysdeps/x86_64/multiarch/memmove.c: New file.
48726 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48727 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48728 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48729 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48730 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48731 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48733 (index_Fast_Copy_Backward): Define.
48734 (HAS_ARCH_FEATURE): Define.
48735 (HAS_FAST_REP_STRING): Define.
48736 (HAS_FAST_COPY_BACKWARD): Define.
48738 2010-06-21 Andreas Schwab <schwab@redhat.com>
48740 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48741 Restore proper fallback handling.
48743 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48746 * posix/group_member.c (__group_member): Correct checking loop.
48748 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48749 OOM in getpwuid_r correctly. Return error number when the caller
48750 should return, otherwise -1.
48751 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48752 call returning > 0 value.
48753 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48755 2010-06-07 Andreas Schwab <schwab@redhat.com>
48757 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48758 libc_nonshared.a from targets in modules-names.
48760 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48762 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48765 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48767 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48768 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48772 2010-06-02 Andreas Schwab <schwab@redhat.com>
48774 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48776 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48778 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48780 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48784 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48785 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48787 2010-06-14 Roland McGrath <roland@redhat.com>
48789 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48791 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48793 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48794 __REDIRECT followed by __THROW.
48795 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48796 * posix/getopt.h (getopt): Likewise.
48798 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48800 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48801 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48802 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48804 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48805 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48807 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48809 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48811 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48815 Properly check family and model.
48817 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48819 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48821 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48823 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48825 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48827 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48830 2010-05-19 Andreas Schwab <schwab@redhat.com>
48832 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48835 2010-05-21 Andreas Schwab <schwab@redhat.com>
48837 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48838 and internal_recvmmsg.
48839 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48840 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48841 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48842 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48844 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48845 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48846 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48848 2010-05-20 Andreas Schwab <schwab@redhat.com>
48850 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48852 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48854 POWER7 optimizations.
48855 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48856 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48858 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48860 * version.h: Update for 2.13 development version.
48862 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48864 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48865 exceptions. Return 0.
48867 2010-05-07 Roland McGrath <roland@redhat.com>
48869 * elf/ldconfig.c (main): Add a const.
48871 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48873 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48874 (args_options): Add no-idn option.
48875 (ahosts_keys_int): Add idn_flags to ai_flags.
48876 (parse_option): Handle 'i' option to clear idn_flags.
48878 * malloc/malloc.c (_int_free): Possible race in the most recently
48879 added check. Only act on the data if no current modification
48882 See ChangeLog.17 for earlier changes.