]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Fix Wundef warning for ELF_MACHINE_NO_REL on i386
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4
52014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6
7 * sysdeps/powerpc/memmove.c: Remove file.
8 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15 string memmove instead of removed powerpc one.
16
17 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18 [weak_alias]: Fix compiler warning due trailing data.
19 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
20 [weak_alias]: Likewise.
21 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23
24 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25 (__libc_ifunc_impl_list): Add memmove functions.
26
272014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28
29 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30 Remove code.
31 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32 Likewise
33 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34 Likewise
35 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36 Likewise
37 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38 Likewise
39 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40 Likewise
41 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
42 Likewise
43 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
44 Likewise
45 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
46 Likewise
47 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
48 Likewise
49 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
50 Likewise
51 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
52 Likewise
53 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
54 Likewise
55 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
56 Likewise
57 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
58 Likewise
59 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
60 Likewise
61 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
62 Likewise
63
642014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65
66 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
67 to avoid alignment traps in non-cacheable memory.
68 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
69
70 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
71 multiarch objects.
72 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
73 file: multiarch power7 memmove.
74 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
75 multiarch default memmove.
76 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
77 multiarch memove for powerpc32/power4.
78
79 * string/bcopy.c: Use full path to include memmove.c.
80 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
81 multiarch objects.
82 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
83 bcopy for powerpc64.
84 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
85 bcopy for powerpc64.
86 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
87 and memmove implementations.
88 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
89 optimized multiarch memmove for POWER7/powerpc64.
90 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
91 default multiarch memmove for powerpc64.
92 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
93 multiarch for powerpc64.
94 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
95 for POWER7/powerpc64.
96 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
97 memmove for POWER7/powerpc64.
98
99 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
100 glibc default one.
101
102 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
103 __ELF_NATIVE_CLASS equal to 64.
104
1052014-07-07 Roland McGrath <roland@hack.frob.com>
106
107 * sysdeps/nptl/lowlevellock.h: File removed.
108
109 * NEWS: NPTL is no longer an add-on!
110 * nptl/internaltypes.h: Moved ...
111 * sysdeps/nptl/internaltypes.h: ... here.
112 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
113 * sysdeps/nptl/fork.c: Likewise.
114 * sysdeps/nptl/gai_misc.h: Likewise.
115 * sysdeps/nptl/librt-cancellation.c: Likewise.
116 * sysdeps/nptl/jmp-unwind.c: Likewise.
117 * sysdeps/nptl/setxid.h: Likewise.
118 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
119 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
120 * sysdeps/unix/sysv/linux/arm/Implies: New file.
121 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
122 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
123 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
124 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
125 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
126 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
127 * sysdeps/unix/sysv/linux/mips/Implies: New file.
128 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
129 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
130 * sysdeps/unix/sysv/linux/sh/Implies: New file.
131 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
132 * sysdeps/unix/sysv/linux/tile/Implies: New file.
133 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
134 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
135 * nptl/Makeconfig: Moved ...
136 * sysdeps/nptl/Makeconfig: ... here.
137 * nptl/configure: File removed.
138 * nptl/ANNOUNCE: File removed.
139 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
140 * sysdeps/unix/sysv/linux/configure: Regenerated.
141
142 * nptl/Makefile (routines): Add libc_pthread_init,
143 libc_multiple_threads, register-atfork and unregister-atfork.
144 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
145 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
146 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
147 pthread-pi-defines.sym, structsem.sym.
148 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
149 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
150 [$(subdir) = nptl] (tests): Add tst-setgetname.
151 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
152 * sysdeps/unix/sysv/linux/sigaction.c: Just include
153 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
154 [!LIBC_SIGACTION]: Remove aliases.
155 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
156 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
157 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
158 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
159 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
160 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
161 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
162 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
163 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
164 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
165 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
166 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
167 __libc_allocate_rtsig_private.
168 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
169 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
170 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
171 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
172 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
173 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
174 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
175 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
176 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
177 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
178 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
179 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
180 * nptl/internaltypes.h: ... here.
181 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
182 * sysdeps/nptl/jmp-unwind.c: ... here.
183 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
184 * nptl/libc-lowlevellock.c: ... here.
185 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
186 * nptl/libc_multiple_threads.c: ... here.
187 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
188 * nptl/libc_pthread_init.c: ... here.
189 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
190 * nptl/lowlevelbarrier.sym: ... here.
191 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
192 * nptl/lowlevelcond.sym: ... here.
193 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
194 * nptl/lowlevellock.c: ... here.
195 * nptl/lowlevellock.h: Moved ...
196 * sysdeps/nptl/lowlevellock.h: ... here.
197 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
198 * nptl/lowlevelrobustlock.c: ... here.
199 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
200 * nptl/lowlevelrobustlock.sym: ... here.
201 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
202 * nptl/lowlevelrwlock.sym: ... here.
203 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
204 * nptl/pt-fork.c: ... here.
205 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
206 * nptl/pthread-pi-defines.sym: ... here.
207 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
208 * nptl/pthread_attr_getaffinity.c: ... here.
209 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
210 * nptl/pthread_attr_setaffinity.c: ... here.
211 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
212 * nptl/pthread_mutex_cond_lock.c: ... here.
213 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
214 Update #include.
215 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
216 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
217 * nptl/pthread_once.c: ... here, replacing old file.
218 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
219 * nptl/pthread_yield.c: ... here.
220 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
221 * nptl/register-atfork.c: ... here.
222 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
223 * nptl/sem_post.c: ... here.
224 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
225 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
226 * nptl/sem_timedwait.c: ... here.
227 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
228 * nptl/sem_trywait.c: ... here.
229 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
230 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
231 * nptl/sem_wait.c: ... here.
232 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
233 * nptl/structsem.sym: ... here.
234 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
235 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
236 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
237 * nptl/unregister-atfork.c: ... here.
238 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
239 * nptl/unwindbuf.sym: ... here.
240 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
241 * sysdeps/nptl/fork.c: ... here.
242 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
243 * sysdeps/nptl/fork.h: ... here.
244 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
245 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
246 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
247 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
248 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
249 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
250 * sysdeps/unix/sysv/linux/getpid.c: ... here.
251 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
252 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
253 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
254 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
255 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
256 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
257 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
258 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
259 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
260 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
261 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
262 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
263 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
264 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
265 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
266 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
267 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
268 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
269 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
270 * sysdeps/unix/sysv/linux/raise.c: ... here.
271 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
272 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
273 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
274 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
275 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
276 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
277 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
278 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
279 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
280 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
281 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
282 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
283 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
284 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
285 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
286
2872014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
288
289 * sysdeps/generic/memcopy.h: Add comment for
290 MEMCPY_OK_FOR_FWD_MEMMOVE.
291
2922014-07-04 Will Newton <will.newton@linaro.org>
293
294 * string/memchr.c: Merge from gnulib.
295 [_LIBC]: Remove conditionals.
296 (__ptr_t): Remove define.
297 (LONG_MAX_32_BITS): Likewise.
298 (LONG_MAX): Likewise.
299 (MEMCHR): Use ANSI prototype and optimize algorithm.
300
301 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
302
3032014-07-03 Roland McGrath <roland@hack.frob.com>
304
305 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
306 (lll_futex_timed_wait_bitset): Fix syscall argument count.
307
308 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
309 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
310 in a bare environment with no <stdlib.h> installed.
311 * sysdeps/nptl/configure: Regenerated.
312
313 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
314
315 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
316 AC_EGREP_CPP for kernel header checks, so they only succeed if
317 including <linux/version.h> actually works right.
318 * sysdeps/unix/sysv/linux/configure: Regenerated.
319
320 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
321 value so it's not diagnosed as unused.
322
323 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
324 thing) with "ifeq ($(subdir),rt)".
325
3262014-07-03 Richard Henderson <rth@redhat.com>
327
328 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
329 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
330 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
331
332 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
333 (math_force_eval): New.
334
335 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
336 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
337
338 * sysdeps/alpha/fpu/s_round.c: Remove file.
339 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
340
341 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
342 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
343 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
344 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
345 (_dl_start, print_statistics): Likewise.
346 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
347 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
348
349 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
350 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
351 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
352 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
353 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
354 (HP_SMALL_TIMING_AVAIL): Define.
355 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
356 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
357 (HP_SMALL_TIMING_AVAIL): Define.
358 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
359 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
360
361 * sysdeps/aarch64/hp-timing.h: New file.
362
363 * sysdeps/generic/hp-timing.h: Remove dead comment.
364 * sysdeps/generic/hp-timing-common.h: New file.
365 * sysdeps/alpha/hp-timing.h: Include it.
366 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
367 * sysdeps/i386/i686/hp-timing.h: Likewise.
368 * sysdeps/ia64/hp-timing.h: Likewise.
369 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
370 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
371 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
372 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
373 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
374 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
375 (hp_timing_t): New.
376
377 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
378 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
379 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
380 * elf/rtld.c (_dl_start_final): Likewise.
381 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
382 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
383 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
384 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
385 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
386 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
387 (HP_TIMING_DIFF_INIT): Remove.
388 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
389 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
390 (HP_TIMING_DIFF_INIT): Remove.
391 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
392 * sysdeps/i386/i686/hp-timing.c: Remove file.
393 * sysdeps/x86_64/hp-timing.c: Remove file.
394 * sysdeps/ia64/hp-timing.c: Remove file.
395 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
396 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
397 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
398 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
399
400 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
401 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
402 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
403 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
404 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
405 (HP_TIMING_ACCUM): Remove.
406 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
407 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
408 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
409
410 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
411 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
412 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
413 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
414 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
415 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
416 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
417 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
418
419 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
420
4212014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
422
423 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
424
4252014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
426
427 Sync up with gettext.
428 * intl/loadmsgcat.c: Define O_BINARY if not defined.
429 [_MSC_VER]: Include malloc.h
430 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
431 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
432 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
433 TEMP_FAILURE_RETRY. Cast return of alloca.
434 [!_LIBC] Call gl_rwlock_init.
435 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
436
4372014-07-02 Roland McGrath <roland@hack.frob.com>
438
439 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
440 before checking its value.
441
4422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
443
444 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
445
446 * debug/memcpy_chk.c: Don't include pagecopy.h.
447 * debug/mempcpy_chk.c: Likewise.
448 * string/memcpy.c: Likewise.
449 * string/memmove.c: Likewise.
450 * sysdeps/powerpc/memmove.c: Likewise.
451 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
452 definition of PAGE_COPY_FWD_MAYBE here...
453 * sysdeps/generic/pagecopy.h: ... from here.
454 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
455
4562014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
457 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
458
459 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
461 optimizations.
462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
463 (__libc_ifunc_impl_list): Likewise.
464 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
465 multiarch strcat for PPC64.
466 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
467 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
468
4692014-07-02 Roland McGrath <roland@hack.frob.com>
470
471 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
472
4732014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
474
475 * intl/loadmsgcat.c: Remove declaration of
476 get_sysdep_segment_value.
477 (get_sysdep_segment_value): Use ISO C style.
478 (_nl_load_domain): Use ISO C style. Get rid of redundant
479 semicolon. Fix typo and formatting in comment.
480 (_nl_unload_domain): Use ISO C style.
481
482 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
483
4842014-07-02 Will Newton <will.newton@linaro.org>
485
486 * malloc/obstack.c: Merge from gnulib master.
487 [HAVE_CONFIG_H]: Remove conditional code.
488 [!_LIBC]: Include config.h.
489 [!ELIDE_CODE]: Don't include inttypes.h, include
490 stdint.h unconditionally.
491 (print_and_abort): Mark as _Noreturn.
492 (_obstack_allocated_p): Mark as __attribute_pure__.
493 (obstack_free): Rename to __obstack_free.
494 [!__attribute__]: Remove conditional code.
495 * malloc/obstack.h: Merge from gnulib master.
496 [__cplusplus]: Move conditional down.
497 [!__attribute_pure__]: Define __attribute_pure__ here
498 if it is not already defined.
499 (_obstack_memory_used): Mark as __attribute_pure__.
500 [!__obstack_free]: Define as obstack_free.
501 [__GNUC__]: Remove check for ancient NeXT gcc.
502
5032014-07-02 Will Newton <will.newton@linaro.org>
504 Paul Eggert <eggert@cs.ucla.edu>
505
506 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
507
5082014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
509
510 * resolv/gethnamaddr.c: Add comment warning that the file is
511 not maintained.
512
5132014-07-01 Carlos O'Donell <carlos@redhat.com>
514
515 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
516 entries.
517
518 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
519 entry for aio_cancel and aio_cancel64.
520 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
521 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
522 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
523 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
524 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
525 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
526 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
527 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
528 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
529 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
530 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
531 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
532 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
533
5342014-07-01 Roland McGrath <roland@hack.frob.com>
535
536 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
537 * nptl/pthread_mutex_lock.c: Likewise.
538 * nptl/pthread_mutex_timedlock.c: Likewise.
539 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
540
5412014-07-01 Richard henderson <rth@redhat.com>
542
543 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
544 (__isnan, __isnanl): Remove.
545 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
546
547 * sysdeps/alpha/fpu/libm-test-ulps: Update.
548
5492014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
550
551 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
552
5532014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
554
555 * resolv/nss_dns/dns-host.c (getanswer_r)
556 [MULTI_PTRS_ARE_ALIASES]: Remove code.
557
5582014-07-01 Joseph Myers <joseph@codesourcery.com>
559
560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
561 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
562 undefine.
563 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
564 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
565
5662014-07-01 Roland McGrath <roland@hack.frob.com>
567
568 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
569 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
570
571 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
572 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
573
574 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
575 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
576 ... here.
577 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
578 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
579
580 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
581 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
582 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
583 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
584
585 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
586 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
587 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
588 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
589 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
590 Moved ...
591 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
592 ... here.
593 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
594 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
595 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
596 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
597 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
598 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
599 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
600 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
601 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
602 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
603 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
604 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
605 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
606 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
607 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
608 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
609 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
610 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
611 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
612 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
613 ... here.
614 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
615 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
616 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
617 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
618 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
619 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
620 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
621 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
622
6232014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
624
625 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
626 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
627 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
628 Add sysdep.
629
6302014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
631
632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
633
6342014-06-30 Joseph Myers <joseph@codesourcery.com>
635
636 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
637 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
638
639 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
640
641 * sysdeps/arm/libm-test-ulps: Regenerated.
642
6432014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
644 Roland McGrath <roland@hack.frob.com>
645
646 * test-skeleton.c (signal_handler): Kill the whole process group
647 before killing the child individually.
648 (main): Report any failure on `setpgid'.
649
6502014-06-30 Roland McGrath <roland@hack.frob.com>
651
652 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
653 from _TLS_H to _ARM_NPTL_TLS_H.
654 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
655 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
656
6572014-06-30 Joseph Myers <joseph@codesourcery.com>
658
659 [BZ #16539]
660 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
661 (__expm1l): Return argument unchanged when small but not
662 subnormal.
663
664 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
665 include macro name.
666 (_FP_UNPACK_RAW_1_P): Likewise.
667 (_FP_PACK_RAW_1): Likewise.
668 (_FP_PACK_RAW_1_P): Likewise.
669 (_FP_MUL_MEAT_1_wide): Likewise.
670 (_FP_MUL_MEAT_DW_1_hard): Likewise.
671 (_FP_MUL_MEAT_1_hard): Likewise.
672 (_FP_DIV_MEAT_1_imm): Likewise.
673 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
674 (_FP_DIV_MEAT_1_udiv): Likewise.
675 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
676 (_FP_UNPACK_RAW_2): Likewise.
677 (_FP_UNPACK_RAW_2_P): Likewise.
678 (_FP_PACK_RAW_2): Likewise.
679 (_FP_PACK_RAW_2_P): Likewise.
680 (_FP_MUL_MEAT_DW_2_wide): Likewise.
681 (_FP_MUL_MEAT_2_wide): Likewise.
682 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
683 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
684 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
685 (_FP_MUL_MEAT_2_gmp): Likewise.
686 (_FP_DIV_MEAT_2_udiv): Likewise.
687 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
688 (_FP_FRAC_SRL_4): Likewise.
689 (_FP_FRAC_SRST_4): Likewise.
690 (_FP_FRAC_SRS_4): Likewise.
691 (_FP_UNPACK_RAW_4): Likewise.
692 (_FP_UNPACK_RAW_4_P): Likewise.
693 (_FP_PACK_RAW_4): Likewise.
694 (_FP_PACK_RAW_4_P): Likewise.
695 (_FP_MUL_MEAT_DW_4_wide): Likewise.
696 (_FP_MUL_MEAT_4_wide): Likewise.
697 (_FP_MUL_MEAT_4_gmp): Likewise.
698 (umul_ppppmnnn): Likewise.
699 (_FP_DIV_MEAT_4_udiv): Likewise.
700 (__FP_FRAC_ADD_4): Likewise.
701 (__FP_FRAC_SUB_3): Likewise.
702 (__FP_FRAC_SUB_4): Likewise.
703 (__FP_FRAC_DEC_3): Likewise.
704 (__FP_FRAC_DEC_4): Likewise.
705 (__FP_FRAC_ADDI_4): Likewise.
706 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
707 (_FP_FRAC_SRL_8): Likewise.
708 (_FP_FRAC_SRS_8): Likewise.
709
710 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
711 include macro name.
712 (FP_UNPACK_RAW_EP): Likewise.
713 (FP_PACK_RAW_E): Likewise.
714 (FP_PACK_RAW_EP): Likewise.
715 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
716 (_FP_ISSIGNAN): Likewise.
717 (_FP_ADD_INTERNAL): Likewise.
718 (_FP_FMA): Likewise.
719 (_FP_CMP): Likewise.
720 (_FP_SQRT): Likewise.
721 (_FP_TO_INT): Likewise.
722 (_FP_FROM_INT): Likewise.
723 (FP_EXTEND): Likewise.
724 (_FP_DIV_MEAT_N_loop): Likewise.
725
7262014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
727
728 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
729 throughout.
730
7312014-06-29 Joseph Myers <joseph@codesourcery.com>
732
733 [BZ #17097]
734 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
735 result with correct sign in case of exponents that produce
736 overflow except for X very close to 1.
737
7382014-06-28 Paul Eggert <eggert@cs.ucla.edu>
739
740 mktime: merge #if/#ifdef usage from glibc
741 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
742 as that works with both Glibc's and Gnulib's style.
743 See thread starting at Siddhesh Poyarekar's bug report at:
744 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
745
7462014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
747
748 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
749 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
750 * sysdeps/tile/tilegx/memmove.c: Remove file.
751
7522014-06-27 Joseph Myers <joseph@codesourcery.com>
753
754 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
755 abi-name definition.
756 * scripts/soversions.awk: Do not handle or generate ABI lines.
757 * shlib-versions: Remove ABI entries.
758 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
759 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
760
7612014-06-27 Roland McGrath <roland@hack.frob.com>
762
763 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
764 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
765 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
767 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
769 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
770 Moved ...
771 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
772 ... here.
773 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
774 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
775 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
776 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
777 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
778 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
779 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
780 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
781 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
783 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
784 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
785 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
786 Moved ...
787 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
788 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
789 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
790 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
791 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
792 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
793 Moved ...
794 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
795 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
796 Moved ...
797 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
798 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
799 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
800 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
801 Moved ...
802 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
803 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
804 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
805 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
806 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
807 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
808 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
809 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
810 Moved ...
811 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
813 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
814 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
815 Moved ...
816 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
817 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
818 Moved ...
819 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
820 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
821 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
822 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
823 Moved ...
824 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
825 ... here.
826 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
827 Identical file removed.
828 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
829 Moved ...
830 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
831 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
832 Identical file removed.
833 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
834 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
835 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
836 Moved ...
837 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
838 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
839 Identical file removed.
840 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
841 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
842 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
843 Identical file removed.
844 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
845 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
846 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
847 Identical file removed.
848 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
849 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
850 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
851 Identical file removed.
852 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
853 Moved ...
854 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
855 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
856 Identical file removed.
857 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
858 Moved ...
859 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
860 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
861 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
863 Identical file removed.
864 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
865 Moved ...
866 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
867 ... here.
868 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
869 Identical file removed.
870 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
871 Moved ...
872 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
873 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
874 Identical file removed.
875 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
876 Moved ...
877 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
878 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
879 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
880 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
881 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
882 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
883 Moved ...
884 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
885 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
886 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
887
888 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
889 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
890 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
891 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
892 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
893
8942014-06-27 Arjun Shankar <arjun.is@lostca.se>
895
896 [BZ #17092]
897 * nscd/nscd.c (monitor_child): Return exit status of child
898 instead of return value from wait syscall.
899
9002014-06-27 Joseph Myers <joseph@codesourcery.com>
901
902 * configure.ac (libc_commonpagesize): Remove variable.
903 (libc_relro_required): Likewise.
904 (libc_cv_z_relro): Remove configure test.
905 * configure: Regenerated.
906 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
907 variable.
908 (libc_relro_required): Likewise.
909 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
910 (libc_relro_required): Likewise.
911 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
912 (libc_relro_required): Likewise.
913 * sysdeps/arm/preconfigure: Regenerated.
914 * sysdeps/ia64/preconfigure: Remove file.
915 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
916 variable.
917 (libc_relro_required): Likewise.
918
919 [BZ #16561]
920 [BZ #16562]
921 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
922 (__ieee754_yn): Set FE_TONEAREST mode internally and then
923 recompute overflowing results in original rounding mode.
924 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
925 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
926 recompute overflowing results in original rounding mode.
927 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
928 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
929 recompute overflowing results in original rounding mode.
930 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
931 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
932 recompute overflowing results in original rounding mode.
933 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
934 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
935 recompute overflowing results in original rounding mode.
936 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
937 (libc_feholdsetround_ctx): New macro.
938 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
939 * sysdeps/i386/fpu/libm-test-ulps: Update.
940 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
941
9422014-06-26 Joseph Myers <joseph@codesourcery.com>
943
944 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
945 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
946 corresponding .cpsetup call.
947
9482014-06-26 Roland McGrath <roland@hack.frob.com>
949
950 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
951 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
952 * sysdeps/arm/Makefile [$(subdir) = csu]
953 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
954 (static-only-routines): Add aeabi_read_tp here.
955 (shared-only-routines): Add libc-aeabi_read_tp here.
956 (CFLAGS-libc-start.c): Add -fexceptions here.
957 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
958 (sysdep_routines, static-only-routines, shared-only-routines):
959 Don't add to these here.
960 (CFLAGS-libc-start.c): Likewise.
961
962 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
963 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
964 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
965 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
966 * sysdeps/arm/Makefile [$(subdir) = rt]
967 (librt-sysdep_routines, librt-shared-only-routines):
968 Append rt-aeabi_unwind_cpp_pr1 here.
969 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
970 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
971 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
972 (libpthread-sysdep_routines, libpthread-shared-only-routines):
973 Append nptl-aeabi_unwind_cpp_pr1 here.
974 (tests): Filter out tst-cleanupx4 here.
975 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
976 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
977 Don't do those here.
978
9792014-06-26 Joseph Myers <joseph@codesourcery.com>
980
981 * scripts/list-sources.sh: Do not handle ports specially.
982
9832014-06-26 Roland McGrath <roland@hack.frob.com>
984
985 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
986 * sysdeps/arm/feupdateenv.c: Likewise.
987
988 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
989
9902014-06-26 Joseph Myers <joseph@codesourcery.com>
991
992 * manual/texinfo.tex: Update to version 2014-05-05.10 with
993 trailing whitespace removed.
994 * scripts/config.guess: Update to version 2014-03-23.
995 * scripts/config.sub: Update to version 2014-05-01
996 * scripts/install-sh: Update to version 2013-12-25.23.
997 * scripts/move-if-change: Update from gnulib.
998
9992014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1000
1001 * debug/memmove_chk.c: Remove pagecopy.h include.
1002
10032014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1004
1005 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1006 identical to gnulib mktime.
1007
10082014-06-26 Joseph Myers <joseph@codesourcery.com>
1009
1010 * configure.ac: Do not test for machine being rs6000. Do not test
1011 for powerpc*-*soft.
1012 * configure: Regenerated.
1013
1014 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1015 test.
1016 * configure: Regenerated.
1017 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1018 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1019 Remove configure test.
1020 * sysdeps/arm/configure: Regenerated.
1021 * sysdeps/nptl/configure.ac: Do not check
1022 libc_cv_asm_cfi_directives.
1023 * sysdeps/nptl/configure: Regenerated.
1024 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1025 * sysdeps/x86_64/nptl/configure: Remove generated file.
1026 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1027 unconditional.
1028 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1029
10302014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1031
1032 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1033 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1034 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1035 it is defined.
1036
1037 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1038 instead of whether it is defined.
1039 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1040 * sysdeps/hppa/dl-machine.h: Likewise.
1041 * sysdeps/ia64/dl-machine.h: Likewise.
1042 * sysdeps/m68k/dl-machine.h: Likewise.
1043 * sysdeps/microblaze/dl-machine.h: Likewise.
1044 * sysdeps/mips/dl-machine.: Likewise.
1045 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1046 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1047 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1048 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1049 * sysdeps/sh/dl-machine.h: Likewise.
1050 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1051 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1052 * sysdeps/tile/dl-machine.h: Likewise.
1053 * sysdeps/x86_64/dl-machine.h: Likewise.
1054
1055 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1056 code.
1057 (verify_persistent_db): Likewise.
1058
10592014-06-26 Roland McGrath <roland@hack.frob.com>
1060
1061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1062 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1064 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1066 Moved ...
1067 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1068 ... here.
1069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1070 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1072 Identical file removed.
1073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1074 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1076 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1078 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1080 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1082 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1084 Moved ...
1085 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1087 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1091 Moved ...
1092 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1094 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1096 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1098 Identical file removed.
1099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1100 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1102 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1104 Moved ...
1105 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1106 ... here.
1107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1108 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1110 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1112 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1114 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1116 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1118 Moved ...
1119 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1121 Moved ...
1122 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1124 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1126 Moved ...
1127 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1130
1131 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1132 folded into ...
1133 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1134 * sysdeps/unix/sysv/linux/s390/Versions
1135 (libpthread: GLIBC_2.19): New version set.
1136 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1137 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1138 (librt: GLIBC_2.3.3): New version set.
1139 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1140 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1141 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1142 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1143 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1144 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1145 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1146 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1147 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1148 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1149 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1150 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1151 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1152 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1153 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1154 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1155 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1156 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1157 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1158 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1159 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1160 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1161 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1162 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1163 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1164 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1165 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1166 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1167 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1168 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1169 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1170 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1171 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1172 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1173 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1174 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1175 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1177 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1178 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1179 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1180 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1181 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1182 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1183 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1184
1185 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1186 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1187 (__libc_vfork): Define the function under this name.
1188 [!NOT_IN_libc] (__vfork): Make this an alias.
1189 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1190 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1191 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1192 (__libc_vfork): Define the function under this name.
1193 [!NOT_IN_libc] (__vfork): Make this an alias.
1194 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1195 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1196 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1197 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1198 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1199 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1200
1201 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1202 code that was previously under [RESET_PID].
1203 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1204 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1206
1207 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1208 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1209 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1210 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1211 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1212 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1213 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1214 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1215 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1216 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1217 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1218 Moved ...
1219 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1220 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1221 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1222 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1224 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1225 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1226 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1227 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1229 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1231 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1232 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1233 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1234 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1235 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1236 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1237 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1239 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1240 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1241 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1242 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1243 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1244 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1245 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1247 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1248
12492014-06-25 Roland McGrath <roland@hack.frob.com>
1250
1251 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1252 that was previously under [RESET_PID].
1253 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1254
12552014-06-25 Joseph Myers <joseph@codesourcery.com>
1256
1257 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1258 not undefine and redefine.
1259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1260 [O_CLOEXEC]: Make code unconditional.
1261 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1262 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1263 <kernel-features.h>.
1264 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1265 conditional variable definition.
1266 (shm_open) [O_CLOEXEC]: Make code unconditional.
1267 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1268 code.
1269
1270 * configure.ac (USE_REGPARMS): Don't define here.
1271 * configure: Regenerated.
1272 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1273 * sysdeps/i386/configure: Regenerated.
1274
1275 * nptl/createthread.c: Don't include kernel-features.h.
1276 * nptl/pthread_cancel.c: Likewise.
1277 * nptl/pthread_condattr_setclock.c: Likewise.
1278 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1279 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1280 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1281 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1282 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1283 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1284 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1286 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1287 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1288 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1289 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1290 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1291 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1292 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1293 * nscd/gai.c: Likewise.
1294 * nss/nss_db/db-open.c: Likewise.
1295 * sysdeps/generic/ldsodefs.h: Likewise.
1296 * sysdeps/sh/nptl/tls.h: Likewise.
1297 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1298 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1299 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1300 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1301 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1302 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1303 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1304 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1306 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1307 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1308 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1309 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1310 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1311 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1312 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1313 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1314 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1315 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1316 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1317 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1318 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1319 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1320 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1321 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1322 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1323 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1324 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1325 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1326 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1327 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1328 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1329 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1330 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1331 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1332 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1333 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1334 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1335 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1336 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1337 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1338 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1339 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1340 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1341 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1342 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1343 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1344 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1345 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1346 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1347 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1348 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1349 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1350 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1351 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1352 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1354 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1377 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1378 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1379 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1380 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1381 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1382 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1383 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1384 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1385 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1386 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1387 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1388 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1389 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1390 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1391 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1392 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1393 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1394 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1395 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1396 * sysdeps/unix/sysv/linux/system.c: Likewise.
1397 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1398 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1399 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1400 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1401 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1402 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1403 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1404
1405 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1406 * configure: Regenerated.
1407 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1408
1409 * configure.ac (base_machine): Do not set specially for particular
1410 machines here.
1411 * configure: Regenerated.
1412 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1413 settings from configure.ac.
1414 * sysdeps/i386/preconfigure: New file.
1415 * sysdeps/s390/preconfigure: Likewise.
1416 * sysdeps/sh/preconfigure: Likewise.
1417 * sysdeps/sparc/preconfigure: Likewise.
1418
14192014-06-25 Roland McGrath <roland@hack.frob.com>
1420
1421 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1422 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1423 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1424 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1425 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1426 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1427 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1428 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1429 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1430 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1431 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1432 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1433 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1434 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1435 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1436 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1437 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1438 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1439 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1440
1441 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1442 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1443 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1444 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1445 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1446 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1447 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1448 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1449 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1450 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1451 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1452 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1453 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1454 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1455 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1456 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1457 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1458 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1459 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1460 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1461 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1462 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1463 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1464 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1465 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1466 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1467 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1468 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1469 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1470 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1471 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1472 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1473 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1474 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1475 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1476 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1477 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1478 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1479
1480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1481 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1483 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1485 Moved ...
1486 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1487 ... here.
1488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1489 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1491 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1493 Moved ...
1494 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1502 Moved ...
1503 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1505 Moved ...
1506 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1508 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1510 Moved ...
1511 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1515 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1517 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1521 Moved ...
1522 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1523 ... here.
1524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1525 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1527 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1529 Moved ...
1530 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1532 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1534 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1536 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1538 Moved ...
1539 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1541 Moved ...
1542 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1544 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1546 Moved ...
1547 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1549 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1551 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1552
15532014-06-25 Joseph Myers <joseph@codesourcery.com>
1554
1555 * timezone/checktab.awk: Update from tzcode 2014e.
1556 * timezone/private.h: Likewise.
1557 * timezone/tzfile.h: Likewise.
1558 * timezone/zdump.c: Likewise.
1559 * timezone/zic.c: Likewise.
1560
1561 * sysdeps/unix/sysv/linux/kernel-features.h
1562 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1563 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1564 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1565 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1566 Remove conditional code.
1567
15682014-06-25 Will Newton <will.newton@linaro.org>
1569
1570 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1571 (_dl_arm_cap_flags): Add HWCAP2 values.
1572 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1573 (_DL_HWCAP_COUNT): Increase to 37.
1574 (_DL_HWCAP_LAST): New define.
1575 (_DL_HWCAP2_LAST): New define.
1576 (_dl_procinfo): Add support for printing
1577 AT_HWCAP2 entries.
1578 (_dl_string_hwcap): Use _dl_hwcap_string.
1579
15802014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581
1582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1583
15842014-06-25 Joseph Myers <joseph@codesourcery.com>
1585
1586 * README: Do not mention ports directory.
1587
1588 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1589 Remove macro.
1590 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1591 <kernel-features.h>.
1592 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1593 conditional variable definition.
1594 (__futimes): Update comment.
1595 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1596 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1597
1598 [BZ #16560]
1599 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1600 arguments close to 0.
1601 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1602 Likewise.
1603 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1604 Likewise.
1605 * math/auto-libm-test-in: Add more tests of exp10.
1606 * math/auto-libm-test-out: Regenerated.
1607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1608
1609 * sysdeps/unix/sysv/linux/kernel-features.h
1610 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1611 * sysdeps/unix/sysv/linux/readv.c: Do not include
1612 <kernel-features.h>.
1613 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1614 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1615 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1616 unconditional.
1617 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1618 conditional code.
1619 * sysdeps/unix/sysv/linux/writev.c: Do not include
1620 <kernel-features.h>.
1621 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1622 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1623 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1624 unconditional.
1625 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1626 conditional code.
1627
16282014-06-25 Will Newton <will.newton@linaro.org>
1629
1630 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1631 comment changes throughout the file. Remove checks
1632 for HAVE_*_H definitions that are not required.
1633 (__gen_tempname): Call abort if an unknown kind value is
1634 passed.
1635
16362014-06-25 Andreas Schwab <schwab@suse.de>
1637
1638 [BZ #17086]
1639 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1640 scalbln, scalblnf, scalblnl in libc.
1641
16422014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1643
1644 [BZ #17086]
1645 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1646 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1647 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1648
16492014-06-24 Roland McGrath <roland@hack.frob.com>
1650
1651 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1652 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1653 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1654 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1655 Update #include.
1656 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1657 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1658 Update #include.
1659 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1660 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1661 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1662 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1663 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1664 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1665 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1666 * sysdeps/x86/bits/semaphore.h: ... here.
1667 * sysdeps/x86/nptl/elide.h: Moved ...
1668 * sysdeps/x86/elide.h: ... here.
1669 * sysdeps/x86_64/nptl/Implies: File removed.
1670 * sysdeps/i386/nptl/Implies: File removed.
1671
16722014-06-24 Joseph Myers <joseph@codesourcery.com>
1673
1674 [BZ #16539]
1675 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1676 return the argument for normal arguments with exponent below -64.
1677 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1678 Likewise.
1679 * math/auto-libm-test-in: Add another test of expm1.
1680 * math/auto-libm-test-out: Regenerated.
1681
1682 [BZ #16287]
1683 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1684 calling __erfcl for arguments at least 16.
1685 * math/auto-libm-test-in: Add more tests of erf.
1686 * math/auto-libm-test-out: Regenerated.
1687
1688 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1689 individual architectures.
1690 * sysdeps/unix/sysv/linux/configure: Regenerated.
1691 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1692 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1693 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1694 (ldd_rewrite_script): Define variable.
1695 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1697 file.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1699 generated file.
1700 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1701 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1702 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1703 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1704 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1705 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1706 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1707 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1708
17092014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1710
1711 [BZ #17084]
1712 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1713 Rename member __data.d to __data.__elision_data.
1714
17152014-06-24 Wilco <wdijkstr@arm.com>
1716
1717 * NEWS: Add 16918 to fixed bug list.
1718
17192014-06-24 Wilco <wdijkstr@arm.com>
1720
1721 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1722
17232014-06-24 Wilco <wdijkstr@arm.com>
1724
1725 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1726 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1727 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1728 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1729 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1730 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1731 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1732 Use _FPU_MASK_RM.
1733
17342014-06-24 Wilco <wdijkstr@arm.com>
1735
1736 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1737
17382014-06-24 Wilco <wdijkstr@arm.com>
1739
1740 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1741 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1742 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1743 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1744
17452014-06-24 Wilco <wdijkstr@arm.com>
1746
1747 [BZ #16918]
1748 * sysdeps/arm/feupdateenv.c (feupdateenv):
1749 Rewrite to reduce FPSCR accesses and fix return value.
1750
17512014-06-24 Wilco <wdijkstr@arm.com>
1752
1753 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1754 Optimize to avoid unnecessary FPSCR writes.
1755 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1756 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1757 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1758 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1759
17602014-06-24 Wilco <wdijkstr@arm.com>
1761
1762 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1763 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1764 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1765 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1766 Call libc_fetestexcept_vfp.
1767 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1768 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1769 __SOFTFP__ ifdef so that they can be built for softfp.
1770
17712014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
1773 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1774 argument type signed char.
1775
1776 * Makerules (check-abi): Dump diff of symlist if the test
1777 fails.
1778
17792014-06-23 Roland McGrath <roland@hack.frob.com>
1780
1781 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1782 using abort.
1783
1784 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1785 Remove unused variable ST.
1786
17872014-06-23 Joseph Myers <joseph@codesourcery.com>
1788
1789 [BZ #16354]
1790 [BZ #17061]
1791 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1792 small arguments before calling __expm1.
1793 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1794 small arguments before calling __expm1f.
1795 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1796 small arguments before calling __expm1l.
1797 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1798 Likewise.
1799 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1800 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1801 spurious underflow for some cosh tests.
1802 * math/auto-libm-test-out: Regenerated.
1803 * sysdeps/i386/fpu/libm-test-ulps: Update.
1804
1805 [BZ #17050]
1806 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1807 (__ieee754_y1): Set errno if return value overflows.
1808 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1809 (__ieee754_y1f): Set errno if return value overflows.
1810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1811 (__ieee754_y1l): Set errno if return value overflows.
1812 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1813 (__ieee754_y1l): Set errno if return value overflows.
1814 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1815 * math/auto-libm-test-out: Regenerated.
1816
1817 * math/gen-auto-libm-tests.c: Document use of
1818 ignore-zero-inf-sign.
1819 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1820 (input_flags): Add ignore-zero-inf-sign.
1821 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1822 * math/gen-libm-test.pl (generate_testfile): Handle
1823 ignore-zero-inf-sign.
1824 * math/auto-libm-test-in: Mark some cpow tests with
1825 ignore-zero-inf-sign and some with xfail-rounding.
1826 * math/auto-libm-test-out: Regenerated.
1827 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1828 * sysdeps/i386/fpu/libm-test-ulps: Update.
1829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1830
1831 [BZ #16315]
1832 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1833 overflowing or underflowing operations take place with sign of
1834 result.
1835 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1836 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1837 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1838 (__ieee754_pow): Recompute overflowing and underflowing results in
1839 original rounding mode.
1840 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1841 (__powl_helper): Allow negative argument X and scale negated value
1842 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1843 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1844 overflowing or underflowing operations take place with sign of
1845 result.
1846 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1847 Include <math.h>.
1848 * math/auto-libm-test-in: Add more tests of pow.
1849 * math/auto-libm-test-out: Regenerated.
1850 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1851 (pow_tonearest_test_data): Remove.
1852 (pow_test_tonearest): Likewise.
1853 (pow_towardzero_test_data): Likewise.
1854 (pow_test_towardzero): Likewise.
1855 (pow_downward_test_data): Likewise.
1856 (pow_test_downward): Likewise.
1857 (pow_upward_test_data): Likewise.
1858 (pow_test_upward): Likewise.
1859 (main): Don't call removed functions.
1860 * sysdeps/i386/fpu/libm-test-ulps: Update.
1861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1862
18632014-06-23 Roland McGrath <roland@hack.frob.com>
1864
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1866 Moved ...
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1869 Moved ...
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1872 Moved ...
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1875 Moved ...
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1878 File removed.
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1880 File removed.
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1882 File removed.
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1884 File removed.
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1886 File removed.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1888 File removed.
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1890 File removed.
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1892 File removed.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1894 File removed.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1896 File removed.
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1898 File removed.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1900 File removed.
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1902 Moved ...
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1905 Moved ...
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1907 ... here.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1909 Moved ...
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1912 Moved ...
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1915 Moved ...
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1918 Moved ...
1919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1921 Moved ...
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1924 Moved ...
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1927 Moved ...
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1931 ... here.
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1933 Moved ...
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1936 Moved ...
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1938 ... here.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1940 Moved ...
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1942 ... here.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1944 Moved ...
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1946 ... here.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1948 Moved ...
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1951 Moved ...
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1956 Moved ...
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1958 ... here.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1960 Moved ...
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1962 ... here.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1964 Moved ...
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1967 Moved ...
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1970 Moved ...
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1973 Moved ...
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1976 Moved ...
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1978 ... here.
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1980 Moved ...
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1983 Moved ...
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1986 Moved ...
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1989 Moved ...
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1994 Moved ...
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1997 Moved ...
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2000 Moved ...
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2002 ... here.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2004 Moved ...
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2006 ... here.
2007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2008 Moved ...
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2010 ... here.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2012 Moved ...
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2015 Moved ...
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2018 Moved ...
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2021 Moved ...
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2023 ... here.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2025 Moved ...
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2027 ... here.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2029 Moved ...
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2031 ... here.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2033 Moved ...
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2036 Moved ...
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2038
20392014-06-23 Will Newton <will.newton@linaro.org>
2040 Wilco <wdijkstr@arm.com>
2041
2042 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2043 implementation. Include get-rounding-mode.h.
2044 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2045 [!libc_feholdsetround_noex_ctx]: Define
2046 libc_feholdsetround_noex_ctx.
2047 [!libc_feholdsetround_noexf_ctx]: Define
2048 libc_feholdsetround_noexf_ctx.
2049 [!libc_feholdsetround_noexl_ctx]: Define
2050 libc_feholdsetround_noexl_ctx.
2051 (libc_feholdsetround_ctx): New function.
2052 (libc_feresetround_ctx): New function.
2053 (libc_feholdsetround_noex_ctx): New function.
2054 (libc_feresetround_noex_ctx): New function.
2055
20562014-06-23 Roland McGrath <roland@hack.frob.com>
2057
2058 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2059 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2060 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2061 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2062 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2063 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2064
2065 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2066 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2067 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2068 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2069 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2070 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2071 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2072 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2073 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2074 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2075 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2076 Moved ...
2077 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2078 ... here.
2079 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2080 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2081 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2082 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2083 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2084 Moved ...
2085 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2086 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2087 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2088 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2089 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2091 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2093 Moved ...
2094 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2095 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2096 Moved ...
2097 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2099 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2100 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2101 Moved ...
2102 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2103 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2104 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2105 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2106 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2107 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2108 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2109 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2110 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2112 Moved ...
2113 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2114 ... here.
2115 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2116 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2117 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2118 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2119 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2120 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2121 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2122 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2123 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2124 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2125 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2126 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2127 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2128 Moved ...
2129 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2130 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2131 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2132 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2133 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2134 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2135 Moved ...
2136 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2137 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2138 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2139 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2140 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2141
2142 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2143 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2144 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2145 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2146 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2147 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2148 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2149 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2151 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2152 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2153 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2154 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2155 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2156 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2157 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2158 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2159 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2160 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2161 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2162 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2163 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2164 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2165 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2166 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2167 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2168 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2169 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2170
21712014-06-23 Joseph Myers <joseph@codesourcery.com>
2172
2173 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2174 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2175 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2176 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2177 (IPV6_PMTUDISC_INTERFACE): Likewise.
2178 (IPV6_PMTUDISC_OMIT): Likewise.
2179
21802014-06-23 Andreas Schwab <schwab@suse.de>
2181
2182 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2183 Remove unused errout label.
2184
21852014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2186
2187 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2188 macro: hardware supports Vector Crypto instructions.
2189
21902014-06-23 Will Newton <will.newton@linaro.org>
2191
2192 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2193 rather than __builtin_expect.
2194
2195 * elf/dl-lookup.c (undefined_msg): Remove variable.
2196 (_dl_lookup_symbol_x): Replace undefined_msg with string
2197 literal.
2198
2199 * elf/dl-lookup.c (do_lookup_unique): New function.
2200 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2201 to a separate function.
2202
22032014-06-23 Andreas Schwab <schwab@suse.de>
2204
2205 [BZ #17079]
2206 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2207 before reading the next line.
2208
22092014-06-23 Will Newton <will.newton@linaro.org>
2210
2211 * test-skeleton.c (signal_handler): Use printf and %m
2212 rather than perror. Use printf rather than fprintf to
2213 stderr. Use puts rather than fputs to stderr.
2214 (main): Likewise.
2215
22162014-06-22 Ludovic Courtès <ludo@gnu.org>
2217
2218 * nscd/nscd.c (thread_info_t): Remove typedef.
2219 (thread_info): Remove variable.
2220
22212014-06-21 Allan McRae <allan@archlinux.org>
2222
2223 * NEWS: Mention CVE-2014-4043.
2224
22252014-06-20 Roland McGrath <roland@hack.frob.com>
2226
2227 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2228 * nptl/smp.h: ... here.
2229
2230 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2231
2232 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2233 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2234 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2235 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2236
2237 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2238 * nptl/stack-aliasing.h: New file.
2239 * sysdeps/i386/i686/stack-aliasing.h: New file.
2240 * sysdeps/i386/i686/nptl/Makefile: File removed.
2241 * sysdeps/x86_64/stack-aliasing.h: New file.
2242 * sysdeps/x86_64/nptl/Makefile
2243 (CFLAGS-pthread_create.c): Variable removed.
2244
2245 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2246 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2247 old file.
2248 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2249 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2250 old file.
2251
22522014-06-21 Joseph Myers <joseph@codesourcery.com>
2253
2254 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2255 (__ASSUME_SIGFRAME_V2): Remove macro.
2256 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2257 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2258 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2259 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2260 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2261 Declare as function. Remove conditional macro definitions.
2262 (__default_rt_sa_restorer): Likewise.
2263 (__default_sa_restorer_v1): Remove declaration.
2264 (__default_sa_restorer_v2): Likewise.
2265 (__default_rt_sa_restorer_v1): Likewise.
2266 (__default_rt_sa_restorer_v2): Likewise.
2267 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2268 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2269 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2270
22712014-06-20 Roland McGrath <roland@hack.frob.com>
2272
2273 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2274 (libpthread-routines): Add sysdep.
2275 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2276 * sysdeps/unix/sysv/linux/sparc/Versions
2277 (libpthread: GLIBC_2.3.3): New version set.
2278 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2279 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2280 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2281 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2282 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2283 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2284 Moved ...
2285 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2286 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2287 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2288 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2289 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2290 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2291 * sysdeps/sparc/nptl/sem_init.c: ... here.
2292 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2293 * sysdeps/sparc/nptl/sem_post.c: ... here.
2294 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2295 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2296 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2297 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2298 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2299 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2300 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2301 (libpthread-routines): Add cpu_relax.
2302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2303 File removed.
2304 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2305 (librt: GLIBC_2.3.3): New version set.
2306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2307 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2308 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2309 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2310 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2312 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2314 Moved ...
2315 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2317 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2319 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2321 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2323 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2325 Moved ...
2326 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2327 Update #include.
2328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2329 Moved ...
2330 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2331 Update #include.
2332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2333 Moved ...
2334 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2335 Update #include.
2336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2337 Moved ...
2338 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2339 Update #include.
2340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2341 Moved ...
2342 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2343 Update #include.
2344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2345 Moved ...
2346 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2347 Update #include.
2348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2349 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2355 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2357 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2359 Moved ...
2360 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2364 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2365
23662014-06-20 Joseph Myers <joseph@codesourcery.com>
2367
2368 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2369 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2370 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2371 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2372 * nscd/nscd.c: Likewise.
2373 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2374 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2375 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2376 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2377
2378 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2379 <kernel-features.h>.
2380 (init_mq_netlink): Remove conditional have_sock_cloexec
2381 definitions. Remove code conditional on have_sock_cloexec < 0.
2382 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2383 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2384 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2385 <kernel-features.h>.
2386 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2387 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2388
23892014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2390
2391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2392 Add tests for memset_chk and memset.
2393
2394 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2395 with AVX2_Usable.
2396
23972014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2398
2399 [BZ #16046]
2400 * elf/tst-dl-iter-static.c: New file.
2401 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2402
2403 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2404 error.
2405
24062014-06-20 Joseph Myers <joseph@codesourcery.com>
2407
2408 * sysdeps/unix/sysv/linux/kernel-features.h
2409 (__ASSUME_F_GETOWN_EX): Remove macro.
2410 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2411 <kernel-features.h>.
2412 (miss_F_GETOWN_EX): Remove variable or macro.
2413 (do_fcntl): Do not check miss_F_GETOWN_EX.
2414 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2415
2416 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2417 Remove macro.
2418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2419 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2420 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2421
2422 * sysdeps/unix/sysv/linux/kernel-features.h
2423 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2424 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2425 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2426 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2427
24282014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2429
2430 [BZ #17075]
2431 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2432 Fix calculation of the symbol's value.
2433 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2434 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2435 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2436 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2437 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2438 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2439 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2440 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2441 (modules-names): Add `tst-armtlsdescmod',
2442 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2443 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2444 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2445 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2446 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2447 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2448 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2449 ($(objpfx)tst-armtlsdescloc): New dependency.
2450 ($(objpfx)tst-armtlsdescextnow): Likewise.
2451 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2452 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2453 TLS scheme support.
2454 * sysdeps/arm/configure: Regenerate.
2455
24562014-06-20 Joseph Myers <joseph@codesourcery.com>
2457
2458 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2459 (__atfct_seterrno_2): Likewise.
2460 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2461 <kernel-features.h>.
2462 (__ASSUME_ATFCTS): Do not undefine and redefine.
2463 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2464 (__have_atfcts): Remove conditional definition.
2465 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2466 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2467 unreachable if [__ASSUME_ATFCTS].
2468 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2469 not undefine and redefine.
2470 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2471 <kernel-features.h>.
2472 (faccessat) [__NR_faccessat]: Make code unconditional.
2473 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2474 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2475 <kernel-features.h>.
2476 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2477 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2478 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2479 <kernel-features.h>.
2480 (fchownat) [__NR_fchownat]: Make code unconditional.
2481 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2482 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2483 <kernel-features.h>.
2484 (futimesat) [__NR_futimesat]: Make code unconditional.
2485 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2486 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2487 <kernel-features.h>.
2488 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2489 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2490 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2491 <kernel-features.h>.
2492 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2493 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2494 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2495 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2496 <kernel-features.h>.
2497 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2498 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2499 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2500 <kernel-features.h>.
2501 (linkat) [__NR_linkat]: Make code unconditional.
2502 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2503 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2504 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2505 <kernel-features.h>.
2506 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2507 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2508 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2509 <kernel-features.h>.
2510 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2511 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2512 * sysdeps/unix/sysv/linux/openat.c: Do not include
2513 <kernel-features.h>.
2514 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2515 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2516 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2517 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2518 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2519 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2520 <kernel-features.h>.
2521 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2522 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2523 result of INLINE_SYSCALL directly, not via int variable.
2524 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2525 <kernel-features.h>.
2526 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2527 (renameat) [__NR_renameat]: Make code unconditional.
2528 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2529 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2530 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2531 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2532 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2533 (__ASSUME_ATFCTS): Do not undefine and redefine.
2534 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2535 <kernel-features.h>.
2536 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2537 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2538 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2539 <kernel-features.h>.
2540 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2541 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2542 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2543 (__ASSUME_ATFCTS): Do not undefine and redefine.
2544 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2545 <kernel-features.h>.
2546 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2547 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2548 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2549 <kernel-features.h>.
2550 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2551 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2552
25532014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2556
25572014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2558
2559 [BZ #17069]
2560 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2561 constructed tree before returning error.
2562 * posix/bug-regexp36.c: Expand test case.
2563
25642014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2565
2566 [BZ #6803]
2567 * math/libm-test.inc (scalbln_test_date):
2568 Add errno expectations.
2569 * math/w_scalblnf.c: New File.
2570 Add wrapper which checks for setting errno to ERANGE.
2571 Add weak_alias for corresponding scalbln function.
2572 * math/w_scalbln.c: Likewise.
2573 * math/w_scalblnl.c: Likewise.
2574 * math/Makefile (libm-calls): Add w_scalbln.
2575 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2576 Remove weak_alias for corresponding scalbln function.
2577 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2578 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2579 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2581 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2582 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2583 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2584 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2585 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2586 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2587 Remove long_double_symbol for scalblnl function in libm, libc.
2588 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2589 Add wrapper which checks for setting errno to ERANGE.
2590 Add long_double_symbol for scalblnl function in libm, libc.
2591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2592 Remove long_double_symbol for scalblnl in libm.
2593 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2594 Add wrapper which checks for setting errno to ERANGE.
2595 Add long_double_symbol for scalblnl function in libm.
2596 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2597 Do not use wrapper because of own implementation.
2598
25992014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2602 3 bytes for __pad1 for x32.
2603 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2604
26052014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2606 H.J. Lu <hongjiu.lu@intel.com>
2607
2608 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2609 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2610 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2611 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2612 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2613
26142014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2615
2616 [BZ #17069]
2617 * posix/regcomp.c (parse_expression): Deallocate partially
2618 constructed tree before returning error.
2619 * posix/Makefile.c (tests): Add bug-regex36.
2620 (generated): Add bug-regex36.mtrace.
2621 (tests-special): Add $(objpfx)bug-regex36-mem.out
2622 (bug-regex36-ENV): New variable.
2623 ($(objpfx)bug-regex36-mem.out): New rule.
2624 * posix/bug-regex36.c: New file.
2625
26262014-06-19 Will Newton <will.newton@linaro.org>
2627
2628 * malloc/malloc.c (systrim): If extra is zero then return
2629 early.
2630
26312014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2632
2633 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2634
26352014-06-19 Richard Earnshaw <rearnsha@arm.com>
2636
2637 * sysdeps/aarch64/strchr.S: New file.
2638
26392014-06-18 Joseph Myers <joseph@codesourcery.com>
2640
2641 [BZ #17022]
2642 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2643 from arguments -2 or below.
2644 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2645 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2646
26472014-06-18 Andreas Schwab <schwab@suse.de>
2648
2649 [BZ #17062]
2650 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2651 of a bracket expr not to run off the end of the string.
2652 * posix/Makefile (tests): Add tst-fnmatch3.
2653 * posix/tst-fnmatch3.c: New file.
2654
26552014-06-18 Joseph Myers <joseph@codesourcery.com>
2656
2657 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2658 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2659 [$(cross-compiling) = no]: Likewise.
2660 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2661 [$(cross-compiling) = no]: Likewise.
2662
26632014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2664
2665 [BZ #17031]
2666 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2667 double, adjusted for any remainder from the high double.
2668 * math/libm-test.inc (nearbyint): Add tests.
2669 (rint): Likewise.
2670
26712014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2672
2673 * nptl/sysdeps/powerpc/Makefile: Moved ...
2674 * sysdeps/powerpc/nptl/Makefile: ... here.
2675 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2676 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2677 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2678 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2679 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2680 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2681 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2682 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2683 * nptl/sysdeps/powerpc/tls.h: Moved ...
2684 * sysdeps/powerpc/nptl/tls.h: ... here.
2685
26862014-06-16 Joseph Myers <joseph@codesourcery.com>
2687
2688 [BZ #16681]
2689 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2690 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2691 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2692 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2693 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2694 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2695 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2696 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2697 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2698
26992014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2700
2701 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2702
27032014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2704
2705 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2706 defined operator.
2707
2708 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2709 $TIMEOUTFACTOR.
2710
27112014-06-16 Florian Weimer <fweimer@redhat.com>
2712
2713 [BZ #17058]
2714 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2715 non-executed part of the test.
2716
27172014-06-16 Andreas Schwab <schwab@suse.de>
2718
2719 * string/bits/string2.h (strdup, strndup): Update feature guard.
2720
27212014-06-14 David S. Miller <davem@davemloft.net>
2722
2723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2724
27252014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2726
2727 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2728 that was previously under [RESET_PID].
2729 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2730
2731 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2732 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2733 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2734 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2735 (__libc_vfork): New strong alias.
2736 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2737
27382014-06-14 Andi Kleen <ak@linux.intel.com>
2739
2740 * sysdeps/generic/elide.h: New file.
2741
27422014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2743
2744 * Makefile (installed-headers): Adjust path of pthread.h header.
2745
27462014-06-13 Roland McGrath <roland@hack.frob.com>
2747
2748 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2749 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2750 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2751 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2752
2753 * nptl/sysdeps/s390/Makefile: Moved ...
2754 * sysdeps/s390/nptl/Makefile: ... here.
2755 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2756 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2757 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2758 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2759 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2760 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2761 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2762 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2763 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2764 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2765 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2766 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2767 * nptl/sysdeps/s390/tls.h: Moved ...
2768 * sysdeps/s390/nptl/tls.h: ... here.
2769
2770 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2771 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2772
27732014-06-13 David S. Miller <davem@davemloft.net>
2774
2775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2778 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2782 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2783 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2784 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2785 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2786 Remove RESET_PID cpp guards.
2787 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2788 Remove RESET_PID cpp guards.
2789 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2790
27912014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2792
2793 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2794 __sp to uintptr_t.
2795
27962014-06-13 Andi Kleen <ak@linux.intel.com>
2797
2798 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2799 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2800 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2801 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2802 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2803 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2804 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2805 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2806 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2807 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2808 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2809 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2810 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2811 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2812 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2813 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2814 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2815 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2816 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2817 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2818
2819 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2820 (pthread_rwlock_rdlock): Add elision.
2821 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2822 (pthread_rwlock_wrlock): Add elision.
2823 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2824 (pthread_rwlock_trywrlock): Add elision.
2825 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2826 (pthread_rwlock_tryrdlock): Add elision.
2827 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2828 (pthread_rwlock_tryrdlock): Add elision unlock.
2829 * nptl/sysdeps/pthread/pthread.h:
2830 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2831 (PTHREAD_RWLOCK_INITIALIZER,
2832 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2833 Handle new elision field.
2834 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2835 * sysdeps/arm/nptl/bits/pthreadtypes.h
2836 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2837 * sysdeps/sh/nptl/bits/pthreadtypes.h
2838 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2839 * sysdeps/tile/nptl/bits/pthreadtypes.h
2840 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2841 * sysdeps/a/nptl/bits/pthreadtypes.h
2842 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2844 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2845 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2846 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2847 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2848 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2849 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2850 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2851 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2852 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2853 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2854 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2855 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2856 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2857 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2858 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2859 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2860 (elision_init): Set try_xbegin to zero when no RTM.
2861 * sysdeps/x86/nptl/bits/pthreadtypes.h
2862 (pthread_rwlock_t): Change __pad1 to __rwelision.
2863 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2864
28652014-06-13 Andi Kleen <ak@linux.intel.com>
2866
2867 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2868 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2869 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2870 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2871
28722014-06-13 Meador Inge <meadori@codesourcery.com>
2873
2874 [BZ #16996]
2875 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2876 that the cached result has been set before returning it.
2877
28782014-06-12 Roland McGrath <roland@hack.frob.com>
2879
2880 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2881 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2882 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2883 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2884 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2885 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2886
2887 * nptl/sysdeps/sparc/Makefile: Moved ...
2888 * sysdeps/sparc/nptl/Makefile: ... here.
2889 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2890 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2891 * nptl/sysdeps/sparc/tls.h: Moved ...
2892 * sysdeps/sparc/nptl/tls.h: ... here.
2893 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2894 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2895 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2896 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2897 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2898 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2899 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2900 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2901 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2902 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2903 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2904 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2905 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2906 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2907 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2908 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2909 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2910 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2911 Update #include.
2912 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2913 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2914 Update #include.
2915 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2916 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2917 Update #include.
2918 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2919 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2920 Update #include.
2921
2922 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2923
2924 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2925 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2926
2927 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2928 (struct list_links): Type removed.
2929 (struct thread_node, struct timer_node): Replace struct list_links
2930 with struct list_head.
2931 (list_unlink_ip): Likewise.
2932 * sysdeps/pthread/timer_routines.c
2933 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2934 (list_append, list_insbefore): Likewise.
2935 (list_init): Function removed.
2936 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2937 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2938 * sysdeps/pthread/Makefile: ... here, new file.
2939
2940 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2941 * sysdeps/nptl/Implies: ... here.
2942 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2943 * nptl/sysdeps/pthread/list.h: Moved ...
2944 * include/list.h: ... here.
2945 * nptl/sysdeps/pthread/createthread.c: Moved ...
2946 * nptl/createthread.c: ... here.
2947 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2948 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2949 * nptl/pt-longjmp.c: ... here.
2950 * nptl/sysdeps/pthread/Makefile: Moved ...
2951 * sysdeps/nptl/Makefile: ... here.
2952 * nptl/sysdeps/pthread/Subdirs: Moved ...
2953 * sysdeps/nptl/Subdirs: ... here.
2954 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2955 * sysdeps/nptl/aio_misc.h: ... here.
2956 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2957 * sysdeps/nptl/bits/libc-lock.h: ... here.
2958 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2959 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2960 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2961 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2962 * nptl/sysdeps/pthread/configure: Moved ...
2963 * sysdeps/nptl/configure: ... here.
2964 * nptl/sysdeps/pthread/configure.ac: Moved ...
2965 * sysdeps/nptl/configure.ac: ... here.
2966 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2967 * sysdeps/nptl/gai_misc.h: ... here.
2968 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2969 * sysdeps/nptl/librt-cancellation.c: ... here.
2970 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2971 * sysdeps/nptl/malloc-machine.h: ... here.
2972 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2973 * sysdeps/nptl/pthread-functions.h: ... here.
2974 * nptl/sysdeps/pthread/pthread.h: Moved ...
2975 * sysdeps/nptl/pthread.h: ... here.
2976 * nptl/sysdeps/pthread/setxid.h: Moved ...
2977 * sysdeps/nptl/setxid.h: ... here.
2978 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2979 * sysdeps/nptl/sigfillset.c: ... here.
2980 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2981 * sysdeps/nptl/tcb-offsets.h: ... here.
2982 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2983 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2984 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2985 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2986 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2987 * sysdeps/pthread/allocalim.h: ... here.
2988 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2989 * sysdeps/pthread/bits/sigthread.h: ... here.
2990 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2991 * sysdeps/pthread/flockfile.c: ... here.
2992 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2993 * sysdeps/pthread/ftrylockfile.c: ... here.
2994 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2995 * sysdeps/pthread/funlockfile.c: ... here.
2996 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2997 * sysdeps/pthread/posix-timer.h: ... here.
2998 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2999 * sysdeps/pthread/timer_create.c: ... here.
3000 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3001 * sysdeps/pthread/timer_delete.c: ... here.
3002 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3003 * sysdeps/pthread/timer_getoverr.c: ... here.
3004 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3005 * sysdeps/pthread/timer_gettime.c: ... here.
3006 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3007 * sysdeps/pthread/timer_routines.c: ... here.
3008 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3009 * sysdeps/pthread/timer_settime.c: ... here.
3010 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3011 * sysdeps/pthread/tst-timer.c: ... here.
3012 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3013 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3014
3015 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3016 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3017
3018 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3019 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3020 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3021 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3022 Update #include target.
3023 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3024 * sysdeps/i386/i686/nptl/Makefile: ... here.
3025 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3026 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3027 Update #include target.
3028 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3029 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3030 * nptl/sysdeps/i386/Makefile: Moved ...
3031 * sysdeps/i386/nptl/Makefile: ... here.
3032 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3033 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3034 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3035 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3036 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3037 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3038 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3039 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3040 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3041 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3042 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3043 * nptl/sysdeps/i386/tls.h: Moved ...
3044 * sysdeps/i386/nptl/tls.h: ... here.
3045
3046 * sysdeps/sh/Makefile [$(subdir) = csu]
3047 (gen-as-const-headers): Add tcb-offsets.sym.
3048 * nptl/sysdeps/sh/Makefile: File removed.
3049 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3050 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3051 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3052 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3053 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3054 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3055 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3056 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3057 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3058 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3059 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3060 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3061 * nptl/sysdeps/sh/tls.h: Moved ...
3062 * sysdeps/sh/nptl/tls.h: ... here.
3063 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3064 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3066 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3067 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3068 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3069 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3070 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3072 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3074 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3075 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3076 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3077 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3078 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3080 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3082 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3084 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3085 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3086 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3088 Moved ...
3089 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3090 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3091 Moved ...
3092 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3093 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3094 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3096 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3097 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3098 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3099 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3100 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3102 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3104 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3106 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3108 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3110 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3111
31122014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3113
3114 * posix/spawn_faction_addopen.c: Include string.h.
3115
31162014-06-11 Roland McGrath <roland@hack.frob.com>
3117
3118 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3119 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3120 * nptl/sysdeps/x86_64/Makefile: Moved ...
3121 * sysdeps/x86_64/nptl/Makefile: ... here.
3122 * nptl/sysdeps/x86_64/configure: Moved ...
3123 * sysdeps/x86_64/nptl/configure: ... here.
3124 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3125 * sysdeps/x86_64/nptl/configure.ac: ... here.
3126 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3127 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3128 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3129 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3130 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3131 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3132 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3133 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3134 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3135 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3136 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3137 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3138 * nptl/sysdeps/x86_64/tls.h: Moved ...
3139 * sysdeps/x86_64/nptl/tls.h: ... here.
3140 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3141 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3142 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3143 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3144
3145 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3146
31472014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3148
3149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3150
31512014-06-11 Joseph Myers <joseph@codesourcery.com>
3152
3153 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3154 type.
3155 [POSIX] (off_t): Likewise.
3156 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3157 [POSIX] (S_ISBLK): Require macro.
3158 [POSIX] (S_ISCHR): Likewise.
3159 [POSIX] (S_ISDIR): Likewise.
3160 [POSIX] (S_ISFIFO): Likewise.
3161 [POSIX] (S_ISREG): Likewise.
3162 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3163 optional-macro.
3164 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3165 type.
3166 [POSIX] (time_t): Likewise.
3167 [POSIX] (timer_t): Likewise.
3168
31692014-06-11 Florian Weimer <fweimer@redhat.com>
3170
3171 [BZ #17048]
3172 * posix/spawn_int.h (struct __spawn_action): Make the path string
3173 non-const to support deallocation.
3174 * posix/spawn_faction_addopen.c
3175 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3176 * posix/spawn_faction_destroy.c
3177 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3178 path in all spawn_do_open actions.
3179 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3180 posix_spawn_file_actions_addopen.
3181
31822014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3183
3184 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3185 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3186 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3187 conditional code always true.
3188 (__libc_vfork): New alias.
3189
31902014-06-11 Roland McGrath <roland@hack.frob.com>
3191
3192 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3193 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3194
3195 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3196
3197 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3198 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3199
3200 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3201 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3202
3203 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3204 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3205
32062014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3207
3208 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3209 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3210 multiarch strcmp for PPC64.
3211 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3212 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3214 multiarch optimizations.
3215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3216 (__libc_ifunc_impl_list): Likewise.
3217
32182014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3219
3220 * benchtests/scripts/validate_benchout.py: New script.
3221 * benchtests/Makefile (bench-func): Call it.
3222 * benchtests/scripts/benchout.schema.json: New file.
3223
32242014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3225
3226 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3227 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3228 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3229 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3230 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3231 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3232 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3233 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3234 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3235 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3236 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3237 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3238 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3239 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3240 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3241 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3243 Moved ...
3244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3245 ... here.
3246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3247 Moved ...
3248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3250 Moved ...
3251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3252 ... here.
3253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3254 Moved ...
3255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3256 ... here.
3257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3258 Moved ...
3259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3261 Moved ...
3262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3263 ... here.
3264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3265 Moved ...
3266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3267 ... here.
3268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3269 Moved ...
3270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3272 Moved ...
3273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3274 ... here.
3275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3276 Moved ...
3277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3278 ... here.
3279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3280 Moved ...
3281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3282 ... here.
3283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3284 Moved ...
3285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3287 Moved ...
3288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3289 ... here.
3290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3291 Moved ...
3292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3293 ... here.
3294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3295 Moved ...
3296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3297 ... here.
3298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3299 Moved ...
3300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3302 Moved ...
3303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3304 ... here.
3305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3306 Moved ...
3307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3308 ... here.
3309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3310 Moved ...
3311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3313 Moved ...
3314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3315 ... here.
3316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3317 Moved ...
3318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3320 Moved ...
3321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3323 Moved ...
3324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3325 ... here.
3326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3327 Moved ...
3328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3329 ... here.
3330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3331 Moved ...
3332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3333 ... here.
3334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3335 Moved ...
3336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3338 Moved ...
3339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3340 ... here.
3341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3342 Moved ...
3343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3344 ... here.
3345 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3346 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3347 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3348 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3349 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3350 Moved ...
3351 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3352 ... here.
3353 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3354 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3355 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3356 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3357 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3358 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3359 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3360 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3361 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3362 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3363 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3364 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3365 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3366 Moved ...
3367 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3368 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3369 Moved ...
3370 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3371 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3372 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3373 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3374 Moved ...
3375 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3376 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3377 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3379 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3380 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3381 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3382
33832014-06-10 Wilco <wdijkstr@arm.com>
3384
3385 * math/test-fenv-return.c: New file.
3386 * math/Makefile: Add new test test-fenv-return.
3387
33882014-06-10 Joseph Myers <joseph@codesourcery.com>
3389
3390 [BZ #17042]
3391 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3392 when x - 1 is zero.
3393 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3394 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3395 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3396 0.0L for an argument of 1.0L.
3397 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3398 Likewise.
3399 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3400 value when x - 1 is zero.
3401 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3402 * sysdeps/i386/fpu/libm-test-ulps: Update.
3403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3404
34052014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3406
3407 [BZ #15119]
3408 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3409
34102014-06-09 Roland McGrath <roland@hack.frob.com>
3411
3412 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3413 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3414
34152014-06-09 Roland McGrath <roland@hack.frob.com>
3416
3417 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3418 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3419
3420 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3421 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3422
3423 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3424 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3425
3426 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3427 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3428
3429 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3430 if not already defined.
3431 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3432 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3433 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3434 (TLS_INIT_TP): Use it.
3435 (TLS_DEFINE_INIT_TP): New macro.
3436 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3437
34382014-06-09 Joseph Myers <joseph@codesourcery.com>
3439
3440 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3441 constant.
3442 [POSIX] (IXANY): Likewise.
3443 [POSIX] (OLCUC): Likewise.
3444 [POSIX || POSIX2008] (CBAUD): Do not allow.
3445 [POSIX || POSIX2008] (DEFECHO): Likewise.
3446 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3447 [POSIX || POSIX2008] (ECHOKE): Likewise.
3448 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3449 [POSIX || POSIX2008] (EXTA): Likewise.
3450 [POSIX || POSIX2008] (EXTB): Likewise.
3451 [POSIX || POSIX2008] (FLUSHO): Likewise.
3452 [POSIX || POSIX2008] (LOBLK): Likewise.
3453 [POSIX || POSIX2008] (PENDIN): Likewise.
3454 [POSIX || POSIX2008] (SWTCH): Likewise.
3455 [POSIX || POSIX2008] (VDISCARD): Likewise.
3456 [POSIX || POSIX2008] (VDSUSP): Likewise.
3457 [POSIX || POSIX2008] (VLNEXT): Likewise.
3458 [POSIX || POSIX2008] (VREPRINT): Likewise.
3459 [POSIX || POSIX2008] (VSTATUS): Likewise.
3460 [POSIX || POSIX2008] (VWERASE): Likewise.
3461 (B*): Change to B[0123456789]*.
3462 * conform/data/time.h-data [POSIX || UNIX98]
3463 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3464 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3465 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3466 [POSIX] (tm_*): Do not allow.
3467
34682014-06-07 Joseph Myers <joseph@codesourcery.com>
3469
3470 * Makefile (install): Don't set LANGUAGE.
3471 * Makefile.in (install): Likewise.
3472 * assert/Makefile (test-assert-ENV): Remove variable.
3473 (test-assert-perr-ENV): Likewise.
3474 * elf/Makefile (neededtest4-ENV): Likewise.
3475 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3476 [$(cross-compiling) = no]: Don't set LANGUAGE.
3477 * io/ftwtest-sh (LANG): Remove variable.
3478 * libio/Makefile (tst-widetext-ENV): Likewise.
3479 * manual/install.texi (Running make install): Don't refer to
3480 environment settings for make install.
3481 * INSTALL: Regenerated.
3482 * nptl/tst-tls6.sh: Don't set LANG.
3483 * posix/globtest.sh (LANG): Remove variable.
3484 * string/Makefile (tester-ENV): Likewise.
3485 (inl-tester-ENV): Likewise.
3486 (noinl-tester-ENV): Likewise.
3487 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3488 [$(cross-compiling) = no]: Don't set LANGUAGE.
3489 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3490 without explicit environment settings.
3491
34922014-06-06 Roland McGrath <roland@hack.frob.com>
3493
3494 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3495 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3497 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3498
34992014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3500
3501 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3502 other files in the crypt directory.
3503 * crypt/crypt.c: Remove duplicate includes.
3504 * crypt/crypt-entry.c: Likewise.
3505 * crypt/crypt_util.c: Likewise.
3506
35072014-06-06 Joseph Myers <joseph@codesourcery.com>
3508
3509 * Makeconfig (run-program-env): New variable.
3510 (run-program-prefix-before-env): Likewise.
3511 (run-program-prefix-after-env): Likewise.
3512 (run-program-prefix): Define in terms of new variables.
3513 (built-program-cmd-before-env): New variable.
3514 (built-program-cmd-after-env): Likewise.
3515 (built-program-cmd): Define in terms of new variables.
3516 (test-program-prefix-before-env): New variable.
3517 (test-program-prefix-after-env): Likewise.
3518 (test-program-prefix): Define in terms of new variables.
3519 (test-program-cmd-before-env): New variable.
3520 (test-program-cmd-after-env): Likewise.
3521 (test-program-cmd): Define in terms of new variables.
3522 * Rules (make-test-out): Use $(run-program-env).
3523 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3524 (help): Do not mention environment variables. Mention
3525 --timeoutfactor option.
3526 (timeoutfactor): New variable.
3527 (blacklist_exports): Remove function.
3528 (exports): Remove variable.
3529 (command): Do not include ${exports}.
3530 * manual/install.texi (Configuring and compiling): Do not mention
3531 test wrappers preserving environment variables. Mention that last
3532 assignment to a variable must take precedence.
3533 * INSTALL: Regenerated.
3534 * benchtests/Makefile (run-bench): Use $(run-program-env).
3535 * catgets/Makefile ($(objpfx)test1.cat): Use
3536 $(built-program-cmd-before-env), $(run-program-env) and
3537 $(built-program-cmd-after-env).
3538 ($(objpfx)test2.cat): Do not specify environment variables
3539 explicitly.
3540 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3541 $(run-program-env) and $(built-program-cmd-after-env).
3542 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3543 $(run-program-env) and $(test-program-cmd-after-env).
3544 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3545 explicitly.
3546 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3547 run_program_env and test_program_cmd_after_env arguments.
3548 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3549 * elf/tst-pathopt.sh: Use run_program_env argument.
3550 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3551 $(test-wrapper-env) and $(run-program-env).
3552 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3553 run_program_env arguments.
3554 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3555 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3556 $(test-program-prefix-before-env), $(run-program-env) and
3557 $(test-program-prefix-after-env).
3558 ($(objpfx)tst-gettext2.out): Likewise.
3559 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3560 run_program_env and test_program_prefix_after_env arguments.
3561 * intl/tst-gettext2.sh: Likewise.
3562 * intl/tst-gettext4.sh: Do not set environment variables
3563 explicitly.
3564 * intl/tst-gettext6.sh: Likewise.
3565 * intl/tst-translit.sh: Likewise.
3566 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3567 $(test-program-prefix-before-env), $(run-program-env) and
3568 $(test-program-prefix-after-env).
3569 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3570 run_program_env and test_program_prefix_after_env arguments.
3571 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3572 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3573 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3574 explicitly with each use of ${test_wrapper_env}.
3575 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3576 $(test-program-prefix-before-env), $(run-program-env) and
3577 $(test-program-prefix-after-env).
3578 * posix/tst-getconf.sh: Do not set environment variables
3579 explicitly.
3580 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3581 run_program_env and test_program_prefix_after_env arguments.
3582 * stdio-common/tst-printf.sh: Do not set environment variables
3583 explicitly.
3584 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3585 $(test-program-prefix-before-env), $(run-program-env) and
3586 $(test-program-prefix-after-env).
3587 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3588 run_program_env and test_program_prefix_after_env arguments.
3589 Split $test calls into $test_pre and $test.
3590 * timezone/Makefile (build-testdata): Use
3591 $(built-program-cmd-before-env), $(run-program-env) and
3592 $(built-program-cmd-after-env).
3593
35942014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3595
3596 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3597 strlen for non SHARED builds.
3598
35992014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3600
3601 * nptl/allocatestack.c (check_list): Inlined function...
3602 (__reclaim_stacks): ... here.
3603
36042014-06-05 Ondřej Bílka <neleai@seznam.cz>
3605
3606 [BZ #15698]
3607 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3608 memory overrun.
3609
36102014-06-05 Joseph Myers <joseph@codesourcery.com>
3611
3612 * Rules (make-test-out): Include
3613 LOCPATH=$(common-objpfx)localedata in default environment.
3614 * debug/Makefile (tst-chk1-ENV): Remove variable.
3615 (tst-chk2-ENV): Likewise.
3616 (tst-chk3-ENV): Likewise.
3617 (tst-chk4-ENV): Likewise.
3618 (tst-chk5-ENV): Likewise.
3619 (tst-chk6-ENV): Likewise.
3620 (tst-lfschk1-ENV): Likewise.
3621 (tst-lfschk2-ENV): Likewise.
3622 (tst-lfschk3-ENV): Likewise.
3623 (tst-lfschk4-ENV): Likewise.
3624 (tst-lfschk5-ENV): Likewise.
3625 (tst-lfschk6-ENV): Likewise.
3626 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3627 (tst-iconv7-ENV): Likewise.
3628 * intl/Makefile (LOCPATH-ENV): Likewise.
3629 (tst-codeset-ENV): Likewise.
3630 (tst-gettext3-ENV): Likewise.
3631 (tst-gettext5-ENV): Likewise.
3632 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3633 (tst-fopenloc-ENV): Likewise.
3634 (tst-fgetws-ENV): Remove variable.
3635 (tst-ungetwc1-ENV): Likewise.
3636 (tst-ungetwc2-ENV): Likewise.
3637 (bug-ungetwc2-ENV): Likewise.
3638 (tst-swscanf-ENV): Likewise.
3639 (bug-ftell-ENV): Likewise.
3640 (tst-fgetwc-ENV): Likewise.
3641 (tst-fseek-ENV): Likewise.
3642 (tst-ftell-partial-wide-ENV): Likewise.
3643 (tst-ftell-active-handler-ENV): Likewise.
3644 (tst-ftell-append-ENV): Likewise.
3645 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3646 (tst-regexloc-ENV): Likewise.
3647 (bug-regex1-ENV): Likewise.
3648 (tst-regex-ENV): Likewise.
3649 (tst-regex2-ENV): Likewise.
3650 (bug-regex5-ENV): Likewise.
3651 (bug-regex6-ENV): Likewise.
3652 (bug-regex17-ENV): Likewise.
3653 (bug-regex18-ENV): Likewise.
3654 (bug-regex19-ENV): Likewise.
3655 (bug-regex20-ENV): Likewise.
3656 (bug-regex22-ENV): Likewise.
3657 (bug-regex23-ENV): Likewise.
3658 (bug-regex25-ENV): Likewise.
3659 (bug-regex26-ENV): Likewise.
3660 (bug-regex30-ENV): Likewise.
3661 (bug-regex32-ENV): Likewise.
3662 (bug-regex33-ENV): Likewise.
3663 (bug-regex34-ENV): Likewise.
3664 (bug-regex35-ENV): Likewise.
3665 (tst-rxspencer-ENV): Likewise.
3666 (tst-rxspencer-no-utf8-ENV): Likewise.
3667 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3668 (tst-sscanf-ENV): Likewise.
3669 (tst-swprintf-ENV): Likewise.
3670 (tst-swscanf-ENV): Likewise.
3671 (test-vfprintf-ENV): Likewise.
3672 (scanf13-ENV): Likewise.
3673 (bug14-ENV): Likewise.
3674 (tst-grouping-ENV): Likewise.
3675 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3676 (tst-strtod3-ENV): Likewise.
3677 (tst-strtod4-ENV): Likewise.
3678 (tst-strtod5-ENV): Likewise.
3679 (testmb2-ENV): Likewise./
3680 * string/Makefile (tst-strxfrm-ENV): Likewise.
3681 (tst-strxfrm2-ENV): Likewise.
3682 (bug-strcoll1-ENV): Likewise.
3683 (test-strcasecmp-ENV): Likewise.
3684 (test-strncasecmp-ENV): Likewise.
3685 * time/Makefile (tst-strptime-ENV): Likewise.
3686 (tst-ftime_l-ENV): Likewise.
3687 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3688 (tst-mbrtowc-ENV): Likewise.
3689 (tst-wcrtomb-ENV): Likewise.
3690 (tst-mbrtowc2-ENV): Likewise.
3691 (tst-c16c32-1-ENV): Likewise.
3692 (tst-mbsnrtowcs-ENV): Likewise.
3693
36942014-06-05 Ondřej Bílka <neleai@seznam.cz>
3695
3696 * manual/resource.texi (How to get information about the memory
3697 subsystem?): Fix typo.
3698 Reported by Peon de la Parra Ivan <peon@keba.com>
3699
37002014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3701
3702 [BZ #16882]
3703 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3704 (pthread_spin_lock): Branch out of spin loop to proper location.
3705 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3706 (pthread_spin_lock): Likewise.
3707
3708 * nptl/tst-spin4.c: New test.
3709 * nptl/Makefile (tests): Add tst-spin4.
3710
37112014-06-03 Andreas Schwab <schwab@suse.de>
3712
3713 [BZ #15946]
3714 * resolv/res_send.c (send_dg): Reload file descriptor after
3715 calling reopen.
3716
37172014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3718
3719 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3720
37212014-06-03 Richard Henderson <rth@redhat.com>
3722
3723 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3724 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3725 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3726 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3727 in the SAVE_PID block.
3728 (__libc_vfork): New alias.
3729 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3730
3731 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3732 child in registers, not on the stack. Remove RESET_PID conditionals.
3733 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3734
37352014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3736
3737 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3738
37392014-06-03 Wilco <wdijkstr@arm.com>
3740
3741 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3742 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3743 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3744 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3745 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3746 Likewise.
3747
37482014-06-03 Wilco <wdijkstr@arm.com>
3749
3750 * sysdeps/aarch64/fpu/math_private.h
3751 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3752 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3753 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3754 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3755 Fix declarations.
3756
37572014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3758
3759 * crypt/crypt-private.h: Include ufc-crypt.h.
3760 (__b64_from_24bit): Declare extern.
3761 * crypt/crypt_util.c(__b64_from_24bit): New function.
3762 (b64t): New static const variable.
3763 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3764 (b64t): Remove variable.
3765 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3766 * crypt/sha256-crypt.c: Include crypt-private.h.
3767 (b64t): Remove variable.
3768 (__sha256_crypt_r): Remove b64_from_24bit and replace
3769 with __b64_from_24bit.
3770 * crypt/sha512-crypt.c: Likewise.
3771
37722014-06-02 Roland McGrath <roland@hack.frob.com>
3773
3774 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3775 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3776 Label the code __libc_vfork rather than __vfork.
3777 [!NOT_IN_libc] (vfork): Define as weak alias.
3778 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3779 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3780 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3781
37822014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3783
3784 * malloc/malloc.c (malloc_info): Fix format specifier for
3785 n_mmaps.
3786
37872014-06-02 Wilco <wdijkstr@arm.com>
3788
3789 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3790 FPCR write.
3791
37922014-06-02 Wilco <wdijkstr@arm.com>
3793
3794 [BZ #17009]
3795 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3796 Rewrite to reduce FPCR/FPSR accesses.
3797
37982014-06-01 David S. Miller <davem@davemloft.net>
3799
3800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3801
38022014-05-31 David S. Miller <davem@davemloft.net>
3803
3804 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3805 to occur in round to nearest mode when |x| >= 2.0
3806
38072014-05-30 Richard Henderson <rth@twiddle.net>
3808
3809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3810 (PSEUDO_RET_NOERRNO): Remove.
3811 (ret): Don't redefine.
3812 (ret_NOERRNO): Define in terms of ret.
3813 (ret_ERRVAL): Likewise.
3814
3815 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3816 use of PSEUDO_RET; perform the error check directly.
3817
38182014-05-30 Marko Myllynen <myllynen@redhat.com>
3819
3820 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3821 with __int128_t.
3822
38232014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3824
3825 * malloc/malloc (malloc_info): Fix formatting.
3826
38272014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3828 Roland McGrath <roland@hack.frob.com>
3829
3830 * malloc/malloc (malloc_info): Also print mmapped statistics.
3831
38322014-05-30 Roland McGrath <roland@hack.frob.com>
3833
3834 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3835 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3836
38372014-05-30 Ondřej Bílka <neleai@seznam.cz>
3838
3839 * malloc/malloc.c (malloc_info): Inline mi_arena.
3840
38412014-05-29 Richard Henderson <rth@twiddle.net>
3842
3843 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3844 Remove comma before expanding ASM_ARGS_##nr.
3845 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3846 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3847 of ASM_ARGS_##nr.
3848 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3849 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3850 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3851 (ASM_ARGS_1): Add leading comma.
3852
3853 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3854 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3855 to __errno_location.
3856 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3857 Remove the expected plt for __errno_location.
3858
3859 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3860 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3861 call to __read_tp.
3862
3863 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3864 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3865 it and break it down.
3866 (DOCARGS_0, DOCARGS_1): Do nothing.
3867 (DOCARGS_2): Update to store into the new stack frame.
3868 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3869 (UNDOCARGS_1): Update to restore from the new stack frame.
3870 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3871 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3872
3873 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3874 (SINGLE_THREAD_P): New parameter for result regno.
3875 (PSEUDO): Update to match; use cbz instead of beq.
3876
3877 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3878 Use ENTRY to define the _nocancel entry point. Share the syscall
3879 and syscall error check paths with the cancel path.
3880 (PSEUDO_END): New.
3881
3882 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3883 whitespace; tabs before and after asm mnemonics.
3884
38852014-05-29 Eric Wong <normalperson@yhbt.net>
3886
3887 [BZ #15132]
3888 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3889 Call fstat64 or stat64 internally, depending on arguments passed.
3890 Replace stat buffer argument with file descriptor argument.
3891 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3892 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3893 Pass fd to __internal_statvfs instead of calling fstat64.
3894 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3895 Pass fd to __internal_statvfs64 instead of calling fstat64.
3896 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3897 Pass -1 to __internal_statvfs instead of calling stat64.
3898 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3899 Pass -1 to __internal_statvfs64 instead of calling stat64.
3900
39012014-05-28 Roland McGrath <roland@hack.frob.com>
3902
3903 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3904 that was previously under [RESET_PID].
3905 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3906
3907 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3908 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3909
39102014-05-27 Roland McGrath <roland@hack.frob.com>
3911
3912 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3913
3914 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3915 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3916
39172014-05-27 Ondřej Bílka <neleai@seznam.cz>
3918
3919 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3920
39212014-05-27 Andreas Schwab <schwab@suse.de>
3922
3923 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3924 TLS_INIT_TP macro.
3925 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3926 * elf/rtld.c (init_tls, dl_main): Likewise.
3927 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3928 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3929 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3930 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3931 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3932 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3933 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3934 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3935 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3936 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3937 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3938 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3939 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3940 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3941 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3942 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3943 * sysdeps/generic/tls.h: Update description.
3944
39452014-05-27 Will Newton <will.newton@linaro.org>
3946
3947 [BZ #16990]
3948 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3949 and restore r2 rather than just restoring.
3950
39512014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3952
3953 [BZ #16724]
3954 * libio/tst-ftell-append.c: New test case.
3955 * libio/Makefile (tests): Add test case.
3956 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3957 append mode.
3958 * libio/wfileops.c (do_ftell_wide): Likewise.
3959
39602014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3961
3962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3963
3964 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3965 ...
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3968 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3969 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3970 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3971 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3972 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3973 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3974 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3975 Moved ...
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3977 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3978 Moved ...
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3980 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3981 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3982 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3983 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3984 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3985 ...
3986 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3988 Moved ...
3989 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3990 here.
3991 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3992 ...
3993 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3994 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3995 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3996
3997 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3998 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3999 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4000 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4001
4002 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4003 merge into ...
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4005 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4006 ...
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4008 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4009 ...
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4012 Moved ...
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4014 here.
4015 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4016 Moved ...
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4018 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4019 Moved ...
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4021
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4023 conditional [RESET_PID].
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4026 removed.
4027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4028 removed.
4029
4030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4031 <tcb-offsets.h>.
4032 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4033 (__libc_vfork): New strong alias.
4034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4035 removed.
4036 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4037 Removed.
4038
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4040 <tcb-offsets.h>.
4041 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4042 (__libc_vfork): New strong alias.
4043 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4044 removed.
4045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4046 removed.
4047
40482014-05-26 Carlos O'Donell <carlos@redhat.com>
4049
4050 * malloc/malloc.c (mi_arena): New function.
4051 (malloc_info): Remove nested function mi_arena. Call non-nosted
4052 function mi_arena.
4053
40542014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4055
4056 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4057 by insrwi.
4058 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4059 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4060 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4061 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4062 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4063 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4064 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4065
40662014-05-26 Andreas Schwab <schwab@suse.de>
4067
4068 [BZ #16984]
4069 * locale/programs/repertoire.c (repertoire_read): Add slash
4070 between I18NPATH element and file name.
4071 * locale/programs/locfile.c (locfile_read): Likewise.
4072
40732014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4074
4075 * nptl/pthread_mutexattr_settype.c
4076 (__pthread_mutexattr_settype):
4077 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4078
40792014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4080
4081 * nptl/tst-mutex5 (do_test):
4082 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4083
40842014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4085
4086 * benchtests/README: Document 'init' directive.
4087 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4088 BENCH_INIT.
4089 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4090 (parse_file): Recognize 'init' directive.
4091
40922014-05-26 Kyle McMartin <kyle@redhat.com>
4093
4094 [BZ #16796]
4095 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4096 alignment of struct pthread.
4097
40982014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4099
4100 [BZ #16878]
4101 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4102 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4103 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4104 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4105
41062014-05-25 Richard Henderson <rth@twiddle.net>
4107
4108 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4109 (SINGLE_THREAD_P_PIC): Remove.
4110 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4111 (SINGLE_THREAD_P_PIC): Remove.
4112
4113 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4114 branch to syscall error ...
4115 (PSEUDO): ... here.
4116 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4117 from __local_syscall_error to .Lsyscall_error.
4118 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4119 (SYSCALL_ERROR): Update label name.
4120
4121 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4122 Do not use DOARGS/UNDOARGS.
4123 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4124 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4125 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4126 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4127 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4128
4129 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4130 block comment.
4131
4132 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4133 define if !NOT_IN_libc.
4134 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4135 define with non-default symbol versions.
4136
41372014-05-23 Richard Henderson <rth@twiddle.net>
4138
4139 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4140 (vfork, __vfork): Define via compat_symbol.
4141
4142 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4143 [!HAVE_IFUNC] (vfork_compat): Remove.
4144 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4145
41462014-05-23 Joseph Myers <joseph@codesourcery.com>
4147
4148 [BZ #16978]
4149 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4150 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4151 variable.
4152
41532014-05-23 Richard Henderson <rth@twiddle.net>
4154
4155 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4156 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4157 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4158 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4159
4160 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4161 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4162 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4163 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4164 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4165 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4166 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4167 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4168 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4169 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4170 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4171 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4172 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4177 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4179 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4181 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4182 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4183 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4184 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4185 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4186 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4187 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4188 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4189 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4190 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4191 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4192 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4193 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4194 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4195 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4196 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4197 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4198 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4199 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4200 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4201 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4202 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4203 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4204 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4205 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4206 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4207 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4208 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4209 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4210 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4211 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4212 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4213 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4214 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4215 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4216
4217 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4218 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4219 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4220 before exiting on error.
4221 (__libc_vfork): New strong alias.
4222 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4223 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4224
4225 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4226 that was previously under [RESET_PID].
4227 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4228
4229 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4230
42312014-05-23 Joseph Myers <joseph@codesourcery.com>
4232
4233 [BZ #16977]
4234 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4235 value when x - 1 is zero.
4236 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4237 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4238 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4239 0.0L for an argument of 1.0L.
4240 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4241 Likewise.
4242 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4243 value when x - 1 is zero.
4244 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4245 * sysdeps/i386/fpu/libm-test-ulps: Update.
4246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4247
42482014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4249
4250 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4251 alphasort and versionsort.
4252
42532014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4254
4255 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4256 macro.
4257 [copysignf]: Likewise.
4258
42592014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
4261 * crypt/md5-crypt.c: Fix formatting.
4262
42632014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4264
4265 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4266 (b64_from_24bit): New function.
4267
42682014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269
4270 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4271 libc_hidden_builtin_def to ifunc.
4272 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4273 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4274
42752014-05-21 Roland McGrath <roland@hack.frob.com>
4276
4277 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4278 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4279
42802014-05-21 Joseph Myers <joseph@codesourcery.com>
4281
4282 * nscd/Depend (linuxthreads): Remove.
4283 (nptl): Add.
4284 * resolv/Depend (linuxthreads): Remove.
4285 * rt/Depend (linuxthreads): Remove.
4286
4287 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4288 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4289 $(common-objpfx)elf/.
4290 (link-libc-before-gnulib): Likewise.
4291 (elfobjdir): Remove variable.
4292 * Makefile (install): Use $(elf-objpfx) instead of
4293 $(common-objpfx)elf/.
4294 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4295 $(elfobjdir)/.
4296 (link-libc-deps): Likewise.
4297 ($(common-objpfx)libc.so): Likewise.
4298 ($(common-objpfx)linkobj/libc.so): Likewise.
4299 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4300 instead of $(common-objpfx)elf/.
4301 (symbolic-link-list): Likewise.
4302 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4303 [$(cross-compiling) = no]: Likewise.
4304 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4305 $(elfobjdir)/.
4306 (static-gnulib-arch): Likewise.
4307 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4308 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4309 $(common-objpfx)elf/.
4310
43112014-05-21 Richard Henderson <rth@redhat.com>
4312
4313 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4314 (SINGLE_THREAD_P): Use the correct width load. Fold
4315 into the ldr offset.
4316
4317 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4318 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4319
43202014-05-20 Joseph Myers <joseph@codesourcery.com>
4321
4322 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4323 (libgcc_s_resume): Use __attribute_used__.
4324 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4325 Likewise.
4326
43272014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4328
4329 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4330 optimization when used with float constants.
4331
4332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4333
43342014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4335
4336 [BZ #16915]
4337 * locale/nl_langinfo_l.c: Make direct reference to every
4338 _nl_current_CATEGORY symbol.
4339 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4340 (tests-static): Add tst-langinfo-static.
4341 (tests-special): Add tst-langinfo-static.out.
4342 ($(objpfx)tst-langinfo.out): Redirect output.
4343 ($(objpfx)tst-langinfo-static.out): New.
4344 * localedata/tst-langinfo.sh: Send output to stdout.
4345 * localedata/tst-langinfo-static.c: New file.
4346
4347 [BZ #16965]
4348 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4349 when the shift amount is modulo the limb size.
4350
43512014-05-20 Richard Henderson <rth@redhat.com>
4352
4353 [BZ #16967]
4354 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4355 Change type of sa_flags from unsigned int to int.
4356
4357 [BZ #16966]
4358 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4359
4360 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4361
43622014-05-20 Will Newton <will.newton@linaro.org>
4363
4364 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4365 Test the return value of the system call in the nocancel case.
4366
43672014-05-20 Will Newton <will.newton@linaro.org>
4368 Yvan Roux <yvan.roux@linaro.org>
4369
4370 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4371 #include of asm/ptrace.h.
4372 (PTRACE_GET_THREAD_AREA): Remove #undef.
4373 (PTRACE_GETHBPREGS): Likewise.
4374 (PTRACE_SETHBPREGS): Likewise.
4375 (struct user_regs_struct): New structure.
4376 (struct user_fpsimd_struct): New structure.
4377 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4378 #include of asm/ptrace.h and second #include of sys/user.h.
4379 (PTRACE_GET_THREAD_AREA): Remove #undef.
4380 (PTRACE_GETHBPREGS): Likewise.
4381 (PTRACE_SETHBPREGS): Likewise.
4382 (ELF_NGREG): Use new struct user_regs_struct.
4383 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4384
43852014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386
4387 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4388 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4389
43902014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4391
4392 [BZ #16958]
4393 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4394 membar to avoid block loads/stores to overlap previous stores.
4395
43962014-05-17 Richard Henderson <rth@redhat.com>
4397
4398 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4399 Create the __##syscall_name##_nocancel entry point.
4400 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4401 Remove; let the sysdep-cancel.h code create it.
4402
44032014-05-17 David S. Miller <davem@davemloft.net>
4404
4405 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4406 Protect with __USE_GNU.
4407 (TIOCSET_TEMPT): Likewise.
4408 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4409 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4410 these are already provided in bits/ioctl-types.h
4411
44122014-05-16 Roland McGrath <roland@hack.frob.com>
4413
4414 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4415 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4416
4417 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4418 Use wait4 regardless of [__NR_waitpid].
4419
44202014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4421
4422 PR libgcc/60166
4423 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4424 (_FP_NANSIGN_Q): Set the quiet bit.
4425
44262014-05-16 Joseph Myers <joseph@codesourcery.com>
4427
4428 * benchtests/Makefile
4429 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4430 not $(common-objpfx)math/libm.so.
4431 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4432 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4433 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4434 $(common-objpfx)dlfcn/libdl.so.
4435 ($(objpfx)tst-audit8): Depend on $(libm), not
4436 $(common-objpfx)math/libm.so.
4437 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4438 not $(common-objpfx)dlfcn/libdl.so.
4439 * math/Makefile
4440 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4441 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4442 [$(build-shared) = yes].
4443 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4444 $(common-objpfx)nptl/libpthread.so.
4445 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4446 $(common-objpfx)math/libm.so$(libm.so-version) or
4447 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4448 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4449 $(common-objpfx)dlfcn/libdl.so.
4450 * setjmp/Makefile (link-libm): Remove variable.
4451 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4452 * stdio-common/Makefile (link-libm): Remove variable.
4453 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4454 * stdlib/Makefile (link-libm): Remove variable.
4455 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4456 ($(objpfx)tst-strtod-round): Likewise.
4457 ($(objpfx)tst-tininess): Likewise.
4458 ($(objpfx)tst-strtod-underflow): Likewise.
4459 ($(objpfx)tst-strtod6): Likewise.
4460 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4461 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4462 $(common-objpfx)dlfcn/libdl.so.
4463
44642014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4465
4466 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4467 BSD terminal modes definitions.
4468
44692014-05-16 Roland McGrath <roland@hack.frob.com>
4470
4471 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4472 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4473
4474 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4475 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4476 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4477 Don't do #include_next.
4478 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4479 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4480 Don't do #include_next.
4481 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4482 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4483 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4484 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4485
44862014-05-16 Allan McRae <allan@archlinux.org>
4487
4488 * po/sv.po: Update Swedish translation from translation project.
4489
4490 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4491 in sed expression.
4492
44932014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4494
4495 [BZ #16917]
4496 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4497 errno if the TIOCGPTN ioctl fails with an error different than
4498 EINVAL.
4499 * login/tst-ptsname.c: New file.
4500 * login/Makefile (tests): Add tst-ptsname.
4501
4502 [BZ #16943]
4503 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4504 and prlimit64.
4505
45062014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4507
4508 [BZ #16849]
4509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4510 herrno to return EAI_AGAIN.
4511
45122014-05-14 Roland McGrath <roland@hack.frob.com>
4513
4514 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4515 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4516 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4517 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4518 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4519 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4520 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4521 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4522 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4523 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4524 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4525 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4526 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4527 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4529 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4530 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4531 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4532 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4533 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4537 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4538 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4539 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4541 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4542 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4543 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4545 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4547 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4549 Moved ...
4550 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4552 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4554 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4556 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4558 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4560 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4562 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4564 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4566 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4568 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4570 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4572 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4574 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4576 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4578 Moved ...
4579 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4581 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4583 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4585 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4587 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4589 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4591 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4593 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4595 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4597 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4599 Moved ...
4600 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4602 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4603
4604 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4605 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4606 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4607 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4608 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4609 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4610 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4611 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4612 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4613 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4614 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4615 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4616 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4617 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4618 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4619 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4620 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4621 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4622 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4623 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4624 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4625 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4626 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4627 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4628 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4629 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4630 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4631 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4632 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4633 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4634 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4635
4636 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4637 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4638
4639 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4640 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4641 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4642 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4643 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4644 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4645 Moved ...
4646 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4647 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4648 Moved ...
4649 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4650 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4651 Moved ...
4652 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4653 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4654 Moved ...
4655 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4656 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4657 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4658 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4659 Moved ...
4660 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4661 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4662 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4663 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4664 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4665 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4666 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4667 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4668 Moved ...
4669 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4670 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4671 Moved ...
4672 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4673 ... here.
4674 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4675 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4676 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4677 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4678 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4679 Moved ...
4680 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4681 ... here.
4682 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4683 Moved ...
4684 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4686 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4687 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4688 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4689 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4690 Moved ...
4691 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4692 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4693 Moved ...
4694 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4695 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4696 Moved ...
4697 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4698 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4699 Moved ...
4700 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4701 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4702 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4703 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4704 Moved ...
4705 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4706 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4707 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4708 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4709 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4710 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4711 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4712 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4713 Moved ...
4714 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4715 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4716 Moved ...
4717 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4718 ... here.
4719 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4720 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4722 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4724 Moved ...
4725 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4726 ... here.
4727 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4728 Moved ...
4729 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4730 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4731 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4732 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4733 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4734 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4735 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4737 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4739 Moved ...
4740 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4742 Moved ...
4743 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4744 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4745 Moved ...
4746 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4747 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4748 Moved ...
4749 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4750 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4751 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4753 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4754 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4755 Moved ...
4756 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4758 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4760 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4761 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4762 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4764 Moved ...
4765 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4766 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4767 Moved ...
4768 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4769 ... here.
4770 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4771 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4773 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4774 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4775 Moved ...
4776 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4777 ... here.
4778 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4779 Moved ...
4780 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4781 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4782 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4783 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4784 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4785 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4786 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4787 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4788 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4789 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4790 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4791
4792 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4793 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4794
4795 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4796 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4797
4798 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4799 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4800 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4801 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4802 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4803 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4804 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4805 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4806 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4807 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4808 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4810 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4811 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4812 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4814 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4815 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4816 Moved ...
4817 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4819 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4820 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4821 Moved ...
4822 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4823 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4824 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4825 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4826 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4827 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4828 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4829 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4830 Moved ...
4831 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4832 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4833 Moved ...
4834 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4836 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4838 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4840 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4842 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4844 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4846 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4847 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4848 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4849 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4850 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4851
4852 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4853 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4854 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4855 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4856 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4857
4858 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4859 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4861 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4862 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4863 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4864 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4865 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4866 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4867 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4868
4869 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4870 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4871
4872 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4873 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4874 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4875 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4877 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4878 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4879 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4880 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4881 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4882 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4883 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4884 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4885 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4886 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4887 Update #include.
4888 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4889 Likewise.
4890 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4891 Likewise.
4892 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4893 Likewise.
4894 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4895 Likewise.
4896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4897 Likewise.
4898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4899 Likewise.
4900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4901 Likewise.
4902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4903 Likewise.
4904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4905 Likewise.
4906 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4908 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4909 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4910 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4911 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4912 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4913 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4914 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4915 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4916 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4917 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4918 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4919 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4920 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4921
4922 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4923 that was previously under [RESET_PID].
4924 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4925 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4926 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4927
4928 * sysdeps/i386/nptl/Implies: New file.
4929 * sysdeps/x86_64/nptl/Implies: New file.
4930 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4931 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4933 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4934
4935 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4936 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4937 (__libc_vfork): New strong alias.
4938 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4939 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4940
4941 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4942 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4943 (__libc_vfork): New strong alias.
4944 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4945 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4946
4947 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4948 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4949 (__libc_vfork): New strong alias.
4950 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4951 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4952 * nptl/pt-vfork.c: New file.
4953 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4954 (libpthread: GLIBC_2.20): New version set (empty).
4955
49562014-05-14 Will Newton <will.newton@linaro.org>
4957
4958 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4959 rather than #if.
4960
49612014-05-14 Joseph Myers <joseph@codesourcery.com>
4962
4963 [BZ #16564]
4964 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4965 arguments with exponent 65 or above.
4966 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4967 arguments 0x1p113L or above.
4968 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4969 to arguments 0x1p107L or above.
4970 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4971 positive arguments with exponent 65 or above.
4972 * math/auto-libm-test-in: Add more tests of log1p.
4973 * math/auto-libm-test-out: Regenerated.
4974
4975 [BZ #16928]
4976 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4977 non-finite arguments is +0.
4978 * math/s_cacosf.c (__cacosf): Likewise.
4979 * math/s_cacosl.c (__cacosl): Likewise.
4980 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4981 * sysdeps/i386/fpu/libm-test-ulps: Update.
4982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4983
4984 [BZ #16927]
4985 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4986 value.
4987 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4988 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4989 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4990 for explicit high bit of mantissa when testing for argument equal
4991 to 1.
4992 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4993 * sysdeps/i386/fpu/libm-test-ulps: Update.
4994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4995
4996 [BZ #16516]
4997 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4998 (__erf): Scale by 16 instead of 8 in potentially underflowing
4999 case. Ensure exception if result actually underflows.
5000 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5001 (__erff): Scale by 16 instead of 8 in potentially underflowing
5002 case. Ensure exception if result actually underflows.
5003 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5004 (efx8): Remove variable.
5005 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5006 case. Ensure exception if result actually underflows.
5007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5008 (efx8): Remove variable.
5009 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5010 case. Ensure exception if result actually underflows.
5011 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5012 (efx8): Remove variable.
5013 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5014 case. Ensure exception if result actually underflows.
5015 * math/auto-libm-test-in: Add more tests of erf.
5016 * math/auto-libm-test-out: Regenerated.
5017
50182014-05-14 Andreas Schwab <schwab@suse.de>
5019
5020 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5021 Remove code conditionalized on USE___THREAD.
5022
5023 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5024 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5025 not definedness.
5026
50272014-05-14 Joseph Myers <joseph@codesourcery.com>
5028
5029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5030 Define unconditionally.
5031 (__ASSUME_O_CLOEXEC): Likewise.
5032 (__ASSUME_SOCK_CLOEXEC): Likewise.
5033 (__ASSUME_IN_NONBLOCK): Likewise.
5034 (__ASSUME_PIPE2): Likewise.
5035 (__ASSUME_EVENTFD2): Likewise.
5036 (__ASSUME_SIGNALFD4): Likewise.
5037 (__ASSUME_DUP3): Likewise.
5038 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5039 (__ASSUME_DUP3): Do not define.
5040 (__ASSUME_EVENTFD2): Likewise.
5041 (__ASSUME_IN_NONBLOCK): Likewise.
5042 (__ASSUME_O_CLOEXEC): Likewise.
5043 (__ASSUME_PIPE2): Likewise.
5044 (__ASSUME_SIGNALFD4): Likewise.
5045 (__ASSUME_SOCK_CLOEXEC): Likewise.
5046 (__ASSUME_UTIMES): Undefine.
5047 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5048 (__ASSUME_UTIMES): Do not define.
5049 (__ASSUME_O_CLOEXEC): Likewise.
5050 (__ASSUME_SOCK_CLOEXEC): Likewise.
5051 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5052 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5053 0x020621].
5054 (__ASSUME_PIPE2): Likewise.
5055 (__ASSUME_EVENTFD2): Likewise.
5056 (__ASSUME_SIGNALFD4): Likewise.
5057 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5058 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5059 Do not define.
5060 (__ASSUME_EVENTFD2): Likewise.
5061 (__ASSUME_SIGNALFD4): Likewise.
5062 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5063 (__ASSUME_32BITUIDS): Likewise.
5064 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5065 (__ASSUME_IPC64): Likewise.
5066 (__ASSUME_ST_INO_64_BIT): Likewise.
5067 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5068 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5069 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5070 (__ASSUME_UTIMES): Do not define.
5071 (__ASSUME_PSELECT): Likewise.
5072 (__ASSUME_PPOLL): Likewise.
5073 (__ASSUME_O_CLOEXEC): Likewise.
5074 (__ASSUME_SOCK_CLOEXEC): Likewise.
5075 (__ASSUME_IN_NONBLOCK): Likewise.
5076 (__ASSUME_PIPE2): Likewise.
5077 (__ASSUME_EVENTFD2): Likewise.
5078 (__ASSUME_SIGNALFD4): Likewise.
5079 (__ASSUME_DUP3): Likewise.
5080 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5081 (__ASSUME_UTIMES): Likewise.
5082 (__ASSUME_O_CLOEXEC): Likewise.
5083 (__ASSUME_SOCK_CLOEXEC): Likewise.
5084 (__ASSUME_IN_NONBLOCK): Likewise.
5085 (__ASSUME_PIPE2): Likewise.
5086 (__ASSUME_EVENTFD2): Likewise.
5087 (__ASSUME_SIGNALFD4): Likewise.
5088 (__ASSUME_DUP3): Likewise.
5089 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5090 (__ASSUME_UTIMES): Likewise.
5091 (__ASSUME_O_CLOEXEC): Likewise.
5092 (__ASSUME_SOCK_CLOEXEC): Likewise.
5093 (__ASSUME_IN_NONBLOCK): Likewise.
5094 (__ASSUME_PIPE2): Likewise.
5095 (__ASSUME_EVENTFD2): Likewise.
5096 (__ASSUME_SIGNALFD4): Likewise.
5097 (__ASSUME_DUP3): Likewise.
5098 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5099 Likewise.
5100 (__ASSUME_UTIMES): Likewise.
5101 (__ASSUME_EVENTFD2): Likewise.
5102 (__ASSUME_SIGNALFD4): Likewise.
5103 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5104 (__ASSUME_O_CLOEXEC): Likewise.
5105 (__ASSUME_SOCK_CLOEXEC): Likewise.
5106 (__ASSUME_IN_NONBLOCK): Likewise.
5107 (__ASSUME_PIPE2): Likewise.
5108 (__ASSUME_EVENTFD2): Likewise.
5109 (__ASSUME_SIGNALFD4): Likewise.
5110 (__ASSUME_DUP3): Likewise.
5111 (__ASSUME_UTIMES): Undefine.
5112
5113 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5114 feclearexcept. Remove symbol versioning code.
5115 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5116 symbol versioning code.
5117 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5118 symbol versioning code.
5119 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5120 feupdateenv. Remove symbol versioning code.
5121 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5122 fegetexceptflag. Remove symbol versioning code.
5123 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5124 fesetexceptflag. Remove symbol versioning code.
5125 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5126 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5127 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5128 (__posix_fadvise64_l32): Remove prototype.
5129 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5130 code.
5131
51322014-05-13 Roland McGrath <roland@hack.frob.com>
5133
5134 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5135 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5136 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5137 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5138
51392014-05-13 Sami Kerola <kerolasa@iki.fi>
5140
5141 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5142 current working directory
5143
51442014-05-13 Roland McGrath <roland@hack.frob.com>
5145
5146 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5147 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5148 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5149 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5150 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5151 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5152 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5153 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5154 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5156 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5157 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5158 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5159 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5160 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5161 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5162 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5163 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5164 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5165 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5166 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5167 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5168 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5169 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5170 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5171 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5172 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5173 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5174 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5175 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5176 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5177 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5178 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5179 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5180 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5181 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5182 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5183 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5184 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5185 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5186 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5187 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5188
5189 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5190 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5191
5192 * sysdeps/unix/sysv/linux/arm/Makefile
5193 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5194 Add rt-aeabi_unwind_cpp_pr1.
5195 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5196 Add nptl-aeabi_unwind_cpp_pr1.
5197 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5198 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5199 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5200 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5201 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5202 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5203
5204 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5205 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5206 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5207 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5208
5209 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5210 Deconditionalize the code that was previously under [RESET_PID].
5211 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5212
5213 * sysdeps/generic/exit-thread.h: New file.
5214 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5215 * include/unistd.h (__exit_thread): Remove declaration.
5216 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5217 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5218 * csu/libc-start.c: Include <exit-thread.h>.
5219 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5220 * nptl/pthread_create.c: Include <exit-thread.h>.
5221 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5222 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5223 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5224 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5225 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5226 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5227 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5228 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5229 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5230 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5231 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5232 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5233 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5234 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5235 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5236 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5237 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5238
52392014-05-13 Andreas Schwab <schwab@suse.de>
5240
5241 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5242
52432014-05-12 Joseph Myers <joseph@codesourcery.com>
5244
5245 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5246 (__ASSUME_UTIMES): Do not condition on kernel version.
5247 (__ASSUME_PSELECT): Define unconditionally.
5248 (__ASSUME_PPOLL): Likewise.
5249 (__ASSUME_ATFCTS): Likewise.
5250 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5251 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5252 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5253 (__ASSUME_UTIMENSAT): Define unconditionally.
5254 (__ASSUME_PRIVATE_FUTEX): Likewise.
5255 (__ASSUME_FALLOCATE): Likewise.
5256 (__ASSUME_O_CLOEXEC): Likewise.
5257 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5258 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5259 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5260 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5261 (__ASSUME_IN_NONBLOCK): Likewise.
5262 (__ASSUME_PIPE2): Likewise.
5263 (__ASSUME_EVENTFD2): Likewise.
5264 (__ASSUME_SIGNALFD4): Likewise.
5265 (__ASSUME_DUP3): Likewise.
5266 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5267 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5268 (__ASSUME_AT_RANDOM): Likewise.
5269 (__ASSUME_PREADV): Likewise.
5270 (__ASSUME_PWRITEV): Likewise.
5271 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5272 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5273 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5274 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5275 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5276 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5277 (__ASSUME_O_CLOEXEC): Define unconditionally.
5278 (__ASSUME_PSELECT): Do not undefine conditionally.
5279 (__ASSUME_PPOLL): Likewise.
5280 (__ASSUME_ATFCTS): Likewise.
5281 (__ASSUME_SET_ROBUST_LIST): Likewise.
5282 (__ASSUME_UTIMENSAT): Likewise.
5283 (__ASSUME_FDATASYNC): Define unconditionally.
5284 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5285 (__ASSUME_SIGFRAME_V2): Likewise.
5286 )__ASSUME_EVENTFD2): Likewise.
5287 (__ASSUME_SIGNALFD4): Likewise.
5288 (__ASSUME_PSELECT): Do not undefine conditionally.
5289 (__ASSUME_PPOLL): Likewise.
5290 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5291 (__ASSUME_PSELECT): Define unconditionally.
5292 (__ASSUME_PPOLL): Likewise.
5293 (__ASSUME_O_CLOEXEC): Likewise.
5294 (__ASSUME_SOCK_CLOEXEC): Likewise.
5295 (__ASSUME_IN_NONBLOCK): Likewise.
5296 (__ASSUME_PIPE2): Likewise.
5297 (__ASSUME_EVENTFD2): Likewise.
5298 (__ASSUME_SIGNALFD4): Likewise.
5299 (__ASSUME_DUP3): Likewise.
5300 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5301 (__ASSUME_O_CLOEXEC): Likewise.
5302 (__ASSUME_SOCK_CLOEXEC): Likewise.
5303 (__ASSUME_IN_NONBLOCK): Likewise.
5304 (__ASSUME_PIPE2): Likewise.
5305 (__ASSUME_EVENTFD2): Likewise.
5306 (__ASSUME_SIGNALFD4): Likewise.
5307 (__ASSUME_DUP3): Likewise.
5308 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5309 (__ASSUME_EVENTFD2): Likewise.
5310 (__ASSUME_SIGNALFD4): Likewise.
5311 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5312
53132014-05-12 Andreas Schwab <schwab@suse.de>
5314
5315 [BZ #16932]
5316 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5317 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5318 than maximum RPC packet size.
5319 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5320 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5321 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5322 (_nss_nis_getservbyport_r): Likewise.
5323
53242014-05-12 Will Newton <will.newton@linaro.org>
5325
5326 * malloc/Makefile (tests): Add tst-mallopt.
5327 * malloc/tst-mallopt.c: New file.
5328
53292014-05-09 Roland McGrath <roland@hack.frob.com>
5330
5331 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5332 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5333
53342014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5335
5336 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5337 (tst-tlsmod6.so): Likewise.
5338
53392014-05-09 Roland McGrath <roland@hack.frob.com>
5340
5341 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5342
53432014-05-09 Joseph Myers <joseph@codesourcery.com>
5344
5345 [BZ #16064]
5346 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5347 and <dl-procinfo.h>.
5348 (__fegetenv): Save SSE state in envp->__eip if supported.
5349 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5350 envp->__eip if supported.
5351 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5352 and <dl-procinfo.h>.
5353 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5354 __data_offset and __data_selector in environment to 0. Set SSE
5355 state if supported.
5356 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5357 test-fenv-sse.
5358 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5359 -mfpmath=sse.
5360 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5361
53622014-05-09 Will Newton <will.newton@linaro.org>
5363
5364 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5365 and libc_relro_required for ARM.
5366 * sysdeps/arm/preconfigure: Regenerate.
5367
53682014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5369 Stefan Liebler <stli@linux.vnet.ibm.com>
5370
5371 * config.make.in (enable-lock-elision): New Makefile variable.
5372 * configure.ac: Likewise.
5373 * configure: Regenerate.
5374 * sysdeps/s390/configure.ac:
5375 Add check for gcc transactions support.
5376 * sysdeps/s390/configure: Regenerate.
5377 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5378 Build elision files if enabled.
5379 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5380 Add lock elision support for s390.
5381 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5382 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5383 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5384 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5385 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5386 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5387 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5388 Likewise.
5389 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5390 Likewise.
5391 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5392 Likewise.
5393 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5394 Likewise.
5395 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5396 (__lll_timedlock_elision, __lll_lock_elision)
5397 (__lll_unlock_elision, __lll_trylock_elision)
5398 (lll_timedlock_elision, lll_lock_elision)
5399 (lll_unlock_elision, lll_trylock_elision): Add.
5400 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5401 (pthread_mutex_t): Add lock elision support for s390.
5402
54032014-05-14 Wilco <wdijkstr@arm.com>
5404
5405 * sysdeps/arm/fclrexcpt.c: Cleanup.
5406 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5407 * sysdeps/arm/feenablxcpt.c: Cleanup.
5408 * sysdeps/arm/fegetenv.c: Cleanup.
5409 * sysdeps/arm/fegetexcept.c: Cleanup.
5410 * sysdeps/arm/fegetround.c: Cleanup.
5411 * sysdeps/arm/feholdexcpt.c: Cleanup.
5412 * sysdeps/arm/fesetenv.c: Cleanup.
5413 * sysdeps/arm/fesetround.c: Cleanup.
5414 * sysdeps/arm/feupdateenv.c: Cleanup.
5415 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5416 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5417 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5418 * sysdeps/arm/ftestexcept.c: Cleanup.
5419 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5420 * sysdeps/arm/setfpucw.c: Cleanup.
5421
54222014-05-09 Will Newton <will.newton@linaro.org>
5423
5424 * sysdeps/arm/armv7/strcmp.S: New file.
5425 * NEWS: Mention addition of ARMv7 optimized strcmp.
5426
54272014-05-08 Roland McGrath <roland@hack.frob.com>
5428
5429 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5430 look for %.ac rather than %.in.
5431
5432 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5433 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5434 * sysdeps/mach/hurd/configure: Regenerated.
5435 * sysdeps/unix/sysv/linux/configure: Regenerated.
5436
5437 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5438
54392014-05-07 Steve Ellcey <sellcey@mips.com>
5440
5441 [BZ# 16922]
5442 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5443 (LONG_SUB): Ditto.
5444 (PTR_SUB): Ditto.
5445
54462014-05-07 Andreas Schwab <schwab@suse.de>
5447
5448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5449 when skipping over non-matching result from nscd.
5450
54512014-05-07 Ondřej Bílka <neleai@seznam.cz>
5452
5453 [BZ #16876]
5454 * nptl/sockperf.c (client): Check socket return value.
5455
5456 [BZ #16877]
5457 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5458 nscd security class.
5459
54602014-05-06 Roland McGrath <roland@hack.frob.com>
5461
5462 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5463 * sysdeps/arm/unwind.h: ... here.
5464
54652014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5466
5467 [BZ# 16916]
5468 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5469 Define.
5470
54712014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5472
5473 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5474 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5475 multiarch strncpy for PPC64.
5476 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5477 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5479 multiarch optimizations.
5480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5481 (__libc_ifunc_impl_list): Likewise.
5482 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5483 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5484 multiarch stpncpy for PPC64.
5485 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5486 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5487
54882014-05-06 Andreas Schwab <schwab@suse.de>
5489
5490 [BZ #16912]
5491 * gmon/mcount.c (_MCOUNT_DECL): Use
5492 atomic_compare_and_exchange_bool_acq instead of
5493 catomic_compare_and_exchange_bool_acq.
5494
54952014-05-05 Roland McGrath <roland@hack.frob.com>
5496
5497 * elf/Makefile (others, install-bin): Remove pldd.
5498 (pldd-modules): Variable removed.
5499 ($(objpfx)pldd): Target removed.
5500 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5501 (others, install-bin): Append pldd here.
5502 ($(objpfx)pldd): New target.
5503
5504 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5505 to 0, so the first #if test emitted later doesn't see it undefined.
5506 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5507 * sysdeps/gnu/errlist.c: Regenerated.
5508
55092014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5510
5511 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5512 [libc_hidden_builtin_def]: Define to empty value.
5513 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5514 [libc_hidden_builtin_def]: Likewise.
5515 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5516 [libc_hidden_builtin_def]: Likewise.
5517 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5518 [libc_hidden_builtin_def]: Likewise.
5519 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5520 __redirect_memcpy and define ifunc as default hidden symbol.
5521 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5522 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5523
55242014-05-04 Adam Conrad <adconrad@0c3.net>
5525
5526 * locale/iso-4217.def: Reintroduce XDR currency.
5527
55282014-05-04 Allan McRae <allan@archlinux.org>
5529
5530 * po/eo.po: Update Esperanto translation from translation project.
5531
55322014-05-02 Carlos O'Donell <carlos@redhat.com>
5533
5534 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5535 and FEATURE_INDEX_MAX to 1.
5536 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5537
55382014-05-01 Steve Ellcey <sellcey@mips.com>
5539
5540 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5541 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5542 * iconvdata/big5.c (ONE_DIRECTION): Define.
5543 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5544 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5545 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5546 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5547 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5548 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5549 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5550 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5551 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5552 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5553 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5554 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5555 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5556 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5557 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5558 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5559 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5560 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5561 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5562 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5563 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5564 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5565 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5566 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5567 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5568 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5569 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5570 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5571 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5572 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5573 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5574 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5575 * iconvdata/johab.c (ONE_DIRECTION): Define.
5576 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5577 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5578 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5579 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5580 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5581 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5582 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5583 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5584 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5585 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5586
55872014-05-01 Roland McGrath <roland@hack.frob.com>
5588
5589 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5590 (_IO_JUMPS_OFFSET): Define to 0.
5591
5592 * nptl/sysdeps/pthread/bits/libc-lock.h
5593 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5594 (__libc_lock_define_initialized_recursive): Always define using
5595 initializer. Modern compilers treat uninitialized (implicit zero) and
5596 explicit zero initializers the same (i.e. put the datum in bss).
5597
55982014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5599
5600 * nscd/nscd-client.h: Include <string.h>.
5601
56022014-05-01 David S. Miller <davem@davemloft.net>
5603
5604 [BZ #16885]
5605 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5606 multiple zero bytes exist at the end of a string.
5607 Reported by Aurelien Jarno <aurelien@aurel32.net>
5608
5609 * string/test-strcmp.c (check): Add explicit test for situations where
5610 there are multiple zero bytes after the first.
5611
56122014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5613
5614 [BZ #16890]
5615 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5616 when compiling wprintf.
5617 * stdio-common/tstdiomisc.c (t3): New function.
5618 (main): Call it.
5619
56202014-05-01 Steve Ellcey <sellcey@mips.com>
5621
5622 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5623 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5624 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5625 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5626
56272014-05-01 Steve Ellcey <sellcey@mips.com>
5628
5629 * stdlib/longlong.h: Updated from GCC.
5630
56312014-05-01 Will Newton <will.newton@linaro.org>
5632 Bernard Ogden <bernie.ogden@linaro.org>
5633
5634 * NEWS: Update fixed bug list.
5635
5636 [BZ #15119]
5637 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5638
56392014-04-30 David S. Miller <davem@davemloft.net>
5640
5641 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5642 (libc_feholdexcept_setround_sparc_ctx): New function.
5643 (libc_fesetenv_sparc_ctx): Likewise.
5644 (libc_feupdateenv_sparc_ctx): Likewise.
5645 (libc_feholdsetround_sparc_ctx): Likewise.
5646 (libc_feholdexcept_setround_ctx): Define.
5647 (libc_feholdexcept_setroundf_ctx): Likewise.
5648 (libc_feholdexcept_setroundl_ctx): Likewise.
5649 (libc_fesetenv_ctx): Likewise.
5650 (libc_fesetenvf_ctx): Likewise.
5651 (libc_fesetenvl_ctx): Likewise.
5652 (libc_feupdateenv_ctx): Likewise.
5653 (libc_feupdateenvf_ctx): Likewise.
5654 (libc_feupdateenvl_ctx): Likewise.
5655 (libc_feresetround_ctx): Likewise.
5656 (libc_feresetroundf_ctx): Likewise.
5657 (libc_feresetroundl_ctx): Likewise.
5658 (libc_feholdsetround_ctx): Likewise.
5659 (libc_feholdsetroundf_ctx): Likewise.
5660 (libc_feholdsetroundl_ctx): Likewise.
5661
5662 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5663 with __USE_GNU instead of XOPEN cpp guards.
5664
5665 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5666 0.
5667
5668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5669 with XOPEN cpp guards.
5670
56712014-04-30 Julian Brown <julian@codesourcery.com>
5672
5673 [BZ #16888]
5674 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5675 handling.
5676
56772014-04-30 Joseph Myers <joseph@codesourcery.com>
5678
5679 [BZ #9894]
5680 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5681 Change to 2.6.32.
5682 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5683 * sysdeps/unix/sysv/linux/configure: Regenerated.
5684 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5685 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5686 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5687 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5688 * README: Update reference to required Linux kernel version.
5689 * manual/install.texi (Linux): Update reference to required Linux
5690 kernel headers version.
5691 * INSTALL: Regenerated.
5692
5693 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5694 header inclusion.
5695 [POSIX] (limits.h): Likewise.
5696 [POSIX] (math.h): Likewise.
5697 [POSIX] (sys/wait.h): Likewise.
5698 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5699 function.
5700 [POSIX] (stddef.h): Do not allow header inclusion.
5701
57022014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5703
5704 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5705
57062014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5707
5708 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5709 Return immediately after lll_futex_wake.
5710
57112014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5712
5713 [BZ #16791]
5714 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5715 structure.
5716 (datahead_init_pos): Call datahead_init_common early.
5717 (datahead_init_neg): Likewise.
5718
5719 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5720 datahead_init_neg): New functions.
5721 * nscd/aicache.c (addhstaiX): Use them.
5722 * nscd/grpcache.c (cache_addgr): Likewise.
5723 * nscd/hstcache.c (cache_addhst): Likewise.
5724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5725 * nscd/netgroupcache.c (do_notfound): Likewise.
5726 (addgetnetgrentX): Likewise.
5727 (addinnetgrX): Likewise.
5728 * nscd/pwdcache.c (cache_addpw): Likewise.
5729 * nscd/servicescache.c (cache_addserv): Likewise.
5730
57312014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5732 Atsushi Onoe <atsushi@onoe.org>
5733
5734 [BZ #14308]
5735 [BZ #12994]
5736 [BZ #13651]
5737 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5738 one response is valid.
5739 * resolv/res_send.c (send_dg): Check for validity of other
5740 response if the current response is a referral.
5741
57422014-04-29 Steve Ellcey <sellcey@mips.com>
5743
5744 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5745
57462014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5747
5748 [BZ #16823]
5749 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5750 Always divide by positive zero when computing -Inf result.
5751 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5752 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5753
57542014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5755
5756 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5757 FPSCR if value do not change.
5758 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5759 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5760 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5761 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5762 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5763 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5764 function.
5765
57662014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5767
5768 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5769 * sysdeps/unix/sysv/linux/hppa: Move directory from
5770 ports/systeps/unix/sysv/linux/hppa.
5771 * README: Update listing for hppa-*-linux-gnu.
5772
57732014-04-28 Ondřej Bílka <neleai@seznam.cz>
5774
5775 [BZ #16754]
5776 * manual/stdio.texi (Hook functions): Fix types of stream hook
5777 functions.
5778 [BZ #16854]
5779 * socket/sys/socket.h: Fix typo in comment.
5780
57812014-04-28 Wilco <wdijkstr@arm.com>
5782
5783 * sysdeps/arm/fenv_private.h: New file.
5784 * sysdeps/arm/math_private.h: New file.
5785 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5786
57872014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5788
5789 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5790 with __int128_t.
5791 (La_x86_64_retval): Likewise.
5792
57932014-04-24 Ian Bolton <ian.bolton@arm.com>
5794
5795 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5796 fpsr if value didn't change.
5797 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5798 to fpcr if value didn't change.
5799 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5800 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5801 fpsr or fpcr if value didn't change.
5802 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5803 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5804 fpcr if value didn't change.
5805 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5806 to fpsr if value didn't change.
5807
58082014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5809
5810 * nptl/tst-sem3.c: Use test-skeleton.c
5811 (main): Rename to do_test. Use return instead of
5812 exit.
5813 * nptl/tst-sem4.c: Use test-skeleton.c
5814 (main): Rename to do_test.
5815
58162014-04-22 David S. Miller <davem@davemloft.net>
5817
5818 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5819 (struct sigaction): New struct member __glibc_reserved0, change
5820 type of sa_flags to int.
5821
58222014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5823
5824 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5825 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5826
58272014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5828
5829 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5830 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5831
58322014-04-22 Will Newton <will.newton@linaro.org>
5833 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5834
5835 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5836 (__longjmp): Add longjmp and longjmp_target SystemTap
5837 probes.
5838 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5839 (__sigsetjmp): Add setjmp SystemTap probe.
5840
58412014-04-17 Carlos O'Donell <carlos@redhat.com>
5842
5843 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5844 match manual order.
5845
58462014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5847
5848 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5849
5850 * sysdeps/powerpc/fpu/fenv_private.h
5851 (libc_feholdexcept_setroundl_ctx): Define to
5852 libc_feholdexcept_setround_ppc_ctx.
5853 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5854 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5855 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5856 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5857
58582014-04-17 Ian Bolton <ian.bolton@arm.com>
5859
5860 * sysdeps/aarch64/math-tests.h: New file.
5861
58622014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5863
5864 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5865 New.
5866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5867 Check and set bit_AVX2_Usable.
5868 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5869 macro.
5870 (bit_AVX2): Likewise.
5871 (index_AVX2_Usable): Likewise.
5872 (CPUID_AVX2): Likewise.
5873 (HAS_AVX2): Likewise.
5874
58752014-04-17 Will Newton <will.newton@linaro.org>
5876
5877 * manual/setjmp.texi (System V contexts): Add note that
5878 calling setcontext on a context created by a call to a
5879 signal handler is undefined. Update text to note that
5880 setcontext from a signal handler is possible but not
5881 recommended.
5882
5883 [BZ #16629]
5884 * stdlib/tst-setcontext.c: Include signal.h.
5885 (main): Check that the signal stack before and
5886 after swapcontext is the same.
5887
5888 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5889 Re-implement to restore registers in user code and avoid
5890 rt_sigreturn system call.
5891
58922014-04-17 Wilco <wdijkstr@arm.com>
5893
5894 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5895 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5896 * math/test-fenv.c: Skip exception trap tests on targets which only
5897 support non-stop mode.
5898
58992014-04-17 Ian Bolton <ian.bolton@arm.com>
5900 Wilco Dijkstra <wilco.dijkstra@arm.com>
5901
5902 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5903 (libc_feholdsetround_aarch64_ctx)
5904 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5905 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5906 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5907 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5908 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5909 (libc_feresetround_noexl_ctx): Define.
5910
59112014-04-16 Richard Henderson <rth@redhat.com>
5912
5913 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5914
5915 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5916 unwind tables.
5917
5918 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5919 const from the non-libc, non-ldso copy.
5920
5921 * sysdeps/alpha/libm-test-ulps: Regenerate.
5922
59232014-04-16 Ian Bolton <ian.bolton@arm.com>
5924 Wilco Dijkstra <wilco.dijkstra@arm.com>
5925
5926 * sysdeps/aarch64/fpu/math_private.h: New file.
5927
59282014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5929
5930 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5931
59322014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5933
5934 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5935 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5937 Intel MPX bound registers before _dl_profile_fixup.
5938 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5939 registers after _dl_profile_fixup. Save and restore bound
5940 registers bnd0/bnd1 when calling _dl_call_pltexit.
5941 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5942 (LR_BND_OFFSET): Likewise.
5943 (LRV_BND0_OFFSET): Likewise.
5944 (LRV_BND1_OFFSET): Likewise.
5945
59462014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5947
5948 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5949 to...
5950 * sysdeps/mach/hurd/i386/tls.h: ... here.
5951 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5952 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5953 fields.
5954
59552014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5956
5957 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5958
59592014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5960
5961 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5962
59632014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5964
5965 [BZ #14770]
5966 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5967 * sysdeps/s390/configure: Regenerate.
5968
5969 [BZ #16824]
5970 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5971 Set round-to-nearest internally to reduce error accumulation.
5972
59732014-04-16 Alan Modra <amodra@gmail.com>
5974
5975 [BZ #16740]
5976 [BZ #16619]
5977 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5978 * math/libm-test.inc (frexp_test_data): Add tests.
5979 * NEWS: Update fixed bug list.
5980
59812014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5982
5983 * benchtests/Makefile: Depend on libraries in build directory.
5984 (bench-math): Separate out math tests.
5985 (bench-pthread): Separate out pthread tests.
5986 (bench): Include math and pthread tests.
5987
59882014-04-14 Carlos O'Donell <carlos@redhat.com>
5989
5990 [BZ #16831]
5991 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5992 _dl_debug_initialize.
5993
5994 * configure.ac: Remove SELinux header check.
5995 * configure: Regenerate.
5996 * nscd/selinux.c (perms): Array of const char* to permission names.
5997 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5998 default policy. Call string_to_security_class and string_to_av_perm to
5999 translate strings. Enforce default policy and call avs_has_perm with
6000 results of translated strings.
6001
60022014-04-13 David S. Miller <davem@davemloft.net>
6003
6004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6005
60062014-04-12 Allan McRae <allan@archlinux.org>
6007
6008 [BZ #16838]
6009 * manual/string.texi (Collation Functions): Fix qsort argument
6010 order in example.
6011 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6012
60132014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6014
6015 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6016 Make the test a no-op if there are no exceptions defined.
6017
60182014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6019
6020 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6021 enable-hardcoded-path-in-tests
6022
60232014-04-11 Will Newton <will.newton@linaro.org>
6024
6025 * benchtests/Makefile (extra-objs): Add json-lib.o.
6026 (bench-func): Tidy up JSON output.
6027 * benchtests/bench-skeleton.c: Include json-lib.h.
6028 (main): Use JSON library functions to do output of
6029 benchmark results.
6030 * benchtests/bench-timing-type.c (main): Output the
6031 timing type simply, leaving formatting to the user.
6032 * benchtests/json-lib.c: New file.
6033 * benchtests/json-lib.h: Likewise.
6034
60352014-04-11 Torvald Riegel <triegel@redhat.com>
6036
6037 [BZ #15215]
6038 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6039 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6040 memory barriers. Add comments.
6041 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6042 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6043 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6044 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6045 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6046 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6047
60482014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6049
6050 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6051 * sysdeps/s390/s390-64/configure.ac: ... this ...
6052 * sysdeps/s390/configure.ac: ... to here.
6053 * sysdeps/s390/s390-32/configure: Delete file.
6054 * sysdeps/s390/s390-64/configure: Delete file.
6055 * sysdeps/s390/configure: Regenerate.
6056
60572014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6058
6059 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6060
60612014-04-11 Will Newton <will.newton@linaro.org>
6062
6063 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6064 to zero if it is not defined elsewhere. (mtrim): Test
6065 the value of MALLOC_DEBUG with #if rather than #ifdef.
6066
60672014-04-10 Torvald Riegel <triegel@redhat.com>
6068
6069 * benchtests/pthread_once-inputs: New file.
6070 * benchtests/pthread_once-source.c: New file.
6071 * benchtests/README: Update documentation.
6072
60732014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6074 H.J. Lu <hongjiu.lu@intel.com>
6075
6076 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6077 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6078 * sysdeps/x86_64/configure: Regenerated.
6079 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6080 macro.
6081 (REGISTER_SAVE_RAX): Likewise.
6082 (REGISTER_SAVE_RCX): Likewise.
6083 (REGISTER_SAVE_RDX): Likewise.
6084 (REGISTER_SAVE_RSI): Likewise.
6085 (REGISTER_SAVE_RDI): Likewise.
6086 (REGISTER_SAVE_R8): Likewise.
6087 (REGISTER_SAVE_R9): Likewise.
6088 (REGISTER_SAVE_BND0): Likewise.
6089 (REGISTER_SAVE_BND1): Likewise.
6090 (REGISTER_SAVE_BND2): Likewise.
6091 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6092 bound registers when calling _dl_fixup.
6093
60942014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6095
6096 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6097 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6098 of its definition.
6099 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6100 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6101 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6102 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6103 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6104 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6105 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6106
61072014-04-09 Peter Brett <peter@peter-b.co.uk>
6108
6109 [BZ #15514]
6110 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6111 pathconf(_PC_NAME_MAX).
6112
61132014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6114
6115 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6116 Remove macro usage.
6117 (__PTHREAD_SPINS): Move definition to ...
6118 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6119 (__PTHREAD_SPINS): ... here.
6120 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6121 (__PTHREAD_SPIN): Likewise.
6122 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6123 (__PTHREAD_SPIN): Likewise.
6124 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6125 (__PTHREAD_SPIN): Likewise.
6126 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6127 (__PTHREAD_SPIN): Likewise.
6128 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6129 (__PTHREAD_SPIN): Likewise.
6130 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6131 (__PTHREAD_SPIN): Likewise.
6132 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6133 (__PTHREAD_SPIN): Likewise.
6134 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6135 (__PTHREAD_SPIN): Likewise.
6136 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6137 (__PTHREAD_SPIN): Likewise.
6138 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6139 (__PTHREAD_SPIN): Likewise.
6140 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6141 (__PTHREAD_SPIN): Likewise.
6142 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6143 (__PTHREAD_SPIN): Likewise.
6144
6145 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6146 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6147 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6148 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6149 imply folder.
6150 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6151 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6152 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6153 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6154 correct imply path.
6155 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6156 strlen symbol for non multi-arch builds.
6157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6158 missing hidden_def and weak_alias.
6159
61602014-04-08 Carlos O'Donell <carlos@redhat.com>
6161
6162 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6163
61642014-04-07 Will Newton <will.newton@linaro.org>
6165
6166 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6167 and contents. [!_LIBC] Remove #ifndef and contents.
6168 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6169 * string/memccpy.c (__memccpy): Use ANSI prototype.
6170 * string/memfrob.c (memfrob): Likewise.
6171 * string/strcoll.c (STRCOLL): Likewise.
6172 * string/strlen.c (strlen): Likewise.
6173 * string/strtok.c (STRTOK): Likewise.
6174 * string/strcat.c: Remove unused #include of memcopy.h.
6175 (strcat): Use ANSI prototype.
6176 * string/strchr.c: Remove unused #include of memcopy.h.
6177 (strchr): Use ANSI prototype.
6178 * string/strcmp.c: Remove unused #include of memcopy.h.
6179 (strcmp): Use ANSI prototype.
6180 * string/strcpy.c: Remove unused #include of memcopy.h.
6181 (strcpy): Use ANSI prototype.
6182
61832014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6184
6185 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6186 * config.make.in (config-extra-cppflags): Set it from
6187 libc_extra_cppflags.
6188 * configure.ac (libc_extra_cflags): Make it accumulate over
6189 configure fragments.
6190 (libc_extra_cppflags): New flag.
6191 * configure. Regenerate.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6193 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6194 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6196
6197 [BZ #16815]
6198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6199 result for FE_DOWNWARD rounding mode.
6200 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6201 Likewise.
6202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6203
62042014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6205
6206 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6207 in function argument name.
6208
62092014-04-03 David Svoboda <svoboda@cert.org>
6210
6211 [BZ #5666]
6212 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6213 explicitly.
6214
62152014-04-03 Roland McGrath <roland@hack.frob.com>
6216
6217 * elf/dl-unmap-segments.h: New file.
6218 * sysdeps/generic/ldsodefs.h
6219 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6220 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6221 * elf/dl-fptr.c: Likewise.
6222 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6223 * sysdeps/aarch64/tlsdesc.c: Likewise.
6224 * sysdeps/arm/tlsdesc.c: Likewise.
6225 * sysdeps/i386/tlsdesc.c: Likewise.
6226 * sysdeps/tile/dl-runtime.c: Likewise.
6227 * sysdeps/x86_64/tlsdesc.c: Likewise.
6228 * elf/dl-load.h: New file.
6229 * elf/dl-load.c: Include it.
6230 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6231 Macros moved to dl-load.h.
6232 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6233 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6234 Use _dl_unmap_segments in place of __munmap.
6235 Break out segment-mapping loop into ...
6236 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6237
62382014-04-03 Will Newton <will.newton@linaro.org>
6239
6240 * elf/dl-lookup.c (do_lookup_x): Remove comment
6241 referring to nested function and move variable
6242 declarations down to before first use.
6243
62442014-04-02 Joseph Myers <joseph@codesourcery.com>
6245
6246 [BZ #16799]
6247 [BZ #16800]
6248 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6249 with 0 numerator.
6250 * math/s_catanf.c (__catanf): Likewise.
6251 * math/s_catanh.c (__catanh): Likewise.
6252 * math/s_catanhf.c (__catanhf): Likewise.
6253 * math/s_catanhl.c (__catanhl): Likewise.
6254 * math/s_catanl.c (__catanl): Likewise.
6255 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6256 by positive zero when computing -Inf result.
6257 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6258 (catanh_test): Likewise.
6259 * sysdeps/i386/fpu/libm-test-ulps: Update.
6260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6261
6262 [BZ #16789]
6263 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6264 instead of using underflowing value in computing result.
6265 * math/s_clog10.c (__clog10): Likewise.
6266 * math/s_clog10f.c (__clog10f): Likewise.
6267 * math/s_clog10l.c (__clog10l): Likewise.
6268 * math/s_clogf.c (__clogf): Likewise.
6269 * math/s_clogl.c (__clogl): Likewise.
6270 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6271 (clog10_test): Likewise.
6272 * sysdeps/i386/fpu/libm-test-ulps: Update.
6273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6274
62752014-04-02 Alan Modra <amodra@gmail.com>
6276
6277 [BZ #16739]
6278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6279 output when value is near a power of two. Use int64_t for lx and
6280 remove casts. Use decimal rather than hex exponent constants.
6281 Don't use long double multiplication when double will suffice.
6282 * math/libm-test.inc (nextafter_test_data): Add tests.
6283 * NEWS: Add 16739 and 16786 to bug list.
6284
6285 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6286
6287 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6288
62892014-04-01 Will Newton <will.newton@linaro.org>
6290
6291 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6292 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6293
62942014-04-01 Florian Weimer <fweimer@redhat.com>
6295
6296 [BZ #13347]
6297 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6298 * nptl/tst-setuid2.c: New file.
6299 * nptl/Makefile (xtests): Add tst-setuid2.
6300
63012014-04-01 Alan Modra <amodra@gmail.com>
6302
6303 [BZ #16786]
6304 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6305
63062014-03-31 Joseph Myers <joseph@codesourcery.com>
6307
6308 [BZ #6803]
6309 [BZ #6804]
6310 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6311 set errno as appropriate.
6312 * math/w_scalbf.c (__scalbf): Likewise.
6313 * math/w_scalbl.c (__scalbl): Likewise.
6314 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6315 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6316 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6317 Add more NaN tests.
6318
6319 [BZ #16349]
6320 * math/w_atan2.c: Include <errno.h>.
6321 (__atan2): Set errno for result underflowing to zero.
6322 * math/w_atan2f.c: Include <errno.h>.
6323 (__atan2f): Set errno for result underflowing to zero.
6324 * math/w_atan2l.c: Include <errno.h>.
6325 (__atan2l): Set errno for result underflowing to zero.
6326 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6327 tests.
6328 * math/auto-libm-test-out: Regenerated.
6329
63302014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6331
6332 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6333 Encode instruction correctly in little endian.
6334 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6335 Likewise.
6336 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6337 Likewise.
6338 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6339 Likewise.
6340 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6341 Likewise.
6342
63432014-03-31 Joseph Myers <joseph@codesourcery.com>
6344
6345 [BZ #9894]
6346 * sysdeps/unix/sysv/linux/kernel-features.h
6347 [__sparc__ && !__arch64__ && !__sparc_v9__]
6348 (__ASSUME_SET_ROBUST_LIST): Do not define.
6349 [__sparc__ && !__arch64__ && !__sparc_v9__]
6350 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6351 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6352 Likewise.
6353 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6354 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6355 (__ASSUME_REQUEUE_PI): Likewise.
6356 (__ASSUME_SET_ROBUST_LIST): Likewise.
6357 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6358 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6359 Undefine.
6360 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6361 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6362 Likewise.
6363 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6364 Likewise.
6365 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6366 Likewise.
6367 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6368 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6369 Undefine.
6370 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6371 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6372 Likewise.
6373
6374 [BZ #16648]
6375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6376 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6377 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6378
63792014-03-31 Will Newton <will.newton@linaro.org>
6380
6381 * benchtests/Makefile (bench): Add ffs and ffsll to list
6382 of tests.
6383 * benchtests/ffs-inputs: New file.
6384 * benchtests/ffsll-inputs: Likewise.
6385
63862014-03-29 Joseph Myers <joseph@codesourcery.com>
6387
6388 [BZ #16770]
6389 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6390 too large before casting to int.
6391 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6392 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6393 * math/libm-test.inc (scalb_test_data): Add more tests.
6394
63952014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6396
6397 * benchtests/Makefile (DETAILED_OPT): New make option.
6398 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6399 set.
6400 * benchtests/bench-skeleton.c: Include stdbool.h.
6401 (main): Store and print timings per input.
6402 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6403 member to each argument value.
6404 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6405 (_print_arg_data): Initialize per-input timing to 0.
6406
6407 * benchtests/Makefile (timing-type): New binary.
6408 (bench-clean): Also remove bench-timing-type.
6409 (bench): New target for timing-type.
6410 (bench-func): Print output in JSON format.
6411 * benchtests/bench-skeleton.c (main): Print output in JSON
6412 format.
6413 * benchtests/bench-timing-type.c: New file.
6414 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6415 (TIMING_PRINT_STATS): Remove.
6416 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6417 name separately.
6418
6419 * benchtests/bench-modf.c: Remove.
6420 * benchtests/modf-inputs: New inputs file.
6421
64222014-03-28 Joseph Myers <joseph@codesourcery.com>
6423
6424 [BZ #16362]
6425 * math/s_clog10.c (M_PI_LOG10E): New macro.
6426 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6427 imaginary parts are 0.
6428 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6429 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6430 imaginary parts are 0.
6431 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6432 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6433 imaginary parts are 0.
6434 * math/libm-test.inc (clog10_test_data): Update expected results
6435 for when real and imaginary parts are 0.
6436
64372014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6438
6439 * elf/dl-load.c: Finish conversion of __builtin_expect into
6440 __glibc_{un}likely.
6441
64422014-03-27 Joseph Myers <joseph@codesourcery.com>
6443
6444 [BZ #16348]
6445 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6446 1+x for argument with exponent below -67.
6447 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6448 Likewise.
6449 * math/auto-libm-test-in: Add more tests of exp.
6450 * math/auto-libm-test-out: Regenerated.
6451
64522014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6453
6454 [BZ #16759]
6455 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6456 (nscd_getnetgrent): Use it.
6457
6458 [BZ #16760]
6459 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6460 of stpcpy.
6461
64622014-03-27 Andi Kleen <ak@linux.intel.com>
6463
6464 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6465 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6466 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6467 (lll_robust_unlock): Remove out of line section. Use cfi
6468 intrinsics.
6469 (LLL_STUB_UNWIND_INFO*): Remove.
6470 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6471 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6472 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6473 (lll_robust_unlock): Remove out of line section. Use cfi
6474 intrinsics.
6475 (LLL_STUB_UNWIND_INFO*): Remove.
6476
64772014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6478
6479 [BZ #16758]
6480 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6481 blank values.
6482
64832014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6484
6485 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6486
64872014-03-26 Joseph Myers <joseph@codesourcery.com>
6488
6489 [BZ #16198]
6490 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6491 fnstenv.
6492 * math/test-fenv-preserve.c: New file.
6493 * math/Makefile (tests): Add test-fenv-preserve.
6494
64952014-03-26 Will Newton <will.newton@linaro.org>
6496
6497 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6498
64992014-03-25 Roland McGrath <roland@hack.frob.com>
6500
6501 * scripts/versionlist.awk: Partition the version sets and emit all
6502 GLIBC_* (sorted) before all others (sorted).
6503
65042014-03-25 Joseph Myers <joseph@codesourcery.com>
6505
6506 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6507 GLIBC_2.2.5 version.
6508
65092014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6510
6511 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6512 calls.
6513
6514 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6515 previous change.
6516
6517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6518
65192014-03-25 Andreas Schwab <schwab@suse.de>
6520
6521 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6522 label to be used after in6ailist is initialized.
6523
65242014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6525
6526 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6527 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6528
65292014-03-25 Joseph Myers <joseph@codesourcery.com>
6530
6531 [BZ #16357]
6532 [BZ #16599]
6533 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6534 min_plus_half.
6535 (fp_formats): Update initializers.
6536 (init_fp_formats): Initialize new field.
6537 (output_for_one_input_case): Allow underflow for results up to
6538 min_plus_half.
6539 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6540 * math/auto-libm-test-in: Don't mark some underflows from asin and
6541 atanh as spurious.
6542 * math/auto-libm-test-out: Regenerated.
6543 * sysdeps/i386/fpu/libm-test-ulps: Update.
6544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6545
65462014-03-25 Andreas Schwab <schwab@suse.de>
6547
6548 * libio/Makefile (tst-ftell-partial-wide-ENV)
6549 (tst-ftell-active-handler-ENV): Define.
6550
65512014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6552
6553 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6554
65552014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6556
6557 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6558
65592014-03-24 Joseph Myers <joseph@codesourcery.com>
6560
6561 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6562 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6563 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6564
65652014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6566
6567 [BZ #16634]
6568 * elf/dl-load.c (open_verify): Add mode parameter.
6569 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6570 (open_path): Change from boolean 'secure' to complete flag 'mode'
6571 (_dl_map_object): Adjust.
6572 * elf/Makefile (tests): Add tst-dlopen-aout.
6573 * elf/tst-dlopen-aout.c: New test.
6574
65752014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6576
6577 [BZ #16714]
6578 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6579 (struct stat): Rename member pad0 to __glibc_reserved0.
6580
6581 [BZ #16712]
6582 * sysdeps/s390/s390-32/bits/wordsize.h
6583 (__WORDSIZE32_SIZE_ULONG): New define.
6584 * sysdeps/s390/s390-64/bits/wordsize.h
6585 (__WORDSIZE32_SIZE_ULONG): Likewise.
6586 * sysdeps/generic/stdint.h (SIZE_MAX):
6587 Define as UL if __WORDSIZE32_SIZE_ULONG.
6588
6589 [BZ #16713]
6590 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6591 (__glibc_reserved0): New variable.
6592 (sa_flags): Change type to int.
6593
6594 * posix/Makefile (before-compile): Use += before-compile instead
6595 of a :=.
6596
6597 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6598 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6599
66002014-03-20 Andreas Schwab <schwab@suse.de>
6601
6602 [BZ #16743]
6603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6604 non-matching result from nscd.
6605
66062014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6607
6608 * scripts/bench.py: Moved to ...
6609 * benchtests/scripts/bench.py: ... here.
6610 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6611
66122014-03-24 Andreas Schwab <schwab@suse.de>
6613
6614 [BZ #16002]
6615 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6616 alloca_account and account alloca use for struct in6ailist.
6617
66182014-03-24 Joseph Myers <joseph@codesourcery.com>
6619
6620 [BZ #16284]
6621 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6622 rounding mode to recompute results that overflow to infinity or
6623 underflow to zero.
6624 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6625 bug 16284.
6626 * math/auto-libm-test-out: Regenerated.
6627 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6628 (ccosh_test): Likewise.
6629 (csin_test_data): Use plus_oflow.
6630 (csin_test): Use ALL_RM_TEST.
6631 (csinh_test_data): Use plus_oflow.
6632 (csinh_test): Use ALL_RM_TEST.
6633 * sysdeps/i386/fpu/libm-test-ulps: Update.
6634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6635
66362014-03-21 Joseph Myers <joseph@codesourcery.com>
6637
6638 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6639 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6640 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6641
6642 [BZ #16731]
6643 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6644 when x - 1 is zero.
6645 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6646 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6647 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6648 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6649 argument is 1.
6650 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6651 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6652 zero.
6653 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6654 * sysdeps/i386/fpu/libm-test-ulps: Update.
6655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6656
66572014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6658
6659 * scripts/bench.pl: Remove file.
6660 * scripts/bench.py: New benchmark script.
6661 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6662 * benchtests/README: Mention python dependency.
6663 * scripts/pylintrc: New file.
6664 * scripts/pylint: New file.
6665
6666 * bits/mathdef.h: Use #ifdef instead of #if.
6667 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6668 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6669 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6670 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6671 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6672 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6673
66742014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6675 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6676
6677 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6679 and strpbrk-ppc64 objects.
6680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6681 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6682 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6683 multiarch strpbrk for POWER7.
6684 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6685 multiarch strpbrk for PPC64.
6686 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6687 ifunc selector.
6688 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6689 strpbrk for POWER7.
6690
66912014-03-20 Joseph Myers <joseph@codesourcery.com>
6692
6693 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6694 (atan_test): Likewise.
6695 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6696 (atanh_test): Use ALL_RM_TEST.
6697 (atan2_test_data): Likewise.
6698 (cabs_test): Likewise.
6699 (cacosh_test): Likewise.
6700 (carg_test): Likewise.
6701 (casin_test): Likewise.
6702 (casinh_test): Likewise.
6703 (cbrt_test): Likewise.
6704 (csqrt_test): Likewise.
6705 (erf_test): Likewise.
6706 (erfc_test): Likewise.
6707 (pow10_test): Likewise.
6708 (exp2_test): Likewise.
6709 (hypot_test): Likewise.
6710 (j0_test): Likewise.
6711 (j1_test): Likewise.
6712 (lgamma_test): Likewise.
6713 (gamma_test): Likewise.
6714 (sincos_test): Likewise.
6715 (tanh_test): Likewise.
6716 (y0_test): Likewise.
6717 (y1_test): Likewise.
6718 * sysdeps/i386/fpu/libm-test-ulps: Update.
6719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6720
67212014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6722
6723 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6725 and strcspn-ppc64 objects.
6726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6727 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6728 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6729 multiarch strcspn for POWER7.
6730 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6731 multiarch strcspn for PPC64.
6732 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6733 ifunc selector.
6734 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6735 strcspn for POWER7.
6736
67372014-03-20 Joseph Myers <joseph@codesourcery.com>
6738
6739 * math/gen-libm-test.pl (generate_testfile): Expect only function
6740 name as argument to AUTO_TESTS_* and pass results for all rounding
6741 modes to parse_args.
6742 (parse_auto_input): Separate inputs of automatic tests from
6743 outputs before storing in %auto_tests.
6744 * math/libm-test.inc (acos_test_data): Update call to
6745 AUTO_TESTS_f_f.
6746 (acos_test): Use ALL_RM_TEST.
6747 (acos_tonearest_test_data): Remove.
6748 (acos_test_tonearest): Likewise.
6749 (acos_towardzero_test_data): Likewise.
6750 (acos_test_towardzero): Likewise.
6751 (acos_downward_test_data): Likewise.
6752 (acos_test_downward): Likewise.
6753 (acos_upward_test_data): Likewise.
6754 (acos_test_upward): Likewise.
6755 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6756 (asin_test_data): Likewise.
6757 (asin_test): Use ALL_RM_TEST.
6758 (asin_tonearest_test_data): Remove.
6759 (asin_test_tonearest): Likewise.
6760 (asin_towardzero_test_data): Likewise.
6761 (asin_test_towardzero): Likewise.
6762 (asin_downward_test_data): Likewise.
6763 (asin_test_downward): Likewise.
6764 (asin_upward_test_data): Likewise.
6765 (asin_test_upward): Likewise.
6766 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6767 (atan_test_data): Likewise.
6768 (atanh_test_data): Likewise.
6769 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6770 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6771 (carg_test_data): Likewise.
6772 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6773 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6774 (ccosh_test_data): Likewise.
6775 (cexp_test_data): Likewise.
6776 (clog_test_data): Likewise.
6777 (clog10_test_data): Likewise.
6778 (cos_test_data): Update call to AUTO_TESTS_f_f.
6779 (cos_test): Use ALL_RM_TEST.
6780 (cos_tonearest_test_data): Remove.
6781 (cos_test_tonearest): Likewise.
6782 (cos_towardzero_test_data): Likewise.
6783 (cos_test_towardzero): Likewise.
6784 (cos_downward_test_data): Likewise.
6785 (cos_test_downward): Likewise.
6786 (cos_upward_test_data): Likewise.
6787 (cos_test_upward): Likewise.
6788 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6789 (cosh_test): Use ALL_RM_TEST.
6790 (cosh_tonearest_test_data): Remove.
6791 (cosh_test_tonearest): Likewise.
6792 (cosh_towardzero_test_data): Likewise.
6793 (cosh_test_towardzero): Likewise.
6794 (cosh_downward_test_data): Likewise.
6795 (cosh_test_downward): Likewise.
6796 (cosh_upward_test_data): Likewise.
6797 (cosh_test_upward): Likewise.
6798 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6799 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6800 (ctan_test_data): Likewise.
6801 (ctan_test): Use ALL_RM_TEST.
6802 (ctan_tonearest_test_data): Remove.
6803 (ctan_test_tonearest): Likewise.
6804 (ctan_towardzero_test_data): Likewise.
6805 (ctan_test_towardzero): Likewise.
6806 (ctan_downward_test_data): Likewise.
6807 (ctan_test_downward): Likewise.
6808 (ctan_upward_test_data): Likewise.
6809 (ctan_test_upward): Likewise.
6810 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6811 (ctanh_test): Use ALL_RM_TEST.
6812 (ctanh_tonearest_test_data): Remove.
6813 (ctanh_test_tonearest): Likewise.
6814 (ctanh_towardzero_test_data): Likewise.
6815 (ctanh_test_towardzero): Likewise.
6816 (ctanh_downward_test_data): Likewise.
6817 (ctanh_test_downward): Likewise.
6818 (ctanh_upward_test_data): Likewise.
6819 (ctanh_test_upward): Likewise.
6820 (erf_test_data): Update call to AUTO_TESTS_f_f.
6821 (erfc_test_data): Likewise.
6822 (exp_test_data): Likewise.
6823 (exp_test): Use ALL_RM_TEST.
6824 (exp_tonearest_test_data): Remove.
6825 (exp_test_tonearest): Likewise.
6826 (exp_towardzero_test_data): Likewise.
6827 (exp_test_towardzero): Likewise.
6828 (exp_downward_test_data): Likewise.
6829 (exp_test_downward): Likewise.
6830 (exp_upward_test_data): Likewise.
6831 (exp_test_upward): Likewise.
6832 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6833 (exp10_test): Use ALL_RM_TEST.
6834 (exp10_tonearest_test_data): Remove.
6835 (exp10_test_tonearest): Likewise.
6836 (exp10_towardzero_test_data): Likewise.
6837 (exp10_test_towardzero): Likewise.
6838 (exp10_downward_test_data): Likewise.
6839 (exp10_test_downward): Likewise.
6840 (exp10_upward_test_data): Likewise.
6841 (exp10_test_upward): Likewise.
6842 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6843 (expm1_test_data): Likewise.
6844 (expm1_test): Use ALL_RM_TEST.
6845 (expm1_tonearest_test_data): Remove.
6846 (expm1_test_tonearest): Likewise.
6847 (expm1_towardzero_test_data): Likewise.
6848 (expm1_test_towardzero): Likewise.
6849 (expm1_downward_test_data): Likewise.
6850 (expm1_test_downward): Likewise.
6851 (expm1_upward_test_data): Likewise.
6852 (expm1_test_upward): Likewise.
6853 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6854 (fma_test): Use ALL_RM_TEST.
6855 (fma_towardzero_test_data): Remove.
6856 (fma_test_towardzero): Likewise.
6857 (fma_downward_test_data): Likewise.
6858 (fma_test_downward): Likewise.
6859 (fma_upward_test_data): Likewise.
6860 (fma_test_upward): Likewise.
6861 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6862 (j0_test_data): Update call to AUTO_TESTS_f_f.
6863 (j1_test_data): Likewise.
6864 (jn_test_data): Update call to AUTO_TESTS_if_f.
6865 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6866 (log_test_data): Update call to AUTO_TESTS_f_f.
6867 (log10_test_data): Likewise.
6868 (log1p_test_data): Likewise.
6869 (log2_test_data): Likewise.
6870 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6871 (pow_tonearest_test_data): Likewise.
6872 (sin_test_data): Update call to AUTO_TESTS_f_f.
6873 (sin_test): Use ALL_RM_TEST.
6874 (sin_tonearest_test_data): Remove.
6875 (sin_test_tonearest): Likewise.
6876 (sin_towardzero_test_data): Likewise.
6877 (sin_test_towardzero): Likewise.
6878 (sin_downward_test_data): Likewise.
6879 (sin_test_downward): Likewise.
6880 (sin_upward_test_data): Likewise.
6881 (sin_test_upward): Likewise.
6882 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6883 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6884 (sinh_test): Use ALL_RM_TEST.
6885 (sinh_tonearest_test_data): Remove.
6886 (sinh_test_tonearest): Likewise.
6887 (sinh_towardzero_test_data): Likewise.
6888 (sinh_test_towardzero): Likewise.
6889 (sinh_downward_test_data): Likewise.
6890 (sinh_test_downward): Likewise.
6891 (sinh_upward_test_data): Likewise.
6892 (sinh_test_upward): Likewise.
6893 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6894 (sqrt_test): Use ALL_RM_TEST.
6895 (sqrt_tonearest_test_data): Remove.
6896 (sqrt_test_tonearest): Likewise.
6897 (sqrt_towardzero_test_data): Likewise.
6898 (sqrt_test_towardzero): Likewise.
6899 (sqrt_downward_test_data): Likewise.
6900 (sqrt_test_downward): Likewise.
6901 (sqrt_upward_test_data): Likewise.
6902 (sqrt_test_upward): Likewise.
6903 (tan_test_data): Update call to AUTO_TESTS_f_f.
6904 (tan_test): Use ALL_RM_TEST.
6905 (tan_tonearest_test_data): Remove.
6906 (tan_test_tonearest): Likewise.
6907 (tan_towardzero_test_data): Likewise.
6908 (tan_test_towardzero): Likewise.
6909 (tan_downward_test_data): Likewise.
6910 (tan_test_downward): Likewise.
6911 (tan_upward_test_data): Likewise.
6912 (tan_test_upward): Likewise.
6913 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6914 (tgamma_test_data): Likewise.
6915 (y0_test_data): Likewise.
6916 (y1_test_data): Likewise.
6917 (yn_test_data): Update call to AUTO_TESTS_if_f.
6918 (main): Do not call removed functions.
6919
69202014-03-19 Joseph Myers <joseph@codesourcery.com>
6921
6922 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6923 (ldexp_test_data): Remove.
6924 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6925 scalbn_test_data.
6926 (scalb_test): Use ALL_RM_TEST.
6927
69282014-03-19 Andreas Schwab <schwab@suse.de>
6929
6930 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6931
69322014-03-19 Joseph Myers <joseph@codesourcery.com>
6933
6934 [BZ #16649]
6935 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6936 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6937 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6938 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6939 (__ASSUME_PREADV): Undefine.
6940 (__ASSUME_PWRITEV): Likewise.
6941
69422014-03-18 Roland McGrath <roland@hack.frob.com>
6943
6944 * bits/mman-linux.h: Add comment about non-Linux use.
6945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6946 bits/mman-linux.h resting place.
6947
6948 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6949 * bits/mman-linux.h: ... here.
6950
69512014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6952
6953 * conform/conformtest.pl: Add standard definition when calling C
6954 preprocessor on data files.
6955 (checknamespace): Remove unused variable.
6956
69572014-03-18 Joseph Myers <joseph@codesourcery.com>
6958
6959 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6960 minus_oflow, plus_uflow and minus_uflow in expected results.
6961 * math/libm-test.inc (scalbn_test_data): Add more tests of
6962 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6963 minus_uflow.
6964 (scalbn_test): Use ALL_RM_TEST.
6965 (scalbln_test_data): Add more tests of negative arguments. Use
6966 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6967 (scalbln_test): Use ALL_RM_TEST.
6968
69692014-03-18 Roland McGrath <roland@hack.frob.com>
6970
6971 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6972
69732014-03-18 Will Newton <will.newton@linaro.org>
6974
6975 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6976 inaccurate comment.
6977
69782014-03-18 Joseph Myers <joseph@codesourcery.com>
6979
6980 * Makerules [!subdir] (check-abi): Exit with error status if a
6981 test failed.
6982
69832014-03-17 Joseph Myers <joseph@codesourcery.com>
6984
6985 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6986 for rint. Include results for all rounding modes.
6987 (nearbyint_test): Use ALL_RM_TEST.
6988 (rint_test_data): Include all tests used for nearbyint.
6989
69902014-03-17 Will Newton <will.newton@linaro.org>
6991
6992 * nptl/sysdeps/pthread/pthread.h: Revert previous
6993 change.
6994
6995 * sysdeps/generic/ldsodefs.h: Revert previous
6996 change.
6997
6998 * libio/genops.c: Revert previous change.
6999 * libio/libioP.h: Likewise.
7000 * stdio-common/vfprintf.c: Likewise.
7001
7002 * sysdeps/generic/math_private.h: Revert previous
7003 change.
7004
7005 * sysdeps/generic/math_private.h: Check whether
7006 HAVE_RM_CTX is defined with #ifdef rather
7007 than #if.
7008
7009 * argp/argp-fmtstream.h: Check whether
7010 __STRICT_ANSI__ is defined with #ifdef rather
7011 than #if.
7012 * argp/argp.h: Likewise.
7013
7014 * libio/genops.c: Check whether
7015 _IO_JUMPS_OFFSET is defined with #ifdef rather
7016 than #if.
7017 * libio/libioP.h: Likewise.
7018 * stdio-common/vfprintf.c: Likewise.
7019
7020 * sysdeps/generic/ldsodefs.h: Check whether
7021 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7022 than #if.
7023
7024 * nptl/sysdeps/pthread/pthread.h: Check
7025 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7026 its value.
7027
70282014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7029
7030 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7031 setting O_APPEND.
7032 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7033 test case.
7034
7035 [BZ #16680]
7036 * libio/fileops.c (_IO_file_open): Seek to end of file but
7037 don't cache the offset.
7038 (get_file_offset): Remove function.
7039 (do_ftell): Use cached offset when available.
7040 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7041 don't cache the offset.
7042 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7043 case.
7044 (do_one_test): Call it.
7045 (do_ftell_test): Fix up expected old offset for a+ mode.
7046 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7047 available.
7048
7049 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7050 up test status with function return status.
7051 (do_write_test): Likewise.
7052 (do_append_test): Likewise.
7053
7054 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7055 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7056 Remove.
7057
70582014-03-17 Joseph Myers <joseph@codesourcery.com>
7059
7060 * math/gen-libm-test.pl (parse_args): Handle results specified for
7061 each rounding mode separately.
7062 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7063 tests and results from lrint_tonearest_test_data,
7064 lrint_towardzero_test_data, lrint_downward_test_data and
7065 lrint_upward_test_data.
7066 (lrint_test): Use ALL_RM_TEST.
7067 (lrint_tonearest_test_data): Remove.
7068 (lrint_test_tonearest): Likewise.
7069 (lrint_towardzero_test_data): Likewise.
7070 (lrint_test_towardzero): Likewise.
7071 (lrint_downward_test_data): Likewise.
7072 (lrint_test_downward): Likewise.
7073 (lrint_upward_test_data): Likewise.
7074 (lrint_test_upward): Likewise.
7075 (llrint_test_data): Merge in per-rounding-mode tests and results
7076 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7077 llrint_downward_test_data and llrint_upward_test_data.
7078 (llrint_test): Use ALL_RM_TEST.
7079 (llrint_tonearest_test_data): Remove.
7080 (llrint_test_tonearest): Likewise.
7081 (llrint_towardzero_test_data): Likewise.
7082 (llrint_test_towardzero): Likewise.
7083 (llrint_downward_test_data): Likewise.
7084 (llrint_test_downward): Likewise.
7085 (llrint_upward_test_data): Likewise.
7086 (llrint_test_upward): Likewise.
7087 (rint_test_data): Merge in per-rounding-mode tests and results
7088 from rint_tonearest_test_data, rint_towardzero_test_data,
7089 rint_downward_test_data and rint_upward_test_data. Add
7090 per-rounding-mode results for tests not in those arrays.
7091 (rint_test): Use ALL_RM_TEST.
7092 (rint_tonearest_test_data): Remove.
7093 (rint_test_tonearest): Likewise.
7094 (rint_towardzero_test_data): Likewise.
7095 (rint_test_towardzero): Likewise.
7096 (rint_downward_test_data): Likewise.
7097 (rint_test_downward): Likewise.
7098 (rint_upward_test_data): Likewise.
7099 (rint_test_upward): Likewise.
7100 (main): Don't call removed functions.
7101
71022014-03-14 Roland McGrath <roland@hack.frob.com>
7103
7104 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7105 "Compiled on ..." crapola. It is anti-useful.
7106
71072014-03-14 Joseph Myers <joseph@codesourcery.com>
7108
7109 * scripts/evaluate-test.sh: Handle fourth argument to determine
7110 whether test run should stop on failure.
7111 * Makeconfig (stop-on-test-failure): New variable.
7112 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7113 $(stop-on-test-failure).
7114 * Makefile (tests): Give a summary of results from testing and
7115 exit with failure status if they include an ERROR or FAIL.
7116 (xtests): Likewise.
7117 * manual/install.texi (Configuring and compiling): Mention
7118 stop-on-test-failure=y.
7119 * INSTALL: Regenerated.
7120
71212014-03-14 Roland McGrath <roland@hack.frob.com>
7122
7123 * scripts/versionlist.awk: New file.
7124 * Makerules [$(build-shared) = yes]
7125 (postclean-generated): Add Versions.def, not Versions.def.v and
7126 Versions.def.v.i.
7127 ($(common-objpfx)Versions.def.v.i): Target removed.
7128 ($(common-objpfx)Versions.def): New target.
7129 ($(common-objpfx)Versions.all): Depend on that rather that
7130 $(common-objpfx)Versions.def.v.
7131 * Versions.def: File removed.
7132
7133 * Makeconfig (+gccwarn): Add -Wundef.
7134 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7135 a dl-sysdep.h breaking its contract.
7136 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7137 * include/stackinfo.h: New file.
7138 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7139 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7140 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7141 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7142 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7143 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7144 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7145 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7146 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7147 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7148 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7149 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7150 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7151 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7152 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7153
71542014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7155
7156 [BZ #16707]
7157 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7158 implementation.
7159 * math/libm-test.inc (round_test_data): Add more tests.
7160
7161 [BZ #16706]
7162 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7163 implementation.
7164 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7165
7166 [BZ #16701]
7167 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7168 implementation.
7169 * math/libm-test.inc (ceil_test_data): Add more tests.
7170
7171 * math/libm-test.inc (trunc_test_data): Add more tests related to
7172 BZ#16414.
7173
71742014-03-14 Roland McGrath <roland@hack.frob.com>
7175
7176 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7177 with #if rather than #ifdef.
7178 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7179
71802014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7181
7182 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7183 first. Disable AVX-512 GCC support if assembler doesn't support
7184 it.
7185 * sysdeps/x86_64/configure: Regenerated.
7186
71872014-03-13 Carlos O'Donell <carlos@redhat.com>
7188
7189 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7190 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7191 (__old_pthread_attr_setstack): Likewise.
7192 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7193 [!_STACK_GROWS_DOWN]: Likewise.
7194
71952014-03-13 Mike Frysinger <vapier@gentoo.org>
7196
7197 * config.make.in (have-bash2): Delete.
7198 * configure.ac (libc_cv_have_bash2): Delete.
7199 * configure: Regenerate.
7200 * elf/Makefile (common-ldd-rewrite): Rename to ...
7201 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7202 (sh-ldd-rewrite): Delete.
7203 (bash-ldd-rewrite): Delete.
7204 (have-bash2): Delete checks.
7205 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7206 ldd-rewrite.
7207
7208 * config.make.in (have-ksh): Delete.
7209 (KSH): Delete.
7210 * configure.ac (libc_cv_have_ksh): Delete.
7211 * configure: Regenerate.
7212
7213 * elf/Makefile: Delete $(have-ksh) check.
7214 ($(objpfx)sotruss): Change KSH to BASH.
7215 * elf/sotruss.ksh: Rename to ...
7216 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7217 function style to match POSIX. Drop ksh vim mode setting.
7218
7219 * manual/time.texi (Specifying the Time Zone with TZ): Change
7220 Tuesday to Thursday.
7221
7222 * debug/tst-longjmp_chk2.c: Update header comment.
7223 (stackoverflow_handler): Add comment. Call assert on pass value.
7224
72252014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7226
7227 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7228 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7229 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7230 (La_x86_64_vector): Add zmm.
7231 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7232 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7233 ($(objpfx)tst-audit10): New target.
7234 ($(objpfx)tst-audit10.out): Likewise.
7235 (tst-audit10-ENV): New.
7236 (AVX512-CFLAGS): Likewise.
7237 (CFLAGS-tst-audit10.c): Likewise.
7238 (CFLAGS-tst-auditmod10a.c): Likewise.
7239 (CFLAGS-tst-auditmod10b.c): Likewise.
7240 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7241 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7242 * sysdeps/x86_64/configure: Regenerated.
7243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7244 AVX-512 zmm register support.
7245 (_dl_x86_64_save_sse): Likewise.
7246 (_dl_x86_64_restore_sse): Likewise.
7247 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7248 size vector registers.
7249 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7250 (ZMM_SIZE): Likewise.
7251 * sysdeps/x86_64/tst-audit10.c: New file.
7252 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7253 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7254
72552014-03-13 Roland McGrath <roland@hack.frob.com>
7256
7257 * configure.ac (HAVE_EHDR_START): New check.
7258 * configure: Regenerated.
7259 * config.h.in (HAVE_EHDR_START): New #undef.
7260 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7261 assuming the lowest-addressed segment maps the start of the file.
7262
72632014-03-13 Joseph Myers <joseph@codesourcery.com>
7264
7265 * INSTALL: Regenerated.
7266
72672014-03-13 Will Newton <will.newton@linaro.org>
7268
7269 * manual/setjmp.texi (System V contexts): Improve
7270 clarity and grammar of documentation.
7271
72722014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7273
7274 [BZ #16381]
7275 * elf/Makefile (tests): Add tst-pie2.
7276 (tests-pie): Add tst-pie2.
7277 * elf/tst-pie2.c: New file.
7278 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7279 for ET_EXEC.
7280 * elf/rtld.c (map_doit): Load executable as lt_executable.
7281 (dl_main): Likewise.
7282
72832014-03-12 Joseph Myers <joseph@codesourcery.com>
7284
7285 [BZ #16642]
7286 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7287 (__ASSUME_PSELECT): Undefine.
7288
72892014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7290
7291 [BZ #16689]
7292 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7293 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7294 static build.
7295 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7296 selector for static builds.
7297
72982014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7299
7300 [BZ #16695]
7301 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7302 key in the buffer.
7303
73042014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7305
7306 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7307 IFUNC selector for static builds.
7308
73092014-03-11 Joseph Myers <joseph@codesourcery.com>
7310
7311 * sysdeps/mips/math_private.h [__mips_hard_float]
7312 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7313 libc_feresetround_mips_ctx.
7314 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7315 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7316 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7317
7318 [BZ #16677]
7319 * math/s_nextafter.c (__nextafter): Do not return value from
7320 overflowing computation.
7321 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7322 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7323 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7324 Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7326 Likewise.
7327 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7328 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7329
73302014-03-11 Roland McGrath <roland@hack.frob.com>
7331
7332 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7333 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7334 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7335 the new mov targetting sp.
7336
73372014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7338
7339 [BZ #16683]
7340 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7341 Define it for static builds as well.
7342 (NO_BZERO_IMPL): Likewise.
7343
73442014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7345
7346 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7347 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7348 multiarch strspn for PPC64.
7349 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7350 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7352 (__libc_ifunc_impl_list): Likewise.
7353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7354 multiarch optimizations
7355 * string/strspn.c (strspn): Using macro to redefine symbol name.
7356
73572014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7358 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7359
7360 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7361 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7362 multiarch strncat for PPC64.
7363 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7364 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7366 (__libc_ifunc_impl_list): Likewise.
7367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7368 multiarch optimizations
7369
73702014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7371
7372 [BZ #16639]
7373 * nscd/nscd.service: Make service type forking.
7374
73752014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7376
7377 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7378 sign in non default rounding modes.
7379 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7380
73812014-03-08 Joseph Myers <joseph@codesourcery.com>
7382
7383 * math/libm-test.inc (ALL_RM_TEST): New macro.
7384 (ceil_test): Use ALL_RM_TEST.
7385 (cimag_test): Likewise.
7386 (conj_test): Likewise.
7387 (copysign_test): Likewise.
7388 (cproj_test): Likewise.
7389 (creal_test): Likewise.
7390 (fabs_test): Likewise.
7391 (floor_test): Likewise.
7392 (fmax_test): Likewise.
7393 (fmin_test): Likewise.
7394 (fmod_test): Likewise.
7395 (fpclassify_test): Likewise.
7396 (frexp_test): Likewise.
7397 (ilogb_test): Likewise.
7398 (isfinite_test): Likewise.
7399 (finite_test): Likewise.
7400 (isgreater_test): Likewise.
7401 (isgreaterequal_test): Likewise.
7402 (isinf_test): Likewise.
7403 (isless_test): Likewise.
7404 (islessequal_test): Likewise.
7405 (islessgreater_test): Likewise.
7406 (isnan_test): Likewise.
7407 (isnormal_test): Likewise.
7408 (issignaling_test): Likewise.
7409 (isunordered_test): Likewise.
7410 (logb_test): Likewise.
7411 (logb_downward_test_data): Remove.
7412 (logb_test_downward): Likewise.
7413 (lround_test): Use ALL_RM_TEST.
7414 (llround_test): Likewise.
7415 (modf_test): Likewise.
7416 (nexttoward_test): Likewise.
7417 (remainder_test): Likewise.
7418 (drem_test): Likewise.
7419 (remainder_tonearest_test_data): Likewise.
7420 (remainder_test_tonearest): Likewise.
7421 (drem_test_tonearest): Likewise.
7422 (remainder_towardzero_test_data): Likewise.
7423 (remainder_test_towardzero): Likewise.
7424 (drem_test_towardzero): Likewise.
7425 (remainder_downward_test_data): Likewise.
7426 (remainder_test_downward): Likewise.
7427 (drem_test_downward): Likewise.
7428 (remainder_upward_test_data): Likewise.
7429 (remainder_test_upward): Likewise.
7430 (drem_test_upward): Likewise.
7431 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7432 (round_test): Use ALL_RM_TEST.
7433 (signbit_test): Likewise.
7434 (trunc_test): Likewise.
7435 (significand_test): Likewise.
7436 (main): Don't call removed functions.
7437
74382014-03-07 Joseph Myers <joseph@codesourcery.com>
7439
7440 [BZ #16674]
7441 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7442 || __USE_XOPEN2K8].
7443 (ILL_ILLOPN): Likewise.
7444 (ILL_ILLADR): Likewise.
7445 (ILL_ILLTRP): Likewise.
7446 (ILL_PRVOPC): Likewise.
7447 (ILL_PRVREG): Likewise.
7448 (ILL_COPROC): Likewise.
7449 (ILL_BADSTK): Likewise.
7450 (FPE_INTDIV): Likewise.
7451 (FPE_INTOVF): Likewise.
7452 (FPE_FLTDIV): Likewise.
7453 (FPE_FLTOVF): Likewise.
7454 (FPE_FLTUND): Likewise.
7455 (FPE_FLTRES): Likewise.
7456 (FPE_FLTINV): Likewise.
7457 (FPE_FLTSUB): Likewise.
7458 (SEGV_MAPERR): Likewise.
7459 (SEGV_ACCERR): Likewise.
7460 (BUS_ADRALN): Likewise.
7461 (BUS_ADRERR): Likewise.
7462 (BUS_OBJERR): Likewise.
7463 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7464 (TRAP_TRACE): Likewise.
7465 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7466 __USE_XOPEN2K8].
7467 (CLD_KILLED): Likewise.
7468 (CLD_DUMPED): Likewise.
7469 (CLD_TRAPPED): Likewise.
7470 (CLD_STOPPED): Likewise.
7471 (CLD_CONTINUED): Likewise.
7472 (POLL_IN): Likewise.
7473 (POLL_OUT): Likewise.
7474 (POLL_MSG): Likewise.
7475 (POLL_ERR): Likewise.
7476 (POLL_PRI): Likewise.
7477 (POLL_HUP): Likewise.
7478 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7479 Likewise.
7480 (ILL_ILLOPN): Likewise.
7481 (ILL_ILLADR): Likewise.
7482 (ILL_ILLTRP): Likewise.
7483 (ILL_PRVOPC): Likewise.
7484 (ILL_PRVREG): Likewise.
7485 (ILL_COPROC): Likewise.
7486 (ILL_BADSTK): Likewise.
7487 (FPE_INTDIV): Likewise.
7488 (FPE_INTOVF): Likewise.
7489 (FPE_FLTDIV): Likewise.
7490 (FPE_FLTOVF): Likewise.
7491 (FPE_FLTUND): Likewise.
7492 (FPE_FLTRES): Likewise.
7493 (FPE_FLTINV): Likewise.
7494 (FPE_FLTSUB): Likewise.
7495 (SEGV_MAPERR): Likewise.
7496 (SEGV_ACCERR): Likewise.
7497 (BUS_ADRALN): Likewise.
7498 (BUS_ADRERR): Likewise.
7499 (BUS_OBJERR): Likewise.
7500 (BUS_MCEERR_AR): Likewise.
7501 (BUS_MCEERR_AO): Likewise.
7502 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7503 (TRAP_TRACE): Likewise.
7504 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7505 __USE_XOPEN2K8].
7506 (CLD_KILLED): Likewise.
7507 (CLD_DUMPED): Likewise.
7508 (CLD_TRAPPED): Likewise.
7509 (CLD_STOPPED): Likewise.
7510 (CLD_CONTINUED): Likewise.
7511 (POLL_IN): Likewise.
7512 (POLL_OUT): Likewise.
7513 (POLL_MSG): Likewise.
7514 (POLL_ERR): Likewise.
7515 (POLL_PRI): Likewise.
7516 (POLL_HUP): Likewise.
7517 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7518 (ILL_ILLOPN): Likewise.
7519 (ILL_ILLADR): Likewise.
7520 (ILL_ILLTRP): Likewise.
7521 (ILL_PRVOPC): Likewise.
7522 (ILL_PRVREG): Likewise.
7523 (ILL_COPROC): Likewise.
7524 (ILL_BADSTK): Likewise.
7525 (FPE_INTDIV): Likewise.
7526 (FPE_INTOVF): Likewise.
7527 (FPE_FLTDIV): Likewise.
7528 (FPE_FLTOVF): Likewise.
7529 (FPE_FLTUND): Likewise.
7530 (FPE_FLTRES): Likewise.
7531 (FPE_FLTINV): Likewise.
7532 (FPE_FLTSUB): Likewise.
7533 (SEGV_MAPERR): Likewise.
7534 (SEGV_ACCERR): Likewise.
7535 (BUS_ADRALN): Likewise.
7536 (BUS_ADRERR): Likewise.
7537 (BUS_OBJERR): Likewise.
7538 (BUS_MCEERR_AR): Likewise.
7539 (BUS_MCEERR_AO): Likewise.
7540 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7541 (TRAP_TRACE): Likewise.
7542 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7543 __USE_XOPEN2K8].
7544 (CLD_KILLED): Likewise.
7545 (CLD_DUMPED): Likewise.
7546 (CLD_TRAPPED): Likewise.
7547 (CLD_STOPPED): Likewise.
7548 (CLD_CONTINUED): Likewise.
7549 (POLL_IN): Likewise.
7550 (POLL_OUT): Likewise.
7551 (POLL_MSG): Likewise.
7552 (POLL_ERR): Likewise.
7553 (POLL_PRI): Likewise.
7554 (POLL_HUP): Likewise.
7555 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7556 Likewise.
7557 (ILL_ILLOPN): Likewise.
7558 (ILL_ILLADR): Likewise.
7559 (ILL_ILLTRP): Likewise.
7560 (ILL_PRVOPC): Likewise.
7561 (ILL_PRVREG): Likewise.
7562 (ILL_COPROC): Likewise.
7563 (ILL_BADSTK): Likewise.
7564 (ILL_BADIADDR): Likewise.
7565 (ILL_BREAK): Likewise.
7566 (FPE_INTDIV): Likewise.
7567 (FPE_INTOVF): Likewise.
7568 (FPE_FLTDIV): Likewise.
7569 (FPE_FLTOVF): Likewise.
7570 (FPE_FLTUND): Likewise.
7571 (FPE_FLTRES): Likewise.
7572 (FPE_FLTINV): Likewise.
7573 (FPE_FLTSUB): Likewise.
7574 (FPE_DECOVF): Likewise.
7575 (FPE_DECDIV): Likewise.
7576 (FPE_DECERR): Likewise.
7577 (FPE_INVASC): Likewise.
7578 (FPE_INVDEC): Likewise.
7579 (SEGV_MAPERR): Likewise.
7580 (SEGV_ACCERR): Likewise.
7581 (SEGV_PSTKOVF): Likewise.
7582 (BUS_ADRALN): Likewise.
7583 (BUS_ADRERR): Likewise.
7584 (BUS_OBJERR): Likewise.
7585 (BUS_MCEERR_AR): Likewise.
7586 (BUS_MCEERR_AO): Likewise.
7587 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7588 (TRAP_TRACE): Likewise.
7589 (TRAP_BRANCH): Likewise.
7590 (TRAP_HWBKPT): Likewise.
7591 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7592 __USE_XOPEN2K8].
7593 (CLD_KILLED): Likewise.
7594 (CLD_DUMPED): Likewise.
7595 (CLD_TRAPPED): Likewise.
7596 (CLD_STOPPED): Likewise.
7597 (CLD_CONTINUED): Likewise.
7598 (POLL_IN): Likewise.
7599 (POLL_OUT): Likewise.
7600 (POLL_MSG): Likewise.
7601 (POLL_ERR): Likewise.
7602 (POLL_PRI): Likewise.
7603 (POLL_HUP): Likewise.
7604 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7605 (ILL_ILLOPN): Likewise.
7606 (ILL_ILLADR): Likewise.
7607 (ILL_ILLTRP): Likewise.
7608 (ILL_PRVOPC): Likewise.
7609 (ILL_PRVREG): Likewise.
7610 (ILL_COPROC): Likewise.
7611 (ILL_BADSTK): Likewise.
7612 (FPE_INTDIV): Likewise.
7613 (FPE_INTOVF): Likewise.
7614 (FPE_FLTDIV): Likewise.
7615 (FPE_FLTOVF): Likewise.
7616 (FPE_FLTUND): Likewise.
7617 (FPE_FLTRES): Likewise.
7618 (FPE_FLTINV): Likewise.
7619 (FPE_FLTSUB): Likewise.
7620 (SEGV_MAPERR): Likewise.
7621 (SEGV_ACCERR): Likewise.
7622 (BUS_ADRALN): Likewise.
7623 (BUS_ADRERR): Likewise.
7624 (BUS_OBJERR): Likewise.
7625 (BUS_MCEERR_AR): Likewise.
7626 (BUS_MCEERR_AO): Likewise.
7627 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7628 (TRAP_TRACE): Likewise.
7629 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7630 __USE_XOPEN2K8].
7631 (CLD_KILLED): Likewise.
7632 (CLD_DUMPED): Likewise.
7633 (CLD_TRAPPED): Likewise.
7634 (CLD_STOPPED): Likewise.
7635 (CLD_CONTINUED): Likewise.
7636 (POLL_IN): Likewise.
7637 (POLL_OUT): Likewise.
7638 (POLL_MSG): Likewise.
7639 (POLL_ERR): Likewise.
7640 (POLL_PRI): Likewise.
7641 (POLL_HUP): Likewise.
7642 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7643 (ILL_ILLOPN): Likewise.
7644 (ILL_ILLADR): Likewise.
7645 (ILL_ILLTRP): Likewise.
7646 (ILL_PRVOPC): Likewise.
7647 (ILL_PRVREG): Likewise.
7648 (ILL_COPROC): Likewise.
7649 (ILL_BADSTK): Likewise.
7650 (FPE_INTDIV): Likewise.
7651 (FPE_INTOVF): Likewise.
7652 (FPE_FLTDIV): Likewise.
7653 (FPE_FLTOVF): Likewise.
7654 (FPE_FLTUND): Likewise.
7655 (FPE_FLTRES): Likewise.
7656 (FPE_FLTINV): Likewise.
7657 (FPE_FLTSUB): Likewise.
7658 (SEGV_MAPERR): Likewise.
7659 (SEGV_ACCERR): Likewise.
7660 (BUS_ADRALN): Likewise.
7661 (BUS_ADRERR): Likewise.
7662 (BUS_OBJERR): Likewise.
7663 (BUS_MCEERR_AR): Likewise.
7664 (BUS_MCEERR_AO): Likewise.
7665 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7666 (TRAP_TRACE): Likewise.
7667 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7668 __USE_XOPEN2K8].
7669 (CLD_KILLED): Likewise.
7670 (CLD_DUMPED): Likewise.
7671 (CLD_TRAPPED): Likewise.
7672 (CLD_STOPPED): Likewise.
7673 (CLD_CONTINUED): Likewise.
7674 (POLL_IN): Likewise.
7675 (POLL_OUT): Likewise.
7676 (POLL_MSG): Likewise.
7677 (POLL_ERR): Likewise.
7678 (POLL_PRI): Likewise.
7679 (POLL_HUP): Likewise.
7680 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7681 (ILL_ILLOPN): Likewise.
7682 (ILL_ILLADR): Likewise.
7683 (ILL_ILLTRP): Likewise.
7684 (ILL_PRVOPC): Likewise.
7685 (ILL_PRVREG): Likewise.
7686 (ILL_COPROC): Likewise.
7687 (ILL_BADSTK): Likewise.
7688 (FPE_INTDIV): Likewise.
7689 (FPE_INTOVF): Likewise.
7690 (FPE_FLTDIV): Likewise.
7691 (FPE_FLTOVF): Likewise.
7692 (FPE_FLTUND): Likewise.
7693 (FPE_FLTRES): Likewise.
7694 (FPE_FLTINV): Likewise.
7695 (FPE_FLTSUB): Likewise.
7696 (SEGV_MAPERR): Likewise.
7697 (SEGV_ACCERR): Likewise.
7698 (BUS_ADRALN): Likewise.
7699 (BUS_ADRERR): Likewise.
7700 (BUS_OBJERR): Likewise.
7701 (BUS_MCEERR_AR): Likewise.
7702 (BUS_MCEERR_AO): Likewise.
7703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7704 (TRAP_TRACE): Likewise.
7705 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7706 __USE_XOPEN2K8].
7707 (CLD_KILLED): Likewise.
7708 (CLD_DUMPED): Likewise.
7709 (CLD_TRAPPED): Likewise.
7710 (CLD_STOPPED): Likewise.
7711 (CLD_CONTINUED): Likewise.
7712 (POLL_IN): Likewise.
7713 (POLL_OUT): Likewise.
7714 (POLL_MSG): Likewise.
7715 (POLL_ERR): Likewise.
7716 (POLL_PRI): Likewise.
7717 (POLL_HUP): Likewise.
7718 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7719 (ILL_ILLOPN): Likewise.
7720 (ILL_ILLADR): Likewise.
7721 (ILL_ILLTRP): Likewise.
7722 (ILL_PRVOPC): Likewise.
7723 (ILL_PRVREG): Likewise.
7724 (ILL_COPROC): Likewise.
7725 (ILL_BADSTK): Likewise.
7726 (ILL_DBLFLT): Likewise.
7727 (ILL_HARDWALL): Likewise.
7728 (FPE_INTDIV): Likewise.
7729 (FPE_INTOVF): Likewise.
7730 (FPE_FLTDIV): Likewise.
7731 (FPE_FLTOVF): Likewise.
7732 (FPE_FLTUND): Likewise.
7733 (FPE_FLTRES): Likewise.
7734 (FPE_FLTINV): Likewise.
7735 (FPE_FLTSUB): Likewise.
7736 (SEGV_MAPERR): Likewise.
7737 (SEGV_ACCERR): Likewise.
7738 (BUS_ADRALN): Likewise.
7739 (BUS_ADRERR): Likewise.
7740 (BUS_OBJERR): Likewise.
7741 (BUS_MCEERR_AR): Likewise.
7742 (BUS_MCEERR_AO): Likewise.
7743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7744 (TRAP_TRACE): Likewise.
7745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7746 __USE_XOPEN2K8].
7747 (CLD_KILLED): Likewise.
7748 (CLD_DUMPED): Likewise.
7749 (CLD_TRAPPED): Likewise.
7750 (CLD_STOPPED): Likewise.
7751 (CLD_CONTINUED): Likewise.
7752 (POLL_IN): Likewise.
7753 (POLL_OUT): Likewise.
7754 (POLL_MSG): Likewise.
7755 (POLL_ERR): Likewise.
7756 (POLL_PRI): Likewise.
7757 (POLL_HUP): Likewise.
7758 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7759 (ILL_ILLOPN): Likewise.
7760 (ILL_ILLADR): Likewise.
7761 (ILL_ILLTRP): Likewise.
7762 (ILL_PRVOPC): Likewise.
7763 (ILL_PRVREG): Likewise.
7764 (ILL_COPROC): Likewise.
7765 (ILL_BADSTK): Likewise.
7766 (FPE_INTDIV): Likewise.
7767 (FPE_INTOVF): Likewise.
7768 (FPE_FLTDIV): Likewise.
7769 (FPE_FLTOVF): Likewise.
7770 (FPE_FLTUND): Likewise.
7771 (FPE_FLTRES): Likewise.
7772 (FPE_FLTINV): Likewise.
7773 (FPE_FLTSUB): Likewise.
7774 (SEGV_MAPERR): Likewise.
7775 (SEGV_ACCERR): Likewise.
7776 (BUS_ADRALN): Likewise.
7777 (BUS_ADRERR): Likewise.
7778 (BUS_OBJERR): Likewise.
7779 (BUS_MCEERR_AR): Likewise.
7780 (BUS_MCEERR_AO): Likewise.
7781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7782 (TRAP_TRACE): Likewise.
7783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7784 __USE_XOPEN2K8].
7785 (CLD_KILLED): Likewise.
7786 (CLD_DUMPED): Likewise.
7787 (CLD_TRAPPED): Likewise.
7788 (CLD_STOPPED): Likewise.
7789 (CLD_CONTINUED): Likewise.
7790 (POLL_IN): Likewise.
7791 (POLL_OUT): Likewise.
7792 (POLL_MSG): Likewise.
7793 (POLL_ERR): Likewise.
7794 (POLL_PRI): Likewise.
7795 (POLL_HUP): Likewise.
7796 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7797 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7798
7799 [BZ #16670]
7800 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7801 before #include of <time.h>.
7802 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7803 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7804 (test-xfail-UNIX98/sched.h/conform): Likewise.
7805
78062014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7807
7808 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7809 error absence of trapping exception support.
7810 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7811
78122014-03-07 Joseph Myers <joseph@codesourcery.com>
7813
7814 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7815 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7816 * timezone/Makefile (testdata): Move definition above include of
7817 Rules.
7818 (test-zones): New variable.
7819 (tests-special): Add zone files.
7820 (build-testdata): Use $(evaluate-test).
7821
7822 * elf/Makefile (tests-special): Rename tests to end with .out.
7823 ($(objpfx)noload-mem): Likewise.
7824 ($(objpfx)tst-leaks1-mem): Likewise.
7825 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7826 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7827 $(objpfx)test-iconvconfig.out.
7828 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7829 set -e inside subshell and redirect output to file.
7830 * iconvdata/Makefile (generated): Rename tests to end with .out.
7831 Correct type.
7832 (tests-special): Rename tests to end with .out.
7833 ($(objpfx)mtrace-tst-loading): Likewise.
7834 * intl/Makefile (generated): Likewise.
7835 (tests-special): Likewise.
7836 ($(objpfx)mtrace-tst-gettext): Likewise.
7837 * misc/Makefile (generated): Likewise.
7838 (tests-special): Likewise.
7839 ($(objpfx)tst-error1-mem): Likewise.
7840 * nptl/Makefile (tests-special): Likewise.
7841 ($(objpfx)tst-stack3-mem): Likewise.
7842 (generated): Likewise.
7843 * posix/Makefile (generated): Likewise.
7844 (tests-special): Likewise.
7845 (xtests-special): Likewise.
7846 ($(objpfx)tst-fnmatch-mem): Likewise.
7847 ($(objpfx)bug-regex2-mem): Likewise.
7848 ($(objpfx)bug-regex14-mem): Likewise.
7849 ($(objpfx)bug-regex21-mem): Likewise.
7850 ($(objpfx)bug-regex31-mem): Likewise.
7851 ($(objpfx)tst-vfork3-mem): Likewise.
7852 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7853 ($(objpfx)tst-pcre-mem): Likewise.
7854 ($(objpfx)tst-boost-mem): Likewise.
7855 ($(objpfx)bug-ga2-mem): Likewise.
7856 ($(objpfx)bug-glob2-mem): Likewise.
7857 * resolv/Makefile (generate): Likewise.
7858 (tests-special): Likewise.
7859 (xtests-special): Likewise.
7860 (generated): Likewise.
7861 ($(objpfx)mtrace-tst-leaks): Likewise.
7862 ($(objpfx)mtrace-tst-leaks2): Likewise.
7863
7864 * scripts/merge-test-results.sh: New file.
7865 * Makefile (tests-special-notdir): New variable.
7866 (tests): Run merge-test-results.sh.
7867 (xtests): Likewise.
7868 * Rules (tests-special-notdir): New variable.
7869 (xtests-special-notdir): Likewise.
7870 (tests): Run merge-test-results.sh
7871 (xtests): Likewise.
7872
7873 * Makeconfig (test-xfail-name): New variable.
7874 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7875 compute variable name for expected failures.
7876 * conform/Makefile (conformtest-headers-data): New variable.
7877 (conformtest-standards): Likewise.
7878 (conformtest-headers-ISO): Likewise.
7879 (conformtest-headers-ISO99): Likewise.
7880 (conformtest-headers-ISO11): Likewise.
7881 (conformtest-headers-POSIX): Likewise.
7882 (conformtest-headers-XPG3): Likewise.
7883 (conformtest-headers-XPG4): Likewise.
7884 (conformtest-headers-UNIX98): Likewise.
7885 (conformtest-headers-XOPEN2K): Likewise.
7886 (conformtest-headers-POSIX2008): Likewise.
7887 (conformtest-headers-XOPEN2K8): Likewise.
7888 (conformtest-header-list-base): Likewise.
7889 (conformtest-header-list-tests): Likewise.
7890 (conformtest-header-base): Likewise.
7891 (conformtest-header-tests): Likewise.
7892 (tests-special): Add $(conformtest-header-list-tests). If
7893 [$(fast-check) && !$(cross-compiling)], add
7894 $(conformtest-header-tests) instead of
7895 $(objpfx)run-conformtest.out.
7896 (generated): Add $(conformtest-header-list-base). If
7897 [$(fast-check) && !$(cross-compiling)], add
7898 $(conformtest-header-base). Remove previous setting.
7899 ($(conformtest-header-list-tests)): New target.
7900 (test-xfail-run-conformtest): Remove variable.
7901 ($(objpfx)run-conformtest.out): Remove target.
7902 (test-xfail-ISO11/complex.h/conform): New variable.
7903 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7904 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7905 (test-xfail-XPG3/varargs.h/conform): Likewise.
7906 (test-xfail-XPG4/varargs.h/conform): Likewise.
7907 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7908 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7909 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7910 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7911 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7912 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7913 (test-xfail-XPG3/ftw.h/conform): Likewise.
7914 (test-xfail-XPG3/grp.h/conform): Likewise.
7915 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7916 (test-xfail-XPG3/limits.h/conform): Likewise.
7917 (test-xfail-XPG3/pwd.h/conform): Likewise.
7918 (test-xfail-XPG3/search.h/conform): Likewise.
7919 (test-xfail-XPG3/signal.h/conform): Likewise.
7920 (test-xfail-XPG3/stdio.h/conform): Likewise.
7921 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7922 (test-xfail-XPG3/string.h/conform): Likewise.
7923 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7924 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7925 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7926 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7927 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7928 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7929 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7930 (test-xfail-XPG3/termios.h/conform): Likewise.
7931 (test-xfail-XPG3/time.h/conform): Likewise.
7932 (test-xfail-XPG3/unistd.h/conform): Likewise.
7933 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7934 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7935 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7936 (test-xfail-XPG4/netdb.h/conform): Likewise.
7937 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7938 (test-xfail-XPG4/signal.h/conform): Likewise.
7939 (test-xfail-XPG4/stdio.h/conform): Likewise.
7940 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7941 (test-xfail-XPG4/stropts.h/conform): Likewise.
7942 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7943 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7944 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7945 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7946 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7947 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7948 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7949 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7950 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7951 (test-xfail-XPG4/termios.h/conform): Likewise.
7952 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7953 (test-xfail-XPG4/unistd.h/conform): Likewise.
7954 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7955 (test-xfail-POSIX/sched.h/conform): Likewise.
7956 (test-xfail-POSIX/signal.h/conform): Likewise.
7957 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7958 (test-xfail-POSIX/tar.h/conform): Likewise.
7959 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7960 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7961 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7962 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7963 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7964 (test-xfail-UNIX98/sched.h/conform): Likewise.
7965 (test-xfail-UNIX98/signal.h/conform): Likewise.
7966 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7967 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7968 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7969 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7970 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7971 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7972 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7973 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7974 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7975 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7976 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7977 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7978 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7979 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7980 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7981 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7982 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7983 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7984 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7985 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7986 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7987 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7988 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7989 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7990 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7991 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7992 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7993 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7994 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7995 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7996 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7997 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7998 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7999 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8000 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8001 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8002 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8003 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8004 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8005 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8006 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8007 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8008 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8009 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8010 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8011 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8012 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8013 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8014 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8015 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8016 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8017 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8018 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8019 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8020 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8021 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8022 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8023 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8024 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8025 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8026 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8027 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8028 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8029 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8030 (conformtest-cc-flags): Likewise.
8031 ($(conformtest-header-tests): New target.
8032 * conform/check-header-lists.sh: New file.
8033 * conform/run-conformtest.sh: Remove.
8034
8035 * conform/conformtest.pl: Allow ' and \ in values given for
8036 constants.
8037 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8038 inclusion.
8039 [POSIX] (sys/types.h): Likewise.
8040 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8041 inclusion.
8042 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8043 inclusion.
8044 * conform/data/signal.h-data (SIGIO): Remove expectation.
8045 [XPG3] (SIGBUS): Do not expect.
8046 [POSIX || XPG3] (SIGPOLL): Likewise.
8047 [POSIX || XPG3] (SIGPROF): Likewise.
8048 [POSIX || XPG3] (SIGSYS): Likewise.
8049 [XPG3] (SIGTRAP): Likewise.
8050 [POSIX || XPG3] (SIGURG): Likewise.
8051 [POSIX || XPG3] (SIGVTALRM): Likewise.
8052 [POSIX || XPG3] (SIGXCPU): Likewise.
8053 [POSIX || XPG3] (SIGXFSZ): Likewise.
8054 [POSIX] (SA_SIGINFO): Expect.
8055 [XPG3] (siginfo_t): Do not expect type or contents.
8056 [POSIX] (si_pid): Do not expect element.
8057 [POSIX] (si_uid): Likewise.
8058 [POSIX] (si_addr): Likewise.
8059 [POSIX] (si_status): Likewise.
8060 [POSIX] (si_band): Likewise.
8061 [XPG4] (si_value): Likewise.
8062 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8063 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8064 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8065 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8066 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8067 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8068 [POSIX || XPG3] (ILL_COPROC): Likewise.
8069 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8070 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8071 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8072 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8073 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8074 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8075 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8076 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8077 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8078 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8079 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8080 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8081 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8082 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8083 [POSIX || XPG3] (CLD_EXITED): Likewise.
8084 [POSIX || XPG3] (CLD_KILLED): Likewise.
8085 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8086 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8087 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8088 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8089 [POSIX || XPG3] (POLL_IN): Likewise.
8090 [POSIX || XPG3] (POLL_OUT): Likewise.
8091 [POSIX || XPG3] (POLL_MSG): Likewise.
8092 [POSIX || XPG3] (POLL_ERR): Likewise.
8093 [POSIX || XPG3] (POLL_PRI): Likewise.
8094 [POSIX || XPG3] (POLL_HUP): Likewise.
8095 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8096 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8097 (SIG*): Do not allow.
8098 [XPG3] (si_*): Likewise.
8099 [XPG3] (SI_*): Likewise.
8100 [XPG3 || XPG4] (sigev_*): Likewise.
8101 [XPG3 || XPG4] (SIGEV_*): Likewise.
8102 [XPG3 || XPG4] (sival_*): Likewise.
8103 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8104 [POSIX || XPG3] (BUS_*): Likewise.
8105 [POSIX || XPG3] (CLD_*): Likewise.
8106 [POSIX || XPG3] (FPE_*): Likewise.
8107 [POSIX || XPG3] (ILL_*): Likewise.
8108 [POSIX || XPG3] (POLL_*): Likewise.
8109 [POSIX || XPG3] (SEGV_*): Likewise.
8110 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8111 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8112 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8113 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8114 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8115 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8116 Specify type and value.
8117 (TVERSLEN): Likewise.
8118 (REGTYPE): Likewise.
8119 (AREGTYPE): Likewise.
8120 (LNKTYPE): Likewise.
8121 (SYMTYPE): Likewise.
8122 (CHRTYPE): Likewise.
8123 (BLKTYPE): Likewise.
8124 (DIRTYPE): Likewise.
8125 (FIFOTYPE): Likewise.
8126 (CONTTYPE): Likewise.
8127 (TSUID): Likewise.
8128 (TSGID): Likewise.
8129 (TSVTX): Likewise.
8130 (TUREAD): Likewise.
8131 (TUWRITE): Likewise.
8132 (TUEXEC): Likewise.
8133 (TGREAD): Likewise.
8134 (TGWRITE): Likewise.
8135 (TGEXEC): Likewise.
8136 (TOREAD): Likewise.
8137 (TOWRITE): Likewise.
8138 (TOEXEC): Likewise.
8139 [POSIX] (TSVTX): Expect constant.
8140
81412014-03-06 Joseph Myers <joseph@codesourcery.com>
8142
8143 * Makefile (tests): Change dependencies to ....
8144 (tests-special): ... additions to this variable.
8145 (tests): Depend on $(tests-special).
8146 * Makerules (check-abi-list): New variable.
8147 (check-abi): Depend on $(check-abi-list).
8148 [$(subdir) = elf] (tests-special): Add
8149 $(objpfx)check-abi-libc.out.
8150 [$(build-shared) = yes && subdir] (tests-special): Add
8151 $(check-abi-list).
8152 [$(build-shared) = yes && subdir] (tests): Do not depend on
8153 check-abi.
8154 * Rules (tests): Depend on $(tests-special).
8155 (xtests): Depend on $(xtests-special).
8156 * catgets/Makefile (tests): Change dependencies to ....
8157 (tests-special): ... additions to this variable.
8158 * conform/Makefile (tests): Change dependencies to ....
8159 (tests-special): ... additions to this variable.
8160 * elf/Makefile (tests): Change dependencies to ....
8161 (tests-special): ... additions to this variable.
8162 * grp/Makefile (tests): Change dependencies to ....
8163 (tests-special): ... additions to this variable.
8164 * iconv/Makefile (xtests): Change dependencies to ....
8165 (xtests-special): ... additions to this variable.
8166 * iconvdata/Makefile (tests): Change dependencies to ....
8167 (tests-special): ... additions to this variable.
8168 * intl/Makefile (tests): Change dependencies to ....
8169 (tests-special): ... additions to this variable. Also add
8170 $(objpfx)tst-gettext.out.
8171 * io/Makefile (tests): Change dependencies to ....
8172 (tests-special): ... additions to this variable.
8173 * libio/Makefile (tests): Change dependencies to ....
8174 (tests-special): ... additions to this variable.
8175 * malloc/Makefile (tests): Change dependencies to ....
8176 (tests-special): ... additions to this variable.
8177 * misc/Makefile (tests): Change dependencies to ....
8178 (tests-special): ... additions to this variable.
8179 * nptl/Makefile (tests): Change dependencies to ....
8180 (tests-special): ... additions to this variable.
8181 * nptl_db/Makefile (tests): Change dependencies to ....
8182 (tests-special): ... additions to this variable.
8183 * posix/Makefile (tests): Change dependencies to ....
8184 (tests-special): ... additions to this variable.
8185 (xtests): Change dependencies to ....
8186 (xtests-special): ... additions to this variable.
8187 * resolv/Makefile (tests): Change dependencies to ....
8188 (tests-special): ... additions to this variable.
8189 (xtests): Change dependencies to ....
8190 (xtests-special): ... additions to this variable.
8191 * stdio-common/Makefile (tests): Change dependencies to ....
8192 (tests-special): ... additions to this variable.
8193 (do-tst-unbputc): Remove target.
8194 (do-tst-printf): Likewise.
8195 * stdlib/Makefile (tests): Change dependencies to ....
8196 (tests-special): ... additions to this variable.
8197 * string/Makefile (tests): Change dependencies to ....
8198 (tests-special): ... additions to this variable.
8199 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8200 (tests-special): ... additions to this variable.
8201
8202 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8203 whole file.
8204 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8205 whole file.
8206 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8207 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8208
8209 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8210 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8211 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8212 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8213 * conform/data/libgen.h-data [XPG3]: Likewise.
8214 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8215 * conform/data/ndbm.h-data [XPG3]: Likewise.
8216 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8217 * conform/data/netdb.h-data [XPG3]: Likewise.
8218 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8219 * conform/data/poll.h-data [XPG3]: Likewise.
8220 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8221 * conform/data/strings.h-data [XPG3]: Likewise.
8222 * conform/data/stropts.h-data [XPG3]: Likewise.
8223 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8224 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8225 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8226 Likewise.
8227 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8228 * conform/data/sys/time.h-data [XPG3]: Likewise.
8229 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8230 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8231 * conform/data/sys/un.h-data [XPG3]: Likewise.
8232 * conform/data/syslog.h-data [XPG3]: Likewise.
8233 * conform/data/ucontext.h-data [XPG3]: Likewise.
8234 * conform/data/utmpx.h-data [XPG3]: Likewise.
8235 * conform/data/varargs.h-data [UNIX98]: Enable file.
8236
8237 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8238
8239 * math/libm-test.inc (struct test_f_f_data): Move expected results
8240 into structure for each rounding mode.
8241 (struct test_ff_f_data): Likewise.
8242 (struct test_ff_f_data_nexttoward): Likewise.
8243 (struct test_fi_f_data): Likewise.
8244 (struct test_fl_f_data): Likewise.
8245 (struct test_if_f_data): Likewise.
8246 (struct test_fff_f_data): Likewise.
8247 (struct test_c_f_data): Likewise.
8248 (struct test_f_f1_data): Likewise.
8249 (struct test_fF_f1_data): Likewise.
8250 (struct test_ffI_f1_data): Likewise.
8251 (struct test_c_c_data): Likewise.
8252 (struct test_cc_c_data): Likewise.
8253 (struct test_f_i_data): Likewise.
8254 (struct test_ff_i_data): Likewise.
8255 (struct test_f_l_data): Likewise.
8256 (struct test_f_L_data): Likewise.
8257 (struct test_fFF_11_data): Likewise.
8258 (RM_): New macro.
8259 (RM_FE_DOWNWARD): Likewise.
8260 (RM_FE_TONEAREST): Likewise.
8261 (RM_FE_TOWARDZERO): Likewise.
8262 (RM_FE_UPWARD): Likewise.
8263 (RUN_TEST_LOOP_f_f): Update references to expected results.
8264 (RUN_TEST_LOOP_2_f): Likewise.
8265 (RUN_TEST_LOOP_fff_f): Likewise.
8266 (RUN_TEST_LOOP_c_f): Likewise.
8267 (RUN_TEST_LOOP_f_f1): Likewise.
8268 (RUN_TEST_LOOP_fF_f1): Likewise.
8269 (RUN_TEST_LOOP_fI_f1): Likewise.
8270 (RUN_TEST_LOOP_ffI_f1): Likewise.
8271 (RUN_TEST_LOOP_c_c): Likewise.
8272 (RUN_TEST_LOOP_cc_c): Likewise.
8273 (RUN_TEST_LOOP_f_i): Likewise.
8274 (RUN_TEST_LOOP_f_i_tg): Likewise.
8275 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8276 (RUN_TEST_LOOP_f_b): Likewise.
8277 (RUN_TEST_LOOP_f_b_tg): Likewise.
8278 (RUN_TEST_LOOP_f_l): Likewise.
8279 (RUN_TEST_LOOP_f_L): Likewise.
8280 (RUN_TEST_LOOP_fFF_11): Likewise.
8281 * math/gen-libm-test.pl (parse_args): Output four copies of
8282 expected results for each test.
8283
8284 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8285 (__ASSUME_UTIMES): Remove.
8286 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8287 (__ASSUME_UTIMES): Likewise.
8288
8289 * math/gen-auto-libm-tests.c: Update comment on output format.
8290 (output_for_one_input_case): Generate before-rounding and
8291 after-rounding information as conditions on output flags not
8292 floating-point format.
8293 * math/auto-libm-test-out: Regenerated.
8294 * math/gen-libm-test.pl (cond_value): New function.
8295 (or_cond_value): Use cond_value.
8296 (generate_testfile): Handle conditional exceptions.
8297
82982014-03-05 Joseph Myers <joseph@codesourcery.com>
8299
8300 * math/libm-test.inc (max_valid_error): New variable.
8301 (init_max_error): Take new argument specifying whether function
8302 results are exactly determined. Set max_valid_error and bound
8303 other variables for errors based on this argument.
8304 (set_max_error): Do not record results above max_valid_error.
8305 (check_float_internal): Only accept errors of up to 0.5ulps if
8306 also at most max_valid_error.
8307 (START): Take new argument EXACT and pass it to init_max_error.
8308 (acos_test): Update call to START.
8309 (acos_test_tonearest): Likewise.
8310 (acos_test_towardzero): Likewise.
8311 (acos_test_downward): Likewise.
8312 (acos_test_upward): Likewise.
8313 (acosh_test): Likewise.
8314 (asin_test): Likewise.
8315 (asin_test_tonearest): Likewise.
8316 (asin_test_towardzero): Likewise.
8317 (asin_test_downward): Likewise.
8318 (asin_test_upward): Likewise.
8319 (asinh_test): Likewise.
8320 (atan_test): Likewise.
8321 (atanh_test): Likewise.
8322 (atan2_test): Likewise.
8323 (cabs_test): Likewise.
8324 (cacos_test): Likewise.
8325 (cacosh_test): Likewise.
8326 (carg_test): Likewise.
8327 (casin_test): Likewise.
8328 (casinh_test): Likewise.
8329 (catan_test): Likewise.
8330 (catanh_test): Likewise.
8331 (cbrt_test): Likewise.
8332 (ccos_test): Likewise.
8333 (ccosh_test): Likewise.
8334 (ceil_test): Likewise.
8335 (cexp_test): Likewise.
8336 (cimag_test): Likewise.
8337 (clog_test): Likewise.
8338 (clog10_test): Likewise.
8339 (conj_test): Likewise.
8340 (copysign_test): Likewise.
8341 (cos_test): Likewise.
8342 (cos_test_tonearest): Likewise.
8343 (cos_test_towardzero): Likewise.
8344 (cos_test_downward): Likewise.
8345 (cos_test_upward): Likewise.
8346 (cosh_test): Likewise.
8347 (cosh_test_tonearest): Likewise.
8348 (cosh_test_towardzero): Likewise.
8349 (cosh_test_downward): Likewise.
8350 (cosh_test_upward): Likewise.
8351 (cpow_test): Likewise.
8352 (cproj_test): Likewise.
8353 (creal_test): Likewise.
8354 (csin_test): Likewise.
8355 (csinh_test): Likewise.
8356 (csqrt_test): Likewise.
8357 (ctan_test): Likewise.
8358 (ctan_test_tonearest): Likewise.
8359 (ctan_test_towardzero): Likewise.
8360 (ctan_test_downward): Likewise.
8361 (ctan_test_upward): Likewise.
8362 (ctanh_test): Likewise.
8363 (ctanh_test_tonearest): Likewise.
8364 (ctanh_test_towardzero): Likewise.
8365 (ctanh_test_downward): Likewise.
8366 (ctanh_test_upward): Likewise.
8367 (erf_test): Likewise.
8368 (erfc_test): Likewise.
8369 (exp_test): Likewise.
8370 (exp_test_tonearest): Likewise.
8371 (exp_test_towardzero): Likewise.
8372 (exp_test_downward): Likewise.
8373 (exp_test_upward): Likewise.
8374 (exp10_test): Likewise.
8375 (exp10_test_tonearest): Likewise.
8376 (exp10_test_towardzero): Likewise.
8377 (exp10_test_downward): Likewise.
8378 (exp10_test_upward): Likewise.
8379 (pow10_test): Likewise.
8380 (exp2_test): Likewise.
8381 (expm1_test): Likewise.
8382 (expm1_test_tonearest): Likewise.
8383 (expm1_test_towardzero): Likewise.
8384 (expm1_test_downward): Likewise.
8385 (expm1_test_upward): Likewise.
8386 (fabs_test): Likewise.
8387 (fdim_test): Likewise.
8388 (floor_test): Likewise.
8389 (fma_test): Likewise.
8390 (fma_test_towardzero): Likewise.
8391 (fma_test_downward): Likewise.
8392 (fma_test_upward): Likewise.
8393 (fmax_test): Likewise.
8394 (fmin_test): Likewise.
8395 (fmod_test): Likewise.
8396 (fpclassify_test): Likewise.
8397 (frexp_test): Likewise.
8398 (hypot_test): Likewise.
8399 (ilogb_test): Likewise.
8400 (isfinite_test): Likewise.
8401 (finite_test): Likewise.
8402 (isgreater_test): Likewise.
8403 (isgreaterequal_test): Likewise.
8404 (isinf_test): Likewise.
8405 (isless_test): Likewise.
8406 (islessequal_test): Likewise.
8407 (islessgreater_test): Likewise.
8408 (isnan_test): Likewise.
8409 (isnormal_test): Likewise.
8410 (issignaling_test): Likewise.
8411 (isunordered_test): Likewise.
8412 (j0_test): Likewise.
8413 (j1_test): Likewise.
8414 (jn_test): Likewise.
8415 (ldexp_test): Likewise.
8416 (lgamma_test): Likewise.
8417 (gamma_test): Likewise.
8418 (lrint_test): Likewise.
8419 (lrint_test_tonearest): Likewise.
8420 (lrint_test_towardzero): Likewise.
8421 (lrint_test_downward): Likewise.
8422 (lrint_test_upward): Likewise.
8423 (llrint_test): Likewise.
8424 (llrint_test_tonearest): Likewise.
8425 (llrint_test_towardzero): Likewise.
8426 (llrint_test_downward): Likewise.
8427 (llrint_test_upward): Likewise.
8428 (log_test): Likewise.
8429 (log10_test): Likewise.
8430 (log1p_test): Likewise.
8431 (log2_test): Likewise.
8432 (logb_test): Likewise.
8433 (logb_test_downward): Likewise.
8434 (lround_test): Likewise.
8435 (llround_test): Likewise.
8436 (modf_test): Likewise.
8437 (nearbyint_test): Likewise.
8438 (nextafter_test): Likewise.
8439 (nexttoward_test): Likewise.
8440 (pow_test): Likewise.
8441 (pow_test_tonearest): Likewise.
8442 (pow_test_towardzero): Likewise.
8443 (pow_test_downward): Likewise.
8444 (pow_test_upward): Likewise.
8445 (remainder_test): Likewise.
8446 (drem_test): Likewise.
8447 (remainder_test_tonearest): Likewise.
8448 (drem_test_tonearest): Likewise.
8449 (remainder_test_towardzero): Likewise.
8450 (drem_test_towardzero): Likewise.
8451 (remainder_test_downward): Likewise.
8452 (drem_test_downward): Likewise.
8453 (remainder_test_upward): Likewise.
8454 (drem_test_upward): Likewise.
8455 (remquo_test): Likewise.
8456 (rint_test): Likewise.
8457 (rint_test_tonearest): Likewise.
8458 (rint_test_towardzero): Likewise.
8459 (rint_test_downward): Likewise.
8460 (rint_test_upward): Likewise.
8461 (round_test): Likewise.
8462 (scalb_test): Likewise.
8463 (scalbn_test): Likewise.
8464 (scalbln_test): Likewise.
8465 (signbit_test): Likewise.
8466 (sin_test): Likewise.
8467 (sin_test_tonearest): Likewise.
8468 (sin_test_towardzero): Likewise.
8469 (sin_test_downward): Likewise.
8470 (sin_test_upward): Likewise.
8471 (sincos_test): Likewise.
8472 (sinh_test): Likewise.
8473 (sinh_test_tonearest): Likewise.
8474 (sinh_test_towardzero): Likewise.
8475 (sinh_test_downward): Likewise.
8476 (sinh_test_upward): Likewise.
8477 (sqrt_test): Likewise.
8478 (sqrt_test_tonearest): Likewise.
8479 (sqrt_test_towardzero): Likewise.
8480 (sqrt_test_downward): Likewise.
8481 (sqrt_test_upward): Likewise.
8482 (tan_test): Likewise.
8483 (tan_test_tonearest): Likewise.
8484 (tan_test_towardzero): Likewise.
8485 (tan_test_downward): Likewise.
8486 (tan_test_upward): Likewise.
8487 (tanh_test): Likewise.
8488 (tgamma_test): Likewise.
8489 (trunc_test): Likewise.
8490 (y0_test): Likewise.
8491 (y1_test): Likewise.
8492 (yn_test): Likewise.
8493 (significand_test): Likewise.
8494
8495 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8496 individual tests in comment.
8497 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8498 (prev_max_error): New variable.
8499 (prev_real_max_error): Likewise.
8500 (prev_imag_max_error): Likewise.
8501 (compare_ulp_data): Don't refer to test names in comment.
8502 (find_test_ulps): Remove function.
8503 (find_function_ulps): Likewise.
8504 (find_complex_function_ulps): Likewise.
8505 (init_max_error): Take function name as argument. Look up ulps
8506 for that function.
8507 (print_ulps): Remove function.
8508 (print_max_error): Use prev_max_error instead of calling
8509 find_function_ulps.
8510 (print_complex_max_error): Use prev_real_max_error and
8511 prev_imag_max_error instead of calling find_complex_function_ulps.
8512 (check_float_internal): Take max_ulp parameter instead of calling
8513 find_test_ulps. Don't call print_ulps.
8514 (check_float): Update call to check_float_internal.
8515 (check_complex): Update calls to check_float_internal.
8516 (START): Pass argument to init_max_error.
8517 * math/gen-libm-test.pl (%results): Don't include "kind"
8518 information.
8519 (parse_ulps): Don't handle ulps of individual tests.
8520 (print_ulps_file): Likewise.
8521 (output_ulps): Likewise.
8522 * math/README.libm-test: Update.
8523 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8524 individual tests.
8525 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8526 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8527 * sysdeps/arm/libm-test-ulps: Likewise.
8528 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8529 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8530 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8531 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8532 * sysdeps/microblaze/libm-test-ulps: Likewise.
8533 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8534 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8536 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8537 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8538 * sysdeps/sh/libm-test-ulps: Likewise.
8539 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8540 * sysdeps/tile/libm-test-ulps: Likewise.
8541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8542
85432014-03-04 Joseph Myers <joseph@codesourcery.com>
8544
8545 * math/libm-test.inc (print_complex_max_error): Check separately
8546 whether real and imaginary errors are within allowed range and
8547 pass 0 to print_complex_function_ulps instead of value within
8548 allowed range.
8549
85502014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8551
8552 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8553 formatting.
8554 (get_handles_fopen): Likewise.
8555 (do_write_test): Likewise.
8556
8557 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8558
8559 * libio/fileops.c (do_ftell): Use cached offset when
8560 available.
8561 * libio/iofwide.c (do_ftell_wide): Likewise.
8562 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8563 _IO_file_attach.
8564 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8565
8566 [BZ #16532]
8567 * libio/libioP.h (get_file_offset): New function.
8568 * libio/fileops.c (get_file_offset): Likewise.
8569 (do_ftell): Likewise.
8570 (_IO_new_file_seekoff): Split out ftell logic.
8571 * libio/wfileops.c (do_ftell_wide): Likewise.
8572 (_IO_wfile_seekoff): Split out ftell logic.
8573 * libio/tst-ftell-active-handler.c: New test case.
8574 * libio/Makefile (tests): Add it.
8575
85762014-03-03 Roland McGrath <roland@hack.frob.com>
8577
8578 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8579 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8580
85812014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8582
8583 [BZ #16639]
8584 * nscd/connections.c (nscd_init): Call do_exit.
8585 (start_threads): Call do_exit and notify_parent.
8586 (begin_drop_privileges): Call do_exit.
8587 (finish_drop_privileges): Likewise.
8588 * nscd/selinux.c (preserve_capabilities): Likewise.
8589 (install_real_capabilities): Likewise.
8590 (nscd_selinux_enabled): Likewise.
8591 (avc_create_thread): Likewise.
8592 (avc_alloc_lock): Likewise.
8593 (nscd_avc_init): Likewise.
8594 * nscd/nscd.c (parent_fd): New static variable.
8595 (main): Create a pipe between parent and child processes.
8596 Skip closing parent_fd.
8597 (monitor_child): New function.
8598 (do_exit): Likewise.
8599 (notify_parent): Likewise.
8600 * nscd/nscd.h (notify_parent): Likewise.
8601 (do_exit): Likewise.
8602
86032014-03-03 Carlos O'Donell <carlos@redhat.com>
8604
8605 * malloc/malloc.c (__libc_calloc): Revert last change.
8606
86072014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8608
8609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8610
86112014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8612
8613 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8615 implementation.
8616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8617 (__libc_ifunc_impl_list): Likewise.
8618 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8619 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8620 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8621 * string/strrchr.c: Define STRRCHR.
8622
86232014-02-28 Ondřej Bílka <neleai@seznam.cz>
8624
8625 * benchtest/bench-strtok.c (simple_strtok): Delete.
8626 (strtok_string): Use as benchmark.
8627 * string/strtok (STRTOK): New macro.
8628
86292014-02-28 Carlos O'Donell <carlos@redhat.com>
8630
8631 * manual/threads.texi: Add header and standard comments to all
8632 functions.
8633
8634 * elf/dl-lookup.c (check_match): New function.
8635 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8636 (do_lookup_x): Remove nested function check_match. Use non-nested
8637 function check_match.
8638
86392014-02-28 Roland McGrath <roland@hack.frob.com>
8640
8641 * csu/Makefile (generated, before-compile): Use += rather than =.
8642 * catgets/Makefile (generated, generated-dirs): Likewise.
8643 * debug/Makefile (generated): Likewise.
8644 * dlfcn/Makefile (generated): Likewise.
8645 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8646 * iconvdata/Makefile (before-compile, generated): Likewise.
8647 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8648 * libio/Makefile (generated): Likewise.
8649 * malloc/Makefile (generated): Likewise.
8650 * manual/Makefile (generated, generated-dirs): Likewise.
8651 * misc/Makefile (generated): Likewise.
8652 * posix/Makefile (generated): Likewise.
8653 * resolv/Makefile (generated): Likewise.
8654 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8655 * timezone/Makefile (generated, generated-dirs): Likewise.
8656
8657 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8658
86592014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8660
8661 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8662 power8 implementation.
8663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8664 file: POWER8 llround ifunc implementation.
8665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8666 (__lllround): Add POWER8 implementation.
8667 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8668 POWER8 llround implementation.
8669
8670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8671 power8 implementation.
8672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8673 file: POWER8 llrint ifunc implementation.
8674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8675 Add POWER8 implementation.
8676 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8677 POWER8 llrint implementation.
8678
8679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8680 power8 implementation.
8681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8682 file: POWER8 finite ifunc implementation.
8683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8684 Add POWER8 implementation.
8685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8686 Likewise.
8687 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8688 POWER8 finite implementation.
8689 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8690
8691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8692 power8 implementation.
8693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8694 file: POWER8 isinf ifunc implementation.
8695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8696 POWER8 implementation.
8697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8698 Likewise.
8699 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8700 isinf implementation.
8701 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8702
8703 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8704 (INIT_ARCH): Add hwcap2 initialization.
8705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8706 power8 implementation.
8707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8708 file: POWER8 isnan ifunc implementation.
8709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8710 POWER8 implementation.
8711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8712 Likewise.
8713 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8714 isnan implementation.
8715 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8716
87172014-02-27 Joey Ye <joey.ye@arm.com>
8718
8719 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8720 (_FP_NANFRAC_Q): Set to zero.
8721
87222014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8723
8724 [BZ #16623]
8725 * math/auto-libm-test-in: New test inputs.
8726 * math/auto-libm-test-out: Regenerate.
8727 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8728 and DA.
8729 (__cos): Likewise.
8730 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8731
87322014-02-27 Joseph Myers <joseph@codesourcery.com>
8733
8734 * scripts/evaluate-test.sh: Take new argument indicating whether
8735 failure is expected.
8736 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8737 indicating whether failure is expected.
8738 * conform/Makefile (test-xfail-run-conformtest): New variable.
8739 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8740 level.
8741 * posix/Makefile (test-xfail-annexc): New variable.
8742 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8743
87442014-02-26 Joseph Myers <joseph@codesourcery.com>
8745
8746 * argp/Makefile: Include Makeconfig immediately after defining
8747 subdir.
8748 * assert/Makefile: Likewise.
8749 * benchtests/Makefile: Likewise.
8750 * catgets/Makefile: Likewise.
8751 * conform/Makefile: Likewise.
8752 * crypt/Makefile: Likewise.
8753 * csu/Makefile: Likewise.
8754 (all): Remove target.
8755 * ctype/Makefile: Include Makeconfig immediately after defining
8756 subdir.
8757 * debug/Makefile: Likewise.
8758 * dirent/Makefile: Likewise.
8759 * dlfcn/Makefile: Likewise.
8760 * gmon/Makefile: Likewise.
8761 * gnulib/Makefile: Likewise.
8762 * grp/Makefile: Likewise.
8763 * gshadow/Makefile: Likewise.
8764 * hesiod/Makefile: Likewise.
8765 * hurd/Makefile: Likewise.
8766 (all): Remove target.
8767 * iconvdata/Makefile: Include Makeconfig immediately after
8768 defining subdir.
8769 * inet/Makefile: Likewise.
8770 * intl/Makefile: Likewise.
8771 * io/Makefile: Likewise.
8772 * libio/Makefile: Likewise.
8773 (all): Remove target.
8774 * locale/Makefile: Include Makeconfig immediately after defining
8775 subdir.
8776 * login/Makefile: Likewise.
8777 * mach/Makefile: Likewise.
8778 (all): Remove target.
8779 * malloc/Makefile: Include Makeconfig immediately after defining
8780 subdir.
8781 (all): Remove target.
8782 * manual/Makefile: Include Makeconfig immediately after defining
8783 subdir.
8784 * math/Makefile: Likewise.
8785 * misc/Makefile: Likewise.
8786 * nis/Makefile: Likewise.
8787 * nss/Makefile: Likewise.
8788 * po/Makefile: Likewise.
8789 (all): Remove target.
8790 * posix/Makefile: Include Makeconfig immediately after defining
8791 subdir.
8792 * pwd/Makefile: Likewise.
8793 * resolv/Makefile: Likewise.
8794 * resource/Makefile: Likewise.
8795 * rt/Makefile: Likewise.
8796 * setjmp/Makefile: Likewise.
8797 * shadow/Makefile: Likewise.
8798 * signal/Makefile: Likewise.
8799 * socket/Makefile: Likewise.
8800 * soft-fp/Makefile: Likewise.
8801 * stdio-common/Makefile: Likewise.
8802 * stdlib/Makefile: Likewise.
8803 * streams/Makefile: Likewise.
8804 * string/Makefile: Likewise.
8805 * sunrpc/Makefile: Likewise.
8806 (all): Remove target.
8807 * sysvipc/Makefile: Include Makeconfig immediately after defining
8808 subdir.
8809 * termios/Makefile: Likewise.
8810 * time/Makefile: Likewise.
8811 * timezone/Makefile: Likewise.
8812 (all): Remove target.
8813 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8814 subdir.
8815 * wctype/Makefile: Likewise.
8816
88172014-02-26 Steve Ellcey <sellcey@mips.com>
8818
8819 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8820 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8821 (libc_feholdexcept_setround_mips): Ditto.
8822 (libc_feholdsetround): New.
8823 (libc_feholdsetroundf): New.
8824 (libc_feholdsetroundl): New.
8825 (libc_feupdateenv_test_mips): New.
8826 (libc_feupdateenv_test): New.
8827 (libc_feupdateenv_testf): New.
8828 (libc_feupdateenv_testl): New.
8829 (libc_feresetround): New.
8830 (libc_feresetroundf): New.
8831 (libc_feresetroundl): New.
8832 (libc_fetestexcept_mips): New.
8833 (libc_fetestexcept): New.
8834 (libc_fetestexceptf): New.
8835 (libc_fetestexceptl): New.
8836 (HAVE_RM_CTX): New.
8837 (libc_feholdexcept_setround_mips_ctx): New.
8838 (libc_feholdexcept_setround_ctx): New.
8839 (libc_feholdexcept_setroundf_ctx): New.
8840 (libc_feholdexcept_setroundl_ctx): New.
8841 (libc_fesetenv_mips_ctx): New.
8842 (libc_fesetenv_ctx): New.
8843 (libc_fesetenv_ctxf): New.
8844 (libc_fesetenv_ctxl): New.
8845 (libc_feupdateenv_mips_ctx): New.
8846 (libc_feupdateenv_ctx): New.
8847 (libc_feupdateenvf_ctx): New.
8848 (libc_feupdateenvl_ctx): New.
8849 (libc_feholdsetround_mips_ctx): New.
8850 (libc_feholdsetround_ctx): New.
8851 (libc_feholdsetroundf_ctx): New.
8852 (libc_feholdsetroundl_ctx): New.
8853 (libc_feresetround_mips_ctx): New.
8854 (libc_feresetround_ctx): New.
8855 (libc_feresetroundf_ctx): New.
8856 (libc_feresetroundl_ctx): New.
8857
88582014-02-26 Carlos O'Donell <carlos@redhat.com>
8859
8860 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8861
8862 * manual/ipc.texi: New file.
8863 * manual/Makefile (chapters): Add ipc.
8864 * manual/job.texi: Add "Inter-Process Communication" to next.
8865 * manual/process.texi: Add "Inter-Process Communication" to prev.
8866
88672014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8868
8869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8870
88712014-02-26 Ondřej Bílka <neleai@seznam.cz>
8872
8873 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8874
8875 * manual/arith.texi: Fix spaces after sentences.
8876 * manual/charset.texi: Likewise.
8877 * manual/errno.texi: Likewise.
8878 * manual/install.texi: Likewise.
8879 * manual/llio.texi: Likewise.
8880 * manual/locale.texi: Likewise.
8881 * manual/maint.texi: Likewise.
8882 * manual/math.texi: Likewise.
8883 * manual/memory.texi: Likewise.
8884 * manual/message.texi: Likewise.
8885 * manual/probes.texi: Likewise.
8886 * manual/resource.texi: Likewise.
8887 * manual/signal.texi: Likewise.
8888 * manual/socket.texi: Likewise.
8889 * manual/stdio.texi: Likewise.
8890 * manual/string.texi: Likewise.
8891 * manual/time.texi: Likewise.
8892 * manual/users.texi: Likewise.
8893
88942014-02-25 Carlos O'Donell <carlos@redhat.com>
8895
8896 [BZ #16632]
8897 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8898 _DEFAULT_SOURCE is defined.
8899
89002014-02-25 Ulrich Drepper <drepper@gmail.com>
8901 Carlos O'Donell <carlos@redhat.com>
8902
8903 [BZ #16613]
8904 * elf/dl-tls.c (_dl_count_modids): New function.
8905 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8906 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8907 audit library and increment generation counter.
8908 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8909 * elf/tst-audit9.c: New file.
8910 * elf/tst-auditmod9a.c: New file.
8911 * elf/tst-auditmod9b.c: New file.
8912 * elf/Makefile: Add rules to build and run tst-audit9.
8913
89142014-02-25 Florian Weimer <fweimer@redhat.com>
8915
8916 [BZ #15347]
8917 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8918
89192014-02-25 Will Newton <will.newton@linaro.org>
8920
8921 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8922 (__longjmp): Restore sp and lr before restoring callee
8923 saved registers. Add longjmp and longjmp_target
8924 SystemTap probe point.
8925 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8926 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8927 Define to zero to match jmpbuf layout.
8928 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8929 (__sigsetjmp): Save sp and lr before saving callee
8930 saved registers. Add setjmp SystemTap probe point.
8931
89322014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8933
8934 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8935
89362014-02-24 Andreas Schwab <schwab@suse.de>
8937
8938 [BZ #15804]
8939 * elf/pldd.c (wait_for_ptrace_stop): New function.
8940 (main): Call it after attaching.
8941
89422014-02-22 Roland McGrath <roland@hack.frob.com>
8943
8944 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8945 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8946 Versions files is now verboten.
8947 * hurd/Versions (libc: GLIBC_2.0):
8948 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8949 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8950 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8951 * mach/Versions: Likewise.
8952
8953 * csu/Versions: Remove unused %include.
8954 * resolv/Versions: Likewise.
8955
89562014-02-21 Joseph Myers <joseph@codesourcery.com>
8957
8958 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8959 ($(objpfx)check-local-headers.out): Likewise.
8960 ($(objpfx)begin-end-check.out): Likewise.
8961 * Makerules (check-abi-%.out): Likewise.
8962 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8963 ($(objpfx)test2.cat): Likewise.
8964 ($(objpfx)de/libc.cat): Likewise.
8965 ($(objpfx)test-gencat.out): Likewise.
8966 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8967 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8968 ($(objpfx)noload-mem): Likewise.
8969 ($(objpfx)tst-pathopt.out): Likewise.
8970 ($(objpfx)tst-rtld-load-self.out): Likewise.
8971 ($(objpfx)tst-array1-cmp.out): Likewise.
8972 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8973 ($(objpfx)tst-array2-cmp.out): Likewise.
8974 ($(objpfx)tst-array3-cmp.out): Likewise.
8975 ($(objpfx)tst-array4-cmp.out): Likewise.
8976 ($(objpfx)tst-array5-cmp.out): Likewise.
8977 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8978 ($(objpfx)check-textrel.out): Likewise.
8979 ($(objpfx)check-execstack.out): Likewise.
8980 ($(objpfx)check-localplt.out): Likewise.
8981 ($(objpfx)order2-cmp.out): Likewise.
8982 ($(objpfx)tst-leaks1-mem): Likewise.
8983 ($(objpfx)tst-leaks1-static-mem): Likewise.
8984 ($(objpfx)tst-initorder-cmp.out): Likewise.
8985 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8986 ($(objpfx)tst-unused-dep.out): Likewise.
8987 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8988 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8989 * iconv/Makefile (test-iconvconfig): Likewise.
8990 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8991 ($(objpfx)iconv-test.out): Likewise.
8992 ($(objpfx)tst-tables.out): Likewise.
8993 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8994 ($(objpfx)tst-gettext.out): Likewise.
8995 ($(objpfx)tst-translit.out): Likewise.
8996 ($(objpfx)tst-gettext2.out): Likewise.
8997 ($(objpfx)tst-gettext4.out): Likewise.
8998 ($(objpfx)tst-gettext6.out): Likewise.
8999 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9000 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9001 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9002 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9003 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9004 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9005 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9006 ($(objpfx)wordexp-tst.out): Likewise.
9007 ($(objpfx)annexc.out): Likewise.
9008 ($(objpfx)tst-fnmatch-mem): Likewise.
9009 ($(objpfx)bug-regex2-mem): Likewise.
9010 ($(objpfx)bug-regex14-mem): Likewise.
9011 ($(objpfx)bug-regex21-mem): Likewise.
9012 ($(objpfx)bug-regex31-mem): Likewise.
9013 ($(objpfx)tst-vfork3-mem): Likewise.
9014 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9015 ($(objpfx)tst-pcre-mem): Likewise.
9016 ($(objpfx)tst-boost-mem): Likewise.
9017 ($(objpfx)tst-getconf.out): Likewise.
9018 ($(objpfx)bug-ga2-mem): Likewise.
9019 ($(objpfx)bug-glob2-mem): Likewise.
9020 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9021 ($(objpfx)mtrace-tst-leaks2): Likewise.
9022 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9023 ($(objpfx)tst-printf.out): Likewise.
9024 ($(objpfx)tst-setvbuf1.out): Likewise.
9025 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9026 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9027 ($(objpfx)tst-fmtmsg.out): Likewise.
9028 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9029 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9030
9031 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9032 * bits/sigaction.h [__USE_MISC]: Likewise.
9033 * bits/waitstatus.h: Update #endif comments.
9034 * ctype/ctype.h: Likewise.
9035 * dirent/dirent.h: Likewise.
9036 [__USE_MISC]: Remove redundant conditionals.
9037 * grp/grp.h: Update #endif comments.
9038 [__USE_GNU]: Remove redundant conditionals.
9039 [__USE_MISC]: Likewise.
9040 * inet/netinet/in.h [__USE_GNU]: Likewise.
9041 * io/sys/stat.h [__USE_MISC]: Likewise.
9042 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9043 * libio/bits/stdio.h: Update #endif comments.
9044 [__USE_MISC]: Remove redundant conditionals.
9045 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9046 * libio/stdio.h: Update #endif comments.
9047 [__USE_MISC]: Remove redundant conditionals.
9048 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9049 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9050 * math/math.h: Update #else and #endif comments.
9051 [__USE_MISC]: Remove redundant conditionals.
9052 * misc/sys/uio.h: Update #endif comments.
9053 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9054 * posix/glob.h [__USE_MISC]: Likewise.
9055 * posix/sys/types.h: Update #endif comments.
9056 [__USE_MISC]: Remove redundant conditionals.
9057 * posix/sys/wait.h: Update #endif comments.
9058 [__USE_MISC]: Remove redundant conditionals.
9059 * posix/unistd.h: Update #endif comments.
9060 [__USE_MISC]: Remove redundant conditionals.
9061 * pwd/pwd.h [__USE_GNU]: Likewise.
9062 [__USE_MISC]: Likewise.
9063 * resolv/netdb.h [__USE_GNU]: Likewise.
9064 * signal/signal.h: Update #endif comments.
9065 [__USE_MISC]: Remove redundant conditionals.
9066 * stdlib/stdlib.h: Update #else and #endif comments.
9067 [__USE_MISC]: Remove redundant conditionals.
9068 [__USE_GNU]: Likewise.
9069 * string/bits/string2.h [__USE_MISC]: Likewise.
9070 * string/string.h: Update #endif comments.
9071 [__USE_MISC]: Remove redundant conditionals.
9072 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9073 Likewise.
9074 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9075 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9076 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9077 Likewise.
9078 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9079 Likewise.
9080 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9081 comments.
9082 [__USE_MISC]: Remove redundant conditionals.
9083 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9084 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9085 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9086 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9087 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9088 Likewise.
9089 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9090 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9091 Likewise.
9092 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9093 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9094 Likewise.
9095 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9096 Likewise.
9097 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9098 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9099 Likewise.
9100 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9101 Likewise.
9102 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9103 * sysdeps/x86/bits/string.h: Update #endif comments.
9104 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9105 conditionals.
9106 * time/sys/time.h: Update #endif comments.
9107 * time/time.h: Likewise.
9108 [__USE_MISC]: Remove redundant conditionals.
9109
91102014-02-21 Yury Gribov <y.gribov@samsung.com>
9111
9112 [BZ #16600]
9113 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9114
91152014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9116
9117 * Versions.def (librt): Add GLIBC_2.17.
9118
91192014-02-21 Adam Conrad <adconrad@0c3.net>
9120
9121 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9122 synonym for _SYS_AUXV_H to allow direct inclusion.
9123 * sysdeps/sparc/bits/hwcap.h: Likewise.
9124 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9125 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9126 * sysdeps/sparc/sysdep.h: Likewise.
9127
91282014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9129
9130 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9131
91322014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9133
9134 * benchtests/bench-strrchr.c: Print length instead of position.
9135
91362014-02-20 Joseph Myers <joseph@codesourcery.com>
9137
9138 [BZ #16611]
9139 * sysdeps/unix/sysv/linux/kernel-features.h
9140 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9141 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9142 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9143 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9144 Likewise.
9145 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9146 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9147 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9148 (__ASSUME_SENDMMSG): Define instead of using previous
9149 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9150 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9151 (__ASSUME_SENDMMSG_SYSCALL): Define.
9152 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9153 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9154 Likewise.
9155 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9156 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9157 Likewise.
9158 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9159 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9160 Likewise.
9161 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9162 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9163 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9164 [__ASSUME_SENDMMSG]: Change conditionals to
9165 [__ASSUME_SENDMMSG_SOCKETCALL].
9166 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9167 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9168 Define.
9169 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9170 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9171 Likewise.
9172 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9173 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9174 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9175 [!__ASSUME_SENDMMSG]: Change conditional to
9176 [!__ASSUME_SENDMMSG_SOCKETCALL].
9177 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9178 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9179 Define.
9180
9181 [BZ #16610]
9182 * sysdeps/unix/sysv/linux/kernel-features.h
9183 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9184 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9185 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9186 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9187 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9188 [__i386__ || __sparc__]
9189 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9190 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9191 (__ASSUME_RECVMMSG): Define instead of using previous
9192 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9193 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9194 (__ASSUME_RECVMMSG_SYSCALL): Define.
9195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9196 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9197 Likewise.
9198 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9199 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9200 Likewise.
9201 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9202 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9203 Likewise.
9204 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9205 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9206 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9207 [__ASSUME_RECVMMSG]: Change condition to
9208 [__ASSUME_RECVMMSG_SOCKETCALL].
9209 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9210 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9211 Define.
9212 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9213 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9214 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9215 Likewise.
9216 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9217 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9218 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9219 [!__ASSUME_RECVMMSG]: Change condition to
9220 [!__ASSUME_RECVMMSG_SOCKETCALL].
9221 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9222 (__ASSUME_RECVMMSG_SYSCALL): Define.
9223
9224 [BZ #16609]
9225 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9226 __powerpc__ || __s390__ || __sh__ || __sparc__]
9227 (__ASSUME_SOCKETCALL): Define.
9228 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9229 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9230 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9231 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9232 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9233 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9234 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9235 (__ASSUME_ACCEPT4): Define instead of using previous
9236 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9237 __powerpc__ || __sparc__ || __s390__)] condition.
9238 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9239 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9240 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9241 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9242 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9243 [!__ASSUME_ACCEPT4]: Change condition to
9244 [!__ASSUME_ACCEPT4_SOCKETCALL].
9245 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9246 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9247 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9248 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9249 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9250 __ASSUME_ACCEPT4_SYSCALL.
9251 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9252 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9253 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9254 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9255 __ASSUME_ACCEPT4_SYSCALL.
9256 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9257 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9258 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9259 [__ASSUME_ACCEPT4]: Change condition to
9260 [__ASSUME_ACCEPT4_SOCKETCALL].
9261 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9262 (__ASSUME_SOCKETCALL): Define.
9263 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9264 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9265 (__ASSUME_SOCKETCALL): Define.
9266 (__ASSUME_ACCEPT4): Remove.
9267 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9268 Define.
9269 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9270 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9271 Likewise.
9272 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9273 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9274
9275 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9276 macro.
9277 (HWCAP_ARM_LPAE): Likewise.
9278 (HWCAP_ARM_EVTSTRM): Likewise.
9279 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9280 Add vpfd32, lpae and evtstrm.
9281 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9282 Increase to 22.
9283
92842014-02-19 Joseph Myers <joseph@codesourcery.com>
9285
9286 * math/auto-libm-test-in: Add tests of clog10.
9287 * math/auto-libm-test-out: Regenerated.
9288 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9289 * sysdeps/i386/fpu/libm-test-ulps: Update.
9290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9291
92922014-02-18 Andreas Schwab <schwab@suse.de>
9293
9294 [BZ #16574]
9295 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9296 Store non-zero if the second buffer was newly allocated.
9297 (send_dg): Likewise.
9298 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9299 to send_vc and send_dg.
9300 (res_nsend): Pass NULL for ansp2_malloced.
9301 * resolv/res_query.c (__libc_res_nquery): Add parameter
9302 answerp2_malloced and pass it down to __libc_res_nsend.
9303 (res_nquery): Pass additional NULL to __libc_res_nquery.
9304 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9305 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9306 second answer buffer if answerp2_malloced was set.
9307 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9308 (__libc_res_nquerydomain): Add parameter
9309 answerp2_malloced and pass it down to __libc_res_nquery.
9310 (res_nquerydomain): Pass additional NULL to
9311 __libc_res_nquerydomain.
9312 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9313 additional NULL to __libc_res_nsend and __libc_res_nquery.
9314 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9315 additional NULL to __libc_res_nsearch.
9316 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9317 parameter of __libc_res_nsearch to check for separately allocated
9318 second buffer.
9319 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9320 __libc_res_nquery.
9321 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9322 additional NULL to __libc_res_nquery.
9323 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9324 __libc_res_nsearch.
9325 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9326 * include/resolv.h: Update prototypes of __libc_res_nquery,
9327 __libc_res_nsearch, __libc_res_nsend.
9328
93292014-02-18 Joseph Myers <joseph@codesourcery.com>
9330
9331 * math/auto-libm-test-in: Add tests of fma.
9332 * math/auto-libm-test-out: Regenerated.
9333 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9334 (fma_towardzero_test_data): Likewise.
9335 (fma_downward_test_data): Likewise.
9336 (fma_upward_test_data): Likewise.
9337 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9338 mpc_mode.
9339 (rounding_modes): Add values for new field.
9340 (func_calc_method): Add value mpfr_fff_f.
9341 (func_calc_desc): Add mpfr_fff_f union field.
9342 (test_function): Add field exact_args.
9343 (FUNC): Add macro argument EXACT_ARGS.
9344 (FUNC_mpfr_f_f): Update call to FUNC.
9345 (FUNC_mpfr_f_f): Likewise.
9346 (FUNC_mpfr_ff_f): Likewise.
9347 (FUNC_mpfr_if_f): Likewise.
9348 (FUNC_mpc_c_f): Likewise.
9349 (FUNC_mpc_c_c): Likewise.
9350 (test_functions): Add fma. Update calls to FUNC.
9351 (handle_input_arg): Add argument exact_args.
9352 (add_test): Update call to handle_input_arg.
9353 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9354 (output_for_one_input_case): Update call to calc_generic_results.
9355 Recalculate exact zero results in each rounding mode.
9356
9357 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9358 non-negative before setting low bit.
9359 * math/auto-libm-test-in: Mark one asin test possibly having
9360 spurious underflow.
9361 * math/auto-libm-test-out: Regenerated.
9362 * sysdeps/i386/fpu/libm-test-ulps: Update.
9363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9364
93652014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9366
9367 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9368 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9369 ports/sysdeps/unix/sysv/linux/microblaze.
9370 * README: Add missing listing for microblaze*-*-linux-gnu.
9371
93722014-02-16 Mike Frysinger <vapier@gentoo.org>
9373
9374 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9375 * sysdeps/unix/sysv/linux/ia64: Move directory from
9376 ports/sysdeps/unix/sysv/linux/ia64.
9377 * README: Update listing for ia64-*-linux-gnu.
9378
93792014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9380 Joseph Myers <joseph@codesourcery.com>
9381
9382 * Makeconfig (test-name): New variable.
9383 (evaluate-test): Likewise.
9384 * Makerules (do-test-clean): Remove .test-result files.
9385 (common-mostlyclean): Likewise.
9386 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9387 * scripts/evaluate-test.sh: New file.
9388
93892014-02-14 Joseph Myers <joseph@codesourcery.com>
9390
9391 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9392 separate $(objpfx)tst-fopenloc-cmp.out and
9393 $(objpfx)tst-fopenloc-mem.out targets.
9394 (tests): Update dependencies.
9395 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9396 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9397 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9398 (tst-rxspencer-no-utf8-ARGS): New variable.
9399 (tst-rxspencer-no-utf8-ENV): Likewise.
9400 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9401 instead of $(objpfx)tst-rxspencer-mem.
9402 ($(objpfx)tst-rxspencer-mem): Change target to
9403 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9404 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9405 * posix/tst-rxspencer-no-utf8.c: New file.
9406
9407 * elf/Makefile ($(objpfx)order.out): Remove rule.
9408 [$(run-built-tests) = yes] (tests): Depend on
9409 $(objpfx)order-cmp.out.
9410 ($(objpfx)order-cmp.out): New rule.
9411 [$(run-built-tests) = yes] (tests): Depend on
9412 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9413 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9414 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9415 $(objpfx)tst-array5-static-cmp.out.
9416 ($(objpfx)tst-array1.out): Remove rule.
9417 ($(objpfx)tst-array1-cmp.out): New rule.
9418 ($(objpfx)tst-array1-static.out): Remove rule.
9419 ($(objpfx)tst-array1-static-cmp.out): New rule.
9420 ($(objpfx)tst-array2.out): Remove rule.
9421 ($(objpfx)tst-array2-cmp.out): New rule.
9422 ($(objpfx)tst-array3.out): Remove rule.
9423 ($(objpfx)tst-array3-cmp.out): New rule.
9424 ($(objpfx)tst-array4.out): Remove rule.
9425 ($(objpfx)tst-array4-cmp.out): New rule.
9426 ($(objpfx)tst-array5.out): Remove rule.
9427 ($(objpfx)tst-array5-cmp.out): New rule.
9428 ($(objpfx)tst-array5-static.out): Remove rule.
9429 ($(objpfx)tst-array5-static-cmp.out): New rule.
9430 [$(run-built-tests) = yes] (tests): Depend on
9431 $(objpfx)order2-cmp.out.
9432 ($(objpfx)order2.out): Remove rule.
9433 ($(objpfx)order2-cmp.out): New rule.
9434 ($(objpfx)tst-initorder.out): Remove rule.
9435 [$(run-built-tests) = yes] (tests): Depend on
9436 $(objpfx)tst-initorder-cmp.out.
9437 ($(objpfx)tst-initorder-cmp.out): New rule.
9438 ($(objpfx)tst-initorder2.out): Remove rule.
9439 [$(run-built-tests) = yes] (tests): Depend on
9440 $(objpfx)tst-initorder2-cmp.out.
9441 ($(objpfx)tst-initorder2-cmp.out): New rule.
9442 [$(run-built-tests) = yes] (tests): Depend on
9443 $(objpfx)tst-unused-dep-cmp.out.
9444 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9445 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9446 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9447 on $(objpfx)tst-setvbuf1-cmp.out.
9448 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9449 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9450 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9451 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9452 ($(objpfx)tst-svc.out): Remove rule.
9453 ($(objpfx)tst-svc-cmp.out): New rule.
9454
94552014-02-13 Joseph Myers <joseph@codesourcery.com>
9456
9457 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9458 * ctype/ctype.h [__USE_MISC]: Likewise.
9459 * dirent/dirent.h [__USE_MISC]: Likewise.
9460 * grp/grp.h [__USE_MISC]: Likewise.
9461 * io/fcntl.h [__USE_MISC]: Likewise.
9462 * io/sys/stat.h [__USE_MISC]: Likewise.
9463 * libio/stdio.h [__USE_MISC]: Likewise.
9464 * posix/unistd.h [__USE_MISC]: Likewise.
9465 * pwd/pwd.h [__USE_MISC]: Likewise.
9466 * stdlib.h [__USE_MISC]: Likewise.
9467 * string/bits/string2.h [__USE_MISC]: Likewise.
9468 * string/string.h [__USE_MISC]: Likewise.
9469 * time/time.h [__USE_MISC]: Likewise.
9470
94712014-02-13 Andreas Schwab <schwab@suse.de>
9472
9473 [BZ #16574]
9474 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9475 second answer buffer if it was separately allocated.
9476
94772014-02-12 Joseph Myers <joseph@codesourcery.com>
9478
9479 * sysdeps/mips/math-tests.h: Include <features.h>.
9480 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9481 (ROUNDING_TESTS_long_double): Do not define.
9482 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9483 (EXCEPTION_TESTS_long_double): Likewise.
9484 * sysdeps/mips/mips64/libm-test-ulps: Update.
9485
9486 * include/features.h (__USE_BSD): Remove macro definitions.
9487 (__USE_SVID): Likewise.
9488 (_BSD_SOURCE): Likewise.
9489 (_SVID_SOURCE): Likewise.
9490 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9491 from definition of _DEFAULT_SOURCE.
9492 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9493 [_DEFAULT_SOURCE].
9494 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9495 * bits/mman.h [__USE_BSD]: Likewise.
9496 * bits/termios.h [__USE_BSD]: Likewise.
9497 * bits/waitstatus.h [__USE_BSD]: Likewise.
9498 * ctype/ctype.h [__USE_SVID]: Likewise.
9499 * dirent/dirent.h [__USE_BSD]: Likewise.
9500 * grp/grp.h [__USE_SVID]: Likewise.
9501 [__USE_BSD]: Likewise.
9502 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9503 * io/fcntl.h [__USE_BSD]: Likewise.
9504 * io/ftw.h [__USE_BSD]: Likewise.
9505 * io/sys/stat.h [__USE_BSD]: Likewise.
9506 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9507 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9508 * libio/stdio.h [__USE_SVID]: Likewise.
9509 [__USE_BSD]: Likewise.
9510 * math/math.h [__USE_SVID]: Likewise.
9511 [__USE_BSD]: Likewise.
9512 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9513 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9514 * misc/search.h [__USE_SVID]: Likewise.
9515 * misc/sys/mman.h [__USE_BSD]: Likewise.
9516 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9517 * misc/sys/uio.h [__USE_BSD]: Likewise.
9518 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9519 * posix/glob.h [__USE_BSD]: Likewise.
9520 * posix/regex.h [__USE_BSD]: Likewise.
9521 * posix/sys/types.h [__USE_BSD]: Likewise.
9522 [__USE_SVID]: Likewise.
9523 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9524 * posix/sys/wait.h [__USE_BSD]: Likewise.
9525 [__USE_SVID]: Likewise.
9526 * posix/unistd.h [__USE_BSD]: Likewise.
9527 [__USE_SVID]: Likewise.
9528 * pwd/pwd.h [__USE_SVID]: Likewise.
9529 * resolv/netdb.h [__USE_BSD]: Likewise.
9530 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9531 * signal/signal.h [__USE_BSD]: Likewise.
9532 [__USE_SVID]: Likewise.
9533 * socket/sys/socket.h [__USE_BSD]: Likewise.
9534 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9535 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9536 [__USE_SVID]: Likewise.
9537 * string/bits/string2.h [__USE_BSD]: Likewise.
9538 [__USE_SVID]: Likewise.
9539 * string/bits/string3.h [__USE_BSD]: Likewise.
9540 * string/endian.h [__USE_BSD]: Likewise.
9541 * string/string.h [__USE_SVID]: Likewise.
9542 [__USE_BSD]: Likewise.
9543 * string/strings.h [__USE_BSD]: Likewise.
9544 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9545 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9546 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9547 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9548 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9549 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9550 Likewise.
9551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9552 Likewise.
9553 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9554 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9555 Likewise.
9556 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9557 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9558 Likewise.
9559 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9560 Likewise.
9561 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9562 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9563 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9564 Likewise.
9565 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9566 Likewise.
9567 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9568 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9569 * termios/termios.h [__USE_BSD]: Likewise.
9570 * time/sys/time.h [__USE_BSD]: Likewise.
9571 * time/time.h [__USE_BSD]: Likewise.
9572 [__USE_SVID]: Likewise.
9573
9574 * Makefile (subdir_targets): Remove subdir_lint.out.
9575
9576 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9577 (do-tst-printf): Likewise.
9578 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9579 $(objpfx)tst-printf.out.
9580
9581 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9582
9583 * Makerules (check-abi-%): Change target to
9584 $(objpfx)check-abi-%.out.
9585 (check-abi target): Update dependencies.
9586 (check-abi-pattern variable): Redirect output of diff to $@.
9587 (check-abi variable): Likewise.
9588 * elf/Makefile (check-abi): Update dependencies.
9589
9590 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9591 unused.
9592 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9593 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9594 subnormal range.
9595 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9596 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9597 value has largest subnormal exponent.
9598 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9599 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9600 * sysdeps/aarch64/soft-fp/sfp-machine.h
9601 (_FP_TININESS_AFTER_ROUNDING): New macro.
9602 * sysdeps/alpha/soft-fp/sfp-machine.h
9603 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9604 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9605 Likewise.
9606 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9607 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9608 * sysdeps/mips/soft-fp/sfp-machine.h
9609 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9610 * sysdeps/powerpc/soft-fp/sfp-machine.h
9611 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9612 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9613 Likewise.
9614 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9615 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9616 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9617 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9618 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9619 Likewise.
9620
96212014-02-12 Dylan Alex Simon <dylan@dylex.net>
9622
9623 [BZ #16545]
9624 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9625 model 1.
9626
96272014-02-12 Richard Henderson <rth@redhat.com>
9628
9629 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9630 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9631 * sysdeps/unix/sysv/linux/alpha: Move directory from
9632 ports/sysdeps/unix/sysv/linux/alpha.
9633 * README: Update listing for alpha-*-linux-gnu.
9634
96352014-02-11 Joseph Myers <joseph@codesourcery.com>
9636
9637 * include/features.h: Update comment documenting feature test
9638 macros.
9639 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9640 _DEFAULT_SOURCE.
9641 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9642 (_SVID_SOURCE): Likewise.
9643 (_DEFAULT_SOURCE): Update description of default features.
9644 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9645 with _GNU_SOURCE.
9646 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9647 (S_ISVTX): Likewise.
9648 * manual/math.texi (Mathematical Constants): Likewise.
9649 * manual/signal.texi (Interrupted Primitives): Likewise.
9650 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9651 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9652 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9653 Don't refer to _SVID_SOURCE in warning text.
9654
9655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9656
9657 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9658 already defined.
9659 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9660 * sysdeps/mips/dl-lookup.c: Remove.
9661 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9662
96632014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9664
9665 [BZ #16447]
9666 * math/auto-libm-test-in: Add testcase for expl.
9667 * math/auto-libm-test-out: Regenerate.
9668 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9669 calculation of unsafe.
9670 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9671
96722014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9673
9674 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9675 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9676 ports/sysdeps/unix/sysv/linux/aarch64.
9677 * README: Update listing for aarch64*-*-linux-gnu.
9678
96792014-02-11 Will Newton <will.newton@linaro.org>
9680
9681 * manual/probes.texi (Mathematical Function Probes): Use
9682 "triggered" instead of "hit".
9683
9684 * manual/probes.texi (Internal Probes): Add documentation
9685 of setjmp, longjmp and longjmp_target probes.
9686
9687 * include/stap-probe.h: Add comment about probe argument
9688 format.
9689
9690 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9691 definition. (tr_where, tr_freehook, tr_mallochook,
9692 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9693
96942014-02-11 David S. Miller <davem@davemloft.net>
9695
9696 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9697 processing int_tests.
9698
96992014-02-10 Joseph Myers <joseph@codesourcery.com>
9700
9701 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9702 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9703 * sysdeps/unix/sysv/linux/mips: Move directory from
9704 ports/sysdeps/unix/sysv/linux/mips.
9705 * README: Update listing for mips-*-linux-gnu and
9706 mips64-*-linux-gnu.
9707
97082014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9709
9710 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9711 * sysdeps/unix/sysv/linux/m68k: Move directory from
9712 ports/sysdeps/unix/sysv/linux/m68k.
9713 * README: Update listing for m68k-*-linux-gnu.
9714
97152014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9716
9717 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9718 * sysdeps/unix/sysv/linux/generic: Move directory from
9719 ports/sysdeps/unix/sysv/linux/generic.
9720 * sysdeps/unix/sysv/linux/tile: Move directory from
9721 ports/sysdeps/unix/sysv/linux/tile.
9722 * README: Update listing for tile*-*-linux-gnu.
9723
97242014-02-10 Ondřej Bílka <neleai@seznam.cz>
9725
9726 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9727 __builtin_expect.
9728 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9729 * catgets/open_catalog.c (__open_catalog): Likewise.
9730 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9731 * debug/confstr_chk.c: Likewise.
9732 * debug/fread_chk.c (__fread_chk): Likewise.
9733 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9734 * debug/getgroups_chk.c: Likewise.
9735 * debug/mbsnrtowcs_chk.c: Likewise.
9736 * debug/mbsrtowcs_chk.c: Likewise.
9737 * debug/mbstowcs_chk.c: Likewise.
9738 * debug/memcpy_chk.c: Likewise.
9739 * debug/memmove_chk.c: Likewise.
9740 * debug/mempcpy_chk.c: Likewise.
9741 * debug/memset_chk.c: Likewise.
9742 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9743 * debug/strcat_chk.c (__strcat_chk): Likewise.
9744 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9745 * debug/strncat_chk.c (__strncat_chk): Likewise.
9746 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9747 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9748 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9749 * debug/wcpncpy_chk.c: Likewise.
9750 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9751 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9752 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9753 * debug/wcsncpy_chk.c: Likewise.
9754 * debug/wcsnrtombs_chk.c: Likewise.
9755 * debug/wcsrtombs_chk.c: Likewise.
9756 * debug/wcstombs_chk.c: Likewise.
9757 * debug/wmemcpy_chk.c: Likewise.
9758 * debug/wmemmove_chk.c: Likewise.
9759 * debug/wmempcpy_chk.c: Likewise.
9760 * debug/wmemset_chk.c: Likewise.
9761 * dirent/scandirat.c (SCANDIRAT): Likewise.
9762 * dlfcn/dladdr1.c (dladdr1): Likewise.
9763 * dlfcn/dladdr.c (dladdr): Likewise.
9764 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9765 * dlfcn/dlerror.c (__dlerror): Likewise.
9766 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9767 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9768 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9769 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9770 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9771 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9772 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9773 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9774 Likewise.
9775 * elf/dl-conflict.c: Likewise.
9776 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9777 * elf/dl-dst.h: Likewise.
9778 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9779 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9780 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9781 * elf/dl-init.c (call_init, _dl_init): Likewise.
9782 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9783 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9784 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9785 Likewise.
9786 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9787 Likewise.
9788 * elf/dl-minimal.c (__libc_memalign): Likewise.
9789 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9790 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9791 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9792 * elf/dl-sym.c (do_sym): Likewise.
9793 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9794 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9795 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9796 * elf/dl-writev.h (_dl_writev): Likewise.
9797 * elf/ldconfig.c (search_dir): Likewise.
9798 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9799 (dl_main): Likewise.
9800 * elf/setup-vdso.h (setup_vdso): Likewise.
9801 * grp/compat-initgroups.c (compat_call): Likewise.
9802 * grp/fgetgrent.c (fgetgrent): Likewise.
9803 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9804 * grp/putgrent.c (putgrent): Likewise.
9805 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9806 Likewise.
9807 * hurd/hurdinit.c: Likewise.
9808 * iconvdata/8bit-gap.c (struct): Likewise.
9809 * iconvdata/ansi_x3.110.c : Likewise.
9810 * iconvdata/big5.c : Likewise.
9811 * iconvdata/big5hkscs.c : Likewise.
9812 * iconvdata/cp1255.c: Likewise.
9813 * iconvdata/cp1258.c : Likewise.
9814 * iconvdata/cp932.c : Likewise.
9815 * iconvdata/euc-cn.c: Likewise.
9816 * iconvdata/euc-jisx0213.c : Likewise.
9817 * iconvdata/euc-jp.c: Likewise.
9818 * iconvdata/euc-jp-ms.c : Likewise.
9819 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9820 * iconvdata/gb18030.c : Likewise.
9821 * iconvdata/gbbig5.c (const): Likewise.
9822 * iconvdata/gbgbk.c: Likewise.
9823 * iconvdata/gbk.c : Likewise.
9824 * iconvdata/ibm1364.c : Likewise.
9825 * iconvdata/ibm930.c : Likewise.
9826 * iconvdata/ibm932.c: Likewise.
9827 * iconvdata/ibm933.c : Likewise.
9828 * iconvdata/ibm935.c : Likewise.
9829 * iconvdata/ibm937.c : Likewise.
9830 * iconvdata/ibm939.c : Likewise.
9831 * iconvdata/ibm943.c: Likewise.
9832 * iconvdata/iso_11548-1.c: Likewise.
9833 * iconvdata/iso-2022-cn.c : Likewise.
9834 * iconvdata/iso-2022-cn-ext.c : Likewise.
9835 * iconvdata/iso-2022-jp-3.c: Likewise.
9836 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9837 * iconvdata/iso-2022-kr.c : Likewise.
9838 * iconvdata/iso646.c (gconv_end): Likewise.
9839 * iconvdata/iso_6937-2.c : Likewise.
9840 * iconvdata/iso_6937.c : Likewise.
9841 * iconvdata/iso8859-1.c: Likewise.
9842 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9843 * iconvdata/shift_jisx0213.c : Likewise.
9844 * iconvdata/sjis.c : Likewise.
9845 * iconvdata/t.61.c : Likewise.
9846 * iconvdata/tcvn5712-1.c : Likewise.
9847 * iconvdata/tscii.c: Likewise.
9848 * iconvdata/uhc.c : Likewise.
9849 * iconvdata/unicode.c (gconv_end): Likewise.
9850 * iconvdata/utf-16.c (gconv_end): Likewise.
9851 * iconvdata/utf-32.c (gconv_end): Likewise.
9852 * iconvdata/utf-7.c (base64): Likewise.
9853 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9854 * iconv/gconv_close.c (__gconv_close): Likewise.
9855 * iconv/gconv_open.c (__gconv_open): Likewise.
9856 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9857 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9858 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9859 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9860 (ucs4le_internal_loop_single): Likewise.
9861 * iconv/iconv.c (iconv): Likewise.
9862 * iconv/iconv_close.c: Likewise.
9863 * iconv/loop.c (SINGLE): Likewise.
9864 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9865 * include/atomic.h: Likewise.
9866 * inet/inet6_option.c (option_alloc): Likewise.
9867 * intl/bindtextdom.c (set_binding_values): Likewise.
9868 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9869 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9870 * intl/localealias.c (read_alias_file): Likewise.
9871 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9872 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9873 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9874 * libio/fmemopen.c (fmemopen): Likewise.
9875 * libio/iofgets.c (_IO_fgets): Likewise.
9876 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9877 * libio/iofgetws.c (fgetws): Likewise.
9878 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9879 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9880 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9881 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9882 * locale/findlocale.c (_nl_find_locale): Likewise.
9883 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9884 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9885 Likewise.
9886 * locale/setlocale.c (setlocale): Likewise.
9887 * login/programs/pt_chown.c (main): Likewise.
9888 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9889 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9890 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9891 (mmap, mmap64, mremap, munmap): Likewise.
9892 * math/e_exp2l.c: Likewise.
9893 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9894 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9895 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9896 * math/s_catan.c (__catan): Likewise.
9897 * math/s_catanf.c (__catanf): Likewise.
9898 * math/s_catanh.c (__catanh): Likewise.
9899 * math/s_catanhf.c (__catanhf): Likewise.
9900 * math/s_catanhl.c (__catanhl): Likewise.
9901 * math/s_catanl.c (__catanl): Likewise.
9902 * math/s_ccosh.c (__ccosh): Likewise.
9903 * math/s_ccoshf.c (__ccoshf): Likewise.
9904 * math/s_ccoshl.c (__ccoshl): Likewise.
9905 * math/s_cexp.c (__cexp): Likewise.
9906 * math/s_cexpf.c (__cexpf): Likewise.
9907 * math/s_cexpl.c (__cexpl): Likewise.
9908 * math/s_clog10.c (__clog10): Likewise.
9909 * math/s_clog10f.c (__clog10f): Likewise.
9910 * math/s_clog10l.c (__clog10l): Likewise.
9911 * math/s_clog.c (__clog): Likewise.
9912 * math/s_clogf.c (__clogf): Likewise.
9913 * math/s_clogl.c (__clogl): Likewise.
9914 * math/s_csin.c (__csin): Likewise.
9915 * math/s_csinf.c (__csinf): Likewise.
9916 * math/s_csinh.c (__csinh): Likewise.
9917 * math/s_csinhf.c (__csinhf): Likewise.
9918 * math/s_csinhl.c (__csinhl): Likewise.
9919 * math/s_csinl.c (__csinl): Likewise.
9920 * math/s_csqrt.c (__csqrt): Likewise.
9921 * math/s_csqrtf.c (__csqrtf): Likewise.
9922 * math/s_csqrtl.c (__csqrtl): Likewise.
9923 * math/s_ctan.c (__ctan): Likewise.
9924 * math/s_ctanf.c (__ctanf): Likewise.
9925 * math/s_ctanh.c (__ctanh): Likewise.
9926 * math/s_ctanhf.c (__ctanhf): Likewise.
9927 * math/s_ctanhl.c (__ctanhl): Likewise.
9928 * math/s_ctanl.c (__ctanl): Likewise.
9929 * math/w_pow.c: Likewise.
9930 * math/w_powf.c: Likewise.
9931 * math/w_powl.c: Likewise.
9932 * math/w_scalb.c (sysv_scalb): Likewise.
9933 * math/w_scalbf.c (sysv_scalbf): Likewise.
9934 * math/w_scalbl.c (sysv_scalbl): Likewise.
9935 * misc/error.c (error_tail): Likewise.
9936 * misc/pselect.c (__pselect): Likewise.
9937 * nis/nis_callback.c (__nis_create_callback): Likewise.
9938 * nis/nis_call.c (__nisfind_server): Likewise.
9939 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9940 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9941 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9942 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9943 * nis/nis_lookup.c (nis_lookup): Likewise.
9944 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9945 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9946 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9947 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9948 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9949 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9950 * nis/nss_compat/compat-initgroups.c (add_group)
9951 (internal_getgrent_r): Likewise.
9952 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9953 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9954 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9955 (internal_getspnam_r): Likewise.
9956 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9957 (_nss_nis_getaliasbyname_r): Likewise.
9958 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9959 (_nss_nis_getntohost_r): Likewise.
9960 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9961 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9962 (_nss_nis_getgrgid_r): Likewise.
9963 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9964 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9965 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9966 (_nss_nis_gethostbyname4_r): Likewise.
9967 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9968 (initgroups_netid): Likewise.
9969 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9970 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9971 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9972 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9973 (_nss_nis_getprotobynumber_r): Likewise.
9974 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9975 (_nss_nis_getsecretkey): Likewise.
9976 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9977 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9978 (_nss_nis_getpwuid_r): Likewise.
9979 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9980 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9981 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9982 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9983 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9984 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9985 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9986 Likewise.
9987 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9988 (_nss_nisplus_getntohost_r): Likewise.
9989 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9990 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9991 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9992 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9993 Likewise.
9994 * nis/nss_nisplus/nisplus-initgroups.c
9995 (_nss_nisplus_initgroups_dyn): Likewise.
9996 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9997 (_nss_nisplus_getnetbyaddr_r): Likewise.
9998 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9999 (_nss_nisplus_getprotobynumber_r): Likewise.
10000 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10001 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10002 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10003 Likewise.
10004 * nis/nss_nisplus/nisplus-service.c
10005 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10006 (_nss_nisplus_getservbyport_r): Likewise.
10007 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10008 (_nss_nisplus_getspnam_r): Likewise.
10009 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10010 Likewise.
10011 * nscd/aicache.c (addhstaiX): Likewise.
10012 * nscd/cache.c (cache_search, prune_cache): Likewise.
10013 * nscd/connections.c (register_traced_file, send_ro_fd)
10014 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10015 (main_loop_epoll): Likewise.
10016 * nscd/grpcache.c (addgrbyX): Likewise.
10017 * nscd/hstcache.c (addhstbyX): Likewise.
10018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10019 * nscd/mem.c (gc, mempool_alloc): Likewise.
10020 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10021 (addinnetgrX): Likewise.
10022 * nscd/nscd-client.h (__nscd_acquire_maplock)
10023 (__nscd_drop_map_ref): Likewise.
10024 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10025 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10026 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10027 Likewise.
10028 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10030 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10031 (__nscd_get_map_ref): Likewise.
10032 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10033 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10034 Likewise.
10035 * nscd/pwdcache.c (addpwbyX): Likewise.
10036 * nscd/selinux.c (preserve_capabilities): Likewise.
10037 * nscd/servicescache.c (addservbyX): Likewise.
10038 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10039 * posix/fnmatch.c (fnmatch): Likewise.
10040 * posix/getopt.c (_getopt_internal_r): Likewise.
10041 * posix/glob.c (glob, glob_in_dir): Likewise.
10042 * posix/wordexp.c (exec_comm_child): Likewise.
10043 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10044 (getanswer_r, gaih_getanswer_slice): Likewise.
10045 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10046 * resolv/res_init.c: Likewise.
10047 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10048 * resolv/res_query.c (__libc_res_nquery): Likewise.
10049 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10050 Likewise.
10051 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10052 * stdio-common/perror.c (perror): Likewise.
10053 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10054 * stdio-common/tmpnam.c (tmpnam): Likewise.
10055 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10056 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10057 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10058 Likewise.
10059 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10060 * stdlib/putenv.c (putenv): Likewise.
10061 * stdlib/setenv.c (__add_to_environ): Likewise.
10062 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10063 * stdlib/strtol_l.c (INTERNAL): Likewise.
10064 * string/memmem.c (memmem): Likewise.
10065 * string/strerror.c (strerror): Likewise.
10066 * string/strnlen.c (__strnlen): Likewise.
10067 * string/test-memmem.c (simple_memmem): Likewise.
10068 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10069 * sunrpc/pm_getport.c (__get_socket): Likewise.
10070 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10071 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10072 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10073 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10074 Likewise.
10075 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10076 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10077 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10078 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10079 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10080 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10081 Likewise.
10082 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10083 Likewise.
10084 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10085 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10086 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10087 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10088 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10090 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10091 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10092 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10093 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10094 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10095 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10096 Likewise.
10097 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10098 Likewise.
10099 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10100 Likewise.
10101 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10103 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10104 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10105 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10106 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10107 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10108 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10110 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10111 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10113 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10114 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10116 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10117 Likewise.
10118 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10119 Likewise.
10120 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10121 Likewise.
10122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10123 Likewise.
10124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10126 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10127 Likewise.
10128 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10129 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10130 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10131 * sysdeps/posix/sleep.c: Likewise.
10132 * sysdeps/posix/tempname.c: Likewise.
10133 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10134 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10135 Likewise.
10136 * sysdeps/powerpc/powerpc32/dl-machine.h
10137 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10138 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10140 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10141 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10142 Likewise.
10143 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10144 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10145 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10146 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10147 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10148 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10149 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10150 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10151 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10152 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10153 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10154 (elf_machine_lazy_rel): Likewise.
10155 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10157 (elf_machine_lazy_rel): Likewise.
10158 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10159 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10160 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10161 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10162 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10163 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10164 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10165 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10166 Likewise.
10167 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10168 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10169 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10170 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10171 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10172 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10173 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10174 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10175 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10176 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10177 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10178 Likewise.
10179 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10180 (__posix_fallocate64_l64): Likewise.
10181 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10182 (posix_fallocate): Likewise.
10183 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10184 Likewise.
10185 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10186 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10187 (getifaddrs_internal): Likewise.
10188 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10189 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10190 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10191 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10192 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10193 (__posix_fallocate64_l64): Likewise.
10194 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10195 Likewise.
10196 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10197 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10198 (__get_clockfreq): Likewise.
10199 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10200 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10201 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10204 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10205 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10206 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10207 Likewise.
10208 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10209 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10210 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10211 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10212 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10213 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10214 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10215 Likewise.
10216 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10217 (posix_fallocate): Likewise.
10218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10219 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10220 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10221 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10222 (elf_machine_rela, elf_machine_rela_relative)
10223 (elf_machine_lazy_rel): Likewise.
10224 * time/asctime.c (asctime_internal): Likewise.
10225 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10226 * time/tzset.c (__tzset_parse_tz): Likewise.
10227 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10228 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10229 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10230 * wcsmbs/wcsmbsload.h: Likewise.
10231
10232 [BZ #15894]
10233 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10234
10235 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10236 (arena_get2): Remove THREAD_STATS conditionals.
10237 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10238 (__malloc_stats, int): Likewise.
10239
102402014-02-08 Mike Frysinger <vapier@gentoo.org>
10241
10242 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10243 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10244
10245 * manual/setjmp.texi: Fix typos/grammar errors.
10246
10247 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10248 Only return early when n is <= 0. Delete unused return statement.
10249
10250 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10251 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10252 * debug/tst-longjmp_chk3.c: New file.
10253
10254 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10255 (test_main): Replace code with set_fortify_handler call.
10256 * debug/test-strcpy_chk.c: Likewise.
10257 * debug/tst-chk1.c: Likewise.
10258 * debug/tst-longjmp_chk.c: Likewise.
10259 * test-skeleton.c: Include fcntl.h & paths.h
10260 (set_fortify_handler): Define.
10261
10262 * debug/tst-longjmp_chk.c: Add header comment and include
10263 ../test-skeleton.c.
10264 (do_test): Mark static.
10265 (TEST_FUNCTION): Define.
10266
10267 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10268 (IP_PMTUDISC_INTERFACE): Likewise.
10269 (IP_MULTICAST_IF): Likewise.
10270 (IP_MULTICAST_TTL): Likewise.
10271 (IP_MULTICAST_LOOP): Likewise.
10272 (IP_ADD_MEMBERSHIP): Likewise.
10273 (IP_DROP_MEMBERSHIP): Likewise.
10274 (IP_UNBLOCK_SOURCE): Likewise.
10275 (IP_BLOCK_SOURCE): Likewise.
10276 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10277 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10278 (IP_MSFILTER): Likewise.
10279 (MCAST_JOIN_GROUP): Likewise.
10280 (MCAST_BLOCK_SOURCE): Likewise.
10281 (MCAST_UNBLOCK_SOURCE): Likewise.
10282 (MCAST_LEAVE_GROUP): Likewise.
10283 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10284 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10285 (MCAST_MSFILTER): Likewise.
10286 (IP_MULTICAST_ALL): Likewise.
10287 (IP_UNICAST_IF): Likewise.
10288
10289 * timezone/Makefile: Delete $(have-ksh) check.
10290 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10291 * timezone/tzselect.ksh: Add +x mode bits.
10292
10293 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10294 (ANON_INODE_FS_MAGIC): Likewise.
10295 (BDEVFS_MAGIC): Likewise.
10296 (BINFMTFS_MAGIC): Likewise.
10297 (BTRFS_TEST_MAGIC): Likewise.
10298 (CRAMFS_MAGIC_WEND): Likewise.
10299 (DEBUGFS_MAGIC): Likewise.
10300 (ECRYPTFS_SUPER_MAGIC): Likewise.
10301 (EXT3_SUPER_MAGIC): Likewise.
10302 (EXT4_SUPER_MAGIC): Likewise.
10303 (FUTEXFS_SUPER_MAGIC): Likewise.
10304 (HOSTFS_SUPER_MAGIC): Likewise.
10305 (HUGETLBFS_MAGIC): Likewise.
10306 (MINIX3_SUPER_MAGIC): Likewise.
10307 (MTD_INODE_FS_MAGIC): Likewise.
10308 (NILFS_SUPER_MAGIC): Likewise.
10309 (OPENPROM_SUPER_MAGIC): Likewise.
10310 (PIPEFS_MAGIC): Likewise.
10311 (PSTOREFS_MAGIC): Likewise.
10312 (QNX6_SUPER_MAGIC): Likewise.
10313 (RAMFS_MAGIC): Likewise.
10314 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10315 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10316 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10317 (SECURITYFS_MAGIC): Likewise.
10318 (SELINUX_MAGIC): Likewise.
10319 (SMACK_MAGIC): Likewise.
10320 (SOCKFS_MAGIC): Likewise.
10321 (SQUASHFS_MAGIC): Likewise.
10322 (STACK_END_MAGIC): Likewise.
10323 (TMPFS_MAGIC): Likewise.
10324 (USBDEVICE_SUPER_MAGIC): Likewise.
10325 (V9FS_MAGIC): Likewise.
10326 (XENFS_SUPER_MAGIC): Likewise.
10327 (CRAMFS_MAGIC): Fix typo in comment.
10328 (EXT2_SUPER_MAGIC): Update comment.
10329 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10330
103312014-02-08 Joseph Myers <joseph@codesourcery.com>
10332
10333 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10334 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10335 * sysdeps/unix/sysv/linux/arm: Move directory from
10336 ports/sysdeps/unix/sysv/linux/arm.
10337 * README: Update listing for arm-*-linux-gnueabi.
10338
10339 * README: Remove mention of am33.
10340
103412014-02-07 Roland McGrath <roland@hack.frob.com>
10342
10343 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10344 than the comma operator, to avoid "rhs of comma has no effect"
10345 compiler warnings.
10346 (__sigfillset, __sigandset, __sigorset): Likewise.
10347 * include/signal.h (__sigemptyset): Likewise.
10348 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10349
103502014-02-07 Allan McRae <allan@archlinux.org>
10351
10352 * version.h (RELEASE): Set to "development".
10353 (VERSION): Set to "2.19.90"
10354 * NEWS: Add 2.20 section.
10355
103562014-02-06 Carlos O'Donell <carlos@redhat.com>
10357
10358 [BZ #16529]
10359 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10360
103612014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10362
10363 * manual/contrib.texi: Update entry for Carlos O'Donell,
10364 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10365
103662014-02-05 Carlos O'Donell <carlos@rehdat.com>
10367
10368 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10369
10370 * sysdeps/unix/sysv/linux/kernel-features.h
10371 [__LINUX_KERNEL_VERSION >= 0x020621]
10372 (__ASSUME_PROC_PID_TASK_COMM): Define.
10373
103742014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10375
10376 [BZ #16398]
10377 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10378 conversion when destination buffer does not have enough space.
10379 * libio/tst-ftell-partial-wide.c: New test case.
10380 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10381
10382 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10383 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10384 Leonard and Allan McRae.
10385
103862014-02-04 David S. Miller <davem@davemloft.net>
10387
10388 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10389 32-bit.
10390
103912014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10392
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10394 New file
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10396 New file
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10398 New file.
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10400 New file.
10401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10402 New file.
10403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10404 New file.
10405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10406 New file.
10407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10408 New file.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10410 New file.
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10412 New file.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10414 New file.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10416 New file.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10418 New file.
10419
104202014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10421
10422 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10423 * shlib-versions: Likewise.
10424
104252014-02-04 Roland McGrath <roland@hack.frob.com>
10426 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10427
10428 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10429 (abilist-pattern): New variable, set to %-le.abilist.
10430
10431 * Makerules (abilist-pattern): New variable.
10432 (vpath): Use $(abilist-pattern) in place of %.abilist.
10433 (check-abi-% pattern rule): Likewise.
10434 (check-abi, update-abi): Likewise.
10435
104362014-02-04 Eric Wong <normalperson@yhbt.net>
10437
10438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10439
104402014-02-03 Carlos O'Donell <carlos@redhat.com>
10441
10442 * manual/startup.texi: Add next, previous, and top entries for
10443 the `Program Arguments' and `Environment Variables' nodes.
10444
104452014-02-03 Alexandre Oliva <aoliva@redhat.com>
10446
10447 * manual/macros.texi: Add comments before MTASC-safety macros.
10448
10449 * manual/users.texi: Document MTASC-safety properties.
10450
10451 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10452 (pthread_getspecific, pthread_setspecific): Format with
10453 @deftypefun, and add @safety note.
10454 * manual/signal.texi: Move comments that analyze the above
10455 functions to their home place.
10456
104572014-02-03 Allan McRae <allan@archlinux.org>
10458
10459 * po/sl.po: Update Slovenian translation from translation project.
10460
104612014-02-02 Alexandre Oliva <aoliva@redhat.com>
10462
10463 * manual/time.texi (timegm): Add missing blank after @c.
10464 Reported by Joseph Myers <joseph@codesourcery.com>.
10465
104662014-02-01 Alexandre Oliva <aoliva@redhat.com>
10467
10468 * manual/check-safety.sh: New.
10469 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10470
10471 * manual/terminal.texi: Document MTASC-safety properties.
10472
10473 * manual/filesys.texi: Document MTASC-safety properties.
10474
10475 * manual/errno.texi: Document MTASC-safety properties.
10476
10477 * manual/intro.texi: Document safety identifiers and
10478 conditionals.
10479
10480 * manual/string.texi (wcstok): Fix prototype.
10481 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10482
10483 * manual/time.texi: Document MTASC-safety properties.
10484
10485 * manual/string.texi: Document MTASC-safety properties.
10486
10487 * manual/threads.texi: Document MTASC-safety properties.
10488
10489 * manual/stdio.texi: Document MTASC-safety properties.
10490
10491 * manual/syslog.texi: Document MTASC-safety properties.
10492
10493 * manual/sysinfo.texi: Document MTASC-safety properties.
10494
10495 * manual/startup.texi: Document MTASC-safety properties.
10496
10497 * manual/socket.texi: Document MTASC-safety properties.
10498
10499 * manual/signal.texi: Document MTASC-safety properties.
10500
105012014-01-31 Alexandre Oliva <aoliva@redhat.com>
10502
10503 * manual/setjmp.texi: Document MTASC-safety properties.
10504
10505 * manual/search.texi: Document MTASC-safety properties.
10506
10507 * manual/resource.texi: Document MTASC-safety properties.
10508
10509 * manual/process.texi: Document MTASC-safety properties.
10510
10511 * manual/platform.texi: Document MTASC-safety properties.
10512
10513 * manual/pipe.texi: Document MTASC-safety properties.
10514
10515 * manual/pattern.texi: Document MTASC-safety properties.
10516
10517 * manual/message.texi: Document MTASC-safety properties.
10518
10519 [BZ #12751]
10520 * manual/memory.texi: Document MTASC-safety properties.
10521
10522 * manual/math.texi: Document MTASC-safety properties.
10523
10524 * manual/locale.texi: Document MTASC-safety properties.
10525
10526 * manual/llio.texi: Document MTASC-safety properties.
10527
10528 * manual/libdl.texi: New.
10529
10530 * manual/lang.texi: Document MTASC-safety properties.
10531
10532 * manual/job.texi: Document MTASC-safety properties.
10533
10534 * manual/getopt.texi: Document MTASC-safety properties.
10535
10536 * manual/ctype.texi: Document MTASC-safety properties.
10537
105382014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10539
10540 [BZ #16046]
10541 * csu/libc-tls.c (static_map): Remove variable.
10542 (__libc_setup_tls): Use main executable's link map for TLS data.
10543 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10544 casing for LM_ID_BASE and GL(dl_nns).
10545 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10546 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10547 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10548 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10549 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10550 member.
10551 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10552 l_phnum members.
10553
105542014-01-30 Alexandre Oliva <aoliva@redhat.com>
10555
10556 * manual/debug.texi: Document MTASC-safety properties.
10557
105582014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10559
10560 [BZ #16510]
10561 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10562 of __x86_64__ when disabling x87 inline functions.
10563
105642014-01-29 Alexandre Oliva <aoliva@redhat.com>
10565
10566 * manual/charset.texi: Document MTASC-safety properties.
10567
10568 * manual/crypt.texi: Document MTASC-safety properties.
10569
10570 * manual/conf.texi: Document MTASC-safety properties.
10571
10572 * manual/arith.texi: Document MTASC-safety properties.
10573
10574 * manual/argp.texi: Document MTASC-safety properties.
10575
10576 * manual/macros.texi: Introduce macros to document multi
10577 thread, asynchronous signal and asynchronous cancellation
10578 safety properties.
10579 * manual/intro.texi: Introduce the properties themselves.
10580
105812014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10582
10583 * sysdeps/sh/sh4/Makefile: New file.
10584
105852014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10586
10587 * math/gen-libm-test.pl ($srcdir): New variable.
10588 ($auto_input): Use it.
10589
105902014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10591
10592 [BZ #16506]
10593 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10594 access beyond array bounds when parsing netgroups file.
10595
10596 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10597 the old buffer before realloc.
10598
105992014-01-27 Allan McRae <allan@archlinux.org>
10600
10601 * po/fr.po: Update French translation from translation project.
10602
106032014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10604
10605 * sysdeps/sh/libm-test-ulps: Regenerate.
10606
106072014-01-24 David S. Miller <davem@davemloft.net>
10608
10609 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10610
106112014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10612
10613 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10614 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10615
106162013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10617
10618 [BZ #16474]
10619 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10620 string pointers after reallocation.
10621
106222014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10623
10624 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10625 __SH4A__ instead of __SH_FPU_ANY__.
10626
106272014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10628
10629 * sysdeps/sh/fpu_control.h: New file.
10630 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10631 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10632 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10633 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10634 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10635 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10636 * sysdeps/sh/sys/ucontext.h: Remove.
10637 * sysdeps/sh/sys: Remove directory.
10638
106392014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10640
10641 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10642 s390/sys/ucontext.h.
10643 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10644 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10645
106462014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10647
10648 [BZ #15605]
10649 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10650
106512014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10652
10653 [BZ#16431]
10654 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10655 Adjust the vDSO correctly for internal calls.
10656 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10657
106582014-01-20 Allan McRae <allan@archlinux.org>
10659
10660 * po/ca.po: Update Catalan translation from translation project.
10661
106622014-01-16 Mike Frysinger <vapier@gentoo.org>
10663
10664 * sysdeps/s390/sotruss-lib.c: New file.
10665
106662014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10667
10668 [BZ#16430]
10669 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10670 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10671 local calls issues by not having a PLT stub required for IFUNC calls.
10672 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10673
106742014-01-16 Joseph Myers <joseph@codesourcery.com>
10675
10676 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10677 * math/test-fpucw-static.c: Likewise.
10678
106792013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10680
10681 [BZ #16453]
10682 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10683
106842014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10685
10686 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10687 implementation for powerpc.
10688
106892014-01-15 Ondřej Bílka <neleai@seznam.cz>
10690
10691 [BZ #14782]
10692 * sysdeps/posix/system.c (__libc_system): Do not enable
10693 asynchronous cancellation.
10694
106952014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10696
10697 [BZ #16427]
10698 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10699 handling only for numbers special also in the IEEE case.
10700
107012014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10702
10703 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10704
107052014-01-11 Allan McRae <allan@archlinux.org>
10706
10707 * po/bg.po: Update Bulgarian translation from translation project.
10708
10709 * po/de.po: Update German translation from translation project.
10710
107112014-01-10 Roland McGrath <roland@hack.frob.com>
10712
10713 * sysdeps/generic/gcc-compat.h: New file.
10714
107152014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10716
10717 * benchtests/asin-inputs: Correct slow inputs.
10718 * benchtests/acos-inputs: Likewise.
10719
107202014-01-10 Allan McRae <allan@archlinux.org>
10721
10722 * po:sv.po: Update Swedish translation from translation project.
10723
10724 * po/vi.po: Update Vietnamese translation from translation project.
10725
10726 * po/eo.po: Update Esperanto translation from translation project.
10727
10728 * po/cs.po: Update Czech translation from translation project.
10729
10730 * po/nl.po: Update Dutch translation from translation project.
10731
10732 * po/pl.po: Update Polish translation from translation project.
10733
10734 * po/ru.po: Update Russian translation from translation project.
10735
10736 * po/uk.po: Update Ukrainian translation from translation project.
10737
107382014-01-08 Brooks Moses <bmoses@google.com>
10739
10740 * elf/dl-load.c: Fix comment typo.
10741
107422014-01-08 Carlos O'Donell <carlos@redhat.com>
10743
10744 * po/header.pot: Rename to...
10745 * po/pot.header: ... this.
10746 * po/Makefile: Use pot.header.
10747
107482014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10749 Maxim Kuvyrkov <maxim@kugelworks.com>
10750
10751 [BZ #16394]
10752 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10753 SRC and DEST against LEN.
10754
107552014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10756
10757 [BZ #16414]
10758 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10759 implementation.
10760 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10761
107622014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10763
10764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10765
107662014-01-08 Joseph Myers <joseph@codesourcery.com>
10767
10768 [BZ #16408]
10769 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10770 for large positive arguments.
10771
107722014-01-07 Joseph Myers <joseph@codesourcery.com>
10773
10774 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10775
10776 * math/auto-libm-test-in: Mark various tests with
10777 xfail-rounding:ldbl-128ibm.
10778 * math/auto-libm-test-out: Regenerated.
10779
10780 [BZ #16407]
10781 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10782 Increase overflow threshold.
10783
107842014-01-07 Ondřej Bílka <neleai@seznam.cz>
10785
10786 [BZ #14286]
10787 * stdio-common/vfprintf.c: Check for integer overflow.
10788
107892014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10790
10791 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10792 the first argument and return value of __tls_get_addr_internal.
10793
107942014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10795
10796 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10797 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10798
107992014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10800
10801 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10802 * sysdeps/s390/rtld-global-offsets.sym: New file.
10803 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10804 GLIBC_2.19 symbol.
10805 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10806 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10807 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10808 ... this.
10809 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10810 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10811 ... this.
10812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10813 Regenerate.
10814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10815 Regenerate.
10816 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10817 halfs of GPRs for high_gprs contexts.
10818 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10819 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10820 field.
10821 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10822 uc_flags field.
10823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10824 64 bit versions:
10825 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10826 for high GPRs (uc_high_gprs) and for future extensions
10827 (__reserved).
10828 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10829 for future extensions (__reserved).
10830 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10831 64 bit versions:
10832 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10833 SC_HIGHGPRS offset definition.
10834 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10835 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10836
10837 * Versions.def: Add GLIBC_2.19 for libpthread.
10838 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10839 siglongjmp for libpthread with GLIBC_2.19 symver.
10840 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10841 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10842 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10843 * sysdeps/s390/__longjmp.c: New file.
10844 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10845 * sysdeps/s390/longjmp.c: New file.
10846 * sysdeps/s390/setjmp.S: New file.
10847 * sysdeps/s390/sigjmp.S: New file.
10848 * sysdeps/s390/v1-longjmp.c: New file.
10849 * sysdeps/s390/v1-setjmp.h: New file.
10850 * sysdeps/s390/v1-sigjmp.c: New file.
10851 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10852 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10853 GLIBC_2.19 version.
10854 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10855 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10856 versioned symbols for ____longjmp_chk.
10857 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10858 Likewise.
10859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10860 Regenerate.
10861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10862 Regenerate.
10863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10864 Regenerate.
10865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10866 Regenerate.
10867 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10868 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10869 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10870 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10871 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10872 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10873 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10874 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10875 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10876 * sysdeps/s390/rtld-__longjmp.c: New file.
10877 * sysdeps/s390/rtld-setjmp.S: New file.
10878
108792014-01-06 Joseph Myers <joseph@codesourcery.com>
10880
10881 [BZ #16400]
10882 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10883 Return -__logl (x) for small positive arguments without evaluating
10884 a polynomial.
10885
108862014-01-06 Mike Frysinger <vapier@gentoo.org>
10887
10888 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10889 Rename to ...
10890 (__ptrace_peeksiginfo_args): ... this.
10891 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10893 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10894
108952014-01-06 Allan McRae <allan@archlinux.org>
10896
10897 * inet/netinet/in.h: Fix typo in comment.
10898
108992014-01-05 Andreas Jaeger <aj@suse.de>
10900
10901 * sysdeps/i386/fpu/libm-test-ulps: Update.
10902
109032014-01-05 Allan McRae <allan@archlinux.org>
10904
10905 * po/libc.pot: Regenerated.
10906
10907 * malloc/memusagestat.c: Fix gettext call formatting.
10908
109092014-01-04 Sami Kerola <kerolasa@iki.fi>
10910
10911 * nscd/nscd.c: Improve usage() output.
10912
109132014-01-04 Mike Frysinger <vapier@gentoo.org>
10914
10915 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10916 * sysdeps/unix/sysv/linux/configure: Regenerated.
10917 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10918 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10919
109202014-01-03 Joseph Myers <joseph@codesourcery.com>
10921
10922 [BZ #16390]
10923 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10924 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10925
109262014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10927
10928 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10929 extra tokens at end of #undef directive.
10930 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10931 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10933
109342014-01-03 Joseph Myers <joseph@codesourcery.com>
10935
10936 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10937
10938 * math/auto-libm-test-in: Mark various tests with
10939 xfail-rounding:ldbl-128ibm.
10940 * math/auto-libm-test-out: Regenerated.
10941
109422014-01-02 Joseph Myers <joseph@codesourcery.com>
10943
10944 [BZ #16386]
10945 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10946 numbers with subnormal high part when calculating exponent.
10947
10948 [BZ #16385]
10949 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10950 fabs.
10951
10952 [BZ #16384]
10953 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10954 M_LN2l.
10955 (__ieee754_acoshl): Use __log1pl not __log1p.
10956
109572013-01-02 Ondřej Bílka <neleai@seznam.cz>
10958
10959 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10960 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10961 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10962 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10963 (reused_arena, arena_get2): Convert to GNU style.
10964 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10965 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10966 (memalign_check, __malloc_set_state): Likewise.
10967 * malloc/mallocbug.c (main): Likewise.
10968 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10969 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10970 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10971 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10972 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10973 (__posix_memalign, malloc_info): Likewise.
10974 * malloc/malloc.h: Likewise.
10975 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10976 (mallochook, memalignhook, reallochook, mabort): Likewise.
10977 * malloc/mcheck.h: Likewise.
10978 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10979 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10980 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10981 * malloc/morecore.c (__default_morecore): Likewise.
10982 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10983 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10984 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10985 (print_and_abort): Likewise.
10986 * malloc/obstack.h: Likewise.
10987 * malloc/set-freeres.c (__libc_freeres): Likewise.
10988 * malloc/tst-mallocstate.c (main): Likewise.
10989 * malloc/tst-mtrace.c (main): Likewise.
10990 * malloc/tst-realloc.c (do_test): Likewise.
10991
109922013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10993
10994 [BZ #16366]
10995 * nscd/netgroupcache.c (do_notfound): New function.
10996 (addgetnetgrentX): Use it.
10997
10998 [BZ # 16365]
10999 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11000 NSS_STATUS_NOTFOUND.
11001
110022014-01-01 Joseph Myers <joseph@codesourcery.com>
11003
11004 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11006
110072014-01-01 Allan McRae <allan@archlinux.org>
11008
11009 * scripts/update-copyrights: Update configure input file suffix.
11010
11011 * NEWS: Update copyright year.
11012 * catgets/gencat.c: Likewise.
11013 * csu/version.c: Likewise.
11014 * debug/catchsegv.sh: Likewise.
11015 * debug/pcprofiledump.c: Likewise.
11016 * debug/xtrace.sh: Likewise.
11017 * elf/ldconfig.c: Likewise.
11018 * elf/ldd.bash.in: Likewise.
11019 * elf/pldd.c: Likewise.
11020 * elf/sotruss.ksh: Likewise.
11021 * elf/sprof.c: Likewise.
11022 * iconv/iconv_prog.c: Likewise.
11023 * iconv/iconvconfig.c: Likewise.
11024 * locale/programs/locale.c: Likewise.
11025 * locale/programs/localedef.c: Likewise.
11026 * login/programs/pt_chown.c: Likewise.
11027 * malloc/memusage.sh: Likewise.
11028 * malloc/memusagestat.c: Likewise.
11029 * malloc/mtrace.pl: Likewise.
11030 * manual/libc.texinfo: Likewise.
11031 * nscd/nscd.c: Likewise.
11032 * nss/getent.c: Likewise.
11033 * nss/makedb.c: Likewise.
11034 * posix/getconf.c: Likewise.
11035 * scripts/test-installation.pl: Likewise.
11036
11037 * All files with FSF copyright notices: Update copyright dates
11038 using scripts/update-copyrights.
11039 * intl/plural.c: Regenerated.
11040 * locale/programs/charmap-kw.h: Likewise.
11041 * locale/programs/locfile-kw.h: Likewise.
11042
110432013-12-31 Mike Frysinger <vapier@gentoo.org>
11044
11045 * sysdeps/unix/sysv/linux/configure: Regenerated.
11046 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11047 the linux/fanotify.h header.
11048 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11049 HAVE_LINUX_FANOTIFY_H is defined.
11050
110512013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11052
11053 * benchtests/cos-inputs: New inputs.
11054 * benchtests/sin-inputs: Likewise.
11055
11056 * benchtests/atan-inputs: New inputs. Fix name of multiple
11057 precision fallback inputs.
11058
11059 * benchtests/atanh-inputs: New inputs.
11060 * benchtests/tanh-inputs: Likewise.
11061
11062 * benchtests/acosh-inputs: New inputs.
11063 * benchtests/asinh-inputs: Likewise.
11064
11065 * benchtests/cosh-inputs: New inputs.
11066 * benchtests/sinh-inputs: Likewise.
11067
11068 * benchtests/acos-inputs: Add more inputs.
11069 * benchtests/asin-inputs: Likewise.
11070
110712013-12-30 Ville Skytta <ville.skytta@iki.fi>
11072
11073 [BZ #16375]
11074 * manual/arith.texi: Fix spelling.
11075 * manual/charset.texi: Likewise.
11076 * manual/errno.texi: Likewise.
11077 * manual/filesys.texi: Likewise.
11078 * manual/lang.texi: Likewise.
11079 * manual/llio.texi: Likewise.
11080 * manual/locale.texi: Likewise.
11081 * manual/message.texi: Likewise.
11082 * manual/resource.texi: Likewise.
11083 * manual/search.texi: Likewise.
11084 * manual/setjmp.texi: Likewise.
11085 * manual/stdio.texi: Likewise.
11086 * manual/string.texi: Likewise.
11087 * manual/sysinfo.texi: Likewise.
11088 * manual/time.texi: Likewise.
11089
110902013-12-27 Carlos O'Donell <carlos@redhat.com>
11091
11092 * po/sl.po: New file.
11093
110942013-12-27 Mike Frysinger <vapier@gentoo.org>
11095
11096 * .gitignore: Add core/.gdbinit/.gdb_history.
11097
110982013-12-27 Allan McRae <allan@archlinux.org>
11099
11100 [BZ #16369]
11101 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11102 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11103
111042013-12-24 Brooks Moses <bmoses@google.com>
11105
11106 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11107 all compilers that claim C++98 compliance, not just GCC.
11108 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11109 Likewise.
11110
111112013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11112
11113 * NEWS: Restore accidentally deleted bug-fix entries.
11114
111152013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11116 Ondřej Bílka <neleai@seznam.cz>
11117
11118 [BZ #15073]
11119 * malloc/malloc.c (_int_free): Perform sanity check only if we
11120 have_lock.
11121
111222013-12-23 Ondřej Bílka <neleai@seznam.cz>
11123
11124 [BZ #12986]
11125 * manual/stdio.texi (String Input Conversions): Clarify that character
11126 classes are not supported.
11127
111282013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11129
11130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11131
111322013-12-22 Joseph Myers <joseph@codesourcery.com>
11133
11134 [BZ #16337]
11135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11136 Calculate results for small negative arguments directly rather
11137 than using reflection formula with special underflow handling.
11138
11139 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11140 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11141 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11142 (fchflags): Likewise.
11143 (revoke): Likewise.
11144 (setlogin): Likewise.
11145 (sigaltstack): Likewise.
11146 (wait4): Likewise.
11147 (sigblock): Remove.
11148 (sigsetmask): Likewise.
11149 (wait3): Likewise.
11150 (waitpid): Likewise.
11151 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11152 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11153 file.
11154 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11155 * sysdeps/unix/bsd/Makefile: ... here.
11156 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11157 * sysdeps/unix/bsd/Versions: ... here.
11158 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11159 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11160 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11161 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11162 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11163 * sysdeps/unix/bsd/sigblock.c: ... here.
11164 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11165 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11166 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11167 * sysdeps/unix/bsd/sigvec.c: ... here.
11168 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11169 * sysdeps/unix/bsd/tcdrain.c: ... here.
11170 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11171 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11172 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11173 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11174 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11175 * sysdeps/unix/bsd/wait.c: ... here.
11176 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11177 * sysdeps/unix/bsd/wait3.c: ... here.
11178 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11179 * sysdeps/unix/bsd/waitpid.c: ... here.
11180
111812013-12-21 Joseph Myers <joseph@codesourcery.com>
11182
11183 [BZ #16356]
11184 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11185 round-to-nearest for [!USE_AS_EXPM1L].
11186 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11187 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11188 more tests of exp and exp10. Expect some exp10 tests to miss
11189 exceptions or fail in directed rounding modes.
11190 * math/auto-libm-test-out: Regenerated.
11191 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11192 (exp10_test_tonearest): New function.
11193 (exp10_towardzero_test_data): New array.
11194 (exp10_test_towardzero): New function.
11195 (exp10_downward_test_data): New array.
11196 (exp10_test_downward): New function.
11197 (exp10_upward_test_data): New array.
11198 (exp10_test_upward): New function.
11199 (main): Call the new functions.
11200 * sysdeps/i386/fpu/libm-test-ulps: Update.
11201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11202
112032013-12-20 Joseph Myers <joseph@codesourcery.com>
11204
11205 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11206 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11207 * math/auto-libm-test-out: Regenerated.
11208 * math/libm-test.inc (acosh_test_data): Add more tests.
11209 (atanh_test_data): Likewise.
11210 (ceil_test_data): Likewise.
11211 (copysign_test_data): Likewise.
11212 * sysdeps/i386/fpu/libm-test-ulps: Update.
11213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11214
11215 * timezone/checktab.awk: Update from tzcode 2013i.
11216 * timezone/private.h: Likewise.
11217 * timezone/scheck.c: Likewise.
11218 * timezone/tzfile.h: Likewise.
11219 * timezone/tzselect.ksh: Likewise.
11220 * timezone/zdump.c: Likewise.
11221 * timezone/zic.c: Likewise.
11222
11223 * math/auto-libm-test-in: Add tests of cpow.
11224 * math/auto-libm-test-out: Regenerated.
11225 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11226 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11227 mpc_cc_c.
11228 (func_calc_desc): Add mpc_cc_c union field.
11229 (test_functions): Add cpow.
11230 (special_fill_2pi): New function.
11231 (special_real_inputs): Add 2pi.
11232 (calc_generic_results): Handle mpc_cc_c.
11233 * sysdeps/i386/fpu/libm-test-ulps: Update.
11234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11235
11236 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11237 csqrt, ctan and ctanh.
11238 * math/auto-libm-test-out: Regenerated.
11239 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11240 (TEST_COND_x86): Likewise.
11241 (ccos_test_data): Use AUTO_TESTS_c_c.
11242 (ccosh_test_data): Likewise.
11243 (cexp_test_data): Likewise.
11244 (clog_test_data): Likewise.
11245 (csqrt_test_data): Likewise.
11246 (ctan_test_data): Likewise.
11247 (ctan_tonearest_test_data): Likewise.
11248 (ctan_towardzero_test_data): Likewise.
11249 (ctan_downward_test_data): Likewise.
11250 (ctan_upward_test_data): Likewise.
11251 (ctanh_test_data): Likewise.
11252 (ctanh_tonearest_test_data): Likewise.
11253 (ctanh_towardzero_test_data): Likewise.
11254 (ctanh_downward_test_data): Likewise.
11255 (ctanh_upward_test_data): Likewise.
11256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11257 mpc_c_c.
11258 (func_calc_desc): Add mpc_c_c union field.
11259 (FUNC_mpc_c_c): New macro.
11260 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11261 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11262 ctanh.
11263 (special_fill_min_subnorm_p120): New function.
11264 (special_real_inputs): Add min_subnorm_p120.
11265 (calc_generic_results): Handle mpc_c_c.
11266 * sysdeps/i386/fpu/libm-test-ulps: Update.
11267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11268
112692013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11270
11271 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11272 (do_sin_slow): New functions.
11273 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11274 (cslow2, csloww1, csloww2): Use the new functions.
11275
11276 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11277 Use M to change sign of result instead of X. Assume X is
11278 positive.
11279 (csloww1): Likewise.
11280 (__sin): Adjust.
11281 (__cos): Adjust.
11282
11283 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11284 arguments A and DA.
11285 (__sin): Adjust.
11286 (__cos): Likewise.
11287
11288 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11289 (__cos): Likewise.
11290 (sloww1): Don't adjust sign of DX.
11291 (csloww1): Likewise.
11292 (sloww2): Use X directly and don't adjust sign of DX.
11293 (csloww2): Likewise.
11294
112952013-12-19 Joseph Myers <joseph@codesourcery.com>
11296
11297 * math/auto-libm-test-in: Add tests of cabs and carg.
11298 * math/auto-libm-test-out: Regenerated.
11299 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11300 (carg_test_data): Likewise.
11301 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11302 mpc_c_f.
11303 (func_calc_desc): Add mpc_c_f union field.
11304 (test_functions): Add cabs and carg.
11305 (calc_generic_results): Handle mpc_c_f.
11306
11307 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11308 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11309 as a macro and a compat symbol.
11310 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11311 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11312 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11313 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11314 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11315 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11316 not use .hidden.
11317 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11318 Likewise.
11319 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11320 Likewise.
11321 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11322 Likewise.
11323 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11324 Likewise.
11325 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11326 Likewise.
11327 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11328 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11329 from GLIBC_2.3.2.
11330
113312013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11332
11333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11334
113352013-12-19 Joseph Myers <joseph@codesourcery.com>
11336
11337 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11338 trailing whitespace removed.
11339 * scripts/config.guess: Update to version 2013-11-29.
11340 * scripts/config.sub: Update to version 2013-10-01.
11341
11342 * math/auto-libm-test-in: Add tests of sincos.
11343 * math/auto-libm-test-out: Regenerated.
11344 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11345 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11346 mpfr_f_11.
11347 (func_calc_desc): Add mpfr_f_11 union field.
11348 (test_functions): Add sincos.
11349 (calc_generic_results): Handle mpfr_f_11.
11350 * sysdeps/i386/fpu/libm-test-ulps: Update.
11351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11352
113532013-12-19 Andreas Schwab <schwab@suse.de>
11354
11355 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11356 CALL_MCOUNT.
11357 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11358 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11359 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11360
113612013-12-19 Joseph Myers <joseph@codesourcery.com>
11362
11363 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11364 * sysdeps/i386/fpu/libm-test-ulps: Update.
11365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11366
11367 [BZ #16293]
11368 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11369 round-to-nearest mode when using frndint.
11370 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11371 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11372 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11373 Likewise.
11374 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11375 sinh test to fail.
11376 * math/auto-libm-test-out: Regenerated.
11377 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11378 (TEST_COND_x86): Likewise.
11379 (expm1_tonearest_test_data): New array.
11380 (expm1_test_tonearest): New function.
11381 (expm1_towardzero_test_data): New array.
11382 (expm1_test_towardzero): New function.
11383 (expm1_downward_test_data): New array.
11384 (expm1_test_downward): New function.
11385 (expm1_upward_test_data): New array.
11386 (expm1_test_upward): New function.
11387 (main): Run the new test functions.
11388 * sysdeps/i386/fpu/libm-test-ulps: Update.
11389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11390
11391 * include/features.h: Update comment documenting feature test
11392 macros. Mention _DEFAULT_SOURCE in comment.
11393 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11394 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11395 _BSD_SOURCE and _SVID_SOURCE.
11396 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11397 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11398 !_SVID_SOURCE]: Likewise.
11399 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11400 (__USE_POSIX_IMPLICITLY): Define.
11401 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11402 (_POSIX_SOURCE): Undefine and redefine.
11403 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11404 (_POSIX_C_SOURCE): Likewise.
11405 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11406 (Feature Test Macros): Update documentation of default features.
11407
114082013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11409
11410 * benchtests/Makefile: Add bench-strtok.
11411 * benchtests/bench-strtok.c: New file: strtok benchtest.
11412
114132013-12-19 Allan McRae <allan@archlinux.org>
11414
11415 * manual/install.texi: Suppress menu for plain text output.
11416 * INSTALL: Regenerated.
11417
114182013-12-18 Brooks Moses <bmoses@google.com>
11419
11420 [BZ #15846]
11421 * misc/getauxval.c: Include errno.h.
11422 (__getauxval): Set errno to ENOENT if the requested type is not
11423 found.
11424 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11425 don't declare with __attribute_const__.
11426 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11427 * manual/startup.texi: Document that getauxval sets errno.
11428
114292013-12-18 Joseph Myers <joseph@codesourcery.com>
11430
11431 * math/auto-libm-test-in: Add tests of jn and yn.
11432 * math/auto-libm-test-out: Regenerated.
11433 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11434 (yn_test_data): Likewise.
11435 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11436 mpfr_if_f.
11437 (func_calc_desc): Add mpfr_if_f union field.
11438 (FUNC_mpfr_if_f): New macro.
11439 (test_functions): Add jn and yn.
11440 (calc_generic_results): Assert type of second input for
11441 mpfr_ff_f. Handle mpfr_if_f.
11442 (output_for_one_input_case): Disable all checking for arguments
11443 fitting floating-point types in case of an integer argument.
11444 * sysdeps/i386/fpu/libm-test-ulps: Update.
11445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11446
11447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11448 Don't expect fegetround reference in libm.so.
11449
114502013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11451
11452 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11453 $(config-cflags-nofma).
11454
114552013-12-18 Joseph Myers <joseph@codesourcery.com>
11456
11457 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11458 * math/auto-libm-test-out: Regenerated.
11459
11460 [BZ #16338]
11461 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11462 to determine exponent and adjust argument to have exponent of -1.
11463 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11464 log2.
11465 * math/auto-libm-test-out: Regenerated.
11466 * sysdeps/i386/fpu/libm-test-ulps: Update.
11467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11468
114692013-12-18 Ondřej Bílka <neleai@seznam.cz>
11470
11471 * manual/probes.texi: Remove cases when per-thread arenas are
11472 disabled.
11473
114742013-12-18 Andreas Schwab <schwab@suse.de>
11475
11476 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11477 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11478 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11479 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11480 * sysdeps/i386/i686/multiarch/Makefile: Update.
11481 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11482
114832013-12-17 Joseph Myers <joseph@codesourcery.com>
11484
11485 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11486 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11487
114882013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11489
11490 [BZ #15968]
11491 Support TZ transition times < 00:00:00.
11492 This is needed for version-3 tz-format files; it supports time
11493 stamps past 2037 for America/Godthab (the only entry in the tz
11494 database for which this change is relevant).
11495 * manual/time.texi (TZ Variable): Document transition times
11496 from -167:59:59 through -00:00:01.
11497 * time/tzset.c (tz_rule): Time of day is now signed.
11498 (__tzset_parse_tz): Parse negative time of day.
11499
11500 Document TZ transition times >= 25:00:00.
11501 * manual/time.texi (TZ Variable): Document transition times from
11502 25:00:00 through 167:59:59. These are already supported, and this
11503 support will help with version-3 tz-format files.
11504
11505 * manual/time.texi (TZ Variable): Modernize North America example
11506 to reflect current (i.e., 2007-and-later) daylight saving rules.
11507
11508 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11509
115102013-12-17 Joseph Myers <joseph@codesourcery.com>
11511
11512 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11513 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11514 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11516 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11517 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11518 * sysdeps/unix/bsd/clock.c: Likewise.
11519 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11520 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11521 * sysdeps/unix/bsd/init-posix.c: Likewise.
11522 * sysdeps/unix/bsd/poll.c: Likewise.
11523 * sysdeps/unix/bsd/ptsname.c: Likewise.
11524 * sysdeps/unix/bsd/seekdir.c: Likewise.
11525 * sysdeps/unix/bsd/setegid.c: Likewise.
11526 * sysdeps/unix/bsd/seteuid.c: Likewise.
11527 * sysdeps/unix/bsd/setgid.c: Likewise.
11528 * sysdeps/unix/bsd/setrgid.c: Likewise.
11529 * sysdeps/unix/bsd/setruid.c: Likewise.
11530 * sysdeps/unix/bsd/setsid.c: Likewise.
11531 * sysdeps/unix/bsd/setuid.c: Likewise.
11532 * sysdeps/unix/bsd/sigaction.c: Likewise.
11533 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11534 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11535 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11536 * sysdeps/unix/bsd/telldir.c: Likewise.
11537 * sysdeps/unix/bsd/times.c: Likewise.
11538 * sysdeps/unix/bsd/usleep.c: Likewise.
11539
11540 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11541 ($(objpfx)libbsd-compat.a): Remove rule.
11542
11543 * include/features.h (__FAVOR_BSD): Do not define.
11544 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11545 features conflicting with POSIX.
11546 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11547 (_BSD_SOURCE): Remove description of not being a subset of other
11548 feature test macros.
11549 * manual/job.texi (getpgrp): Do not document BSD version.
11550 (getpgid): Do not document by reference to BSD getpgrp.
11551 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11552 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11553 * signal/signal.h [__FAVOR_BSD]: Likewise.
11554 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11555 instead of making contents conditional on [__FAVOR_BSD].
11556 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11557
115582013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11559
11560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11561
115622013-12-17 Joseph Myers <joseph@codesourcery.com>
11563
11564 [BZ #16314]
11565 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11566 values below 2**-450, not 2**-500.
11567 * math/auto-libm-test-in: Don't allow spurious underflow from
11568 hypot.
11569 * math/auto-libm-test-out: Regenerated.
11570
11571 [BZ #16316]
11572 [BZ #16330]
11573 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11574 values of ha and hb and sort them after adjusting subnormal
11575 arguments.
11576 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11577 Likewise.
11578 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11579 values of ea and eb and sort them after adjusting subnormal
11580 arguments.
11581 * math/auto-libm-test-in: Do not expect some hypot tests of
11582 subnormals to fail. Add more hypot tests.
11583 * math/auto-libm-test-out: Regenerated.
11584
115852013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11586
11587 [BZ #13304]
11588 * sysdeps/sh/s_fma.c: New file.
11589 * sysdeps/sh/s_fmaf.c: New file.
11590 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11591 version.
11592 * sysdeps/sh/Implies: Add sh/soft-fp.
11593
115942013-12-16 Roland McGrath <roland@hack.frob.com>
11595
11596 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11597 level of indirection to members `objname', `errstring', `malloced'.
11598 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11599 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11600 it as the __longjmp argument (just pass 1 instead).
11601 (_dl_catch_error): Initialize C with argument pointers and address of
11602 volatile local ERRCODE rather than copying values out of C at return.
11603
116042013-12-16 Joseph Myers <joseph@codesourcery.com>
11605
11606 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11607 * math/auto-libm-test-out: Regenerated.
11608 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11609 (hypot_test_data): Likewise.
11610 (pow_test_data): Likewise.
11611 (pow_tonearest_test_data): Likewise.
11612 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11613 mpfr_ff_f.
11614 (func_calc_desc): Add mpfr_ff_f union field.
11615 (FUNC_mpfr_ff_f): New macro.
11616 (test_functions): Add atan2, hypot and pow.
11617 (special_fill_min): New function.
11618 (special_fill_minus_min): Likewise.
11619 (special_fill_min_subnorm): Likewise.
11620 (special_fill_minus_min_subnorm): Likewise.
11621 (special_real_inputs): Add min, -min, min_subnorm and
11622 -min_subnorm.
11623 (calc_generic_results): Handle mpfr_ff_f.
11624 * sysdeps/i386/fpu/libm-test-ulps: Update.
11625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11626
116272013-12-16 Will Newton <will.newton@linaro.org>
11628
11629 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11630 (Aligned Memory Blocks): Add documentation for aligned_alloc
11631 and suggest it as an alternative to posix_memalign.
11632 (Hooks for Malloc): Document __memalign_hook is also called
11633 for aligned_alloc. (Summary of Malloc): Add summary for
11634 aligned alloc. Document __memalign_hook is also called
11635 for aligned_alloc.
11636
116372013-12-16 Will Newton <will.newton@linaro.org>
11638
11639 * manual/memory.texi (Malloc Examples): Clarify default
11640 alignment documentation. Suggest posix_memalign rather
11641 than memalign or valloc.
11642 (Aligned Memory Blocks): Remove suggestion to use memalign
11643 or valloc. Remove obsolete comment about BSD.
11644 Document memalign errno values and mark the function obsolete.
11645 Document posix_memalign returned error codes. Mark valloc
11646 as obsolete. (Hooks for Malloc): __memalign_hook is also
11647 called for posix_memalign and valloc.
11648 (Summary of Malloc): Add posix_memalign to function summary.
11649 __memalign_hook is also called for posix_memalign and valloc.
11650
116512013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11652
11653 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11654 TAYLOR_SIN.
11655 (__sin): Adjust.
11656 (__cos): Likewise.
11657 (sloww): Use mynumber union. Expand ternary operator into
11658 if-else statements.
11659 (cslow): use mynumber union.
11660
116612013-12-16 Allan McRae <allan@archlinux.org>
11662
11663 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11664 * configure: Regenerated.
11665
11666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11667
11668 [BZ #14120]
11669 * configure.ac: Added --enable-maintainer-mode. Check for
11670 autoconf when enabled.
11671 * configure: Regenerated.
11672
11673 * nscd/nscd.service: New file.
11674 * nscd/nscd.tmpfiles: New file.
11675
116762013-12-14 Ondřej Bílka <neleai@seznam.cz>
11677
11678 [BZ #12100]
11679 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11680 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11681 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11682 (strstr): Add __strstr_sse2_unaligned ifunc.
11683 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11684 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11685 (strcasestr): Remove __strcasestr_sse42 ifunc.
11686 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11689
116902013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11691
11692 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11693 * sysdeps/sh/bits/fenv.h: ... here.
11694 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11695
116962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11697
11698 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11699
11700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11701 hypotf multiarch implementations.
11702 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11703 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11704 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11705 multiarch hypot for PPC64.
11706 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11707 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11708 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11709 multiarch hypotf for PPC64.
11710
11711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11712 modff multiarch implementations.
11713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11716 multiarch modf for PPC64.
11717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11720 multiarch modff for PPC64.
11721
11722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11723 and logl multiarch implementations.
11724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11727 multiarch logb for PPC64.
11728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11731 multiarch logb for PPC64.
11732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11735 multiarch logb for PPC64.
11736
11737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11738 isinff multiarch implementation.
11739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11740 file.
11741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11743 multiarch isinf for PPC64.
11744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11745 file.
11746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11747 multiarch isinff for PPC64.
11748
11749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11750 finitef multiarch implementation.
11751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11752 file.
11753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11755 multiarch finite for PPC64.
11756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11757 file.
11758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11759 multiarch finitef for PPC64.
11760
11761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11762 lrint multiarch implementation.
11763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11764 file.
11765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11767 multiarch llrint for PPC64.
11768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11769 multiarch lrint for PPC64.
11770
11771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11772 copysignf multiarch implementation.
11773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11774 file.
11775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11776 file.
11777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11778 multiarch copysign for PPC64.
11779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11780 multiarch copysignf for PPC64.
11781
11782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11783 multiarch implementation.
11784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11785 file.
11786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11787 file.
11788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11789 file.
11790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11791 file.
11792 multiarch llround for PPC64.
11793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11794 multiarch trunc for PPC64.
11795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11796 multiarch truncf for PPC64.
11797
11798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11799 multiarch implementation.
11800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11801 file.
11802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11803 file.
11804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11805 file.
11806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11807 file.
11808 multiarch llround for PPC64.
11809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11810 multiarch round for PPC64.
11811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11812 multiarch roundf for PPC64.
11813
11814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11815 multiarch implementation.
11816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11817 file.
11818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11819 file.
11820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11821 file.
11822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11823 file.
11824 multiarch llround for PPC64.
11825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11826 multiarch floor for PPC64.
11827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11828 multiarch floorf for PPC64.
11829
11830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11831 multiarch implementation.
11832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11833 file.
11834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11835 file.
11836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11837 file.
11838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11839 file.
11840 multiarch llround for PPC64.
11841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11842 multiarch ceil for PPC64.
11843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11844 multiarch ceilf for PPC64.
11845
11846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11847 multiarch implementation.
11848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11849 file.
11850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11851 file.
11852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11853 file.
11854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11855 multiarch llround for PPC64.
11856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11857 multiarch lround for PPC64.
11858
11859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11860 multiarch implementation.
11861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11864 file.
11865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11868 multiarch isnan for PPC64.
11869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11870 multiarch isnanf for PPC64.
11871
11872 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11873 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11874 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11875 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11876 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11878
11879 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11880 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11883
11884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11885 multiarch implementations.
11886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11887 (__libc_ifunc_impl_list): Likewise.
11888 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11889 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11890 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11891 multiarch stpcpy for PPC64.
11892
11893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11894 multiarch implementations.
11895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11896 (__libc_ifunc_impl_list): Likewise.
11897 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11898 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11899 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11900 multiarch strcpy for PPC64.
11901
11902 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11903 redefine function name.
11904 (_wordcopy_fwd_dest_aligned): Likewise.
11905 (_wordcopy_bwd_aligned): Likewise.
11906 (_wordcopy_bwd_dest_aligned): Likewise.
11907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11908 multiarch implementations.
11909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11910 (__libc_ifunc_impl_list): Likewise.
11911 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11912 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11913 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11914 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11915 multiarch wcscpy for PPC64.
11916
11917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11918 multiarch implementations.
11919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11920 (__libc_ifunc_impl_list): Likewise.
11921 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11922 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11923 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11924 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11925 multiarch wcscpy for PPC64.
11926
11927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11928 multiarch implementations.
11929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11930 (__libc_ifunc_impl_list): Likewise.
11931 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11932 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11933 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11934 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11935 multiarch wcsrchr for PPC64.
11936
11937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11938 multiarch implementations.
11939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11940 (__libc_ifunc_impl_list): Likewise.
11941 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11942 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11943 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11944 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11945 multiarch wcschr for PPC64.
11946
11947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11948 multiarch implementations.
11949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11950 (__libc_ifunc_impl_list): Likewise.
11951 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11952 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11953 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11954 multiarch strchrnul for PPC64.
11955
11956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11957 implementations.
11958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11959 (__libc_ifunc_impl_list): Likewise.
11960 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11961 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11962 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11963 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11964 strchr for PPC64.
11965
11966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11967 implementations.
11968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11969 (__libc_ifunc_impl_list): Likewise.
11970 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11971 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11972 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11973 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11974 strncmp for PPC64.
11975
11976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11977 multiarch implementations.
11978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11979 (__libc_ifunc_impl_list): Likewise.
11980 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11981 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11982 strncasecmp for PPC64.
11983 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11984 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11985 multiarch strncasecmp_l for PPC64.
11986
11987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11988 multiarch implementations.
11989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11990 (__libc_ifunc_impl_list): Likewise.
11991 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11992 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11993 multiarch strcasecmp for PPC64.
11994 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11995 file.
11996 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11997 multiarch strcasecmp_l for PPC64.
11998
11999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12000 implementations.
12001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12002 (__libc_ifunc_impl_list): Likewise.
12003 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12004 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12005 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12006 strnlen for PPC64.
12007
12008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12009 implementations.
12010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12011 (__libc_ifunc_impl_list): Likewise.
12012 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12013 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12014 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12015 strlen for PPC64.
12016
12017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12018 implementations.
12019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12020 (__libc_ifunc_impl_list): Likewise.
12021 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12022 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12023 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12024 rawmemrchr for PPC64.
12025
12026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12027 implementation.
12028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12029 (__libc_ifunc_impl_list): Likewise.
12030 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12031 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12032 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12033 memrchr for PPC64.
12034
12035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12036 implementation.
12037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12038 (__libc_ifunc_impl_list): Likewise.
12039 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12040 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12041 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12042 memchr for PPC64.
12043
12044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12045 implementation.
12046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12047 (__libc_ifunc_impl_list): Likewise.
12048 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12049 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12050 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12051 mempcpy for PPC64.
12052
12053 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12054 avoid cretion of __bzero symbol.
12055 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12056 Likewise.
12057 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12058 Likewise.
12059 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12060 Likewise.
12061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12062 multiarch implementations.
12063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12064 (__libc_ifunc_impl_list): Likewise.
12065 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12066 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12067 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12068 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12069 bzero for PPC32.
12070 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12071 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12072 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12073 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12074 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12075 memset for PPC64.
12076 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12077
12078 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12080 implementations.
12081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12082 (__libc_ifunc_impl_list): Likewise.
12083 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12084 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12085 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12086 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12087 memcmp for PPC64.
12088
12089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12090 multiarch for POWER/PPC64.
12091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12092 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12093 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12094 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12095 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12096 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12097 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12098 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12099 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12100 memcpy for PPC64.
12101
12102 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12103 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12104 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12105 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12106 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12107 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12108 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12109 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12110 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12111 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12112 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12113 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12114 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12115 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12116 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12124
121252013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12126
12127 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12128
121292013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12130
12131 * benchtests/Makefile (bench): Add exp2 and log2.
12132 (LDLIBS-bench-exp2): Add -lm.
12133 (LDLIBS-bench-log2): Likewise.
12134 * benchtests/exp2-inputs: New inputs file.
12135 * benchtests/log2-inputs: New inputs file.
12136 * benchtests/log-inputs: Add new inputs.
12137 * benchtests/tan-inputs: Likewise.
12138
121392013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12140
12141 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12142 definition...
12143 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12144 (csloww2): ... from here.
12145
12146 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12147 instead of structures.
12148 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12149 (POLYNOMIAL): Likewise.
12150 (TAYLOR_SLOW): Likewise.
12151 (__sin): Likewise.
12152 (__cos): Likewise.
12153 (slow1): Likewise.
12154 (slow2): Likewise.
12155 (sloww): Likewise.
12156 (sloww1); Likewise.
12157 (sloww2): Likewise.
12158 (bsloww1): Likewise.
12159 (bsloww2): Likewise.
12160 (cslow2): Likewise.
12161 (csloww): Likewise.
12162 (csloww1): Likewise.
12163 (csloww2): Likewise.
12164
121652013-12-10 Ondřej Bílka <neleai@seznam.cz>
12166
12167 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12168 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12169 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12170 * malloc/hooks.c (realloc_check): Likewise.
12171
12172 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12173 * malloc/arena.c: Remove PER_THREAD conditional.
12174 [!PER_THREAD]: Remove code.
12175 (ptmalloc_unlock_all2): Likewise.
12176 (ptmalloc_init): Likewise.
12177 (_int_new_arena): Likewise.
12178 (arena_get2): Likewise.
12179 * malloc/hooks.c (__malloc_get_state): Likewise.
12180 (__malloc_set_state): Likewise.
12181 * malloc/malloc.c: Likewise.
12182 (struct malloc_state): Likewise.
12183 (struct malloc_par): Likewise.
12184 (__libc_realloc): Likewise.
12185 (__libc_mallopt): Likewise.
12186
121872013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12188
12189 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12190
121912013-12-09 Ondřej Bílka <neleai@seznam.cz>
12192
12193 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12194 macro to a function. Check for zero perturb_byte.
12195 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12196
12197 * malloc/malloc.c: (force_reg): Remove.
12198 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12199 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12200 force_reg by atomic_forced_read.
12201 * malloc/arena.c (ptmalloc_init): Likewise.
12202 * malloc/hooks.c (top_check): Likewise.
12203
122042013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12205
12206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12207
122082013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12209
12210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12211
122122013-12-08 Joseph Myers <joseph@codesourcery.com>
12213
12214 * math/auto-libm-test-in: Add tests of lgamma.
12215 * math/auto-libm-test-out: Regenerated.
12216 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12217 (M_LOG_2_SQRT_PIl): Likewise.
12218 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12219 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12220 mpfr_f_f1.
12221 (func_calc_desc): Add mpfr_f_f1 union field.
12222 (ARGS1): New macro.
12223 (ARGS2): Likewise.
12224 (ARGS3): Likewise.
12225 (ARGS4): Likewise.
12226 (RET1): Likewise.
12227 (RET2): Likewise.
12228 (CALC): Likewise.
12229 (FUNC): Likewise.
12230 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12231 (test_functions): Add lgamma.
12232 (calc_generic_results): Handle mpfr_f_f1.
12233 * sysdeps/i386/fpu/libm-test-ulps: Update.
12234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12235
122362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12237
12238 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12239 __mpn_add_n for PowerPC64/POWER7.
12240 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12241 __mpn_sub_n for PowerPC64/POWER7.
12242
12243 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12244 __mpn_addmul_1 for PowerPC64.
12245 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12246 __mpn_submul_1 for PowerPC64.
12247 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12248 for PowerPC64.
12249 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12250 for PowerPC64.
12251
122522013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12253
12254 [BZ #15089]
12255 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12256
122572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12258
12259 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12260
12261 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12262 add multiarch folders.
12263 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12264 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12265 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12266 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12267 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12268 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12269 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12270 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12271 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12272 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12273 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12280
12281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12282 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12284 New file.
12285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12286 New file.
12287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12288 multiarch __ieee754_hypot for PowerPC32.
12289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12290 New file.
12291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12292 New file.
12293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12294 multiarch __ieee754_hypotf for PowerPC32.
12295
12296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12297 long_double_symbol only if __logbl is defined.
12298 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12299 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12301 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12303 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12304 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12305 path for implementation.
12306 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12307 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12309 logb, and logbl multiarch implementations for PowerPC32.
12310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12311 file.
12312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12313 file.
12314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12315 multiarch logb for PowerPC32.
12316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12317 file.
12318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12319 file.
12320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12321 multiarch logbf for PowerPC32.
12322 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12324 file.
12325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12326 multiarch logbl implementation for PowerPC32.
12327
12328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12329 and modff multiarch implementations.
12330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12331 New file.
12332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12333 New file.
12334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12335 multiarch modf for PowerPC32.
12336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12337 New file.
12338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12339 New file.
12340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12341 multiarch modff for PowerPC32.
12342
12343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12344 and lrintf multiarch implementations.
12345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12346 New file.
12347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12348 New file.
12349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12350 multiarch lrint for PowerPC32.
12351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12352 file: multiarch lrintf for PowerPC32.
12353
12354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12355 and lroundf multiarch implementations.
12356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12357 New file.
12358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12359 New file.
12360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12361 New file.
12362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12363 multiarch lround for PowerPC32.
12364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12365 file: multiarch lroundf for PowerPC32.
12366
12367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12368 copysign and copysignf multiarch implementations.
12369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12370 New file.
12371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12372 New file.
12373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12374 file: multiarch copysign for PowerPC32.
12375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12376 file: multiarch copysignf for PowerPC32.
12377
12378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12379 and truncf multiarch implementations.
12380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12381 New file.
12382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12383 file.
12384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12385 multiarch trunc for PowerPC32.
12386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12387 New file.
12388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12389 New file.
12390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12391 multiarch truncf for PowerPC32.
12392
12393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12394 and roundf multiarch implementations.
12395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12396 New file.
12397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12398 file.
12399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12400 multiarch round for PowerPC32.
12401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12402 New file.
12403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12404 New file.
12405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12406 multiarch roundf for PowerPC32.
12407
12408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12409 and floorf multiarch implementations.
12410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12411 New file.
12412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12413 file.
12414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12415 multiarch floor for PowerPC32.
12416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12417 New file.
12418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12419 New file.
12420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12421 multiarch floorf for PowerPC32.
12422
12423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12424 and ceilf multiarch implementations.
12425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12426 New file.
12427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12428 file.
12429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12430 multiarch ceil for PowerPC32.
12431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12432 New file.
12433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12434 file.
12435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12436 multiarch ceilf for PowerPC32.
12437
12438 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12439 is defined.
12440 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12441 FINITEF is defined.
12442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12443 and finitef multiarch implementations.
12444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12445 New file.
12446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12447 file.
12448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12449 multiarch finite for PowerPC32.
12450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12451 New file.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12453 file: multiarch finitef for PowerPC32.
12454
12455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12456 and isinff multiarch implementations.
12457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12458 file.
12459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12460 file.
12461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12462 multiarch isinf for PowerPC32.
12463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12464 New file.
12465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12466 multiarch isinff for PowerPC32.
12467
12468 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12469 alias when __isnan is defined.
12470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12471 and isnanf multiarch implementations.
12472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12473 file.
12474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12475 file.
12476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12477 file.
12478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12479 file.
12480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12481 multiarch isnan for PowerPC32.
12482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12483 New file.
12484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12485 New file.
12486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12487 multiarch isnanf for PowerPC32.
12488
12489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12490 and sqrtf multiarch implementations.
12491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12492 file.
12493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12494 file.
12495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12496 multiarch sqrt for PowerPC32.
12497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12498 file.
12499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12500 file.
12501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12502 multiarch sqrtf for PowerPC32.
12503
12504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12505 and llroundf multiarch implementations.
12506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12507 New file.
12508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12509 New file.
12510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12511 New file.
12512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12513 file: multiarch llround for PowerPC32.
12514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12515 file: multiarch llroundf for PowerPC32.
12516
12517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12518 multiarch PowerPC32 fpu implementations.
12519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12520 New file.
12521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12522 New file.
12523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12524 multiarch llrint for PowerPC32.
12525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12526 New file.
12527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12528 New file.
12529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12530 file.
12531
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12533
12534 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12535 file.
12536 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12537 file.
12538 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12539 file.
12540 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12541 multiarch wordcopy for PPC32.
12542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12543 wordcopy objects.
12544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12545 (__libc_ifunc_impl_list): Likewise.
12546 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12547 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12548 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12549 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12550 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12551 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12552
12553 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12555 file.
12556 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12557 file.
12558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12559 file.
12560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12561 multiarch wcscpy for PPC32.
12562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12563 multiarch objects.
12564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12565 (__libc_ifunc_impl_list): Likewise.
12566 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12567 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12568 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12569 sysdeps/powerpc/power6/wcscpy.c.
12570
12571 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12573 file.
12574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12575 file.
12576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12577 file.
12578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12579 multiarch wcsrchr for PPC32.
12580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12581 multiarch objects.
12582 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12583 (__libc_ifunc_impl_list): Likewise.
12584 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12585 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12586 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12587 sysdeps/powerpc/power6/wcsrchr.c.
12588
12589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12590 file.
12591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12592 file.
12593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12595 multiarch wcschr for PPc32.
12596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12597 multiarch objects.
12598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12599 (__libc_ifunc_impl_list): Likewise.
12600 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12601 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12602 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12603 sysdeps/powerpc/power6/wcschr.c.
12604
12605 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12606 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12607 file.
12608 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12609 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12610 file: multiarch strchr for PPC32.
12611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12612 multiarch objects.
12613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12614 (__libc_ifunc_impl_list): Likewise.
12615
12616 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12617 name.
12618 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12619 file.
12620 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12621 file.
12622 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12623 multiarch strchrnul for PPC32.
12624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12625 multiarch objects.
12626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12627 (__libc_ifunc_impl_list): Likewise.
12628
12629 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12630 file.
12631 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12632 multiarch strncasecmp for PPC32.
12633 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12634 file.
12635 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12636 multiarch strncasecmp_l for PPC32.
12637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12638 strncasecmp multiarch objects.
12639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12640 (__libc_ifunc_impl_list): Likewise.
12641
12642 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12643 file.
12644 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12645 multiarch strncasecmp for PPC32.
12646 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12647 New file.
12648 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12649 multiarch strcasecmp_l for PPC32.
12650 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12651 multiarch objects.
12652 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12653 (__libc_ifunc_impl_list): Likewise.
12654
12655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12656 file.
12657 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12658 file.
12659 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12660 multiarch strncmp for PPC32.
12661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12662 multiarch objects.
12663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12664 (__libc_ifunc_impl_list): Likewise.
12665
12666 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12667 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12668 file.
12669 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12670 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12672 multiarch objects.
12673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12674 (__libc_ifunc_impl_list): Likewise.
12675
12676 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12677 file.
12678 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12679 file.
12680 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12682 multiarch objects.
12683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12684 (__libc_ifunc_impl_list): Likewise.
12685
12686 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12687 file.
12688 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12689 file.
12690 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12691 multiarch rawmemchr for PPC32.
12692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12693 multiarch objects.
12694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12695 (__libc_ifunc_impl_list): Likewise.
12696
12697 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12698 file.
12699 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12700 file.
12701 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12702 file: memrchr multiarch for PPC32.
12703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12704 multiarch objects.
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12706 (__libc_ifunc_impl_list): Likewise.
12707
12708 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12709 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12710 file.
12711 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12712 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12713 multiarch memchr for PPC32.
12714 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12715 multiarch objects.
12716 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12717 (__libc_ifunc_impl_list): Likewise.
12718
12719 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12721 file.
12722 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12723 file.
12724 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12725 file: multiarch mempcpy for PPC32.
12726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12727 multiarch objects.
12728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12729 (__libc_ifunc_impl_list): Likewise.
12730
12731 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12732 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12733 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12734 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12735 multiarch bzero for PPC32.
12736 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12737 file.
12738 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12739 file.
12740 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12741 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12742 file: multiarch memset for PPC32.
12743 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12745 memset multiarch objects.
12746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12747 (__libc_ifunc_impl_list): Likewise.
12748
12749 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12750 file.
12751 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12752 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12753 memcmp for PPC32.
12754 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12756 multiarch objects.
12757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12758 (__libc_ifunc_impl_list): Likewise.
12759
12760 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12761 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12762 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12763 file.
12764 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12765 file.
12766 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12767 file.
12768 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12769 multiarch memcpy for PPC32.
12770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12771 multiarch objects.
12772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12773 (__libc_ifunc_impl_list): Likewise.
12774
12775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12776 support multiarch for POWER/PPC32.
12777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12778 Likewise.
12779 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12781 Implies file to make multiarch folder appers before the fpu and
12782 default folder for power4 configuration.
12783
127842013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12785
12786 * scripts/bench.pl: Append volatile keyword to type.
12787
127882013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12789
12790 * sysdeps/sh/sotruss-lib.c: New file.
12791 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12792
127932013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12794
12795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12796
127972013-12-05 Joseph Myers <joseph@codesourcery.com>
12798
12799 [BZ #6810]
12800 * math/w_tgamma.c: Include <errno.h>.
12801 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12802 * math/w_tgammaf.c: Include <errno.h>.
12803 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12804 * math/w_tgammal.c: Include <errno.h>.
12805 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12806 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12807 underflow. Add more tgamma tests.
12808 * math/auto-libm-test-out: Regenerated.
12809 * sysdeps/i386/fpu/libm-test-ulps: Update.
12810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12811
12812 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12813 sin, sinh, tan, tanh, tgamma, y0 and y1.
12814 * math/auto-libm-test-out: Regenerated.
12815 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12816 (TEST_COND_x86): Likewise.
12817 (M_E2l): Remove macro.
12818 (M_E3l): Likewise.
12819 (M_2_SQRT_PIl): Likewise.
12820 (M_SQRT_PIl): Likewise.
12821 (M_1_DIV_El): Likewise.
12822 (log_test_data): Use AUTO_TESTS_f_f.
12823 (log10_test_data): Likewise.
12824 (log1p_test_data): Likewise.
12825 (log2_test_data): Likewise.
12826 (sin_test_data): Likewise.
12827 (sin_tonearest_test_data): Likewise.
12828 (sin_towardzero_test_data): Likewise.
12829 (sin_downward_test_data): Likewise.
12830 (sin_upward_test_data): Likewise.
12831 (sinh_test_data): Likewise.
12832 (sinh_tonearest_test_data): Likewise.
12833 (sinh_towardzero_test_data): Likewise.
12834 (sinh_downward_test_data): Likewise.
12835 (sinh_upward_test_data): Likewise.
12836 (tan_test_data): Likewise.
12837 (tan_tonearest_test_data): Likewise.
12838 (tan_towardzero_test_data): Likewise.
12839 (tan_downward_test_data): Likewise.
12840 (tan_upward_test_data): Likewise.
12841 (tanh_test_data): Likewise.
12842 (tgamma_test_data): Likewise.
12843 (y0_test_data): Likewise.
12844 (y1_test_data): Likewise.
12845 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12846 (special_real_inputs): Add pi/4.
12847 * sysdeps/i386/fpu/libm-test-ulps: Update.
12848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12849
128502013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12851
12852 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12853 "longjmp_target" static probes.
12854 (__longjmp): Rename to __longjmp_symbol.
12855 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12856 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12857 on which longjmp to generate.
12858 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12859 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12860 probe.
12861 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12862 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12863 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12864 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12865 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12866 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12868 __longjmp_symbol based on which __longjmp to generate.
12869 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12870 probe.
12871 (setjmp): Rename to setjmp_symbol.
12872 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12873 (_setjmp): Rename to _setjmp_symbol.
12874 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12875 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12876 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12877 which setjmp to generate.
12878 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12879 "longjmp_target" static probes.
12880
128812013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12882
12883 * benchtests/README: Add note about output arguments.
12884 * benchtests/bench-sincos.c: Remove file.
12885 * benchtests/sincos-inputs: New file.
12886 * scripts/bench.pl: Identify output arguments and define
12887 static variables for them.
12888
12889 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12890
12891 [BZ #15941]
12892 * Makefile (INSTALL): Add install-plain.texi as the primary
12893 dependency.
12894 * manual/install-plain.texi: New file.
12895 * manual/install.texi: Include node directive only for
12896 non-plaintext output.
12897
128982013-12-04 Joseph Myers <joseph@codesourcery.com>
12899
12900 * stdlib/longlong.h: Update from GCC.
12901
12902 [BZ #6807]
12903 [BZ #15901]
12904 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12905 * math/w_j0f.c (y0f): Likewise.
12906 * math/w_j0l.c (__y0l): Likewise.
12907 * math/w_j1.c (y1): Likewise.
12908 * math/w_j1f.c (y1f): Likewise.
12909 * math/w_j1l.c (__y1l): Likewise
12910 * math/w_jn.c (yn): Likewise.
12911 * math/w_jnf.c (ynf): Likewise.
12912 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12913 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12914 value for Bessel function domain errors outside _SVID_ mode.
12915 Adjust sign of return value for yn (negative integer, 0).
12916 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12917 by zero in return for negative x and set sign appropriately for
12918 negative n.
12919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12921 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12922 expectations in error cases.
12923 (y1_test_data): Likewise.
12924 (yn_test_data): Likewise.
12925 * sysdeps/i386/fpu/libm-test-ulps: Update.
12926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12927
129282013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12929
12930 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12931 "64" to "64-v1". Add "64-v2".
12932 (abi-64-options): Rename to ...
12933 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12934 (abi-64-condition): Rename to ...
12935 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12936 (abi-64-ld-soname): Rename to ...
12937 (abi-64-v1-ld-soname): ... this.
12938 (abi-64-v2-options): Define.
12939 (abi-64-v2-condition): Likewise.
12940 (abi-64-v2-ld-soname): Likewise.
12941 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12942 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12946
129472013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12948 Alan Modra <amodra@gmail.com>
12949
12950 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12951 New versions for use with the ELFv2 ABI.
12952 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12953 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12954 declaration.
12955 (struct La_ppc64v2_retval): Likewise.
12956 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12957 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12958 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12959 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12960 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12961 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12962 Do not save or restore CR.
12963 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12964 (_dl_profile_resolve): Do no save or restore CR. Support extended
12965 return values for ELFv2 ABI. Fix location of FPR return registers.
12966 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12967 updated values for _CALL_ELF == 2.
12968 (La_regs, La_retval, int_retval): Likewise.
12969
129702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12971
12972 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12973 (FRAME_MIN_SIZE_PARM): Likewise.
12974 (FRAME_BACKCHAIN): Likewise.
12975 (FRAME_CR_SAVE): Likewise.
12976 (FRAME_LR_SAVE): Likewise.
12977 (FRAME_TOC_SAVE): Likewise.
12978 (FRAME_PARM_SAVE): Likewise.
12979 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12980 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12981 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12982 (call_mcount_parm_offset): New macro.
12983 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12984 (PROF): Use symbolic stack frame offsets.
12985 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12986 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12987 Redefine in terms of FRAME_MIN_SIZE.
12988 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12989 (_dl_profile_resolve): Likewise. Update comment.
12990 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12991 symbols stack frame offsets.
12992 (__sigsetjmp): Likewise.
12993 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12994 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12995 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12996 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12997
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12999 (FRAME_BACKCHAIN): Remove.
13000 (FRAME_CR_SAVE): Likewise.
13001 (FRAME_LR_SAVE): Likewise.
13002 (FRAME_COMPILER_DW): Likewise.
13003 (FRAME_LINKER_DW): Likewise.
13004 (FRAME_TOC_SAVE): Likewise.
13005 (FRAME_PARM_SAVE): Likewise.
13006 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13007 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13008 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13010 (CHECK_SP): Use symbolic stack frame offsets.
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13012 zone" instead of caller's parameter save area for temp storage.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13014 Likewise. Also, use symbolic stack frame offsets.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13016 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13017 our own stack frame instead of the caller's.
13018 (__socket): Use symbolic stack frame offsets.
13019
130202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13021 Alan Modra <amodra@gmail.com>
13022
13023 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13024 Define.
13025 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13026 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13027 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13028 New function.
13029 (elf_machine_fixup_plt): Call it.
13030 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13031 reloc arguments.
13032 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13033 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13034 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13035 r2 before calling target.
13036
130372013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13038 Alan Modra <amodra@gmail.com>
13039
13040 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13041 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13042 versions of macros to support ELFv2 ABI.
13043 (LOCALENTRY): New macro.
13044 (ENTRY, EALIGN): Use it.
13045 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13046 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13047 fall through into ENTRY entry point.
13048 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13049 Only define if _CALL_ELF != 2.
13050
13051 (elf_machine_matches_host): Verify ABI version matches.
13052 (RTLD_START): Use LOCALENTRY.
13053 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13054 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13055 (PLT_ENTRY_WORDS): New macro.
13056 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13057 (elf_machine_runtime_setup): Support ELFv2 ABI.
13058 (elf_machine_fixup_plt): Likewise.
13059 (elf_machine_plt_conflict): Likewise.
13060 (resolve_ifunc): Likewise.
13061 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13062 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13063 Likewise.
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13065 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13067 (makecontext): Support ELFv2 ABI.
13068 * elf/elf.h (EF_PPC64_ABI): Define.
13069
130702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13071
13072 * sysdeps/powerpc/powerpc64/sysdep.h
13073 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13074 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13075 (ENTRY) [ASSEMBLER]: ... but instead here ...
13076 (EALIGN) [ASSEMBLER]: ... and here.
13077 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13078 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13079 (ENTRY_2) [!ASSEMBLER]: Use it.
13080 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13081 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13082 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13083 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13084 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13086 Use PPC64_LOAD_FUNCPTR.
13087
13088 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13089
130902013-12-04 Alan Modra <amodra@gmail.com>
13091
13092 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13093 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13094 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13095 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13096
13097 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13098 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13099 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13100 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13101 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13102 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13103
131042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13105
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13107 (__makecontext): Fix incorrect CFI when backtracing out of
13108 context created via makecontext.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13110 (__setcontext): Fix incorrect CFI during switch to new context.
13111 (__novec_setcontext): Likewise.
13112
131132013-12-04 Ondřej Bílka <neleai@seznam.cz>
13114
13115 [BZ #4772]
13116 * time/strptime_l.c (__strptime_internal): Allow modifiers
13117 in strptime.
13118 * time/tst-strptime.c (day_tests): Add testcase.
13119
131202013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13121
13122 * scripts/bench.pl: Skip over blank lines.
13123
131242013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13125
13126 [BZ #926]
13127 * manual/time.texi (Calendar Time): Clarify what timezone functions
13128 use.
13129
131302013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13131
13132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13133
131342013-12-04 Ondřej Bílka <neleai@seznam.cz>
13135
13136 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13137 implementation.
13138 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13139 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13140 * debug/memset_chk.c (__memset_chk): Likewise.
13141 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13142 * debug/strncpy_chk.c: Likewise.
13143
131442013-12-03 Joseph Myers <joseph@codesourcery.com>
13145
13146 [BZ #15268]
13147 [BZ #15425]
13148 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13149 (__ieee754_exp): For possibly underflowing results, check size of
13150 result and force underflow exception if required.
13151 * math/auto-libm-test-in: Add more tests of exp.
13152 * math/auto-libm-test-out: Regenerated.
13153 * sysdeps/i386/fpu/libm-test-ulps: Update.
13154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13155
13156 [BZ #16283]
13157 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13158 * math/w_exp2f.c (__exp2f): Likewise.
13159 * math/w_exp2l.c (__exp2l): Likewise.
13160 * math/auto-libm-test-in: Do not allow missing errno on exp2
13161 underflow.
13162 * math/auto-libm-test-out: Regenerated.
13163
131642013-12-03 Ondřej Bílka <neleai@seznam.cz>
13165
13166 [BZ #16274]
13167 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13168 handle filename validation.
13169 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13170 (do_open): Delete.
13171
131722013-12-03 Joseph Myers <joseph@codesourcery.com>
13173
13174 [BZ #6786]
13175 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13176 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13177 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13178 <float.h>.
13179 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13180 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13181 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13182 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13183 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13184 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13185 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13186 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13187 Add more erfc tests.
13188 * math/auto-libm-test-out: Regenerated.
13189 * sysdeps/i386/fpu/libm-test-ulps: Update.
13190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13191
13192 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13193 exp2, expm1, j0 and j1.
13194 * math/auto-libm-test-out: Regenerated.
13195 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13196 (erfc_test_data): Likewise.
13197 (exp_test_data): Likewise.
13198 (exp_tonearest_test_data): Likewise.
13199 (exp_towardzero_test_data): Likewise.
13200 (exp_downward_test_data): Likewise.
13201 (exp_upward_test_data): Likewise.
13202 (exp10_test_data): Likewise.
13203 (exp2_test_data): Likewise.
13204 (expm1_test_data): Likewise.
13205 (j0_test_data): Likewise.
13206 (j1_test_data): Likewise.
13207 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13208 (input_flag_type): Add flag_xfail_rounding.
13209 (input_flags): Add xfail-rounding.
13210 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13211 (output_for_one_input_case): Handle flag_xfail_rounding.
13212 * sysdeps/i386/fpu/libm-test-ulps: Update.
13213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13214
132152013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13216
13217 [BZ #16289]
13218 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13219 division by 0.
13220
132212013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13222
13223 [BZ #16195]
13224 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13225 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13226 (STAP_PROBE0): New macro.
13227 (STAP_PROBE1): Likewise.
13228 (STAP_PROBE2): Likewise.
13229 (STAP_PROBE3): Likewise.
13230 (STAP_PROBE4): Likewise.
13231
132322013-12-02 Ondřej Bílka <neleai@seznam.cz>
13233
13234 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13235
132362013-12-02 Steve Ellcey <sellcey@mips.com>
13237
13238 * benchtests/Makefile (bench): Add sqrt.
13239 (LDLIBS-bench-sqrt): New.
13240 * benchtests/sqrt-input: New.
13241
132422013-12-02 Pavel Simerda <psimerda@redhat.com>
13243
13244 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13245 (GAIH_EAI): Likewise.
13246 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13247 (gaih_inet): Likewise.
13248 (getaddrinfo): Don't use GAIH_EAI.
13249
13250 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13251 (struct gaih): Remove definition.
13252
132532013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13254
13255 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13256 Use HERRNOP directly.
13257
132582013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13259
13260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13261
132622013-11-30 Joseph Myers <joseph@codesourcery.com>
13263
13264 * math/gen-auto-libm-tests.c (test_functions): Add more
13265 single-argument functions.
13266 (special_fill_pi_2): New function.
13267 (special_fill_minus_pi_2): Likewise.
13268 (special_fill_pi_6): Likewise.
13269 (special_fill_minus_pi_6): Likewise.
13270 (special_fill_pi_3): Likewise.
13271 (special_fill_2pi_3): Likewise.
13272 (special_fill_e): Likewise.
13273 (special_fill_1_e): Likewise.
13274 (special_fill_e_minus_1): Likewise.
13275 (special_real_inputs): Add more special inputs.
13276 (output_for_one_input_case): Do not require ERANGE on underflow to
13277 zero if round-to-nearest result does not underflow to zero, unless
13278 exact results required.
13279 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13280 atan, atanh, cbrt, cos and cosh.
13281 * math/auto-libm-test-out: Regenerated.
13282 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13283 (acos_tonearest_test_data): Likewise.
13284 (acos_towardzero_test_data): Likewise.
13285 (acos_downward_test_data): Likewise.
13286 (acos_upward_test_data): Likewise.
13287 (acosh_test_data): Likewise.
13288 (asin_test_data): Likewise.
13289 (asin_tonearest_test_data): Likewise.
13290 (asin_towardzero_test_data): Likewise.
13291 (asin_upward_test_data): Likewise.
13292 (asinh_test_data): Likewise.
13293 (atan_test_data): Likewise.
13294 (atanh_test_data): Likewise.
13295 (cbrt_test_data): Likewise.
13296 (cos_test_data): Likewise.
13297 (cos_tonearest_test_data): Likewise.
13298 (cos_towardzero_test_data): Likewise.
13299 (cos_downward_test_data): Likewise.
13300 (cos_upward_test_data): Likewise.
13301 (cosh_test_data): Likewise.
13302 (cosh_tonearest_test_data): Likewise.
13303 (cosh_towardzero_test_data): Likewise.
13304 (cosh_downward_test_data): Likewise.
13305 (cosh_upward_test_data): Likewise.
13306 * sysdeps/i386/fpu/libm-test-ulps: Update.
13307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13308
133092013-11-29 Joseph Myers <joseph@codesourcery.com>
13310
13311 [BZ #6787]
13312 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13313 * math/w_exp10f.c (__exp10f): Likewise.
13314 * math/w_exp10l.c (__exp10l): Likewise.
13315 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13316 errno settings in existing tests.
13317
13318 [BZ #14032]
13319 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13320 precision control set to double precision.
13321 * sysdeps/i386/fpu/w_sqrt.c: New file.
13322 * math/auto-libm-test-in: Add more tests.
13323 * math/auto-libm-test-out: Update.
13324
13325 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13326 (sqrt_test_tonearest): New function.
13327 (sqrt_towardzero_test_data): New variable.
13328 (sqrt_test_towardzero): New function.
13329 (sqrt_downward_test_data): New variable.
13330 (sqrt_test_downward): New function.
13331 (sqrt_upward_test_data): New variable.
13332 (sqrt_test_upward): New function.
13333 (main): Call the new functions.
13334
13335 * math/gen-auto-libm-tests.c: New file.
13336 * math/auto-libm-test-in: Likewise.
13337 * math/auto-libm-test-out: New generated file.
13338 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13339 variables.
13340 (%beautify): Add generated representations of zero.
13341 (top level): Set $auto_input and call parse_auto_input.
13342 (beautify): Remove trailing "f" from hex float constants.
13343 (parse_args): Handle XFAIL_TEST.
13344 (convert_condition): New function.
13345 (or_value): Likewise.
13346 (or_cond_value): Likewise.
13347 (generate_testfile): Handle AUTO_TESTS_* lines.
13348 (parse_auto_input): New function.
13349 * math/libm-test.inc (XFAIL_TEST): New macro.
13350 (ERRNO_UNCHANGED): Update value.
13351 (ERRNO_EDOM): Likewise.
13352 (ERRNO_ERANGE): Likewise.
13353 (IGNORE_RESULT): Likewise.
13354 (TEST_COND_flt_32): New macro.
13355 (TEST_COND_dbl_64): Likewise.
13356 (TEST_COND_ldbl_96_intel): Likewise.
13357 (TEST_COND_ldbl_96_m68k): Likewise.
13358 (TEST_COND_ldbl_128): Likewise.
13359 (TEST_COND_ldbl_128ibm): Likewise.
13360 (TEST_COND_long32): Likewise.
13361 (TEST_COND_long64): Likewise.
13362 (TEST_COND_before_rounding): Likewise.
13363 (TEST_COND_after_rounding): Likewise.
13364 (enable_test): Handle XFAIL_TEST flag.
13365 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13366 with finite results.
13367 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13368 auto-libm-test-out.
13369
133702013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13371 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13372
13373 [BZ #16214]
13374 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13375 __tls_get_addr_internal instead of __tls_get_offset in order to
13376 avoid GOT pointer dependency. Make rtld export
13377 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13378 __tls_get_addr since we are a __tls_get_offset platform.
13379 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13380 GOT pointer being set up before.
13381 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13382
133832013-11-28 Joseph Myers <joseph@codesourcery.com>
13384
13385 * manual/math.texi (Errors in Math Functions): Document accuracy
13386 goals.
13387
13388 [BZ #15004]
13389 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13390 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13393 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13395 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13405
13406 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13407 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13408 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13409 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13410 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13411 Likewise.
13412 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13413 Likewise.
13414 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13415 Likewise.
13416 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13417 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13418 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13419 atomic-feupdateenv and flt-rounds.
13420 * sysdeps/powerpc/nofpu/Versions (libc): Add
13421 __atomic_feholdexcept, __atomic_feclearexcept,
13422 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13423 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13424 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13425 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13426 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13427 here.
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13429 Update.
13430
13431 * manual/arith.texi (FP Exceptions): Document that exceptions may
13432 not be raised when matherr is used.
13433 (Math Error Reporting): Document overflow in directed rounding
13434 modes. Document that errno may not be set when finite values are
13435 returned on overflow. Document intent to set errno on underflow
13436 only for underflow to zero.
13437
13438 [BZ #16271]
13439 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13440 round-to-nearest then adjust result for other rounding modes.
13441 * include/fenv.h (fegetround): Use libm_hidden_proto.
13442 * math/fegetround.c (fegetround): Use libm_hidden_def.
13443 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13444 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13445 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13446 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13447 Likewise.
13448 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13449 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13450 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13451 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13452
134532013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13454
13455 [BZ #16077]
13456 * nss/Versions (libnss_files): Add
13457 _nss_files_gethostbyname3_r.
13458 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13459 New function.
13460 (HOST_DB_LOOKUP): Remove macro.
13461 (_nss_files_gethostbyname_r): Implement function without the
13462 HOST_DB_LOOKUP macro.
13463 (_nss_files_gethostbyname2_r): Likewise.
13464
134652013-11-28 Ondřej Bílka <neleai@seznam.cz>
13466
13467 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13468
134692013-11-26 Uros Bizjak <ubizjak@gmail.com>
13470
13471 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13472 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13473 warning.
13474
134752013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13476
13477 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13478 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13479 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13480 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13481 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13482 __fe_nomask_env_priv and attribute_hidden.
13483 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13484 (libc_feupdateenv_test_ppc): Likewise.
13485 (libc_feresetround_ppc): Likewise.
13486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13487 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13488 compat_symbol macro.
13489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13490 (__fe_nomask_env): Likewise.
13491 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13492
134932013-11-26 Ondřej Bílka <neleai@seznam.cz>
13494
13495 * string/Makefile: Remove ifunc tests.
13496 * string/test-string.h: Define TEST_IFUNC.
13497 * string/test-bcopy-ifunc.c: Remove.
13498 * string/test-bzero-ifunc.c: Likewise.
13499 * string/test-memccpy-ifunc.c: Likewise.
13500 * string/test-memchr-ifunc.c: Likewise.
13501 * string/test-memcmp-ifunc.c: Likewise.
13502 * string/test-memcpy-ifunc.c: Likewise.
13503 * string/test-memmem-ifunc.c: Likewise.
13504 * string/test-memmove-ifunc.c: Likewise.
13505 * string/test-mempcpy-ifunc.c: Likewise.
13506 * string/test-memrchr-ifunc.c: Likewise.
13507 * string/test-memset-ifunc.c: Likewise.
13508 * string/test-rawmemchr-ifunc.c: Likewise.
13509 * string/test-stpcpy-ifunc.c: Likewise.
13510 * string/test-stpncpy-ifunc.c: Likewise.
13511 * string/test-strcasecmp-ifunc.c: Likewise.
13512 * string/test-strcasestr-ifunc.c: Likewise.
13513 * string/test-strcat-ifunc.c: Likewise.
13514 * string/test-strchr-ifunc.c: Likewise.
13515 * string/test-strchrnul-ifunc.c: Likewise.
13516 * string/test-strcmp-ifunc.c: Likewise.
13517 * string/test-strcpy-ifunc.c: Likewise.
13518 * string/test-strcspn-ifunc.c: Likewise.
13519 * string/test-strlen-ifunc.c: Likewise.
13520 * string/test-strncasecmp-ifunc.c: Likewise.
13521 * string/test-strncat-ifunc.c: Likewise.
13522 * string/test-strncmp-ifunc.c: Likewise.
13523 * string/test-strncpy-ifunc.c: Likewise.
13524 * string/test-strnlen-ifunc.c: Likewise.
13525 * string/test-strpbrk-ifunc.c: Likewise.
13526 * string/test-strrchr-ifunc.c: Likewise.
13527 * string/test-strspn-ifunc.c: Likewise.
13528 * string/test-strstr-ifunc.c: Likewise.
13529
135302013-11-26 Ondřej Bílka <neleai@seznam.cz>
13531
13532 * benchtests/Makefile: Remove ifunc tests.
13533 * benchtests/bench-string.h: Define TEST_IFUNC.
13534 * benchtests/bench-bcopy-ifunc.c: Remove.
13535 * benchtests/bench-bzero-ifunc.c: Likewise.
13536 * benchtests/bench-memccpy-ifunc.c: Likewise.
13537 * benchtests/bench-memchr-ifunc.c: Likewise.
13538 * benchtests/bench-memcmp-ifunc.c: Likewise.
13539 * benchtests/bench-memcpy-ifunc.c: Likewise.
13540 * benchtests/bench-memmem-ifunc.c: Likewise.
13541 * benchtests/bench-memmove-ifunc.c: Likewise.
13542 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13543 * benchtests/bench-memrchr-ifunc.c: Likewise.
13544 * benchtests/bench-memset-ifunc.c: Likewise.
13545 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13546 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13547 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13548 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13549 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13550 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13551 * benchtests/bench-strcat-ifunc.c: Likewise.
13552 * benchtests/bench-strchr-ifunc.c: Likewise.
13553 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13554 * benchtests/bench-strcmp-ifunc.c: Likewise.
13555 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13556 * benchtests/bench-strcpy-ifunc.c: Likewise.
13557 * benchtests/bench-strcspn-ifunc.c: Likewise.
13558 * benchtests/bench-strlen-ifunc.c: Likewise.
13559 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13560 * benchtests/bench-strncat-ifunc.c: Likewise.
13561 * benchtests/bench-strncmp-ifunc.c: Likewise.
13562 * benchtests/bench-strncpy-ifunc.c: Likewise.
13563 * benchtests/bench-strnlen-ifunc.c: Likewise.
13564 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13565 * benchtests/bench-strrchr-ifunc.c: Likewise.
13566 * benchtests/bench-strsep-ifunc.c: Likewise.
13567 * benchtests/bench-strspn-ifunc.c: Likewise.
13568 * benchtests/bench-strstr-ifunc.c: Likewise.
13569
135702013-11-26 Ondřej Bílka <neleai@seznam.cz>
13571
13572 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13573
135742013-11-26 Ondřej Bílka <neleai@seznam.cz>
13575
13576 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13577 * rt/aio.h: Likewise.
13578 * sysdeps/gnu/bits/utmp.h: Likewise.
13579 * sysdeps/gnu/bits/utmpx.h: Likewise.
13580 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13581 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13582 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13583 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13584 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13585 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13586 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13587 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13588 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13589 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13590 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13591 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13592 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13594 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13595 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13596 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13597 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13598 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13599 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13600 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13601 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13602 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13603 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13604 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13606 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13607 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13608 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13609 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13610 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13611 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13612 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13613 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13614 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13615 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13616 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13617 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13618 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13619 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13620 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13621 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13622
136232013-11-25 Carlos O'Donell <carlos@redhat.com>
13624
13625 [BZ #16245]
13626 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13627 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13628
136292013-11-25 Joseph Myers <joseph@codesourcery.com>
13630
13631 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13632 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13633 Likewise.
13634
136352013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13636
13637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13638 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13639 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13640 (__fesetround): Remove define.
13641 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13642 rounding and exceptions handling.
13643 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13644 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13645 (__fe_nomask_env): Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13647 __fegetround instead of fegetround.
13648 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13649 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13650
136512013-11-21 Roland McGrath <roland@hack.frob.com>
13652
13653 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13654 it's there.
13655
13656 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13657
136582013-11-21 Meador Inge <meadori@codesourcery.com>
13659
13660 [BZ #11157]
13661 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13662 (encrypt_r): Likewise.
13663 * malloc/obstack.h (obstack_free): Likewise.
13664 * posix/unistd.h (encrypt): Likewise.
13665
136662013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13667
13668 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13669 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13670 DL_CALL_DT_FINI() that call the functions directly.
13671 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13672 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13673 * elf/dl-fini.c: Likewise.
13674
136752013-11-20 Ondřej Bílka <neleai@seznam.cz>
13676
13677 * malloc/hooks.c (memalign_check): Add alignment rounding.
13678 * malloc/malloc.c (_mid_memalign): New function.
13679 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13680 Implement by calling _mid_memalign.
13681 * manual/probes.texi (Memory Allocation Probes): Remove
13682 memory_valloc_retry and memory_pvalloc_retry.
13683
136842013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13685
13686 * locale/programs/locarchive.c (open_archive): Add const
13687 qualifier to ARCHIVEFNAME and copy default fname to
13688 DEFAULT_FNAME.
13689
13690 [BZ #15601]
13691 * libio/tst-widetext.input: Rename Oriya to Odia.
13692 * locale/iso-639.def: Likewise.
13693
13694 * manual/probes.texi (Mathematical Function Probes): Add
13695 documentation for sin, cos, asin and acos probes.
13696 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13697 (__sin32): Add slowasin probe.
13698 (__cos32): Add slowacos probe.
13699 (__mpsin): Add slowsin probe.
13700 (__mpcos): Add slowcos probe.
13701
137022013-11-19 Joseph Myers <joseph@codesourcery.com>
13703
13704 [BZ #15483]
13705 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13706 thread-local __sim_exceptions_thread and global
13707 __sim_exceptions_global.
13708 (__sim_disabled_exceptions): Change to thread-local
13709 __sim_disabled_exceptions_thread and global
13710 __sim_disabled_exceptions_global.
13711 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13712 and global __sim_round_mode_global.
13713 (__simulate_exceptions): Use thread-local floating-point state and
13714 set global state from it as needed.
13715 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13716 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13717 __sim_round_mode_thread.
13718 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13719 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13720 and global __sim_exceptions_global.
13721 (__sim_disabled_exceptions): Change to thread-local
13722 __sim_disabled_exceptions_thread and global
13723 __sim_disabled_exceptions_global.
13724 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13725 and global __sim_round_mode_global.
13726 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13727 (SIM_SET_GLOBAL): Likewise.
13728 * sysdeps/powerpc/soft-fp/sfp-machine.h
13729 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13730 __sim_round_mode_thread.
13731 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13732 __sim_disabled_exceptions_thread.
13733 (__sim_exceptions): Change to __sim_exceptions_thread.
13734 (__sim_disabled_exceptions): Change to
13735 __sim_disabled_exceptions_thread.
13736 (__sim_round_mode): Change to __sim_round_mode_thread.
13737 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13738 thread-local floating-point state and set global state from it as
13739 needed.
13740 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13741 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13742 (__sim_disabled_exceptions): Remove extern declaration.
13743 (feenableexcept): Use thread-local floating-point state and set
13744 global state from it as needed.
13745 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13746 extern declaration.
13747 (__sim_disabled_exceptions): Likewise.
13748 (__sim_round_mode): Likewise.
13749 (__fegetenv): Use thread-local floating-point state.
13750 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13751 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13752 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13753 floating-point state and set global state from it as needed.
13754 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13755 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13756 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13757 Likewise.
13758 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13759 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13760 Likewise.
13761 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13762 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13763 Use __sim_round_mode_thread.
13764 * math/test-fenv-tls.c: New file.
13765 * math/Makefile (tests): Add test-fenv-tls.
13766 ($(objpfx)test-fenv-tls): Depend on
13767 $(common-objpfx)nptl/libpthread.so.
13768
137692013-11-19 Andreas Schwab <schwab@suse.de>
13770
13771 * locale/programs/locale.c (show_info): Decode wordarray elements.
13772 * locale/categories.def (LC_MONETARY): Add element for
13773 _NL_MONETARY_CRNCYSTR.
13774 * locale/C-monetary.c (conversion_rate): New variable.
13775 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13776 element.
13777
137782013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13779
13780 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13781 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13782
137832013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13784
13785 * elf/Makefile (tst-auxv): New test.
13786 * elf/tst-auxv.c: New
13787 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13788
137892013-11-18 Joseph Myers <joseph@codesourcery.com>
13790
13791 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13792 (hidden_proto): Caller changed.
13793 (hidden_tls_proto): New macro.
13794 (libc_hidden_tls_proto): Likewise.
13795 (rtld_hidden_tls_proto): Likewise.
13796 (libm_hidden_tls_proto): Likewise.
13797 (libresolv_hidden_tls_proto): Likewise.
13798 (librt_hidden_tls_proto): Likewise.
13799 (libdl_hidden_tls_proto): Likewise.
13800 (libnss_files_hidden_tls_proto): Likewise.
13801 (libnsl_hidden_tls_proto): Likewise.
13802 (libnss_nisplus_hidden_tls_proto): Likewise.
13803 (libutil_hidden_tls_proto): Likewise.
13804
138052013-11-18 Ondřej Bílka <neleai@seznam.cz>
13806
13807 [BZ #10253]
13808 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13809 (decompose_rpath): Defer expansion to fillin_rpath.
13810 (_dl_init_paths): Pass linkmap to fillin_rpath.
13811
138122013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13813
13814 * benchtests/Makefile: Add strsep.
13815 * benchtests/bench-strsep.c: New file: strsep benchtest.
13816 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13817
138182013-11-18 Andreas Schwab <schwab@suse.de>
13819
13820 * locale/programs/locale.c (show_info) [case byte]: Check for
13821 '\377' instead of '\177'.
13822 * locale/C-monetary.c (not_available): Always use "\377".
13823 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13824 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13825 detect unavailable sign_posn locale elements.
13826 * locale/localeconv.c (__localeconv): For grouping and
13827 mon_grouping handle "\177" and "\377" like no grouping.
13828 (INT_ELEM): New macro. Use it to set all numeric members.
13829 * locale/programs/ld-monetary.c (monetary_read)
13830 <tok_mon_grouping>: Normalize single -1 to the empty string.
13831 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13832 Likewise.
13833
138342013-11-07 Ondřej Bílka <neleai@seznam.cz>
13835
13836 [BZ #16055]
13837 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13838 when we match (nil).
13839 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13840
138412013-11-16 Joseph Myers <joseph@codesourcery.com>
13842
13843 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13844 (NO_TEST_INLINE): Update value.
13845 (ERRNO_UNCHANGED): Likewise.
13846 (ERRNO_EDOM): Likewise.
13847 (ERRNO_ERANGE): Likewise.
13848 (IGNORE_RESULT): Likewise.
13849 (check_float_internal): Check signs of NaN results if
13850 TEST_NAN_SIGN used.
13851 (check_complex): Pass TEST_NAN_SIGN flag through to second
13852 check_float_internal call.
13853 (copysign_test_data): Add tests with quiet NaNs as second
13854 argument. Use TEST_NAN_SIGN.
13855 (fabs_test_data): Add test of negative quiet NaN argument. Use
13856 TEST_NAN_SIGN.
13857 (signbit_test_data): Add tests of quiet NaN argument.
13858 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13859
13860 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13861 $ignore_result.
13862 (parse_args): Handle function results specified as IGNORE.
13863 * math/libm-test.inc (IGNORE_RESULT): New macro.
13864 (check_float_internal): Do not check numerical result if flag
13865 IGNORE_RESULT set.
13866 (check_complex): Pass through IGNORE_RESULT to second
13867 check_float_internal call.
13868 (check_int): Do not check numerical result if flag IGNORE_RESULT
13869 set.
13870 (check_long): Likewise.
13871 (check_bool): Likewise.
13872 (check_longlong): Likewise.
13873 (lrint_test_data): Add tests of infinite and NaN arguments.
13874 (lrint_tonearest_test_data): Likewise.
13875 (lrint_towardzero_test_data): Likewise.
13876 (lrint_downward_test_data): Likewise.
13877 (lrint_upward_test_data): Likewise.
13878 (llrint_test_data): Likewise.
13879 (llrint_tonearest_test_data): Likewise.
13880 (llrint_towardzero_test_data): Likewise.
13881 (llrint_downward_test_data): Likewise.
13882 (llrint_upward_test_data): Likewise.
13883 (lround_test_data): Likewise.
13884 (llround_test_data): Likewise.
13885
13886 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13887 (ERRNO_UNCHANGED): Update value.
13888 (ERRNO_EDOM): Likewise.
13889 (ERRNO_ERANGE): Likewise.
13890 (NO_TEST_INLINE_FLOAT): New macro.
13891 (NO_TEST_INLINE_DOUBLE): Likewise.
13892 (enable_test): New function.
13893 (RUN_TEST_f_f): Check enable_test before running test.
13894 (RUN_TEST_2_f): Likewise.
13895 (RUN_TEST_fff_f): Likewise.
13896 (RUN_TEST_c_f): Likewise.
13897 (RUN_TEST_f_f1): Likewise.
13898 (RUN_TEST_fF_f1): Likewise.
13899 (RUN_TEST_fI_f1): Likewise.
13900 (RUN_TEST_ffI_f1): Likewise.
13901 (RUN_TEST_c_c): Likewise.
13902 (RUN_TEST_cc_c): Likewise.
13903 (RUN_TEST_f_i): Likewise.
13904 (RUN_TEST_f_i_tg): Likewise.
13905 (RUN_TEST_ff_i_tg): Likewise.
13906 (RUN_TEST_f_b): Likewise.
13907 (RUN_TEST_f_b_tg): Likewise.
13908 (RUN_TEST_f_l): Likewise.
13909 (RUN_TEST_f_L): Likewise.
13910 (RUN_TEST_fFF_11): Likewise.
13911 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13912 conditionals.
13913 (cosh_test_data): Likewise.
13914 (exp_test_data): Likewise.
13915 (expm1_test_data): Likewise.
13916 (hypot_test_data): Likewise.
13917 (pow_test_data): Likewise.
13918 (sinh_test_data): Likewise.
13919 (tanh_test_data): Likewise.
13920 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13921 flags argument.
13922
13923 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13924 tests with quiet NaN input and output.
13925 (acosh_test_data): Likewise.
13926 (asin_test_data): Likewise.
13927 (asinh_test_data): Likewise.
13928 (atan_test_data): Likewise.
13929 (atanh_test_data): Likewise.
13930 (atan2_test_data): Likewise.
13931 (cbrt_test_data): Likewise.
13932 (cos_test_data): Likewise.
13933 (cosh_test_data): Likewise.
13934 (erf_test_data): Likewise.
13935 (erfc_test_data): Likewise.
13936 (exp_test_data): Likewise.
13937 (exp10_test_data): Likewise.
13938 (exp2_test_data): Likewise.
13939 (expm1_test_data): Likewise.
13940 (hypot_test_data): Likewise.
13941 (j0_test_data): Likewise.
13942 (j1_test_data): Likewise.
13943 (jn_test_data): Likewise.
13944 (lgamma_test_data): Likewise.
13945 (log_test_data): Likewise.
13946 (log10_test_data): Likewise.
13947 (log1p_test_data): Likewise.
13948 (log2_test_data): Likewise.
13949 (pow_test_data): Likewise.
13950 (scalb_test_data): Likewise.
13951 (sin_test_data): Likewise.
13952 (sincos_test_data): Likewise.
13953 (sinh_test_data): Likewise.
13954 (tan_test_data): Likewise.
13955 (tanh_test_data): Likewise.
13956 (tgamma_test_data): Likewise.
13957 (y0_test_data): Likewise.
13958 (y1_test_data): Likewise.
13959 (yn_test_data): Likewise.
13960
13961 [BZ #16167]
13962 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13963 argument being NaN and avoid computations with second argument in
13964 that case.
13965 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13966 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13967 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13968
139692013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13970
13971 * locale/iso-639.def: Add Chitwani Tharu (the).
13972
139732013-11-14 Andreas Schwab <schwab@suse.de>
13974
13975 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13976 word instead of empty string.
13977
139782013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13979
13980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13981 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13983 (__fe_nomask_env): Likewise.
13984
139852013-11-13 Steve Ellcey <sellcey@mips.com>
13986
13987 * benchtests/bench-timing.h: Include time.h.
13988
139892013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13990
13991 [BZ #15997]
13992 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13993 to 3.4.0 for x32.
13994 * sysdeps/unix/sysv/linux/configure: Regenerated.
13995
139962013-11-13 Joseph Myers <joseph@codesourcery.com>
13997
13998 [BZ #16151]
13999 * stdlib/strtod_l.c (round_and_return): Do not consider
14000 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14001 exponent one less than half the least subnormal exponent.
14002 * stdlib/test-strtod-round-data: Add more tests.
14003 * stdlib/tst-strtod-round.c (tests): Regenerated.
14004
140052013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14006
14007 [BZ #14143]
14008 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14009 (__fe_mask_env): Likewise.
14010 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14011 libm_hidden_proto and add function prototype.
14012 (__fe_mask_env): Add function prototype.
14013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14014 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14016 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14018 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14019
140202013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14021
14022 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14023 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14024
140252013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14026
14027 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14028 of htab_find_slot().
14029
140302013-11-11 David S. Miller <davem@davemloft.net>
14031
14032 [BZ #16150]
14033 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14034 symbol in the non-vis3 case in static builds.
14035 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14036 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14037 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14038 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14039
140402013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14041
14042 [BZ #387]
14043 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14044 it is empty.
14045
140462013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14047
14048 * benchtests/Makefile: Add bench-strtod.
14049 * benchtests/bench-strtod.c: New file: strtod benchtest
14050
140512013-11-11 Andreas Schwab <schwab@suse.de>
14052
14053 [BZ #16153]
14054 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14055 terminating NUL in key length.
14056
140572013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14058
14059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14060 Add artificial ODP entry for vDSO symbol for PPC64.
14061 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14062 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14063
140642013-11-07 Ondřej Bílka <neleai@seznam.cz>
14065
14066 [BZ #15374]
14067 * nss/getent.c (services_keys): Recognize services starting with digit.
14068
140692013-11-06 David S. Miller <davem@davemloft.net>
14070
14071 [BZ #15985]
14072 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14073 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14074
140752013-11-06 Will Newton <will.newton@linaro.org>
14076
14077 * manual/memory.texi (Malloc Examples): Remove register
14078 keyword from examples.
14079
140802013-11-04 Chris Leonard <cjl@sugarlabs.org>
14081
14082 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14083
140842013-11-04 Joseph Myers <joseph@codesourcery.com>
14085
14086 [BZ #6981]
14087 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14088 depending on [__GCC_IEC_559 > 0].
14089 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14090 depending on [__GCC_IEC_559_COMPLEX > 0].
14091
140922013-11-03 Chris Leonard <cjl@sugarlabs.org>
14093
14094 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14095 to iso-639.def.
14096
140972013-11-03 Ondřej Bílka <neleai@seznam.cz>
14098
14099 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14100
141012013-11-01 Ondřej Bílka <neleai@seznam.cz>
14102
14103 [BZ #16112]
14104 * malloc/malloc (malloc_info): Do not handle first bin as
14105 special case.
14106
141072013-11-01 Chris Leonard <cjl@sugarlabs.org>
14108
14109 * locale/iso-639.def: Add Central Nahuatl (nhn).
14110
141112013-11-01 Bruno Haible <bruno@clisp.org>
14112
14113 [BZ #7003]
14114 * manual/math.texi (BSD Random): Specify range upper bound as
14115 in POSIX.
14116
141172013-10-31 Chris Leonard <cjl@sugarlabs.org>
14118
14119 * locale/iso-639.def: Add Meadow Mari (mhr).
14120
141212013-10-31 Ondřej Bílka <neleai@seznam.cz>
14122
14123 [BZ #14752], [BZ #15763]
14124 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14125 Validate name.
14126 * rt/tst_shm.c: Add test for escaping directory.
14127
141282013-10-31 Andreas Schwab <schwab@suse.de>
14129
14130 [BZ #15917]
14131 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14132 followed by 'x' as part of digit sequence.
14133 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14134
141352013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14136
14137 [BZ #16037]
14138 * configure.ac: allow GNU Make 4.0 and greater.
14139 * configure: Regenerated.
14140
141412013-10-30 Will Newton <will.newton@linaro.org>
14142
14143 [BZ #16038]
14144 * malloc/hooks.c (memalign_check): Limit alignment to the
14145 maximum representable power of two.
14146 * malloc/malloc.c (__libc_memalign): Likewise.
14147 * malloc/tst-memalign.c (do_test): Add test for very
14148 large alignment values.
14149 * malloc/tst-posix_memalign.c (do_test): Likewise.
14150
141512013-10-30 Ondřej Bílka <neleai@seznam.cz>
14152
14153 [BZ #11087]
14154 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14155 (munmap_chunk): Likewise.
14156 (mremap_chunk): Likewise.
14157
141582013-10-30 Ondřej Bílka <neleai@seznam.cz>
14159
14160 [BZ #15799]
14161 * stdlib/div.c (div): Remove obsolete code.
14162 * stdlib/ldiv.c (ldiv): Likewise.
14163 * stdlib/lldiv.c (lldiv): Likewise.
14164
141652013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14166
14167 [BZ #16071]
14168 * nss/nss_files/files-XXX.c (get_contents_ret): New
14169 enumerator.
14170 (get_contents): New function.
14171 (internal_getent): Use it. Expand size of LINEBUFLEN.
14172
141732013-10-30 Mike Frysinger <vapier@gentoo.org>
14174
14175 * configure.in: Moved to ...
14176 * configure.ac: ... here. Change reference to configure.in
14177 to configure.ac.
14178 * sysdeps/arm/preconfigure.ac: ... here.
14179 configure.in to configure.ac.
14180 * sysdeps/gnu/configure.in: Moved to ...
14181 * sysdeps/gnu/configure.ac: ... here.
14182 * sysdeps/i386/configure.in: Moved to ...
14183 * sysdeps/i386/configure.ac: ... here.
14184 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14185 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14186 * sysdeps/mach/configure.in: Moved to ...
14187 * sysdeps/mach/configure.ac: ... here.
14188 * sysdeps/mach/hurd/configure.in: Moved to ...
14189 * sysdeps/mach/hurd/configure.ac: ... here.
14190 * sysdeps/powerpc/configure.in: Moved to ...
14191 * sysdeps/powerpc/configure.ac: ... here.
14192 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14193 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14194 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14195 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14196 * sysdeps/s390/s390-32/configure.in: Moved to ...
14197 * sysdeps/s390/s390-32/configure.ac: ... here.
14198 * sysdeps/s390/s390-64/configure.in: Moved to ...
14199 * sysdeps/s390/s390-64/configure.ac: ... here.
14200 * sysdeps/sh/configure.in: Moved to ...
14201 * sysdeps/sh/configure.ac: ... here.
14202 * sysdeps/sparc/configure.in: Moved to ...
14203 * sysdeps/sparc/configure.ac: ... here.
14204 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14205 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14206 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14207 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14208 * sysdeps/x86_64/configure.in: Moved to ...
14209 * sysdeps/x86_64/configure.ac: ... here.
14210 * sysdeps/x86_64/preconfigure.in: Moved to ...
14211 * sysdeps/x86_64/preconfigure.ac: ... here.
14212 * aclocal.m4: Change reference to configure.in to configure.ac.
14213 * config.h.in: Likewise.
14214 * manual/install.texi: Likewise.
14215 * manual/maint.texi: Likewise.
14216 * Makefile: Likewise.
14217 * malloc/Makefile: Likewise.
14218 * nscd/Makefile: Likewise.
14219 * Makeconfig: Change reference to configure.in and
14220 preconfigure.in to configure.ac and preconfigure.ac
14221 respectively.
14222 * INSTALL: Regenerated.
14223 * configure: Likewise.
14224 * sysdeps/gnu/configure: Likewise.
14225 * sysdeps/i386/configure: Likewise.
14226 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14227 * sysdeps/mach/configure: Likewise.
14228 * sysdeps/mach/hurd/configure: Likewise.
14229 * sysdeps/powerpc/configure: Likewise.
14230 * sysdeps/powerpc/powerpc32/configure: Likewise.
14231 * sysdeps/powerpc/powerpc64/configure: Likewise.
14232 * sysdeps/s390/s390-32/configure: Likewise.
14233 * sysdeps/s390/s390-64/configure: Likewise.
14234 * sysdeps/sh/configure: Likewise.
14235 * sysdeps/sparc/configure: Likewise.
14236 * sysdeps/unix/sysv/linux/configure: Likewise.
14237 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14238 * sysdeps/x86_64/configure: Likewise.
14239 * sysdeps/x86_64/preconfigure: Likewise.
14240
142412013-10-29 Andreas Schwab <schwab@suse.de>
14242
14243 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14244
142452013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14246
14247 * benchtests/pow-inputs: Add new inputs.
14248
14249 * benchtests/exp-inputs: Add new inputs.
14250
14251 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14252 conditional check for return value.
14253 (__cos32): Likewise.
14254
142552013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14256
14257 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14258 to provide a boost for large inputs with word alignment.
14259 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14260 implementation based on optimized PPC64 strcpy.
14261 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14262 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14263 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14264 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14265
142662013-10-25 Ondřej Bílka <neleai@seznam.cz>
14267
14268 [BZ #2801]
14269 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14270
142712013-10-25 Ondřej Bílka <neleai@seznam.cz>
14272
14273 [BZ #14876]
14274 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14275 * time/tst-strptime.c (day_tests): Add testcase.
14276
142772013-10-25 Ondřej Bílka <neleai@seznam.cz>
14278
14279 [BZ #14029]
14280 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14281
142822013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14283
14284 [BZ #16074]
14285 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14286 MAP_FAILED on error.
14287
142882013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14289
14290 [BZ #16072]
14291 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14292 heap for large requests.
14293
142942013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14295
14296 [BZ #9954]
14297 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14298 result if the result has no associated interface.
14299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14300 interface for all 127.X.Y.Z addresses.
14301
143022013-10-24 Chris Leonard <cjl@sugarlabs.org>
14303
14304 * locale/iso-639.def: Add Ligurian (lij)
14305
143062013-10-21 Ondřej Bílka <neleai@seznam.cz>
14307
14308 [BZ #15825]
14309 * sunrpc/rpc_main.c: Document rpcgen -5.
14310
143112013-10-19 Michael Stahl <mstahl@redhat.com>
14312
14313 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14314
143152013-10-19 Ondřej Bílka <neleai@seznam.cz>
14316
14317 [BZ #10278]
14318 * posix/glob.c: Match only directories when trailing slash is present.
14319 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14320 (main): Add testcase.
14321
143222013-10-19 Ondřej Bílka <neleai@seznam.cz>
14323
14324 [BZ #15670]
14325 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14326
143272013-10-18 Carlos O'Donell <carlos@redhat.com>
14328
14329 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14330 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14331 AUTH_DES and cindex for FIPS 140-2.
14332 (DES Encryption): Add cindex FIPS 46-3.
14333
14334 * locale/locarchive.h (struct locarhandle): Add fname.
14335 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14336 if an optional argument was specified to --list-archive,
14337 otherwise NULL.
14338 * locale/programs/locarchive.c (show_archive_content): Take new
14339 argument fname and pass it via ah.fname to open_archive.
14340 * locale/programs/localedef.h: Update decl.
14341 (open_archive): If AH->fname is non-null, open that file
14342 rather than the default file name, and don't ignore ENOENT.
14343 (create_archive): Set AH.fname to NULL.
14344 (delete_locales_from_archive): Likewise.
14345 (add_locales_to_archive): Likewise.
14346 * locale/programs/locfile.c (write_all_categories): Likewise.
14347
143482013-10-18 Joseph Myers <joseph@codesourcery.com>
14349 Aldy Hernandez <aldyh@redhat.com>
14350
14351 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14352 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14353 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14354 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14355 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14356 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14357 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14358 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14359 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14360 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14361 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14362 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14363 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14364 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14365 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14366 Likewise.
14367 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14368 Likewise.
14369 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14370 Likewise.
14371 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14372 Likewise.
14373 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14374 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14375 Likewise.
14376 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14377 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14378 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14379 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14380 Likewise.
14381 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14382 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14383 * sysdeps/powerpc/preconfigure: Likewise.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14385 Likewise.
14386 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14387 Replace contents of file by #include of <fenv_libc.h>.
14388 * sysdeps/powerpc/soft-fp/sfp-machine.h
14389 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14390 and <sys/prctl.h>.
14391 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14392 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14393 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14394 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14395 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14396 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14398 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14399 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14400 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14401 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14402 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14404 Allow copysignl PLT reference to be missing.
14405
144062013-10-18 Richard Sandiford <richard@codesourcery.com>
14407 Joseph Myers <joseph@codesourcery.com
14408
14409 [BZ #15948]
14410 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14411 single character.
14412 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14413
144142013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14415
14416 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14417 * elf/tst-tls1.c: Likewise.
14418 * elf/tst-tls10.h: Likewise.
14419 * elf/tst-tls14.c: Likewise.
14420 * elf/tst-tls2.c: Likewise.
14421 * elf/tst-tls3.c: Likewise.
14422 * elf/tst-tls4.c: Likewise.
14423 * elf/tst-tls5.c: Likewise.
14424 * elf/tst-tls6.c: Likewise.
14425 * elf/tst-tls7.c: Likewise.
14426 * elf/tst-tls8.c: Likewise.
14427 * elf/tst-tls9.c: Likewise.
14428 * elf/tst-tlsmod1.c: Likewise.
14429 * elf/tst-tlsmod13.c: Likewise.
14430 * elf/tst-tlsmod13a.c: Likewise.
14431 * elf/tst-tlsmod14a.c: Likewise.
14432 * elf/tst-tlsmod16a.c: Likewise.
14433 * elf/tst-tlsmod16b.c: Likewise.
14434 * elf/tst-tlsmod2.c: Likewise.
14435 * elf/tst-tlsmod3.c: Likewise.
14436 * elf/tst-tlsmod4.c: Likewise.
14437 * elf/tst-tlsmod5.c: Likewise.
14438 * elf/tst-tlsmod6.c: Likewise.
14439
144402013-10-18 Ondřej Bílka <neleai@seznam.cz>
14441
14442 [BZ #12486]
14443 * malloc/malloc.c: remove checks for statistics.
14444
144452013-10-17 Ondřej Bílka <neleai@seznam.cz>
14446
14447 [BZ #15277]
14448 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14449 * inet/tst-network.c: Add testcase.
14450
144512013-10-17 Andreas Schwab <schwab@suse.de>
14452
14453 [BZ #15218]
14454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14455 to determine canonical name.
14456
144572013-10-17 Ondřej Bílka <neleai@seznam.cz>
14458
14459 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14460 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14462 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14463 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14464 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14465 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14466 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14467 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14468 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14469 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14472 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14473 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14474 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14476 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14477 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14478 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14479 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14483 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14484 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14485 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14486 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14487 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14489 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14496 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14497 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14498 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14499 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14500 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14501 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14502 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14503 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14504 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14505 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14506 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14507 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14508 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14509 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14510 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14513 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14514 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14516 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14517
145182013-10-17 Joseph Myers <joseph@codesourcery.com>
14519
14520 [BZ #16041]
14521 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14522 make result into a quiet NaN.
14523
145242013-10-16 Joseph Myers <joseph@codesourcery.com>
14525
14526 * soft-fp/adddf3.c: Fix horizontal whitespace.
14527 * soft-fp/addsf3.c: Likewise.
14528 * soft-fp/addtf3.c: Likewise.
14529 * soft-fp/divdf3.c: Likewise.
14530 * soft-fp/divsf3.c: Likewise.
14531 * soft-fp/divtf3.c: Likewise.
14532 * soft-fp/double.h: Likewise.
14533 * soft-fp/eqdf2.c: Likewise.
14534 * soft-fp/eqsf2.c: Likewise.
14535 * soft-fp/eqtf2.c: Likewise.
14536 * soft-fp/extenddftf2.c: Likewise.
14537 * soft-fp/extended.h: Likewise.
14538 * soft-fp/extendsfdf2.c: Likewise.
14539 * soft-fp/extendsftf2.c: Likewise.
14540 * soft-fp/extendxftf2.c: Likewise.
14541 * soft-fp/fixdfdi.c: Likewise.
14542 * soft-fp/fixdfsi.c: Likewise.
14543 * soft-fp/fixdfti.c: Likewise.
14544 * soft-fp/fixsfdi.c: Likewise.
14545 * soft-fp/fixsfsi.c: Likewise.
14546 * soft-fp/fixsfti.c: Likewise.
14547 * soft-fp/fixtfdi.c: Likewise.
14548 * soft-fp/fixtfsi.c: Likewise.
14549 * soft-fp/fixtfti.c: Likewise.
14550 * soft-fp/fixunsdfdi.c: Likewise.
14551 * soft-fp/fixunsdfsi.c: Likewise.
14552 * soft-fp/fixunsdfti.c: Likewise.
14553 * soft-fp/fixunssfdi.c: Likewise.
14554 * soft-fp/fixunssfsi.c: Likewise.
14555 * soft-fp/fixunssfti.c: Likewise.
14556 * soft-fp/fixunstfdi.c: Likewise.
14557 * soft-fp/fixunstfsi.c: Likewise.
14558 * soft-fp/fixunstfti.c: Likewise.
14559 * soft-fp/floatdidf.c: Likewise.
14560 * soft-fp/floatdisf.c: Likewise.
14561 * soft-fp/floatditf.c: Likewise.
14562 * soft-fp/floatsidf.c: Likewise.
14563 * soft-fp/floatsisf.c: Likewise.
14564 * soft-fp/floatsitf.c: Likewise.
14565 * soft-fp/floattidf.c: Likewise.
14566 * soft-fp/floattisf.c: Likewise.
14567 * soft-fp/floattitf.c: Likewise.
14568 * soft-fp/floatundidf.c: Likewise.
14569 * soft-fp/floatundisf.c: Likewise.
14570 * soft-fp/floatunditf.c: Likewise.
14571 * soft-fp/floatunsidf.c: Likewise.
14572 * soft-fp/floatunsisf.c: Likewise.
14573 * soft-fp/floatunsitf.c: Likewise.
14574 * soft-fp/floatuntidf.c: Likewise.
14575 * soft-fp/floatuntisf.c: Likewise.
14576 * soft-fp/floatuntitf.c: Likewise.
14577 * soft-fp/fmadf4.c: Likewise.
14578 * soft-fp/fmasf4.c: Likewise.
14579 * soft-fp/fmatf4.c: Likewise.
14580 * soft-fp/gedf2.c: Likewise.
14581 * soft-fp/gesf2.c: Likewise.
14582 * soft-fp/getf2.c: Likewise.
14583 * soft-fp/ledf2.c: Likewise.
14584 * soft-fp/lesf2.c: Likewise.
14585 * soft-fp/letf2.c: Likewise.
14586 * soft-fp/muldf3.c: Likewise.
14587 * soft-fp/mulsf3.c: Likewise.
14588 * soft-fp/multf3.c: Likewise.
14589 * soft-fp/negdf2.c: Likewise.
14590 * soft-fp/negsf2.c: Likewise.
14591 * soft-fp/negtf2.c: Likewise.
14592 * soft-fp/op-1.h: Likewise.
14593 * soft-fp/op-2.h: Likewise.
14594 * soft-fp/op-4.h: Likewise.
14595 * soft-fp/op-8.h: Likewise.
14596 * soft-fp/op-common.h: Likewise.
14597 * soft-fp/quad.h: Likewise.
14598 * soft-fp/single.h: Likewise.
14599 * soft-fp/soft-fp.h: Likewise.
14600 * soft-fp/sqrtdf2.c: Likewise.
14601 * soft-fp/sqrtsf2.c: Likewise.
14602 * soft-fp/sqrttf2.c: Likewise.
14603 * soft-fp/subdf3.c: Likewise.
14604 * soft-fp/subsf3.c: Likewise.
14605 * soft-fp/subtf3.c: Likewise.
14606 * soft-fp/truncdfsf2.c: Likewise.
14607 * soft-fp/trunctfdf2.c: Likewise.
14608 * soft-fp/trunctfsf2.c: Likewise.
14609 * soft-fp/trunctfxf2.c: Likewise.
14610 * soft-fp/unorddf2.c: Likewise.
14611 * soft-fp/unordsf2.c: Likewise.
14612 * soft-fp/unordtf2.c: Likewise.
14613
146142013-10-15 Joseph Myers <joseph@codesourcery.com>
14615
14616 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14617 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14618
146192013-10-15 Ondřej Bílka <neleai@seznam.cz>
14620
14621 * elf/dl-libc.c: Clear initfini list after freeing.
14622
146232013-10-14 Joseph Myers <joseph@codesourcery.com>
14624
14625 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14626 * soft-fp/addsf3.c: Likewise.
14627 * soft-fp/addtf3.c: Likewise.
14628 * soft-fp/divdf3.c: Likewise.
14629 * soft-fp/divsf3.c: Likewise.
14630 * soft-fp/divtf3.c: Likewise.
14631 * soft-fp/double.h: Likewise.
14632 * soft-fp/eqdf2.c: Likewise.
14633 * soft-fp/eqsf2.c: Likewise.
14634 * soft-fp/eqtf2.c: Likewise.
14635 * soft-fp/extenddftf2.c: Likewise.
14636 * soft-fp/extended.h: Likewise.
14637 * soft-fp/extendsfdf2.c: Likewise.
14638 * soft-fp/extendsftf2.c: Likewise.
14639 * soft-fp/extendxftf2.c: Likewise.
14640 * soft-fp/fixdfdi.c: Likewise.
14641 * soft-fp/fixdfsi.c: Likewise.
14642 * soft-fp/fixdfti.c: Likewise.
14643 * soft-fp/fixsfdi.c: Likewise.
14644 * soft-fp/fixsfsi.c: Likewise.
14645 * soft-fp/fixsfti.c: Likewise.
14646 * soft-fp/fixtfdi.c: Likewise.
14647 * soft-fp/fixtfsi.c: Likewise.
14648 * soft-fp/fixtfti.c: Likewise.
14649 * soft-fp/fixunsdfdi.c: Likewise.
14650 * soft-fp/fixunsdfsi.c: Likewise.
14651 * soft-fp/fixunsdfti.c: Likewise.
14652 * soft-fp/fixunssfdi.c: Likewise.
14653 * soft-fp/fixunssfsi.c: Likewise.
14654 * soft-fp/fixunssfti.c: Likewise.
14655 * soft-fp/fixunstfdi.c: Likewise.
14656 * soft-fp/fixunstfsi.c: Likewise.
14657 * soft-fp/fixunstfti.c: Likewise.
14658 * soft-fp/floatdidf.c: Likewise.
14659 * soft-fp/floatdisf.c: Likewise.
14660 * soft-fp/floatditf.c: Likewise.
14661 * soft-fp/floatsidf.c: Likewise.
14662 * soft-fp/floatsisf.c: Likewise.
14663 * soft-fp/floatsitf.c: Likewise.
14664 * soft-fp/floattidf.c: Likewise.
14665 * soft-fp/floattisf.c: Likewise.
14666 * soft-fp/floattitf.c: Likewise.
14667 * soft-fp/floatundidf.c: Likewise.
14668 * soft-fp/floatundisf.c: Likewise.
14669 * soft-fp/floatunsidf.c: Likewise.
14670 * soft-fp/floatunsisf.c: Likewise.
14671 * soft-fp/floatuntidf.c: Likewise.
14672 * soft-fp/floatuntisf.c: Likewise.
14673 * soft-fp/floatuntitf.c: Likewise.
14674 * soft-fp/fmadf4.c: Likewise.
14675 * soft-fp/fmasf4.c: Likewise.
14676 * soft-fp/fmatf4.c: Likewise.
14677 * soft-fp/gedf2.c: Likewise.
14678 * soft-fp/gesf2.c: Likewise.
14679 * soft-fp/getf2.c: Likewise.
14680 * soft-fp/ledf2.c: Likewise.
14681 * soft-fp/lesf2.c: Likewise.
14682 * soft-fp/letf2.c: Likewise.
14683 * soft-fp/muldf3.c: Likewise.
14684 * soft-fp/mulsf3.c: Likewise.
14685 * soft-fp/multf3.c: Likewise.
14686 * soft-fp/negdf2.c: Likewise.
14687 * soft-fp/negsf2.c: Likewise.
14688 * soft-fp/negtf2.c: Likewise.
14689 * soft-fp/op-1.h: Likewise.
14690 * soft-fp/op-2.h: Likewise.
14691 * soft-fp/op-4.h: Likewise.
14692 * soft-fp/op-8.h: Likewise.
14693 * soft-fp/op-common.h: Likewise.
14694 * soft-fp/quad.h: Likewise.
14695 * soft-fp/single.h: Likewise.
14696 * soft-fp/soft-fp.h: Likewise.
14697 * soft-fp/sqrtdf2.c: Likewise.
14698 * soft-fp/sqrtsf2.c: Likewise.
14699 * soft-fp/sqrttf2.c: Likewise.
14700 * soft-fp/subdf3.c: Likewise.
14701 * soft-fp/subsf3.c: Likewise.
14702 * soft-fp/subtf3.c: Likewise.
14703 * soft-fp/truncdfsf2.c: Likewise.
14704 * soft-fp/trunctfdf2.c: Likewise.
14705 * soft-fp/trunctfsf2.c: Likewise.
14706 * soft-fp/trunctfxf2.c: Likewise.
14707 * soft-fp/unorddf2.c: Likewise.
14708 * soft-fp/unordsf2.c: Likewise.
14709 * soft-fp/unordtf2.c: Likewise.
14710
147112013-10-14 Ondřej Bílka <neleai@seznam.cz>
14712
14713 [BZ #15672]
14714 * misc/error.c (error_tail): Fix possible buffer overflow.
14715
147162013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14717
14718 [BZ #13028]
14719 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14720 address.
14721
147222013-10-14 P. J. McDermott <pj@pehjota.net>
14723
14724 [BZ #832]
14725 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14726 testing pipefail option.
14727
147282013-10-12 Joseph Myers <joseph@codesourcery.com>
14729
14730 * soft-fp/double.h: Indent preprocessor directives inside #if.
14731 * soft-fp/extended.h: Likewise.
14732 * soft-fp/op-2.h: Likewise.
14733 * soft-fp/op-4.h: Likewise.
14734 * soft-fp/op-common.h: Likewise.
14735 * soft-fp/quad.h: Likewise.
14736 * soft-fp/single.h: Likewise.
14737 * soft-fp/soft-fp.h: Likewise.
14738
147392013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14740
14741 * iconv/iconv_prog.c: Fix typos.
14742 * stdio-common/psiginfo-data.h: Likewise.
14743
147442013-10-12 Reuben Thomas <rrt@sc3d.org>
14745
14746 [BZ #15764]
14747 * locale/setlocale.c: Fix typo.
14748
147492013-10-12 Joseph Myers <joseph@codesourcery.com>
14750
14751 [BZ #16036]
14752 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14753 signaling NaN arguments.
14754 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14755 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14756
14757 [BZ #14910]
14758 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14759 unordered operands.
14760 * soft-fp/gesf2.c (__gesf2): Likewise.
14761 * soft-fp/getf2.c (__getf2): Likewise.
14762 * soft-fp/ledf2.c (__ledf2): Likewise.
14763 * soft-fp/lesf2.c (__lesf2): Likewise.
14764 * soft-fp/letf2.c (__letf2): Likewise.
14765
14766 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14767 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14768 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14769 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14770 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14771 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14772 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14773 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14774 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14775 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14776 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14777 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14778 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14779 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14780 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14781 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14782 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14783 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14784 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14785 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14786 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14787 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14788 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14789 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14790 * soft-fp/floattidf.c (__floattidf): Likewise.
14791 * soft-fp/floattisf.c (__floattisf): Likewise.
14792 * soft-fp/floattitf.c (__floattitf): Likewise.
14793 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14794 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14795 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14796 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14797 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14798 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14799 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14800 * soft-fp/gesf2.c (__gesf2): Likewise.
14801 * soft-fp/getf2.c (__getf2): Likewise.
14802 * soft-fp/ledf2.c (__ledf2): Likewise.
14803 * soft-fp/lesf2.c (__lesf2): Likewise.
14804 * soft-fp/letf2.c (__letf2): Likewise.
14805
14806 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14807 Undefine and redefine.
14808 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14809 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14810 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14811 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14812 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14813 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14814 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14815 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14816 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14817 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14818 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14819 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14820 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14821 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14822 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14823
14824 [BZ #16032]
14825 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14826 without decrementing exponent if mantissa >= that for the
14827 denominator, not >.
14828 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14829 denominator, not >. Decrement exponent in < case instead of
14830 incrementing in >= case.
14831 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14832 without decrementing exponent if mantissa >= that for the
14833 denominator, not >.
14834
14835 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14836 computing saturated result for unsigned overflow.
14837
148382013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14839 Jeff Law <law@redhat.com>
14840
14841 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14842 (atan2Mp): Add systemtap probe marker.
14843 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14844 (__ieee754_log): Add systemtap probe marker.
14845 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14846 (atanMp): Add systemtap probe marker.
14847 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14848 (tanMp): Add systemtap probe marker.
14849 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14850 (__slowexp): Add systemtap probe marker.
14851 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14852 (__slowpow): Add systemtap probe marker.
14853 * manual/probes.texi: Document probes.
14854
148552013-10-11 Eric Biggers <ebiggers3@gmail.com>
14856
14857 [BZ #15362]
14858 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14859 written.
14860 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14861 written.
14862 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14863 written to buffer but not flushed.
14864 * libio/iofwrite_u.c: Likewise.
14865 * libio/iopadn.c: Return bytes returned even if EOF was
14866 encountered.
14867 * libio/iowpadn.c: Likewise.
14868 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14869 if _IO_padn does not write the whole buffer.
14870 [!COMPILE_WPRINTF] (PAD): Likewise.
14871
148722013-10-10 David S. Miller <davem@davemloft.net>
14873
14874 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14875 directory block.
14876
148772013-10-10 Joseph Myers <joseph@codesourcery.com>
14878
14879 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14880 instead of FSF address.
14881 * soft-fp/fixdfti.c: Likewise.
14882 * soft-fp/fixsfti.c: Likewise.
14883 * soft-fp/fixtfti.c: Likewise.
14884 * soft-fp/fixunsdfti.c: Likewise.
14885 * soft-fp/fixunssfti.c: Likewise.
14886 * soft-fp/fixunstfti.c: Likewise.
14887 * soft-fp/floattidf.c: Likewise.
14888 * soft-fp/floattisf.c: Likewise.
14889 * soft-fp/floattitf.c: Likewise.
14890 * soft-fp/floatuntidf.c: Likewise.
14891 * soft-fp/floatuntisf.c: Likewise.
14892 * soft-fp/floatuntitf.c: Likewise.
14893 * soft-fp/trunctfxf2.c: Likewise.
14894
14895 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14896 * soft-fp/fixdfti.c: Likewise.
14897 * soft-fp/fixsfti.c: Likewise.
14898 * soft-fp/fixtfti.c: Likewise.
14899 * soft-fp/fixunsdfti.c: Likewise.
14900 * soft-fp/fixunssfti.c: Likewise.
14901 * soft-fp/fixunstfti.c: Likewise.
14902 * soft-fp/floattidf.c: Likewise.
14903 * soft-fp/floattisf.c: Likewise.
14904 * soft-fp/floattitf.c: Likewise.
14905 * soft-fp/floatuntidf.c: Likewise.
14906 * soft-fp/floatuntisf.c: Likewise.
14907 * soft-fp/floatuntitf.c: Likewise.
14908 * soft-fp/trunctfxf2.c: Likewise.
14909
149102013-10-10 David S. Miller <davem@davemloft.net>
14911
14912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14913
149142013-10-10 Joseph Myers <joseph@codsourcery.com>
14915
14916 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14917 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14918 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14919 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14920 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14921 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14922 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14923
14924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14925 for NaNs before doing comparisons on argument.
14926 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14927 Likewise.
14928
149292013-10-10 Will Newton <will.newton@linaro.org>
14930
14931 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14932 passed to _int_memalign does not overflow.
14933
149342013-10-10 Torvald Riegel <triegel@redhat.com>
14935
14936 * scripts/bench.pl: Add include-sources directive.
14937 * benchtests/README: Update documentation.
14938
149392013-10-10 Joseph Myers <joseph@codesourcery.com>
14940
14941 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14942 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14943 instead of FP_INIT_ROUNDMODE.
14944 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14945 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14946
14947 [BZ #16034]
14948 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14949 copy class of input value.
14950 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14951 not handle exceptions.
14952 * soft-fp/negsf2.c (__negsf2): Likewise.
14953 * soft-fp/negtf2.c (__negtf2): Likewise.
14954 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14955
149562013-10-09 Joseph Myers <joseph@codesourcery.com>
14957
14958 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14959 semicolon. From Linux kernel.
14960
149612013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14962
14963 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14964
149652013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14966
14967 [BZ #156]
14968 * manual/socket.texi: Added statement about buffer
14969 for gethostbyname2_r.
14970
149712013-10-08 Ondřej Bílka <neleai@seznam.cz>
14972
14973 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14974 Use .p2align directive instead, throughout.
14975 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14976 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14977 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14978 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14980 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14981 * sysdeps/x86_64/strchr.S: Likewise.
14982 * sysdeps/x86_64/strrchr.S: Likewise.
14983
149842013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14985
14986 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14987
14988 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14989
14990 * sysdeps/generic/math_private.h (__mpsin1): Remove
14991 declaration.
14992 (__mpcos1): Likewise.
14993 (__mpsin): New argument __range_reduce.
14994 (__mpcos): Likewise.
14995 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14996 (slow): Use __mpsin and __mpcos.
14997 (slow1): Likewise.
14998 (slow2): Likewise.
14999 (sloww): Likewise.
15000 (sloww1): Likewise.
15001 (sloww2): Likewise.
15002 (bsloww): Likewise.
15003 (bsloww1): Likewise.
15004 (bsloww2): Likewise.
15005 (cslow2): Likewise.
15006 (csloww): Likewise.
15007 (csloww1): Likewise.
15008 (csloww2): Likewise.
15009 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15010 range_reduce. Merge in __mpsin1.
15011 (__mpcos): Likewise.
15012 (__mpsin1): Remove.
15013 (__mpcos1): Likewise.
15014
150152013-10-07 Joseph Myers <joseph@codesourcery.com>
15016
15017 * locale/loadlocale.c (_nl_intern_locale_data): Use
15018 LOCFILE_ALIGNED_P.
15019 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15020 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15021 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15022 obstack data is appropriately aligned.
15023 (obstack_int32_grow_fast): Likewise.
15024 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15025 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15026 (add_locale_uint32_array): Likewise.
15027
150282013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15029
15030 * benchtests/Makefile: Remove ARGLIST and RET variables.
15031 ($(objpfx)bench-%.c): Pass only function name to the script.
15032 * benchtests/README: Update documentation.
15033 * benchtests/acos-inputs: Add new directives.
15034 * benchtests/acosh-inputs: Likewise.
15035 * benchtests/asin-inputs: Likewise.
15036 * benchtests/asinh-inputs: Likewise.
15037 * benchtests/atan-inputs: Likewise.
15038 * benchtests/atanh-inputs: Likewise.
15039 * benchtests/cos-inputs: Likewise.
15040 * benchtests/cosh-inputs: Likewise.
15041 * benchtests/exp-inputs: Likewise.
15042 * benchtests/log-inputs: Likewise.
15043 * benchtests/pow-inputs: Likewise.
15044 * benchtests/rint-inputs: Likewise.
15045 * benchtests/sin-inputs: Likewise.
15046 * benchtests/sinh-inputs: Likewise.
15047 * benchtests/tan-inputs: Likewise.
15048 * benchtests/tanh-inputs: Likewise.
15049 * scripts/bench.pl: Add support for new directives.
15050
150512013-10-07 Alan Modra <amodra@gmail.com>
15052
15053 * README: Fix careless merge.
15054
150552013-10-05 Alan Modra <amodra@gmail.com>
15056
15057 * NEWS: Mention powerpc64le support and bugs fixed.
15058 * README: Both big-endian and little-endian powerpc64 supported.
15059
150602013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15061
15062 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15063 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15064 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15065 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15066
150672013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15068
15069 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15070 match prototype.
15071
150722013-10-04 Joseph Myers <joseph@codesourcery.com>
15073
15074 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15075 Move -mhard-float appending from
15076 ports/sysdeps/powerpc/powerpc32/Makefile.
15077 [$(with-fp) = yes] (ASFLAGS): Likewise.
15078 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15079 * sysdeps/powerpc/nofpu: Move directory from
15080 ports/sysdeps/powerpc/nofpu.
15081 * sysdeps/powerpc/soft-fp: Move directory from
15082 ports/sysdeps/powerpc/soft-fp.
15083 * sysdeps/powerpc/powerpc32/405: Move directory from
15084 ports/sysdeps/powerpc/powerpc32/405.
15085 * sysdeps/powerpc/powerpc32/440: Move directory from
15086 ports/sysdeps/powerpc/powerpc32/440.
15087 * sysdeps/powerpc/powerpc32/464: Move directory from
15088 ports/sysdeps/powerpc/powerpc32/464.
15089 * sysdeps/powerpc/powerpc32/476: Move directory from
15090 ports/sysdeps/powerpc/powerpc32/476.
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15092 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15094 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15096 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15098 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15100 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15101 * README: Update for powerpc-*-linux-gnu software floating point
15102 support in libc.
15103
15104 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15105 case to powerpc/powerpc32*.
15106 * sysdeps/unix/sysv/linux/configure: Regenerated.
15107
15108 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15109 (_FPU_MASK_OM): Define as 0x04.
15110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15112 0x00c10080.
15113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15114 0x0000003c.
15115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15116
15117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15118 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15119 getcontext_e500.
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15121 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15122 setcontext_e500.
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15124 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15125 and setcontext_e500.
15126
151272013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15128
15129 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15130
151312013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15132
15133 * manual/threads.texi (Default Thread Attributes): Fix typo.
15134
151352013-10-04 Will Newton <will.newton@linaro.org>
15136
15137 * malloc/Makefile: Add tst-memalign.
15138 * malloc/tst-memalign.c: New file.
15139
15140 * malloc/tst-posix_memalign.c: Add comments.
15141 (do_test): Add comments and call free on all potentially
15142 allocated pointers. Add space after cast.
15143
15144 * malloc/tst-pvalloc.c: Add comments.
15145 (do_test): Add comments and call free on all potentially
15146 allocated pointers. Remove duplicate check for NULL pointer.
15147 Add space after cast.
15148
15149 * malloc/tst-valloc.c: Add comments.
15150 (do_test): Add comments and call free on all potentially
15151 allocated pointers. Remove duplicate check for NULL pointer.
15152 Add space after cast.
15153
151542013-10-04 Alan Modra <amodra@gmail.com>
15155
15156 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15157 Use stdint types in rather than __attribute__((mode())).
15158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15159
151602013-10-04 Alan Modra <amodra@gmail.com>
15161
15162 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15163 Correct handling of unaligned relocs for little-endian.
15164 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15165
151662013-10-04 Alan Modra <amodra@gmail.com>
15167
15168 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15169 * configure: Regenerate.
15170 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15171 * shlib-versions: Likewise.
15172
151732013-10-04 Alan Modra <amodra@gmail.com>
15174
15175 * string/tester.c (test_memrchr): Increment reported test cycle.
15176
151772013-10-04 Alan Modra <amodra@gmail.com>
15178
15179 * string/test-memcpy.c (do_one_test): When reporting errors, print
15180 string address and don't overrun end of string.
15181
151822013-10-04 Alan Modra <amodra@gmail.com>
15183
15184 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15185 insrdi. Make better use of reg selection to speed exit slightly.
15186 Schedule entry path a little better. Remove useless "are we done"
15187 checks on entry to main loop. Handle wrapping around zero address.
15188 Correct main loop count. Handle single left-over word from main
15189 loop inline rather than by using loop_small. Remove extra word
15190 case in loop_small caused by wrong loop count. Add little-endian
15191 support.
15192 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15193 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15194 cache hint.
15195 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15196 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15197 support. Avoid rlwimi.
15198 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15199
152002013-10-04 Alan Modra <amodra@gmail.com>
15201
15202 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15203 insrdi. Formatting.
15204 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15205 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15206 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15207 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15208 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15209 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15210
152112013-10-04 Alan Modra <amodra@gmail.com>
15212
15213 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15214 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15215 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15216 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15217 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15218 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15219 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15220 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15221 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15222 use of regs. Use power7 mtocrf. Tidy function tails.
15223
152242013-10-04 Alan Modra <amodra@gmail.com>
15225
15226 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15227 Formatting. Consistently use rXXX register defines or rN defines.
15228 Use early exit labels that avoid restoring unused non-volatile regs.
15229 Make cr field use more consistent with rWORDn compares. Rename
15230 regs used as shift registers for unaligned loop, using rN defines
15231 for short lifetime/multiple use regs.
15232 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15233 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15234 addi 1,1,64 to pop stack frame. Simplify return value code.
15235 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15236
152372013-10-04 Alan Modra <amodra@gmail.com>
15238
15239 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15240 support. Correct typos, formatting. Optimize tail. Use insrdi
15241 rather than rlwimi.
15242 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15243 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15244 little-endian support. Correct typos.
15245 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15246 rather than rlwimi.
15247 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15248 in loop and entry code to keep "and." results.
15249 (strchr): Add little-endian support. Comment. Move cntlzd
15250 earlier in tail.
15251 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15252
152532013-10-04 Alan Modra <amodra@gmail.com>
15254
15255 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15256 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15257 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15258 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15259
152602013-10-04 Alan Modra <amodra@gmail.com>
15261
15262 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15263 (rTMP): Define as r11.
15264 (strcmp): Add little-endian support. Optimise tail.
15265 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15266 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15267 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15268 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15269 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15270 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15271 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15272
152732013-10-04 Alan Modra <amodra@gmail.com>
15274
15275 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15276 little-endian support. Remove unnecessary "are we done" tests.
15277 Handle "s" wrapping around zero and extremely large "size".
15278 Correct main loop count. Handle single left-over word from main
15279 loop inline rather than by using small_loop. Correct comments.
15280 Delete "zero" tail, use "end_max" instead.
15281 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15282
152832013-10-04 Alan Modra <amodra@gmail.com>
15284
15285 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15286 support. Don't branch over align.
15287 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15288 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15289 support. Rearrange tmp reg use to suit. Comment.
15290 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15291
152922013-10-04 Alan Modra <amodra@gmail.com>
15293
15294 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15295
152962013-10-04 Alan Modra <amodra@gmail.com>
15297
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15299 conditional form of branch and link when obtaining pc.
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15301
153022013-10-04 Alan Modra <amodra@gmail.com>
15303
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15305 HIWORD/LOWORD.
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15308
153092013-10-04 Alan Modra <amodra@gmail.com>
15310
15311 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15312 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15313 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15314 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15315 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15316 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15317 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15318 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15319 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15320 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15321
153222013-10-04 Anton Blanchard <anton@au1.ibm.com>
15323 Alistair Popple <alistair@ozlabs.au.ibm.com>
15324 Alan Modra <amodra@gmail.com>
15325
15326 [BZ #15723]
15327 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15328 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15329 _dl_hwcap access for little-endian.
15330 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15331 destroy vmx regs when saving unaligned.
15332 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15333 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15334 destroy vmx regs when saving unaligned.
15335
153362013-10-04 Alan Modra <amodra@gmail.com>
15337
15338 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15339 Don't use a union to pack hi/low value.
15340
153412013-10-04 Anton Blanchard <anton@au1.ibm.com>
15342
15343 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15344 for little-endian.
15345 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15347 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15348 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15349 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15350
153512013-10-04 Alan Modra <amodra@gmail.com>
15352
15353 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15354 constants to usual value for .cst8 section, and remove redundant
15355 high address load.
15356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15357 constant for 0x1p52. Load little-endian words of double from
15358 correct stack offsets.
15359
153602013-10-04 Alan Modra <amodra@gmail.com>
15361
15362 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15363 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15364 words of double from correct stack offsets.
15365 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15366 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15367 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15368 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15369 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15370 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15371 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15372 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15373 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15374 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15375 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15376 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15377 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15378 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15379 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15380 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15381 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15382
153832013-10-04 Alan Modra <amodra@gmail.com>
15384
15385 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15386 64-bit int/double union.
15387 (_FPU_SETCW): Likewise.
15388 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15389 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15390
153912013-10-04 Alan Modra <amodra@gmail.com>
15392
15393 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15394 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15395
153962013-10-04 Alan Modra <amodra@gmail.com>
15397
15398 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15399 use vector int constants.
15400 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15401
154022013-10-04 Anton Blanchard <anton@au1.ibm.com>
15403
15404 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15405 array with long long.
15406 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15407 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15408 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15409 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15410 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15411 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15412 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15413 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15414 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15415 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15416 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15417 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15418 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15419
154202013-10-04 Anton Blanchard <anton@au1.ibm.com>
15421
15422 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15423 (__signbit): Likewise. Correct for little-endian.
15424 (__signbitl): Call __signbit.
15425 (lrint): Correct for little-endian.
15426 (lrintf): Call lrint.
15427
154282013-10-04 Alan Modra <amodra@gmail.com>
15429
15430 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15431 union 32-bit int array member with 64-bit int array.
15432 (t515, tm256): Double rather than long double.
15433 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15434
154352013-10-04 Alan Modra <amodra@gmail.com>
15436
15437 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15438 Delete.
15439 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15441 version of math_ldbl.h.
15442
154432013-10-04 Alan Modra <amodra@gmail.com>
15444
15445 [BZ #15734], [BZ #15735]
15446 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15447 all uses of ieee875 long double macros and unions. Simplify test
15448 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15449 ldbl_extract_mantissa value for ix,iy exponents. Properly
15450 normalize after ldbl_extract_mantissa, and don't add hidden bit
15451 already handled. Don't treat low word of ieee854 mantissa like
15452 low word of IBM long double and mask off bit when testing for
15453 zero.
15454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15455 all uses of ieee875 long double macros and unions. Simplify tests
15456 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15457 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15458 two1022, instead use their values. Recognise that tests for large
15459 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15460 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15461 Rewrite all uses of ieee875 long double macros and unions. Simplify
15462 test for 0.0L and nan. Correct negation.
15463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15464 ieee875 long double macros and unions. Correct output for large
15465 magnitude x. Correct absolute value calculation.
15466 (__erfcl): Likewise.
15467 * math/libm-test.inc: Add tests for errors discovered in IBM long
15468 double versions of fmodl, remainderl, erfl and erfcl.
15469
154702013-10-04 Alan Modra <amodra@gmail.com>
15471
15472 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15473 all uses of ieee854 long double macros and unions. Simplify tests
15474 for long doubles that are fully specified by the high double.
15475 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15476 Likewise.
15477 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15478 Remove dead code too.
15479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15480 (__ieee754_ynl): Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15483 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15484 Remove dead code too.
15485 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15486 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15488 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15489 Simplify.
15490 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15491 Simplify.
15492 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15494 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15495 Comment on variable precision.
15496 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15497 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15498 Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15502 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15503 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15504
155052013-10-04 Alan Modra <amodra@gmail.com>
15506
15507 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15508 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15509 all uses of ieee854 long double macros and unions.
15510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15512 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15514 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15515 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15516 Likewise.
15517 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15518 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15519 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15520 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15521 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15522 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15523 Simplify sign and nan test too.
15524 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15525 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15526 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15527 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15528 Likewise.
15529 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15530 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15531 Likewise.
15532 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15533 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15534 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15535 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15536 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15537 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15538
155392013-10-04 Alan Modra <amodra@gmail.com>
15540
15541 * stdio-common/printf_size.c (__printf_size): Don't use
15542 union ieee854_long_double in fpnum union.
15543 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15544 signbit macro to retrieve sign from long double.
15545 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15546 retrieve sign from long double.
15547 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15548 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15550 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15551 * math/test-misc.c (main): Don't use union ieee854_long_double.
15552
155532013-10-04 Alan Modra <amodra@gmail.com>
15554
15555 [BZ #15680]
15556 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15557 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15558 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15559 calculation. Remove unnecessary test for denormal exponent.
15560 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15561 Correct handling of denormals. Avoid undefined shift behaviour.
15562 Correct normalisation of low mantissa when low double is denormal.
15563 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15564 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15565 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15566 Correct normalisation of low mantissa. Test for overflow of high
15567 mantissa and normalise.
15568 (ldbl_nearbyint): Use more readable constant for two52.
15569 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15570 (__mpn_construct_long_double): Fix test for overflow of high
15571 mantissa and correct normalisation. Avoid undefined shift.
15572
155732013-10-04 Alan Modra <amodra@gmail.com>
15574
15575 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15576 (union ibm_extended_long_double): Define as an array of ieee754_double.
15577 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15578 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15579 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15580 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15588
155892013-10-03 Joseph Myers <joseph@codesourcery.com>
15590
15591 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15592 page size instead of calling getpagesize.
15593
15594 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15595 (LOCFILE_ALIGN_MASK): Likewise.
15596 (LOCFILE_ALIGN_UP): Likewise.
15597 (LOCFILE_ALIGNED_P): Likewise.
15598 * locale/programs/ld-collate.c (collate_output): Use the new
15599 macros instead of __alignof__ (int32_t).
15600 * locale/weight.h (findidx): Likewise.
15601
156022013-10-03 Ondřej Bílka <neleai@seznam.cz>
15603
15604 [BZ #431]
15605 * manual/string.texi: Fix strncat and wcsncat.
15606
156072013-10-03 Brooks Moses <bmoses@google.com>
15608
15609 [BZ #15915]
15610 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15611 * Makerules: ...here, and adjust associated comments.
15612
156132013-10-02 Will Newton <will.newton@linaro.org>
15614
15615 * malloc/Makefile: Add tst-pvalloc.
15616 * malloc/tst-pvalloc.c: New file.
15617
156182013-10-02 Will Newton <will.newton@linaro.org>
15619
15620 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15621 improve test coverage.
15622
156232013-10-02 Will Newton <will.newton@linaro.org>
15624
15625 * malloc/Makefile: Add tst-posix_memalign.
15626 * malloc/tst-posix_memalign.c: New file.
15627
156282013-10-01 Eric Blake <eblake@redhat.com>
15629
15630 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15631 Use __THROWNL rather than __THROW on static functions.
15632
156332013-09-30 Petr Machata <pmachata@redhat.com>
15634
15635 * elf/elf.h (R_AARCH64_ABS16): New macro.
15636 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15637 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15638 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15639 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15640 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15641 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15642 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15643 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15644 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15645 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15646 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15647 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15648 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15649 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15650 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15651 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15652 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15653 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15654 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15655 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15656 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15657 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15658 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15659 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15660 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15661 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15662 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15663 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15664 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15665 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15666 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15667 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15668 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15669 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15670 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15671 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15672 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15673 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15674 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15675 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15676 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15677 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15678 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15679 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15680 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15681 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15682 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15683 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15684 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15685 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15686 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15687 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15688 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15689 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15690 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15691 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15692 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15693 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15694 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15695 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15696 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15697 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15698 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15699 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15700 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15701 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15702 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15703 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15704 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15705 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15706 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15707 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15708 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15709 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15710 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15711 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15712 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15713 (R_AARCH64_TLSDESC_LDR): Likewise.
15714 (R_AARCH64_TLSDESC_ADD): Likewise.
15715 (R_AARCH64_TLSDESC_CALL): Likewise.
15716
157172013-09-30 Andreas Schwab <schwab@suse.de>
15718
15719 [BZ #15048]
15720 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15721 the nss database lookup.
15722 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15724
157252013-09-28 Mike Frysinger <vapier@gentoo.org>
15726
15727 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15728
157292013-09-28 P. J. McDermott <pj@pehjota.net>
15730
15731 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15732 ${Bash-specific parameter/pattern/string} parameter expansion.
15733 * sysdeps/unix/make-syscalls.sh: Likewise.
15734
157352013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15736
15737 * sysdeps/sh/stackguard-macros.h: New file.
15738
157392013-09-26 Ondřej Bílka <neleai@seznam.cz>
15740
15741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15743 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15744 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15745 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15746 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15747
157482013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15749
15750 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15751 Fix thread ID register.
15752
157532013-09-25 Joseph Myers <joseph@codesourcery.com>
15754
15755 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15756 [POSIX || UNIX98]: Require rather than permitting all symbols from
15757 <time.h>.
15758 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15759 element of struct sched_param.
15760 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15761 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15762 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15763 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15764 constant.
15765
157662013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15767
15768 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15769 argument calculation.
15770
157712013-09-24 Joseph Myers <joseph@codesourcery.com>
15772
15773 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15774 Expect macro.
15775 [POSIX] (pthread_attr_t): Do not require type.
15776 [POSIX] (pthread_cond_t): Likewise.
15777 [POSIX] (pthread_condattr_t): Likewise.
15778 [POSIX] (pthread_key_t): Likewise.
15779 [POSIX] (pthread_mutex_t): Likewise.
15780 [POSIX] (pthread_mutexattr_t): Likewise.
15781 [POSIX] (pthread_once_t): Likewise.
15782 [POSIX] (pthread_t): Likewise.
15783 [POSIX-based standards] (pthread_atfork): Expect function.
15784
157852013-09-24 Joseph Myers <joseph@codesourcery.com>
15786 Richard Sandiford <richard@codesourcery.com>
15787
15788 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15789 (swap_endianness_p): New extern variable.
15790 (set_big_endian): New inline function.
15791 (maybe_swap_uint32): Likewise.
15792 (maybe_swap_uint32_array): Likewise.
15793 (maybe_swap_uint32_obstack): Likewise.
15794 * locale/programs/locfile.c: Include <stdbool.h>.
15795 (swap_endianness_p): New variable.
15796 (add_locale_uint32): Call maybe_swap_uint32.
15797 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15798 (write_locale_data): Call maybe_swap_uint32_array.
15799 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15800 maybe_swap_uint32.
15801 (obstack_int32_grow_fast): Likewise.
15802 (output_weightwc): Call maybe_swap_uint32_obstack.
15803 (collate_output): Likewise.
15804 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15805 (OPT_LITTLE_ENDIAN): Likewise.
15806 (options): Add --little-endian and --big-endian options.
15807 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15808 * locale/programs/locarchive.c: Include "locfile.h".
15809 (GET): New macro.
15810 (SET): Likewise.
15811 (INC): Likewise.
15812 (create_archive): Use the new macros to access fields of
15813 structures directly mapped from or written to locale archives.
15814 (oldlocrecentcmp): Likewise.
15815 (enlarge_archive): Likewise.
15816 (insert_name): Likewise.
15817 (add_alias): Likewise.
15818 (add_locale): Likewise.
15819 (delete_locales_from_archive): Likewise.
15820 (show_archive_content): Likewise.
15821 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15822 locale data.
15823
158242013-09-24 Roland McGrath <roland@hack.frob.com>
15825
15826 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15827 http://www.gnu.org/doc/freemanuals.texi.
15828 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15829
158302013-09-24 Will Newton <will.newton@linaro.org>
15831
15832 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15833 macro.
15834
158352013-09-23 Joseph Myers <joseph@codesourcery.com>
15836
15837 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15838 unsigned char.
15839
158402013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15841
15842 * manual/threads.texi (POSIX Threads): Fix a typo.
15843
158442013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15845
15846 [BZ #14547]
15847 * string/tst-strcoll-overflow.c: New test case.
15848 * string/Makefile (xtests): Add tst-strcoll-overflow.
15849 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15850 cache if string sizes may cause integer overflow.
15851
15852 [BZ #14547]
15853 * string/strcoll_l.c (coll_seq): New members rule, idx,
15854 save_idx and back_us.
15855 (get_next_seq_nocache): New function.
15856 (do_compare_nocache): New function.
15857 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15858 when malloc fails.
15859
158602013-09-23 Carlos O'Donell <carlos@redhat.com>
15861
15862 [BZ #15754]
15863 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15864 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15865 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15866
15867 [BZ #15754]
15868 * elf/Makefile (tests): Add tst-ptrguard1.
15869 (tests-static): Add tst-ptrguard1-static.
15870 (tst-ptrguard1-ARGS): Define.
15871 (tst-ptrguard1-static-ARGS): Define.
15872 * elf/tst-ptrguard1.c: New file.
15873 * elf/tst-ptrguard1-static.c: New file.
15874 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15875 * sysdeps/i386/stackguard-macros.h: Likewise.
15876 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15877 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15878 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15879 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15880 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15881 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15882
158832013-09-23 Hector Marco <hecmargi@upv.es>
15884 Ismael Ripoll <iripoll@disca.upv.es>
15885 Carlos O'Donell <carlos@redhat.com>
15886
15887 [BZ #15754]
15888 * sysdeps/generic/stackguard-macros.h: Define
15889 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15890 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15891 Define __pointer_chk_guard_local.
15892 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15893 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15894
158952013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15896
15897 [BZ #15859]
15898 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15899
159002013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15901
15902 * include/string.h (__ffs): Declare as hidden.
15903 * string/ffs.c (__ffs): Define as hidden.
15904 * sysdeps/i386/ffs.c (__ffs): Likewise.
15905 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15906 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15907 * sysdeps/s390/ffs.c (__ffs): Likewise.
15908 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15909
159102013-09-20 Alexandre Oliva <aoliva@redhat.com>
15911
15912 * NEWS: Mention malloc probes.
15913
15914 * malloc/arena.c (new_heap): New memory_heap_new probe.
15915 (grow_heap): New memory_heap_more probe.
15916 (shrink_heap): New memory_heap_less probe.
15917 (heap_trim): New memory_heap_free probe.
15918 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15919 (systrim): New memory_sbrk_less probe.
15920 * manual/probes.texi: Document them.
15921
15922 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15923 * manual/probes.texi: Document it.
15924
15925 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15926 (__libc_realloc): Add memory_realloc_retry probe.
15927 (__libc_memalign): Add memory_memalign_retry probe.
15928 (__libc_valloc): Add memory_valloc_retry probe.
15929 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15930 (__libc_calloc): Add memory_calloc_retry probe.
15931 * manual/probes.texi: Document them.
15932
15933 * malloc/arena.c (get_free_list): Add probe
15934 memory_arena_reuse_free_list.
15935 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15936 and memory_arena_reuse.
15937 (arena_get2) [!PER_THREAD]: Likewise.
15938 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15939 memory_arena_reuse_realloc.
15940 * manual/probes.texi: Document them.
15941
15942 * malloc/malloc.c (__libc_free): Add
15943 memory_mallopt_free_dyn_thresholds probe.
15944 (__libc_mallopt): Add multiple memory_mallopt probes.
15945 * manual/probes.texi: Document them.
15946
15947 * malloc/malloc.c: Include stap-probe.h.
15948 (__libc_mallopt): Add memory_mallopt probe.
15949 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15950 * manual/probes.texi: New.
15951 * manual/Makefile (chapters): Add probes.
15952 * manual/threads.texi: Set next node.
15953
159542013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15955
15956 [BZ #15963, #13985]
15957 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15958 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15959 Add `Chinese' to `nan' entry name.
15960
159612013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15962
15963 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15964 (POLYNOMIAL): Likewise.
15965 (TAYLOR_SINCOS): Likewise.
15966 (TAYLOR_SLOW): Likewise.
15967 (__sin): Use TAYLOR_SINCOS.
15968 (__cos): Likewise.
15969 (slow): Use TAYLOR_SLOW.
15970 (sloww): Likewise.
15971 (bsloww): Likewise.
15972 (csloww): Likewise.
15973
159742013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15975
15976 * stdlib/strtod_l.c: Fix buffer overrun.
15977
159782013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15979
15980 * benchtests/Makefile (bench): Add sincos.
15981 * benchtests/bench-sincos.c: New file.
15982
15983 * math/libm-test.inc (cos_test_data): New test inputs.
15984 (sin_test_data): Likewise.
15985
15986 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15987 macro.
15988 (__sin): Use it.
15989 (__cos): Likewise.
15990 (slow1): Likewise.
15991 (slow2): Likewise.
15992 (sloww1): Likewise.
15993 (sloww2): Likewise.
15994 (bsloww1): Likewise.
15995 (bsloww2): Likewise.
15996 (cslow2): Likewise.
15997 (csloww1): Likewise.
15998 (csloww2): Likewise.
15999
16000 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16001 function.
16002 (__sin): Use it.
16003 (__cos): Likewise.
16004
16005 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16006 gotos.
16007 (__cos): Likewise.
16008
160092013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16010
16011 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16012 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16013 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16014 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16015 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16016 * elf/cache.c (print_entry): Handle the new cache flags.
16017
160182013-09-18 Joseph Myers <joseph@codesourcery.com>
16019 Aldy Hernandez <aldyh@redhat.com>
16020
16021 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16022 Change condition to [_SOFT_FLOAT].
16023 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16024 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16026 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16027 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16035 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16037 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16038 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16039 declaration.
16040
160412013-09-18 Joseph Myers <joseph@codesourcery.com>
16042
16043 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16044 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16045 (__longjmp): Use LOAD_GP to load saved GPRs.
16046 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16047 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16048 (__sigsetjmp): Use SAVE_GP to save GPRs.
16049
16050 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16051 Do not append -msoft-float.
16052 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16053
160542013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16055
16056 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16057
160582013-09-17 Joseph Myers <joseph@codesourcery.com>
16059
16060 [BZ #15966]
16061 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16062 (_FPU_GETCW): Use initial "__" on variable and field names but not
16063 on macro parameter name.
16064 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16065 parentheses around reference to macro parameter.
16066
160672013-09-13 Richard Sandiford <richard@codesourcery.com>
16068
16069 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16070 prototype.
16071 (ctype_startup): Use uint32_t in cast and sizeof for
16072 ctype->charnames.
16073
160742013-09-11 Jia Liu <proljc@gmail.com>
16075
16076 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16077 __daddr_t_defined.
16078 [__FreeBSD__]: Likewise.
16079
160802013-09-11 Ondřej Bílka <neleai@seznam.cz>
16081
16082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16083 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16084 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16085 (strchr): Remove __strchr_sse42 ifunc selection.
16086 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16087 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16088
160892013-09-11 Will Newton <will.newton@linaro.org>
16090
16091 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16092 parameter to RES. Remove hardcoded 1000 value.
16093 * benchtests/bench-skeleton.c (main): Pass RES parameter
16094 to TIMING_INIT and multiply result by 1000.
16095
160962013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16097
16098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16099
161002013-09-11 Andreas Schwab <schwab@suse.de>
16101
16102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16103 if not defined.
16104 (O_TMPFILE) [__USE_GNU]: Define.
16105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16106 Define.
16107
161082013-09-11 Will Newton <will.newton@linaro.org>
16109
16110 [BZ #15857]
16111 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16112 does not overflow.
16113
161142013-09-11 Will Newton <will.newton@linaro.org>
16115
16116 [BZ #15856]
16117 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16118 does not overflow.
16119
161202013-09-11 Will Newton <will.newton@linaro.org>
16121
16122 [BZ #15855]
16123 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16124 does not overflow.
16125
161262013-09-10 Ondřej Bílka <neleai@seznam.cz>
16127
16128 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16130 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16131 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16132 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16133
161342013-09-10 Allan McRae <allan@archlinux.org>
16135
16136 [BZ #15748]
16137 * manual/arith.texi (Parsing of Floats): Clarify
16138 cross-reference.
16139
16140 [BZ #15849]
16141 * manual/install.texi (Running make install): Mention
16142 --enable-pt-chown.
16143 * INSTALL: Regenerated.
16144
161452013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16146
16147 * csu/init-first.c (_init): Remove the !SHARED condition around
16148 FPU control word initialization.
16149 * elf/dl-support.c (_dl_fpu_control): New variable.
16150 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16151 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16152 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16153 * math/test-fpucw-static.c: New file.
16154 * math/test-fpucw-ieee.c: New file.
16155 * math/test-fpucw-ieee-static.c: New file.
16156 * math/Makefile (tests): Add `test-fpucw-ieee' and
16157 `$(tests-static)'.
16158 (tests-static): New variable.
16159 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16160 dependency to...
16161 [($(build-shared),yes)]
16162 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16163 ... this.
16164 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16165 New dependency.
16166
161672013-09-09 Allan McRae <allan@archlinux.org>
16168
16169 [BZ #15939]
16170 * manual/string.texi (Collation Functions): Fix typo in
16171 strcoll example.
16172 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16173
16174 [BZ #15893]
16175 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16176
16177 [BZ #15892]
16178 * libio/memstream.c (open_memstream): Fix memory leak.
16179 * libio/wmemstream.c (open_wmemstream): Likewise.
16180
16181 [BZ #15895]
16182 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16183
161842013-09-09 Will Newton <will.newton@linaro.org>
16185
16186 * malloc/Makefile: Add tst-realloc to tests.
16187 * malloc/tst-realloc.c: New file.
16188
161892013-09-09 Allan McRae <allan@archlinux.org>
16190
16191 [BZ #15844]
16192 * COPYING: Update from GNU website to fix FSF address.
16193 * COPYING.LIB: Likewise.
16194
161952013-09-06 David S. Miller <davem@davemloft.net>
16196
16197 * po/zh_TW.po: Update Chinese (traditional) translation from
16198 translation project.
16199
162002013-09-06 Richard Sandiford <richard@codesourcery.com>
16201 Joseph Myers <joseph@codesourcery.com>
16202
16203 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16204 "localeinfo.h".
16205 (obstack_chunk_alloc): New macro.
16206 (obstack_chunk_free): Likewise.
16207 (record_offset): New function.
16208 (init_locale_data): Likewise.
16209 (align_locale_data): Likewise.
16210 (add_locale_empty): Likewise.
16211 (add_locale_raw_data): Likewise.
16212 (add_locale_raw_obstack): Likewise.
16213 (add_locale_string): Likewise.
16214 (add_locale_wstring): Likewise.
16215 (add_locale_uint32): Likewise.
16216 (add_locale_uint32_array): Likewise.
16217 (add_locale_char): Likewise.
16218 (start_locale_structure): Likewise.
16219 (end_locale_structure): Likewise.
16220 (start_locale_prelude): Likewise.
16221 (end_locale_prelude): Likewise.
16222 (write_locale_data): Take locale_file structure rather than an
16223 iovec.
16224 * locale/programs/locfile.h: Include "obstack.h".
16225 (struct locale_file): Change to store locale file contents instead
16226 of header.
16227 (init_locale_data): New prototype.
16228 (align_locale_data): Likewise.
16229 (add_locale_empty): Likewise.
16230 (add_locale_raw_data): Likewise.
16231 (add_locale_raw_obstack): Likewise.
16232 (add_locale_string): Likewise.
16233 (add_locale_wstring): Likewise.
16234 (add_locale_uint32): Likewise.
16235 (add_locale_uint32_array): Likewise.
16236 (add_locale_char): Likewise.
16237 (start_locale_structure): Likewise.
16238 (end_locale_structure): Likewise.
16239 (start_locale_prelude): Likewise.
16240 (end_locale_prelude): Likewise.
16241 (write_locale_data): Update prototype.
16242 * locale/programs/3level.h (struct TABLE): Remove result field.
16243 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16244 Use new locale_file interface.
16245 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16246 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16247 * locale/programs/ld-address.c (address_output): Use new
16248 locale_file interface.
16249 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16250 NO_ADD_LOCALE.
16251 (collate_finish): Don't call collseq_table_finalize.
16252 (collate_output): Use new locale_file interface.
16253 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16254 in file.
16255 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16256 (TABLE): Move defines earlier in file.
16257 (ELEMENT): Likewise.
16258 (DEFAULT): Likewise.
16259 (wctrans_table_add): Move macro and inline function earlier in
16260 file.
16261 (struct wctype_table): Move type earlier in file.
16262 (add_locale_wctype_table): New static prototype.
16263 (struct locale_ctype_t): Use logical types instead of struct iovec
16264 pointers for members.
16265 (ctype_output): Use new locale_file interface.
16266 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16267 new locale_file interface.
16268 (allocate_arrays): Update for use of new locale_file interface.
16269 * locale/programs/ld-identification.c (identification_output): Use
16270 new locale_file interface.
16271 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16272 * locale/programs/ld-messages.c (messages_output): Likewise.
16273 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16274 * locale/programs/ld-name.c (name_output): Likewise.
16275 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16276 * locale/programs/ld-paper.c (paper_output): Likewise.
16277 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16278 * locale/programs/ld-time.c (time_output): Likewise.
16279
162802013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16281
16282 * benchtests/Makefile: Add memrchr benchmark.
16283 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16284 benchmark as memrchr.
16285 * benchtests/bench-memrchr-ifunc.c: New file.
16286 * benchtests/bench-memrchr.c: New file.
16287
162882013-09-06 Will Newton <will.newton@linaro.org>
16289
16290 * benchtests/Makefile (string-bench): Add memcpy.
16291
162922013-09-05 Carlos O'Donell <carlos@redhat.com>
16293 Cong Wang <amwang@redhat.com>
16294
16295 [BZ #15850]
16296 * sysdeps/unix/sysv/linux/bits/in.h
16297 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16298 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16299 before __USE_KERNEL_IPV6_DEFS uses.
16300 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16301 IPPROTO_BEETPH.
16302 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16303 sockaddr_in6, or ipv6_mreq.
16304
163052013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16306
16307 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16308 memory access for final bytes in some large inputs.
16309 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16310
163112013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16312
16313 * string/test-memrchr.c: New file.
16314 * string/test-memrchr-ifunc.c: New file.
16315 * string/Makefile: Add new memrchr testcase.
16316
163172013-09-05 Mike Frysinger <vapier@gentoo.org>
16318
16319 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16320 fanotify_init returns EPERM.
16321
163222013-09-04 Joseph Myers <joseph@codesourcery.com>
16323
16324 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16325 errors.
16326 (top level): Treat second token from macro or constant entries for
16327 allowed headers as allowed.
16328 * include/complex.h: Condition internal declarations on
16329 [!_ISOMAC].
16330 * include/fenv.h: Condition include of <stdbool.h> and internal
16331 declarations on [!_ISOMAC].
16332
163332013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16334
16335 [BZ #15923]
16336 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16337
163382013-09-04 Joseph Myers <joseph@codesourcery.com>
16339
16340 * configure.in (--enable-versioning): Remove configure option.
16341 (libc_cv_asm_symver_directive): Remove configure test.
16342 (libc_cv_ld_version_script_option): Likewise.
16343 (VERSIONING): Remove variable and AC_SUBST.
16344 (DO_VERSIONING): Remove AC_DEFINE.
16345 * configure: Regenerated.
16346 * config.h.in (DO_VERSIONING): Remove macro.
16347 * Makerules [$(versioning) = yes]: Change conditionals to
16348 [$(build-shared) = yes].
16349 * config.make.in (versioning): Remove variable.
16350 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16351 [$(build-shared) = yes].
16352 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16353 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16354 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16355 [$(build-shared) = yes].
16356 * extra-lib.mk [$(versioning) = yes]: Likewise.
16357 * hurd/Makefile [$(versioning) = yes]: Likewise.
16358 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16359 [SHARED].
16360 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16361 [SHARED].
16362 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16363 [SHARED && !NO_HIDDEN].
16364 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16365 [SHARED].
16366 [SHARED && DO_VERSIONING]: Likewise..
16367 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16368 [$(build-shared) = yes].
16369 * manual/install.texi (--disable-versioning): Remove
16370 documentation.
16371 * INSTALL: Regenerated.
16372 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16373 to [SHARED].
16374 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16375 [$(build-shared) = yes].
16376 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16377 * sysdeps/i386/i686/multiarch/strstr-c.c
16378 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16379 [SHARED && !NO_HIDDEN].
16380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16381 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16382 * sysdeps/powerpc/powerpc32/dl-machine.c
16383 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16384 * sysdeps/powerpc/powerpc32/sysdep.h
16385 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16386 to [SHARED && PIC && !NO_HIDDEN].
16387 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16388 conditional to [SHARED].
16389
163902013-09-04 Will Newton <will.newton@linaro.org>
16391
16392 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16393 * benchtests/bench-string.h: Include bench-timing.h instead
16394 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16395 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16396 call to HP_TIMING_DIFF_INIT.
16397 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16398 instead of hp-timing.h macros.
16399 * benchtests/bench-memchr.c: Likewise.
16400 * benchtests/bench-memcmp.c: Likewise.
16401 * benchtests/bench-memcpy.c: Likewise.
16402 * benchtests/bench-memmem.c: Likewise.
16403 * benchtests/bench-memmove.c: Likewise.
16404 * benchtests/bench-memset.c: Likewise.
16405 * benchtests/bench-rawmemchr.c: Likewise.
16406 * benchtests/bench-strcasecmp.c: Likewise.
16407 * benchtests/bench-strcasestr.c: Likewise.
16408 * benchtests/bench-strcat.c: Likewise.
16409 * benchtests/bench-strchr.c: Likewise.
16410 * benchtests/bench-strcmp.c: Likewise.
16411 * benchtests/bench-strcpy.c: Likewise.
16412 * benchtests/bench-strcpy_chk.c: Likewise.
16413 * benchtests/bench-strlen.c: Likewise.
16414 * benchtests/bench-strncasecmp.c: Likewise.
16415 * benchtests/bench-strncat.c: Likewise.
16416 * benchtests/bench-strncmp.c: Likewise.
16417 * benchtests/bench-strncpy.c: Likewise.
16418 * benchtests/bench-strnlen.c: Likewise.
16419 * benchtests/bench-strpbrk.c: Likewise.
16420 * benchtests/bench-strrchr.c: Likewise.
16421 * benchtests/bench-strspn.c: Likewise.
16422 * benchtests/bench-strstr.c: Likewise.
16423
164242013-09-04 Will Newton <will.newton@linaro.org>
16425
16426 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16427
164282013-09-03 Joseph Myers <joseph@codesourcery.com>
16429
16430 [BZ #15427]
16431 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16432 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16433 * math/libm-test.inc (lgamma_test_data): Add more tests.
16434 * sysdeps/i386/fpu/libm-test-ulps: Update.
16435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16436
164372013-09-03 Ondřej Bílka <neleai@seznam.cz>
16438
16439 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16441 Add ifunc.
16442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16443 Add strcmp-sse2-unaligned
16444 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16445
164462013-09-02 Mike Frysinger <vapier@gentoo.org>
16447
16448 * Versions.def (libc): Add GLIBC_2.19.
16449
164502013-09-02 Mike Frysinger <vapier@gentoo.org>
16451
16452 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16453 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16454
164552013-09-02 Joseph Myers <joseph@codesourcery.com>
16456
16457 [BZ #14155]
16458 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16459 intermediate calculations in recurrence.
16460 (__ieee754_ynf): Likewise.
16461 * math/libm-test.inc (jn_test_data): Do not allow spurious
16462 underflow exception. Add more tests.
16463 (yn_test_data): Add more tests.
16464 * sysdeps/i386/fpu/libm-test-ulps: Update.
16465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16466
164672013-09-02 Ondřej Bílka <neleai@seznam.cz>
16468
16469 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16470
164712013-08-30 Ondřej Bílka <neleai@seznam.cz>
16472
16473 * csu/init-first.c: Fix then/than typos.
16474 * locale/programs/ld-collate.c: Likewise.
16475 * locale/programs/linereader.h: Likewise.
16476 * manual/charset.texi: Likewise.
16477 * manual/filesys.texi: Likewise.
16478 * manual/stdio.texi: Likewise.
16479 * manual/string.texi: Likewise.
16480 * stdlib/fmtmsg.c: Likewise.
16481 * sysdeps/i386/stpncpy.S: Likewise.
16482 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16483 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16484 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16485 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16486
164872013-08-30 Ondřej Bílka <neleai@seznam.cz>
16488
16489 * elf/dl-open.c: Fix typos.
16490 * iconvdata/gbbig5.c: Likewise.
16491 * iconvdata/iso-2022-jp.c: Likewise.
16492 * iconv/gconv_int.h: Likewise.
16493 * iconv/loop.c: Likewise.
16494 * nis/rpcsvc/nis.h: Likewise.
16495 * resolv/ns_name.c: Likewise.
16496 * stdio-common/vfscanf.c: Likewise.
16497 * streams/stropts.h: Likewise.
16498 * sunrpc/rpc_thread.c: Likewise.
16499 * sysdeps/i386/strpbrk.S: Likewise.
16500 * sysdeps/ieee754/k_standard.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16503 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16504 * sysdeps/mach/hurd/profil.c: Likewise.
16505 * sysdeps/s390/dl-procinfo.h: Likewise.
16506 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16507 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16508 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16509 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16511
165122013-08-30 Ondřej Bílka <neleai@seznam.cz>
16513
16514 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16516
165172013-08-29 Ondřej Bílka <neleai@seznam.cz>
16518
16519 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16520 aix specific files.
16521 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16522 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16524 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16525 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16526 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16527 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16528 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16529
165302013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16531 Roland McGrath <roland@hack.frob.com>
16532
16533 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16534 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16535
165362013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16537
16538 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16539 __executable_start symbol instead of _start.
16540
165412013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16542
16543 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16544 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16545 Move macros to...
16546 * sysdeps/gnu/ldsodefs.h: ... this new file.
16547
16548 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16549 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16550 instead of ELFOSABI_LINUX.
16551
16552 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16553 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16554 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16555 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16556 Likewise.
16557 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16558 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16559 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16560 Likewise.
16561 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16562 (ibm_extended_long_double): Add ieee_nan member.
16563 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16564 (do_test): New function.
16565
16566 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16567 TEST_TRUNC.
16568 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16569 functions, renamed from truncdfsf_test, trunctfsf_test,
16570 trunctfdf_test.
16571 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16572 functions.
16573 (do_test): Run all these.
16574
165752013-08-29 Ondřej Bílka <neleai@seznam.cz>
16576
16577 * argp/argp-help.c: Fix typos.
16578 * argp/argp-parse.c: Likewise.
16579 * debug/backtracesyms.c: Likewise.
16580 * elf/elf.h: Likewise.
16581 * malloc/malloc.c: Likewise.
16582 * nis/nis_print.c: Likewise.
16583 * resolv/res_comp.c: Likewise.
16584 * stdlib/stdlib.h: Likewise.
16585 * sunrpc/clnt_tcp.c: Likewise.
16586 * sunrpc/clnt_udp.c: Likewise.
16587 * sunrpc/clnt_unix.c: Likewise.
16588 * sysdeps/unix/bsd/ptsname.c: Likewise.
16589 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16590 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16592 Likewise.
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16594 Likewise.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16596 Likewise.
16597 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16598
165992013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16600
16601 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16603
166042013-08-27 Mike Frysinger <vapier@gentoo.org>
16605
16606 [BZ #15897]
16607 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16608 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16609 ($(objpfx)bug-dl-leaf): New rule.
16610 ($(objpfx)bug-dl-leaf.so): Likewise.
16611 ($(objpfx)bug-dl-leaf.out): Likewise.
16612 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16613 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16614 * dlfcn/bug-dl-leaf.c: New test.
16615 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16616 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16617 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16618 (dlclose): Likewise.
16619 (dlmopen): Likewise.
16620
166212013-08-27 Roland McGrath <roland@hack.frob.com>
16622
16623 * include/netdb.h [!_ISOMAC]:
16624 Don't include <tls.h>.
16625 (h_errno, __libc_h_errno): Move declaration and macros out of
16626 [_LIBC_REENTRANT].
16627
16628 * include/resolv.h [_RESOLV_H_]:
16629 Don't include <tls.h>.
16630 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16631 * resolv/res_libc.c: Don't include <tls.h>.
16632 (_res): Use __attribute__ ((nocommon)) in place of
16633 __attribute__ ((section (".bss"))).
16634
16635 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16636 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16637
16638 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16639
16640 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16641 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16642
16643 * resolv/res_mkquery.c: Include <sys/time.h>.
16644
16645 * inet/ifreq.c: Moved to ...
16646 * sysdeps/unix/ifreq.c: ... here.
16647 * inet/ifreq.c: New file, true stub version.
16648
16649 * socket/sa_len.c: New file.
16650 * socket/Makefile (aux): Add it.
16651 * sysdeps/unix/sysv/linux/Makefile
16652 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16653 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16654 and #include <socket/sa_len.c>.
16655 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16656 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16657
16658 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16659 * bits/socket.h: ... here.
16660
16661 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16662 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16663 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16664
166652013-08-27 Andreas Schwab <schwab@suse.de>
16666
16667 [BZ #15736]
16668 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16669 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16670 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16671 * string/test-strcasecmp.c (test_main): Run tests in several
16672 locales.
16673 * string/test-strncasecmp.c (test_main): Likewise.
16674
16675 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16676 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16677 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16679 (__strncasecmp_ssse3) [PIC]: Likewise.
16680
166812013-08-26 Roland McGrath <roland@hack.frob.com>
16682
16683 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16684
16685 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16686 instead of explicitly declaring xdecrypt.
16687 * nis/nss_nis/nis-publickey.c: Likewise.
16688
166892013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16690
16691 [BZ #15890]
16692 * nscd/aicache.c: Include res_hconf.h.
16693 (addhstaiX): Initialize res_hconf.
16694
166952013-08-26 Andreas Schwab <schwab@suse.de>
16696
16697 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16698 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16699
167002013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16701
16702 * nscd/aicache.c (addhstaiX): Fix indentation.
16703
167042013-08-25 Mike Frysinger <vapier@gentoo.org>
16705
16706 * configure.ac: Quote $build_pt_chown test.
16707 * configure: Regenerated.
16708
167092013-08-23 Joseph Myers <joseph@codesourcery.com>
16710
16711 [BZ #15532]
16712 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16713 * math/s_cexpf.c (__cexpf): Likewise.
16714 * math/s_cexpl.c (__cexpl): Likewise.
16715 * math/libm-test.inc (cexp_test_data): Correct expected return
16716 value for NaN + i0. Add another test.
16717
167182013-08-22 David S. Miller <davem@davemloft.net>
16719
16720 * po/ca.po: Update Catalan translation from translation project.
16721 * po/uk.po: Add Ukrainian translations from translation project.
16722
167232013-08-21 Joseph Myers <joseph@codesourcery.com>
16724
16725 [BZ #15797]
16726 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16727 is infinite, not alongside NaN test.
16728 * math/s_fdimf.c (__fdimf): Likewise.
16729 * math/s_fdiml.c (__fdiml): Likewise.
16730 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16731 errno is unchanged.
16732
167332013-08-21 Ondřej Bílka <neleai@seznam.cz>
16734
16735 * argp/argp-help.c: Fix typos.
16736 * crypt/speeds.c: Likewise.
16737 * csu/check_fds.c: Likewise.
16738 * elf/dl-load.c: Likewise.
16739 * elf/dl-open.c: Likewise.
16740 * elf/reldep3.c: Likewise.
16741 * elf/reldep.c: Likewise.
16742 * elf/sprof.c: Likewise.
16743 * iconv/iconv_charmap.c: Likewise.
16744 * iconv/skeleton.c: Likewise.
16745 * iconv/strtab.c: Likewise.
16746 * io/lockf64.c: Likewise.
16747 * libio/libioP.h: Likewise.
16748 * resolv/gai_notify.c: Likewise.
16749 * resolv/ns_name.c: Likewise.
16750 * resolv/ns_samedomain.c: Likewise.
16751 * resolv/res_send.c: Likewise.
16752 * stdlib/random.c: Likewise.
16753 * sunrpc/rpc/xdr.h: Likewise.
16754 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16755 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16756 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16757 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16758 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16759 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16760 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16761 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16762 * sysdeps/mach/hurd/check_fds.c: Likewise.
16763 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16764 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16765 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16766 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16767 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16768 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16769 * sysdeps/pthread/aio_notify.c: Likewise.
16770 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16771 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16772 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16773 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16774 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16775
167762013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16777
16778 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16779 version if bit_Slow_SSE4_2 is set.
16780 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16781 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16782
167832013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16784
16785 [BZ #15867]
16786 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16787 trampoline stack frame information.
16788 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16789 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16790 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16791 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16792 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16793 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16794 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16795 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16796 sa_flags value.
16797 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16798 interrupting a syscall and set with option SA_SIGINFO.
16799
168002013-08-20 Joseph Myers <joseph@codesourcery.com>
16801
16802 [BZ #15531]
16803 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16804 argument is infinite.
16805 * math/s_cprojf.c (__cprojf): Likewise.
16806 * math/s_cprojl.c (__cprojl): Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16808 * math/libm-test.inc (cproj_test_data): Add more tests.
16809
16810 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16811
16812 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16813 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16814 size. Use __ffs to determine corresponding shift.
16815
168162013-08-20 Joseph Myers <joseph@codesourcery.com>
16817 Roland McGrath <roland@hack.frob.com>
16818
16819 * Makefile (INSTALL): Remove trailing blank lines from output of
16820 makeinfo.
16821
168222013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16823
16824 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16825 Align 32 bit compat elf_greg to 8 bytes.
16826
168272013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16828
16829 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16830
168312013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16832
16833 * string/strcoll_l.c (coll_seq): New structure.
16834 (get_next_seq_cached): New function.
16835 (get_next_seq): New function.
16836 (do_compare): New function.
16837 (STRCOLL): Use GNU style definition. Simplify implementation
16838 by using get_next_seq, get_next_seq_cached and do_compare.
16839
168402013-08-16 Florian Weimer <fweimer@redhat.com>
16841
16842 [BZ #14699]
16843 CVE-2013-4237
16844 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16845 member.
16846 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16847 member.
16848 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16849 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16850 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16851 conditional.
16852 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16853 GETDENTS_64BIT_ALIGNED.
16854 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16855 * manual/filesys.texi (Reading/Closing Directory): Document
16856 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16857 strongly.
16858 * manual/conf.texi (Limits for Files): Add portability note to
16859 NAME_MAX, PATH_MAX.
16860 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16861
168622013-08-13 Andreas Schwab <schwab@suse.de>
16863
16864 [BZ #15749]
16865 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16866 of fabs.
16867 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16868 LDBL_MAX_EXP >= 16384]: Add tests for it.
16869
168702013-08-12 David S. Miller <davem@davemloft.net>
16871
16872 * version.h (RELEASE): Set to "development".
16873 (VERSION): Set to "2.18.90".
16874 * NEWS: Add 2.19 section.
16875
168762013-08-03 David S. Miller <davem@davemloft.net>
16877
16878 * po/ko.po: Update Korean translation from translation project.
16879
168802013-08-01 David S. Miller <davem@davemloft.net>
16881
16882 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16883 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16884 Bilka.
16885
168862013-07-30 David S. Miller <davem@davemloft.net>
16887
16888 * po/fr.po: Update French translation from translation project.
16889
168902013-07-28 David S. Miller <davem@davemloft.net>
16891
16892 * po/cs.po: Update Czech translation from translation project.
16893
16894 * po/sv.po: Update Swedish translation from translation project.
16895
168962013-07-27 David S. Miller <davem@davemloft.net>
16897
16898 * po/eo.po: Update Esperanto translation from translation project.
16899
16900 * po/vi.po: Update Vietnamese translation from translation project.
16901
16902 * po/de.po: Update German translation from translation project.
16903
169042013-07-26 David S. Miller <davem@davemloft.net>
16905
16906 * po/bg.po: Update Bulgarian translation from translation project.
16907
16908 * po/nl.po: Update Dutch translation from translation project.
16909 * po/pl.po: Update Polish translation from translation project.
16910 * po/ru.po: Update Russian translation from translation project.
16911
169122013-07-24 David S. Miller <davem@davemloft.net>
16913
16914 * po/libc.pot: Update.
16915
169162013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16917
16918 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16919 variable page size.
16920 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16921 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16922 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16923
169242013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16925
16926 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16927
169282013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16929 Andreas Schwab <schwab@suse.de>
16930 Roland McGrath <roland@hack.frob.com>
16931 Joseph Myers <joseph@codesourcery.com>
16932 Carlos O'Donell <carlos@redhat.com>
16933
16934 [BZ #15755]
16935 * config.h.in: Define HAVE_PT_CHOWN.
16936 * config.make.in (build-pt-chown): New variable.
16937 * configure.in (--enable-pt_chown): New configure option.
16938 * configure: Regenerate.
16939 * login/Makefile: Include Makeconfig. Build pt_chown only if
16940 build-pt-chown is enabled.
16941 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16942 pt_chown to fix pty ownership.
16943 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16944 CLOSE_ALL_FDS.
16945 * manual/install.texi (Configuring and compiling): Mention
16946 --enable-pt_chown. Add @findex for grantpt.
16947 * INSTALL: Regenerate.
16948
169492013-07-20 David S. Miller <davem@davemloft.net>
16950
16951 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16952 difference between 32-bit and 64-bit.
16953
169542013-07-15 Carlos O'Donell <carlos@redhat.com>
16955
16956 [BZ #15711]
16957 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16958 Avoid system header dependency with -ffreestanding.
16959 ($(objpfx)bits/syscall%d): Likewise.
16960
169612013-07-13 David S. Miller <davem@davemloft.net>
16962
16963 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16964 underflows from atanl/atan2l due to bug 15319.
16965 (casinh_test_data): Likewise.
16966
169672013-07-07 David S. Miller <davem@davemloft.net>
16968
16969 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16970
169712013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16972
16973 * sysdeps/i386/fpu/libm-test-ulps: Update.
16974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16975
169762013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16977
16978 * configure.in (--enable-lock-elision): Fix message text.
16979 * INSTALL: Regenerate.
16980 * configure: Regenerate.
16981
169822013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16983
16984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16985
169862013-07-03 Andreas Jaeger <aj@suse.de>
16987
16988 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16989 define.
16990 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16991 (ptrace_peeksiginfo_args): Add.
16992 (__ptrace_peeksiginfo_flags): Add.
16993 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16995 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16996
169972013-07-03 Allan McRae <allan@archlinux.org>
16998
16999 * sysdeps/i386/fpu/libm-test-ulps: Update.
17000
170012013-07-02 David S. Miller <davem@davemloft.net>
17002
17003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17004
170052013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17006
17007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17008
170092013-07-02 Joseph Myers <joseph@codesourcery.com>
17010
17011 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17013
170142013-07-02 Andi Kleen <ak@linux.intel.com>
17015
17016 * config.h.in (ENABLE_LOCK_ELISION): Add.
17017 * configure.in (--enable-lock-elision): Add option.
17018 * manual/install.texi: Document --enable lock elision.
17019 * configure: Regenerate
17020 * INSTALL: Regenerate.
17021
170222013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17023
17024 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17025 SSE4.2 strcasecmp for libc.a.
17026 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17027
170282013-07-02 Joseph Myers <joseph@codesourcery.com>
17029
17030 [BZ #13304]
17031 * soft-fp/op-common.h (_FP_FMA): New macro.
17032 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17033 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17034 (_FP_MUL_MEAT_1_imm): ... here.
17035 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17036 (_FP_MUL_MEAT_1_wide): ... here.
17037 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17038 (_FP_MUL_MEAT_1_hard): ... here.
17039 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17040 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17041 (_FP_MUL_MEAT_2_wide): ... here.
17042 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17043 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17044 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17045 (_FP_MUL_MEAT_2_gmp): ... here.
17046 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17047 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17048 (_FP_MUL_MEAT_4_wide): ... here.
17049 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17050 (_FP_MUL_MEAT_4_gmp): ... here.
17051 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17052 (_FP_WFRACBITS_DW_S): Likewise.
17053 (_FP_WFRACXBITS_DW_S): Likewise.
17054 (_FP_HIGHBIT_DW_S): Likewise.
17055 (FP_FMA_S): Likewise.
17056 (_FP_FRAC_HIGH_DW_S): Likewise.
17057 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17058 (_FP_WFRACBITS_DW_D): Likewise.
17059 (_FP_WFRACXBITS_DW_D): Likewise.
17060 (_FP_HIGHBIT_DW_D): Likewise.
17061 (FP_FMA_D): Likewise.
17062 (_FP_FRAC_HIGH_DW_D): Likewise.
17063 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17064 (_FP_WFRACBITS_DW_E): Likewise.
17065 (_FP_WFRACXBITS_DW_E): Likewise.
17066 (_FP_HIGHBIT_DW_E): Likewise.
17067 (FP_FMA_E): Likewise.
17068 (_FP_FRAC_HIGH_DW_E): Likewise.
17069 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17070 (_FP_WFRACBITS_DW_Q): Likewise.
17071 (_FP_WFRACXBITS_DW_Q): Likewise.
17072 (_FP_HIGHBIT_DW_Q): Likewise.
17073 (FP_FMA_Q): Likewise.
17074 (_FP_FRAC_HIGH_DW_Q): Likewise.
17075 * soft-fp/fmasf4.c: New file.
17076 * soft-fp/fmadf4.c: Likewise.
17077 * soft-fp/fmatf4.c: Likewise.
17078
170792013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17080
17081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17082 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17083 Silvermont.
17084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17085 macro.
17086 (index_Slow_SSE4_2): Likewise.
17087 (index_Prefer_PMINUB_for_stringop): Likewise.
17088 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17089 bit_Slow_SSE4_2 is set.
17090 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17091 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17092
170932013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17094
17095 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17096 rtld_global._dl_hwcap2.
17097 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17098 POWER8.
17099 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17100 POWER8 feature descriptions defined in _dl_hwcap2.
17101 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17102 string handling for POWER8 feature bits.
17103 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17104 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17105 _dl_powerpc_cap_flags.
17106 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17107 * sysdeps/powerpc/rtld-global-offsets.sym
17108 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17109 _dl_hwcap2 in the rtld_global_ro structure.
17110
171112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17112
17113 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17114 hardware capabilities in support of AT_HWCAP2.
17115 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17116 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17117 GLRO(dl_hwcap2).
17118 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17119 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17120 explicitly the unknown a_type display mechanism is used.
17121 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17122 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17123 struct member.
17124 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17125 to macro prototype for AT_HWCAP2 support.
17126 * sysdeps/i386/dl-procinfo.h: Likewise.
17127 * sysdeps/s390/dl-procinfo.h: Likewise.
17128 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17129 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17130 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17131 return -1 for unknown a_type display fallback.
17132 * sysdeps/sparc/dl-procinfo.h: Likewise.
17133 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17134 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17135
171362013-06-28 Joseph Myers <joseph@codesourcery.com>
17137
17138 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17139 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17140
171412013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17142
17143 [BZ #12492]
17144 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17145 mprotect making __stack_prot writable.
17146
171472013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17148 Joseph Myers <joseph@codesourcery.com>
17149
17150 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17151 as being properly aligned.
17152
171532013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17154
17155 * dlfcn/modstatic5.c: New file.
17156 * dlfcn/tststatic5.c: New file.
17157 * dlfcn/Makefile (tests): Add tststatic5.
17158 (tests-static): Likewise.
17159 (modules-names): Add modstatic5.
17160 (tststatic5-ENV): New variable.
17161 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17162
17163 [BZ #15022]
17164 * elf/dl-support.c (_dl_main_map): New variable.
17165 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17166 (_dl_nns, _dl_load_adds): Set to 1.
17167 (_dl_initial_searchlist): Refer to _dl_main_map.
17168 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17169 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17170 call to _dl_get_origin.
17171 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17172 around call_map.
17173 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17174 * dlfcn/modstatic3.c: New file.
17175 * dlfcn/tststatic3.c: New file.
17176 * dlfcn/tststatic4.c: New file.
17177 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17178 (tests-static): Likewise.
17179 (modules-names): Add modstatic3.
17180 (tststatic3-ENV, tststatic4-ENV): New variables.
17181 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17182 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17183
171842013-06-26 Joseph Myers <joseph@codesourcery.com>
17185
17186 * configure.in (CC): Require GCC version 4.4 or later.
17187 * configure: Regenerated.
17188 * manual/install.texi (Tools for Compilation): Update GCC version
17189 requirement.
17190 * INSTALL: Regenerated.
17191
171922013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17193
17194 [BZ #15674]
17195 * string/test-memcmp.c (check2): New.
17196 (main): Call check2.
17197
17198 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17199
172002013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17201
17202 [BZ #15022]
17203 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17204 over to...
17205 (dl_open_worker) [!SHARED]: ... here.
17206
172072013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17208
17209 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17210
172112013-06-25 Richard Henderson <rth@redhat.com>
17212
17213 * locale/programs/locarchive.c: Include <libc-internal.h>
17214
172152013-06-25 Joseph Myers <joseph@codesourcery.com>
17216
17217 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17218 trailing whitespace removed.
17219
172202013-06-24 Mike Frysinger <vapier@gentoo.org>
17221
17222 [BZ #10283]
17223 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17224 * locale/programs/locarchive.c: Include libc-mmap.h.
17225 (prepare_address_space): Take two new outputs (the mmap base and len).
17226 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17227 values.
17228 (create_archive): Declare new mmap base and len values for
17229 prepare_address_space, and store the result in ah.
17230 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17231 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17232 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17233 Declare new mmap base and len values for
17234 prepare_address_space, and store the result in new_ah.
17235 (open_archive): Declare new mmap base and len values for
17236 prepare_address_space, and store the result in ah.
17237 (close_archive): If ah->mmap_base is not NULL, use that and
17238 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17239 * sysdeps/generic/libc-mmap.h: New file.
17240
172412013-06-24 Mike Frysinger <vapier@gentoo.org>
17242
17243 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17244 (ALIGN_UP): Likewise.
17245 (PTR_ALIGN_DOWN): Likewise.
17246 (PTR_ALIGN_UP): Likewise.
17247
172482013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17249
17250 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17251 entry mapped to PPC_PLATFORM_POWER8.
17252 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17253 POWER8.
17254 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17255 (_dl_string_platform): Add case for exporting platform position for
17256 POWER8.
17257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17258 search path to sysdeps/powerpc/powerpc32/power8 directory.
17259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17260 search path to sysdeps/powerpc/powerpc64/power8 directory.
17261 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17262 power7 directories.
17263 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17264 power7 directories.
17265
172662013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17267
17268 * INSTALL: Regenerate.
17269
17270 * nscd/connections.c (nscd_init): Fix comment.
17271
172722013-06-22 Joseph Myers <joseph@codesourcery.com>
17273
17274 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17275
17276 [BZ #15667]
17277 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17278 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17279
172802013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17281
17282 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17283 DL_DST_REQ_STATIC.
17284 (DL_DST_REQ_STATIC): Remove macro.
17285
172862013-06-21 Joseph Myers <joseph@codesourcery.com>
17287
17288 [BZ #7006]
17289 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17290 with a shift of 0 bits.
17291
172922013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17293
17294 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17295 $(tststatic-ENV).
17296
172972013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17298
17299 [BZ #15655]
17300 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17301
173022013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17303
17304 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17305 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17306 accepts -fno-tree-loop-distribute-patterns.
17307 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17308 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17309 recursive call.
17310 * string/memset.c (memset): Likewise.
17311 * string/test-memmove.c (simple_memmove): Disable loop transformation
17312 to library calls.
17313 * string/test-memset.c (simple_memset): Likewise.
17314 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17315 * benchtests/bench-memset.c (simple_memset): Likewise.
17316 * configure: Regenerated.
17317
173182013-06-20 Joseph Myers <joseph@codesourcery.com>
17319
17320 * math/test-misc.c (main): Ignore fesetround failure when failures
17321 of subsequent rounding tests would be ignored.
17322
17323 [BZ #15654]
17324 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17325 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17326 * math/fegetenv.c (__fegetenv): Return 0.
17327 * math/fegetexcept.c (fegetexcept): Return 0.
17328 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17329 FE_TONEAREST.
17330 * math/feholdexcpt.c (feholdexcept): Return 0.
17331 * math/fesetenv.c (__fesetenv): Return 0.
17332 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17333 argument FE_TONEAREST.
17334 * math/feupdateenv.c (__feupdateenv): Return 0.
17335 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17336
173372013-06-18 Roland McGrath <roland@hack.frob.com>
17338
17339 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17340 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17341 ($(objpfx)rtld-%.os rules): Use them.
17342
173432013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17344
17345 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17346 fields.
17347
173482013-06-17 Roland McGrath <roland@hack.frob.com>
17349
17350 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17351 length of target pattern, then descending length of dependency pattern.
17352 * configure.in (AWK): Require gawk 3.1.2 or newer.
17353 * manual/install.texi (Tools for Compilation): Say that we do.
17354 * configure: Regenerated.
17355
17356 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17357 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17358 * scripts/sysd-rules.awk: ... this new script.
17359 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17360 than a glob-style pattern.
17361
173622013-06-17 Joseph Myers <joseph@codesourcery.com>
17363
17364 * math/test-misc.c (main): Do not treat incorrectly rounded
17365 conversions as failure unless ROUNDING_TESTS passes.
17366
173672013-06-15 Joseph Myers <joseph@codesourcery.com>
17368
17369 [BZ #15631]
17370 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17371 restore exception state around main square root computation, then
17372 check for inexactness explicitly.
17373
17374 * math/libm-test.inc (fma_test_data): Add another test.
17375
173762013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17377
17378 * manual/threads.texi (Non-POSIX Extensions): New document
17379 node. Document pthread_getattr_default_np and
17380 pthread_setattr_default_np.
17381
17382 * Versions.def (libpthread): Add GLIBC_2.18.
17383 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17385 Likewise.
17386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17387 Likewise.
17388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17389 Likewise.
17390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17391 Likewise.
17392 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17393 Likewise.
17394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17395 Likewise.
17396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17397 Likewise.
17398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17399 Likewise.
17400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17401 Likewise.
17402
174032013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17404
17405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17406 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17407
174082013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17409 H.J. Lu <hjl.tools@gmail.com>
17410
17411 [BZ #15627]
17412 * sysdeps/x86_64/rtld-memset.c: Remove file.
17413 * sysdeps/x86_64/rtld-memset.S: New file.
17414
174152013-06-14 Joseph Myers <joseph@codesourcery.com>
17416
17417 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17418 (test_in_one_mode): Take arguments for whether the rounding mode
17419 is supported for each floating-point type.
17420 (do_test): Pass new arguments to test_in_one_mode using
17421 ROUNDING_TESTS.
17422
174232013-06-13 Roland McGrath <roland@hack.frob.com>
17424
17425 * posix/tst-waitid.c (do_test): Distinguish different instances of
17426 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17427 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17428 before entering the kernel for waitpid.
17429
174302013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17431
17432 * NEWS: Fix note on clock function precision. Text by Roland
17433 McGrath.
17434
174352013-06-13 Roland McGrath <roland@hack.frob.com>
17436
17437 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17438 it into place only when and if the sanity check passes.
17439
174402013-06-13 Joseph Myers <joseph@codesourcery.com>
17441
17442 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17443 output for whether conversion result is exact. Take argument
17444 indicating whether type is IBM long double.
17445 (round_for_all): Change need_exact field to ibm_ld.
17446 * stdlib/tst-strtod-round.c (struct exactness): New type.
17447 (struct test): Change bool ld_ok field to struct exactness exact.
17448 (TEST): Update all definitions for change to field.
17449 (tests): Regenerate array contents.
17450 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17451 field value. Check for IBM long double here.
17452 (do_test): Update calls to test_in_one_mode.
17453
174542013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17455
17456 [BZ #12515]
17457 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17458 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17459
174602013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17461
17462 [BZ #15605]
17463 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17464 generated by the compiler on loop optimizations.
17465 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17466 general definitions.
17467
174682013-06-12 Joseph Myers <joseph@codesourcery.com>
17469
17470 * math/bug-nextafter.c: Include <math-tests.h>.
17471 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17472 the relevant type.
17473 * math/bug-nexttoward.c: Include <math-tests.h>.
17474 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17475 the relevant type.
17476 * math/test-misc.c: Include <math-tests.h>.
17477 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17478 the relevant type.
17479
174802013-06-12 Andreas Jaeger <aj@suse.de>
17481
17482 * po/ia.po: Update Interlingua translation from translation
17483 project.
17484
174852013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17486
17487 * include/fenv.h: Include stdbool.h.
17488 (struct rm_ctx): New structure.
17489 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17490 Define macro.
17491 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17492 (SET_RESTORE_ROUNDF): Likewise.
17493 (SET_RESTORE_ROUNDL): Likewise.
17494 (SET_RESTORE_ROUND_NOEX): Likewise.
17495 (SET_RESTORE_ROUND_NOEXF): Likewise.
17496 (SET_RESTORE_ROUND_NOEXL): Likewise.
17497 (SET_RESTORE_ROUND_53BIT): Likewise.
17498 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17499 (libc_feresetround_noexf_ctx): Likewise.
17500 (libc_feresetround_noexl_ctx): Likewise.
17501 (libc_feholdsetround_53bit_ctx): Likewise.
17502 (libc_feresetround_53bit_ctx): Likewise.
17503 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17504 (libc_feholdexcept_setround_sse_ctx): New function.
17505 (libc_fesetenv_sse_ctx): Likewise.
17506 (libc_feupdateenv_sse_ctx): Likewise.
17507 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17508 (libc_feholdexcept_setround_387_ctx): Likewise.
17509 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17510 (libc_feholdsetround_387_prec_ctx): Likewise.
17511 (libc_feholdsetround_387_ctx): Likewise.
17512 (libc_feholdsetround_387_53bit_ctx): Likewise.
17513 (libc_feholdsetround_sse_ctx): Likewise.
17514 (libc_feresetround_sse_ctx): Likewise.
17515 (libc_feresetround_387_ctx): Likewise.
17516 (libc_feupdateenv_387_ctx): Likewise.
17517 (libc_feholdexcept_setroundf_ctx): Define macro.
17518 (libc_fesetenvf_ctx): Likewise.
17519 (libc_feupdateenvf_ctx): Likewise.
17520 (libc_feholdsetroundf_ctx): Likewise.
17521 (libc_feresetroundf_ctx): Likewise.
17522 (libc_feholdexcept_setround_ctx): Likewise.
17523 (libc_fesetenv_ctx): Likewise.
17524 (libc_feupdateenv_ctx): Likewise.
17525 (libc_feholdsetround_ctx): Likewise.
17526 (libc_feresetround_ctx): Likewise.
17527 (libc_feholdexcept_setroundl_ctx): Likewise.
17528 (libc_feupdateenvl_ctx): Likewise.
17529 (libc_feholdsetroundl_ctx): Likewise.
17530 (libc_feresetroundl_ctx): Likewise.
17531 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17532 (libc_feresetround_53bit_ctx): Likewise.
17533
175342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17535
17536 * locale/iso-639.def: Convert to UTF-8.
17537
175382013-06-11 Joseph Myers <joseph@codesourcery.com>
17539
17540 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17541 (EXCEPTION_TESTS_double): Likewise.
17542 (EXCEPTION_TESTS_long_double): Likewise.
17543 (EXCEPTION_TESTS): Likewise.
17544 * math/libm-test.inc (test_exceptions): Only test exceptions if
17545 EXCEPTION_TESTS (FLOAT).
17546
175472013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17548
17549 * benchtests/Makefile (string-bench): Add strcpy_chk and
17550 stpcpy_chk.
17551 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17552 * benchtests/bench-stpcpy_chk.c: New file.
17553 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17554 * benchtests/bench-strcpy_chk.c: New file.
17555 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17556 code.
17557 (do_test): Likewise.
17558
175592013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17560
17561 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17562 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17563 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17564 with tabs where appropriate.
17565 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17566 dl-procinfo.h.
17567 [PPC_PLATFORM_PPC440]: Likewise.
17568 [PPC_PLATFORM_PPC464]: Likewise.
17569 [PPC_PLATFORM_PPC476]: Likewise.
17570 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17571 ppc464, and ppc476 platform strings merging from ports/
17572 dl-procinfo.h.
17573
175742013-06-11 Andreas Schwab <schwab@suse.de>
17575
17576 [BZ #14991]
17577 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17578 (from_ucs4_idx): Regenerate.
17579 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17580 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17581 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17582 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17583 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17584 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17585 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17586 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17587 from FROM_LOOP and TO_LOOP specific macros.
17588 (BODY): Handle combining characters.
17589 * iconvdata/BIG5HKSCS.irreversible: Update.
17590 * iconvdata/BIG5HKSCS.precomposed: New file.
17591 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17592 characters.
17593 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17594
175952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17596
17597 * include/sys/time.h: Fix indentation and add copyright header.
17598
17599 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17600 (do_test): Likewise.
17601 * string/test-memchr.c (do_one_test): Likewise.
17602 (do_test): Likewise.
17603 * string/test-memcmp.c (do_one_test): Likewise.
17604 (do_test): Likewise.
17605 * string/test-memcpy.c (do_one_test): Likewise.
17606 (do_test): Likewise.
17607 * string/test-memmem.c (do_one_test): Likewise.
17608 (do_test): Likewise.
17609 (do_random_tests): Likewise.
17610 * string/test-memmove.c (do_one_test): Likewise.
17611 (do_test): Likewise.
17612 * string/test-memset.c (do_one_test): Likewise.
17613 (do_test): Likewise.
17614 * string/test-rawmemchr.c (do_one_test): Likewise.
17615 (do_test): Likewise.
17616 * string/test-strcasecmp.c (do_one_test): Likewise.
17617 (do_test): Likewise.
17618 * string/test-strcasestr.c (do_one_test): Likewise.
17619 (do_test): Likewise.
17620 * string/test-strcat.c (do_one_test): Likewise.
17621 (do_test): Likewise.
17622 * string/test-strchr.c (do_one_test): Likewise.
17623 (do_test): Likewise.
17624 * string/test-strcmp.c (do_one_test): Likewise.
17625 (do_test): Likewise.
17626 * string/test-strcpy.c (do_one_test): Likewise.
17627 (do_test): Likewise.
17628 * string/test-string.h: Likewise.
17629 (test_init): Likewise.
17630 * string/test-strlen.c (do_one_test): Likewise.
17631 (do_test): Likewise.
17632 * string/test-strncasecmp.c (do_one_test): Likewise.
17633 (do_test): Likewise.
17634 * string/test-strncat.c (do_one_test): Likewise.
17635 (do_test): Likewise.
17636 * string/test-strncmp.c (do_one_test): Likewise.
17637 (do_test_limit): Likewise.
17638 (do_test): Likewise.
17639 * string/test-strncpy.c (do_one_test): Likewise.
17640 (do_test): Likewise.
17641 * string/test-strnlen.c (do_one_test): Likewise.
17642 (do_test): Likewise.
17643 * string/test-strpbrk.c (do_one_test): Likewise.
17644 (do_test): Likewise.
17645 * string/test-strrchr.c (do_one_test): Likewise.
17646 (do_test): Likewise.
17647 * string/test-strspn.c (do_one_test): Likewise.
17648 (do_test): Likewise.
17649 * string/test-strstr.c (do_one_test): Likewise.
17650 (do_test): Likewise.
17651
17652 * benchtests/Makefile (string-bench): Add string benchmarks.
17653 * benchtests/bench-bcopy-ifunc.c: New file.
17654 * benchtests/bench-bcopy.c: New file.
17655 * benchtests/bench-bzero-ifunc.c: New file.
17656 * benchtests/bench-bzero.c: New file.
17657 * benchtests/bench-memccpy-ifunc.c: New file.
17658 * benchtests/bench-memccpy.c: New file.
17659 * benchtests/bench-memchr-ifunc.c: New file.
17660 * benchtests/bench-memchr.c: New file.
17661 * benchtests/bench-memcmp-ifunc.c: New file.
17662 * benchtests/bench-memcmp.c: New file.
17663 * benchtests/bench-memmem-ifunc.c: New file.
17664 * benchtests/bench-memmem.c: New file.
17665 * benchtests/bench-memmove-ifunc.c: New file.
17666 * benchtests/bench-memmove.c: New file.
17667 * benchtests/bench-mempcpy-ifunc.c: New file.
17668 * benchtests/bench-mempcpy.c: New file.
17669 * benchtests/bench-memset-ifunc.c: New file.
17670 * benchtests/bench-memset.c: New file.
17671 * benchtests/bench-rawmemchr-ifunc.c: New file.
17672 * benchtests/bench-rawmemchr.c: New file.
17673 * benchtests/bench-stpcpy-ifunc.c: New file.
17674 * benchtests/bench-stpcpy.c: New file.
17675 * benchtests/bench-stpncpy-ifunc.c: New file.
17676 * benchtests/bench-stpncpy.c: New file.
17677 * benchtests/bench-strcasecmp-ifunc.c: New file.
17678 * benchtests/bench-strcasecmp.c: New file.
17679 * benchtests/bench-strcasestr-ifunc.c: New file.
17680 * benchtests/bench-strcasestr.c: New file.
17681 * benchtests/bench-strcat-ifunc.c: New file.
17682 * benchtests/bench-strcat.c: New file.
17683 * benchtests/bench-strchr-ifunc.c: New file.
17684 * benchtests/bench-strchr.c: New file.
17685 * benchtests/bench-strchrnul-ifunc.c: New file.
17686 * benchtests/bench-strchrnul.c: New file.
17687 * benchtests/bench-strcmp-ifunc.c: New file.
17688 * benchtests/bench-strcmp.c: New file.
17689 * benchtests/bench-strcpy-ifunc.c: New file.
17690 * benchtests/bench-strcpy.c: New file.
17691 * benchtests/bench-strcspn-ifunc.c: New file.
17692 * benchtests/bench-strcspn.c: New file.
17693 * benchtests/bench-strlen-ifunc.c: New file.
17694 * benchtests/bench-strlen.c: New file.
17695 * benchtests/bench-strncasecmp-ifunc.c: New file.
17696 * benchtests/bench-strncasecmp.c: New file.
17697 * benchtests/bench-strncat-ifunc.c: New file.
17698 * benchtests/bench-strncat.c: New file.
17699 * benchtests/bench-strncmp-ifunc.c: New file.
17700 * benchtests/bench-strncmp.c: New file.
17701 * benchtests/bench-strncpy-ifunc.c: New file.
17702 * benchtests/bench-strncpy.c: New file.
17703 * benchtests/bench-strnlen-ifunc.c: New file.
17704 * benchtests/bench-strnlen.c: New file.
17705 * benchtests/bench-strpbrk-ifunc.c: New file.
17706 * benchtests/bench-strpbrk.c: New file.
17707 * benchtests/bench-strrchr-ifunc.c: New file.
17708 * benchtests/bench-strrchr.c: New file.
17709 * benchtests/bench-strspn-ifunc.c: New file.
17710 * benchtests/bench-strspn.c: New file.
17711 * benchtests/bench-strstr-ifunc.c: New file.
17712 * benchtests/bench-strstr.c: New file.
17713
17714 * benchtests/Makefile: Disable parallel execution of targets.
17715 (string-bench): Add memcpy.
17716 (benchset): New variable to store a list of benchmark sets.
17717 (bench-func): Renamed from bench.
17718 (bench-set): New target.
17719 (bench): Depend on bench-func and bench-set.
17720 * benchtests/README: Add section on benchmark sets.
17721 * benchtests/bench-memcpy-ifunc.c: New file.
17722 * benchtests/bench-memcpy.c: New file.
17723 * benchtests/bench-string.h: New file.
17724
177252013-06-11 Andreas Schwab <schwab@suse.de>
17726
17727 [BZ #15577]
17728 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17729 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17730 values in the triple.
17731 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17732 terminator in the group key.
17733
177342013-06-11 Andreas Jaeger <aj@suse.de>
17735
17736 * po/zh_TW.po: Update Chinese (traditional) translation from
17737 translation project.
17738
177392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17740
17741 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17742 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17743 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17744 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17745 (clock_getcpuclockid): Likewise.
17746 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17747 Add weak_alias and libc_hidden_def.
17748 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17749 * rt/clock_gettime.c (clock_gettime): Rename to
17750 __clock_gettime. Add weak_alias and libc_hidden_def.
17751 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17752 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17753 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17754 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17755 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17756 Likewise.
17757 * rt/clock_settime.c (clock_settime): Rename to
17758 __clock_settime. Add weak_alias and libc_hidden_def.
17759 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17760
177612013-06-10 Joseph Myers <joseph@codesourcery.com>
17762
17763 * mach/err_boot.sub: Remove trailing whitespace.
17764 * mach/err_ipc.sub: Likewise.
17765 * mach/err_mach.sub: Likewise.
17766
17767 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17768 (ROUNDING_TESTS_double): Likewise.
17769 (ROUNDING_TESTS_long_double): Likewise.
17770 (ROUNDING_TESTS): Likewise.
17771 * math/libm-test.inc: Include <math-tests.h>.
17772 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17773 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17774 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17775 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17776
177772013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17778
17779 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17780 of assigning.
17781
177822013-06-08 Joseph Myers <joseph@codesourcery.com>
17783
17784 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17785 otherwise empty TRANS lines.
17786 * sysdeps/gnu/errlist.c: Regenerated.
17787
17788 * catgets/gencat.c (error_print): Use (void) in function
17789 definition.
17790 * crypt/crypt_util.c (__init_des): Likewise.
17791 * crypt/speeds.c (Stop): Likewise.
17792 (main): Likewise.
17793 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17794 * inet/ruserpass.c (token): Likewise.
17795 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17796 * intl/localealias.c (extend_alias_table): Likewise.
17797 * intl/plural-exp.c (init_germanic_plural): Likewise.
17798 * libio/fcloseall.c (__fcloseall): Likewise.
17799 * libio/genops.c (_IO_flush_all): Likewise.
17800 (_IO_flush_all_linebuffered): Likewise.
17801 (_IO_cleanup): Likewise.
17802 (_IO_iter_begin): Likewise.
17803 (_IO_iter_end): Likewise.
17804 (_IO_list_lock): Likewise.
17805 (_IO_list_unlock): Likewise.
17806 (_IO_list_resetlock): Likewise.
17807 * libio/getchar.c (getchar): Likewise.
17808 * libio/getchar_u.c (getchar_unlocked): Likewise.
17809 * libio/getwchar.c (getwchar): Likewise.
17810 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17811 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17812 * login/getpt.c (__getpt): Likewise.
17813 * login/tst-utmp.c (main): Likewise.
17814 * malloc/hooks.c (__malloc_check_init): Likewise.
17815 * malloc/malloc.c (__malloc_stats): Likewise.
17816 * malloc/mtrace.c (tr_break): Likewise.
17817 (mtrace): Likewise.
17818 (muntrace): Likewise.
17819 * misc/fstab.c (endfsent): Likewise.
17820 * misc/getclktck.c (__getclktck): Likewise.
17821 * misc/getdtsz.c (__getdtablesize): Likewise.
17822 * misc/gethostid.c (gethostid): Likewise.
17823 * misc/getpagesize.c (__getpagesize): Likewise.
17824 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17825 (__get_nprocs): Likewise.
17826 (__get_phys_pages): Likewise.
17827 (__get_avphys_pages): Likewise.
17828 * misc/getttyent.c (getttyent): Likewise.
17829 (setttyent): Likewise.
17830 (endttyent): Likewise.
17831 * misc/getusershell.c (getusershell): Likewise.
17832 (endusershell): Likewise.
17833 (setusershell): Likewise.
17834 (initshells): Likewise.
17835 * misc/hsearch.c (__hdestroy): Likewise.
17836 * misc/sync.c (sync): Likewise.
17837 * misc/syslog.c (closelog_internal): Likewise.
17838 (closelog): Likewise.
17839 * misc/ttyslot.c (ttyslot): Likewise.
17840 * misc/vhangup.c (vhangup): Likewise.
17841 * posix/fork.c (__fork): Likewise.
17842 * posix/getegid.c (__getegid): Likewise.
17843 * posix/geteuid.c (__geteuid): Likewise.
17844 * posix/getgid.c (__getgid): Likewise.
17845 * posix/getpid.c (__getpid): Likewise.
17846 * posix/getppid.c (__getppid): Likewise.
17847 * posix/getuid.c (__getuid): Likewise.
17848 * posix/pause.c (pause): Likewise.
17849 * posix/setpgrp.c (setpgrp): Likewise.
17850 * posix/setsid.c (__setsid): Likewise.
17851 * posix/test-vfork.c (noop): Likewise.
17852 * resolv/gethnamaddr.c (_endhtent): Likewise.
17853 (_gethtent): Likewise.
17854 (ht_endhostent): Likewise.
17855 (gethostent): Likewise.
17856 (dns_service): Likewise.
17857 * stdlib/drand48.c (drand48): Likewise.
17858 * stdlib/lrand48.c (lrand48): Likewise.
17859 * stdlib/mrand48.c (mrand48): Likewise.
17860 * stdlib/rand.c (rand): Likewise.
17861 * stdlib/random.c (__random): Likewise.
17862 * stdlib/setenv.c (clearenv): Likewise.
17863 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17864 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17865 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17866 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17867 (__get_nprocs): Likewise.
17868 (__get_phys_pages): Likewise.
17869 (__get_avphys_pages): Likewise.
17870 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17871 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17872 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17873 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17874 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17875 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17876 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17877 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17878 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17879 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17880 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17881 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17882 * sysdeps/posix/clock.c (clock): Likewise.
17883 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17884 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17885 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17886 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17887 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17888 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17889 (__get_nprocs_conf): Likewise.
17890 (__get_phys_pages): Likewise.
17891 (__get_avphys_pages): Likewise.
17892 * time/clock.c (clock): Likewise.
17893 * time/tzset.c (__tzname_max): Likewise.
17894
178952013-06-07 Joseph Myers <joseph@codesourcery.com>
17896
17897 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17898 (__bswap_32): Do not use "register".
17899 * crypt/crypt.c (_ufc_doit_r): Likewise.
17900 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17901 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17902 * gmon/gmon.c (__monstartup): Likewise.
17903 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17904 * hurd/hurdmalloc.c (more_memory): Likewise.
17905 (malloc): Likewise.
17906 (free): Likewise.
17907 (realloc): Likewise.
17908 (malloc_fork_prepare): Likewise.
17909 (malloc_fork_parent): Likewise.
17910 (malloc_fork_child): Likewise.
17911 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17912 (_svcauth_des): Likewise.
17913 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17914 * inet/inet_net.c (inet_network): Likewise.
17915 * inet/inet_netof.c (inet_netof): Likewise.
17916 * inet/rcmd.c (__validuser2_sa): Likewise.
17917 * io/fts.c (fts_open): Likewise.
17918 (fts_load): Likewise.
17919 (fts_close): Likewise.
17920 (fts_read): Likewise.
17921 (fts_children): Likewise.
17922 (fts_build): Likewise.
17923 (fts_stat): Likewise.
17924 (fts_sort): Likewise.
17925 (fts_alloc): Likewise.
17926 (fts_lfree): Likewise.
17927 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17928 (_IO_file_xsgetn): Likewise.
17929 (_IO_file_xsgetn_mmap): Likewise.
17930 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17931 (_IO_cookie_write): Likewise.
17932 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17933 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17934 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17935 * malloc/obstack.c (_obstack_begin): Likewise.
17936 (_obstack_begin_1): Likewise.
17937 (_obstack_newchunk): Likewise.
17938 (_obstack_allocated_p): Likewise.
17939 (obstack_free): Likewise.
17940 (_obstack_memory_used): Likewise.
17941 * misc/getttyent.c (getttynam): Likewise.
17942 (getttyent): Likewise.
17943 (skip): Likewise.
17944 (value): Likewise.
17945 * misc/getusershell.c (initshells): Likewise.
17946 * misc/syslog.c (__vsyslog_chk): Likewise.
17947 * misc/ttyslot.c (ttyslot): Likewise.
17948 * nis/nis_hash.c (__nis_hash): Likewise.
17949 * posix/fnmatch_loop.c (FCT): Likewise.
17950 * posix/getconf.c (print_all): Likewise.
17951 (main): Likewise.
17952 * posix/getopt.c (exchange): Likewise.
17953 * posix/glob.c (globfree): Likewise.
17954 (prefix_array): Likewise.
17955 (__glob_pattern_type): Likewise.
17956 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17957 (NS_GET32): Likewise.
17958 (NS_PUT16): Likewise.
17959 (NS_PUT32): Likewise.
17960 * resolv/gethnamaddr.c (getanswer): Likewise.
17961 (gethostbyname2): Likewise.
17962 (gethostbyaddr): Likewise.
17963 (_gethtent): Likewise.
17964 (_gethtbyname2): Likewise.
17965 (_gethtbyaddr): Likewise.
17966 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17967 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17968 * resolv/res_init.c (__res_vinit): Likewise.
17969 (net_mask): Likewise.
17970 * resolv/res_mkquery.c (outchar): Likewise.
17971 (PRINT): Likewise.
17972 * stdio-common/printf_fp.c (outchar): Likewise.
17973 (PRINT): Likewise.
17974 * stdio-common/printf_fphex.c (outchar): Likewise.
17975 (PRINT): Likewise.
17976 * stdio-common/printf_size.c (outchar): Likewise.
17977 (PRINT): Likewise.
17978 * stdio-common/test_rdwr.c (main): Likewise.
17979 * stdio-common/tfformat.c (matches): Likewise.
17980 * stdio-common/vfprintf.c (outchar): Likewise.
17981 (printf_unknown): Likewise.
17982 (buffered_vfprintf): Likewise.
17983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17984 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17985 (ReadFile): Likewise.
17986 * stdlib/qsort.c (SWAP): Likewise.
17987 (_quicksort): Likewise.
17988 * stdlib/setenv.c (__add_to_environ): Likewise.
17989 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17990 * stdlib/strtol_l.c (__strtol_l): Likewise.
17991 * stdlib/tst-strtod.c (main): Likewise.
17992 * stdlib/tst-strtol.c (main): Likewise.
17993 * stdlib/tst-strtoll.c (main): Likewise.
17994 * string/bits/string2.h (__strcmp_cc): Likewise.
17995 (__strcmp_cg): Likewise.
17996 (__strcspn_c1): Likewise.
17997 (__strcspn_c2): Likewise.
17998 (__strcspn_c3): Likewise.
17999 (__strspn_c1): Likewise.
18000 (__strspn_c2): Likewise.
18001 (__strspn_c3): Likewise.
18002 (__strsep_1c): Likewise.
18003 (__strsep_2c): Likewise.
18004 (__strsep_3c): Likewise.
18005 * string/memccpy.c (__memccpy): Likewise.
18006 * string/stpcpy.c (__stpcpy): Likewise.
18007 * string/strcmp.c (strcmp): Likewise.
18008 * string/strrchr.c (strrchr): Likewise.
18009 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18010 Likewise.
18011 * sysdeps/mach/hurd/getcwd.c
18012 (_hurd_canonicalize_directory_name_internal): Likewise.
18013 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18014 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18015 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18016 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18017 Likewise, in both definitions.
18018 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18019 definitions.
18020 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18021 64] (__bswap_64): Likewise.
18022 * time/test_time.c (main): Likewise.
18023 * time/tzfile.c (__tzfile_read): Likewise.
18024 (__tzfile_compute): Likewise.
18025 * time/tzset.c (__tzset_parse_tz): Likewise.
18026 (tzset_internal): Likewise.
18027 (compute_change): Likewise.
18028 * wcsmbs/wcscat.c (__wcscat): Likewise.
18029 * wcsmbs/wcschr.c (wcschr): Likewise.
18030 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18031 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18032 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18033 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18034 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18035 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18036 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18037 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18038 * wcsmbs/wmemset.c (wmemset): Likewise.
18039
180402013-06-06 Joseph Myers <joseph@codesourcery.com>
18041
18042 * scripts/config.guess: Update to version 2013-05-16.
18043 * scripts/config.sub: Update to version 2013-04-24.
18044 * scripts/install-sh: Update to version 2011-11-20.07.
18045 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18046 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18047
180482013-06-06 Ondřej Bílka <neleai@seznam.cz>
18049
18050 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18051 * elf/sln.c: Likewise.
18052 * hurd/hurd/ioctl.h: Likewise.
18053 * hurd/hurdmalloc.c: Likewise.
18054 * hurd/xattr.c: Likewise.
18055 * include/shlib-compat.h: Likewise.
18056 * inet/ruserpass.c: Likewise.
18057 * libio/iofgets_u.c: Likewise.
18058 * libio/iofgetws_u.c: Likewise.
18059 * locale/programs/ld-identification.c: Likewise.
18060 * locale/programs/ld-time.c: Likewise.
18061 * mach/msg-destroy.c: Likewise.
18062 * nss/nss_files/files-netgrp.c: Likewise.
18063 * resolv/res_data.c: Likewise.
18064 * soft-fp/op-1.h: Likewise.
18065 * soft-fp/op-2.h: Likewise.
18066 * soft-fp/op-4.h: Likewise.
18067 * soft-fp/op-common.h: Likewise.
18068 * stdio-common/printf_fphex.c: Likewise.
18069 * stdlib/strtod_l.c: Likewise.
18070 * sunrpc/rpc/clnt.h: Likewise.
18071 * sysdeps/generic/framestate.c: Likewise.
18072 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18073 * sysdeps/i386/bsd-setjmp.S: Likewise.
18074 * sysdeps/i386/__longjmp.S: Likewise.
18075 * sysdeps/i386/setjmp.S: Likewise.
18076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18077 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18078 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18079 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18080 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18084 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18085 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18086 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18087 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18088 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18089 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18090 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18092 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18093 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18094 * sysdeps/ieee754/support.c: Likewise.
18095 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18096 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18097 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18098 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18099 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18100 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18101 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18102 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18103 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18104 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18105 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18106 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18107 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18108 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18109 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18110 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18111 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18113
181142013-06-05 Ondřej Bílka <neleai@seznam.cz>
18115
18116 * posix/transbug.c: Remove executable mode.
18117
181182013-06-05 Joseph Myers <joseph@codesourcery.com>
18119
18120 * crypt/speeds.c: Remove trailing whitespace.
18121 * dlfcn/default.c: Likewise.
18122 * elf/ifuncdep2.c: Likewise.
18123 * elf/ifuncmain1.c: Likewise.
18124 * elf/ifuncmain1vis.c: Likewise.
18125 * elf/testobj.h: Likewise.
18126 * elf/tst-stackguard1.c: Likewise.
18127 * gmon/sys/gmon.h: Likewise.
18128 * hurd/hurdmsg.c: Likewise.
18129 * hurd/new-fd.c: Likewise.
18130 * hurd/ports-get.c: Likewise.
18131 * iconvdata/ibm1008_420.c: Likewise.
18132 * inet/tst-getni1.c: Likewise.
18133 * inet/tst-getni2.c: Likewise.
18134 * libio/ioungetc.c: Likewise.
18135 * libio/wfiledoalloc.c: Likewise.
18136 * manual/libm-err-tab.pl: Likewise.
18137 * math/w_dremf.c: Likewise.
18138 * misc/ftruncate.c: Likewise.
18139 * posix/bug-glob2.c: Likewise.
18140 * posix/tst-pcre.c: Likewise.
18141 * posix/wait4.c: Likewise.
18142 * resolv/README: Likewise.
18143 * resolv/res_debug.h: Likewise.
18144 * resolv/tst-inet_ntop.c: Likewise.
18145 * setjmp/bug269-setjmp.c: Likewise.
18146 * soft-fp/extended.h: Likewise.
18147 * soft-fp/op-1.h: Likewise.
18148 * soft-fp/op-2.h: Likewise.
18149 * soft-fp/op-4.h: Likewise.
18150 * soft-fp/op-8.h: Likewise.
18151 * soft-fp/testit.c: Likewise.
18152 * stdio-common/bug16.c: Likewise.
18153 * stdlib/random.c: Likewise.
18154 * sunrpc/rpcsvc/rquota.x: Likewise.
18155 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18156 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18157 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18158 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18159 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18160 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18161 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18163 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18164 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18165 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18184 * sysdeps/ieee754/s_lib_version.c: Likewise.
18185 * sysdeps/mach/hurd/check_fds.c: Likewise.
18186 * sysdeps/mach/hurd/getsockname.c: Likewise.
18187 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18188 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18189 * sysdeps/powerpc/bits/link.h: Likewise.
18190 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18191 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18192 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18193 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18194 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18195 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18196 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18197 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18198 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18199 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18200 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18201 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18202 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18203 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18204 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18205 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18206 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18207 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18208 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18209 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18210 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18211 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18212 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18213 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18214 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18215 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18216 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18217 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18218 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18219 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18220 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18221 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18222 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18223 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18224 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18225 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18226 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18227 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18228 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18229 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18230 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18231 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18232 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18233 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18234 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18235 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18236 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18237 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18238 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18239 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18240 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18241 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18242 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18243 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18244 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18245 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18246 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18247 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18248 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18249 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18250 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18251 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18252 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18253 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18254 * sysdeps/powerpc/sysdep.h: Likewise.
18255 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18256 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18257 * sysdeps/sh/dl-trampoline.S: Likewise.
18258 * sysdeps/sh/memset.S: Likewise.
18259 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18260 * sysdeps/sh/strlen.S: Likewise.
18261 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18262 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18263 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18264 * sysdeps/sparc/sparc32/rem.S: Likewise.
18265 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18266 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18267 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18268 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18269 * sysdeps/sparc/sparc32/urem.S: Likewise.
18270 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18271 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18272 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18273 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18274 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18275 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18276 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18277 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18278 * sysdeps/unix/bsd/times.c: Likewise.
18279 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18280 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18284 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18285 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18286 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18287 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18288 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18289 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18290 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18291 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18292 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18293 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18294 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18295 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18296 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18297 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18298 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18299 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18300 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18301 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18302 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18303 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18304 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18305 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18306 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18307 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18308 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18309 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18310 * sysdeps/x86_64/strcspn.S: Likewise.
18311
183122013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18313
18314 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18315 generated file. Regenerate properly from gen-translit.pl.
18316 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18317 locale/C-translit.h.
18318
183192013-06-05 Andreas Schwab <schwab@suse.de>
18320
18321 [BZ #15100]
18322 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18323 week as 6 instead of -1.
18324 * time/tst-strptime.c (day_tests): Add test case.
18325
183262013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18327
18328 * sysdeps/generic/math_private.h
18329 (libc_feholdexcept_setround_53bit): Replace with
18330 libc_feholdsetround_53bit.
18331 (libc_feupdateenv_53bit): Replace with
18332 libc_feresetround_53bit.
18333 (SET_RESTORE_ROUND_53BIT): Adjust.
18334
183352013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18336
18337 * string/test-strchrnul.c: Add copyright header.
18338
18339 * posix/tst-getaddrinfo4.c: Increase test timeout.
18340
183412013-06-03 Carlos O'Donell <carlos@redhat.com>
18342
18343 [BZ #15536]
18344 * math/libm-test.inc (MAX_EXP): Remove
18345 (MIN_EXP): Define.
18346 (ulp): Use MIN_EXP - MANT_DIG.
18347 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18348
183492013-05-31 Carlos O'Donell <carlos@redhat.com>
18350
18351 * po/be.po: Revert last change.
18352 * po/zh_CN.po: Likewise.
18353 * po/header.pot: Likewise.
18354
183552013-05-31 Joseph Myers <joseph@codesourcery.com>
18356
18357 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18358 link-libc-deps to empty as target-specific variable.
18359 * Makerules (link-libc-args): New variable.
18360 (libc-for-link): Likewise.
18361 (link-libc-deps): Likewise.
18362 (lib%.so): Depend on $(link-libc-deps). Link with
18363 $(link-libc-args).
18364 (build-module): Link with $(link-libc-args).
18365 (build-module-asneeded): Likewise.
18366 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18367 list of objects.
18368 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18369 target-specific variable.
18370 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18371 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18372 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18373 libc.
18374 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18375 libc and ld.so.
18376 ($(objpfx)libpcprofile.so): Likewise.
18377 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18378 libc_nonshared.a.
18379 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18380 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18381 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18382 $(link-libc-deps).
18383 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18384 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18385 * login/Makefile ($(objpfx)libutil.so): Likewise.
18386 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18387 * math/Makefile ($(objpfx)libm.so): Likewise.
18388 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18389 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18390 variable instead of depending directly on libc.
18391 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18392 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18393 $(link-libc-deps).
18394 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18395 libc.
18396 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18397 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18398 ($(objpfx)libanl.so): Likewise.
18399 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18400 ld.so.
18401 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18402 $(link-libc-deps).
18403 * sysdeps/i386/fpu/Makefile: Remove file.
18404 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18405 ($(objpfx)libm.so): Remove dependency on ld.so.
18406
184072013-05-30 Patsy Franklin <pfrankli@redhat.com>
18408
18409 [BZ # 15553]
18410 * nis/yp_xdr.c (XDRMAXNAME): Define.
18411 (XDRMAXRECORD): Define.
18412 (xdr_domainname): Use XDRMAXNAME.
18413 (xdr_mapname): Likewise.
18414 (xdr_peername): Likewise.
18415 (xdr_keydat): Use XDRMAXRECORD.
18416 (xdr_valdat): Likewise.
18417
184182013-05-30 Jeff Law <law@redhat.com>
18419
18420 [BZ #14256]
18421 * manual/errno.texi (ESTALE): Update to account for more than
18422 just NFS file systems.
18423 * sysdeps/gnu/errlist.c: Regenerated.
18424
184252013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18426
18427 [BZ #15465]
18428 * elf/Makefile (tests): Add tst-null-argv.
18429 (modules-names): Add tst-null-argv-lib.
18430 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18431 (tst-null-argv-ENV): Set environment for tst-null-argv.
18432 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18433 (RTLD_PROGNAME): New macro.
18434 * elf/tst-null-argv.c: New test case.
18435 * elf/tst-null-argv-lib.c: Library for test case.
18436 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18437 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18438 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18439 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18440 * elf/dl-init.c (call_init): Likewise.
18441 (_dl_init): Likewise.
18442 * elf/dl-load.c (print_search_path): Likewise.
18443 (_dl_map_object): Likewise.
18444 * elf/dl-lookup.c (do_lookup_x): Likewise.
18445 (add_dependency): Likewise.
18446 (_dl_lookup_symbol_x): Likewise.
18447 (_dl_debug_bindings): Likewise.
18448 * elf/dl-open.c (_dl_show_scope): Likewise.
18449 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18450 * elf/dl-version.c (match_symbol): Likewise.
18451 (_dl_check_map_versions): Likewise.
18452 * elf/rtld.c (dl_main): Likewise.
18453 (print_unresolved): Use RTLD_PROGNAME.
18454 (print_missing_version): Likewise.
18455 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18456 (elf_machine_rela): Likewise.
18457 * sysdeps/powerpc/powerpc32/dl-machine.c
18458 (__process_machine_rela): Likewise.
18459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18460 Likewise.
18461 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18462 Likewise.
18463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18464 Likewise.
18465 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18466 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18467 Likewise.
18468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18469 Likewise.
18470 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18471
184722013-05-28 Carlos O'Donell <carlos@redhat.com>
18473
18474 * po/be.po: Add descriptive title.
18475 * po/zh_CN.po: Likewise.
18476 * po/header.pot: Likewise.
18477
184782013-05-28 Mike Frysinger <vapier@gentoo.org>
18479
18480 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18481 error message.
18482 (enlarge_archive): Likewise.
18483
184842013-05-28 Ben North <ben@redfrontdoor.org>
18485
18486 * manual/arith.texi (frexp): It is the magnitude of the return
18487 value which lies in [0.5, 1), not the return value itself.
18488
184892013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18490
18491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18492
184932013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18494
18495 * stdio-common/bug26.c (main): Correct fscanf template.
18496
18497 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18498 declare _dl_skip_args.
18499
18500 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18501 Don't declare.
18502
18503 * manual/platform.texi: Add missing @end deftypefun.
18504
185052013-05-24 Joseph Myers <joseph@codesourcery.com>
18506
18507 [BZ #15529]
18508 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18509 bit of mantissa of 2^16382.
18510 * math/libm-test.inc (hypot_test_data): Add more tests.
18511
18512 * math/libm-test.inc: Add drem and pow10 to list of tested
18513 functions.
18514 (pow10_test): New function.
18515 (drem_test): Likewise.
18516 (drem_test_tonearest): Likewise.
18517 (drem_test_towardzero): Likewise.
18518 (drem_test_downward): Likewise.
18519 (drem_test_upward): Likewise.
18520 (main): Call the new functions.
18521
18522 * math/libm-test.inc (finite_test_data): Remove.
18523 (finite_test): Run tests from isfinite_test_data.
18524 (gamma_test_data): Remove.
18525 (gamma_test): Run tests from lgamma_test_data.
18526 * sysdeps/i386/fpu/libm-test-ulps: Update.
18527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18528
185292013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18530
18531 * manual/platform.texi: Add PowerPC PPR function set documentation.
18532 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18533 implementation.
18534
185352013-05-24 Carlos O'Donell <carlos@redhat.com>
18536
18537 * math/libm-test.inc (MAX_EXP): Define.
18538 (ULPDIFF): Define.
18539 (ulp): New function.
18540 (check_float_internal): Use ULPDIFF.
18541 (cpow_test): Disable failing test.
18542 (check_ulp): Test ulp() implemetnation.
18543 (main): Call check_ulp before starting tests.
18544
185452013-05-24 Joseph Myers <joseph@codesourcery.com>
18546
18547 * math/gen-libm-test.pl (generate_testfile): Do not handle
18548 START_DATA and END_DATA.
18549 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18550 END_DATA.
18551 (acos_tonearest_test_data): Likewise.
18552 (acos_towardzero_test_data): Likewise.
18553 (acos_downward_test_data): Likewise.
18554 (acos_upward_test_data): Likewise.
18555 (acosh_test_data): Likewise.
18556 (asin_test_data): Likewise.
18557 (asin_tonearest_test_data): Likewise.
18558 (asin_towardzero_test_data): Likewise.
18559 (asin_downward_test_data): Likewise.
18560 (asin_upward_test_data): Likewise.
18561 (asinh_test_data): Likewise.
18562 (atan_test_data): Likewise.
18563 (atanh_test_data): Likewise.
18564 (atan2_test_data): Likewise.
18565 (cabs_test_data): Likewise.
18566 (cacos_test_data): Likewise.
18567 (cacosh_test_data): Likewise.
18568 (carg_test_data): Likewise.
18569 (casin_test_data): Likewise.
18570 (casinh_test_data): Likewise.
18571 (catan_test_data): Likewise.
18572 (catanh_test_data): Likewise.
18573 (cbrt_test_data): Likewise.
18574 (ccos_test_data): Likewise.
18575 (ccosh_test_data): Likewise.
18576 (ceil_test_data): Likewise.
18577 (cexp_test_data): Likewise.
18578 (cimag_test_data): Likewise.
18579 (clog_test_data): Likewise.
18580 (clog10_test_data): Likewise.
18581 (conj_test_data): Likewise.
18582 (copysign_test_data): Likewise.
18583 (cos_test_data): Likewise.
18584 (cos_tonearest_test_data): Likewise.
18585 (cos_towardzero_test_data): Likewise.
18586 (cos_downward_test_data): Likewise.
18587 (cos_upward_test_data): Likewise.
18588 (cosh_test_data): Likewise.
18589 (cosh_tonearest_test_data): Likewise.
18590 (cosh_towardzero_test_data): Likewise.
18591 (cosh_downward_test_data): Likewise.
18592 (cosh_upward_test_data): Likewise.
18593 (cpow_test_data): Likewise.
18594 (cproj_test_data): Likewise.
18595 (creal_test_data): Likewise.
18596 (csin_test_data): Likewise.
18597 (csinh_test_data): Likewise.
18598 (csqrt_test_data): Likewise.
18599 (ctan_test_data): Likewise.
18600 (ctan_tonearest_test_data): Likewise.
18601 (ctan_towardzero_test_data): Likewise.
18602 (ctan_downward_test_data): Likewise.
18603 (ctan_upward_test_data): Likewise.
18604 (ctanh_test_data): Likewise.
18605 (ctanh_tonearest_test_data): Likewise.
18606 (ctanh_towardzero_test_data): Likewise.
18607 (ctanh_downward_test_data): Likewise.
18608 (ctanh_upward_test_data): Likewise.
18609 (erf_test_data): Likewise.
18610 (erfc_test_data): Likewise.
18611 (exp_test_data): Likewise.
18612 (exp_tonearest_test_data): Likewise.
18613 (exp_towardzero_test_data): Likewise.
18614 (exp_downward_test_data): Likewise.
18615 (exp_upward_test_data): Likewise.
18616 (exp10_test_data): Likewise.
18617 (exp2_test_data): Likewise.
18618 (expm1_test_data): Likewise.
18619 (fabs_test_data): Likewise.
18620 (fdim_test_data): Likewise.
18621 (finite_test_data): Likewise.
18622 (floor_test_data): Likewise.
18623 (fma_test_data): Likewise.
18624 (fma_towardzero_test_data): Likewise.
18625 (fma_downward_test_data): Likewise.
18626 (fma_upward_test_data): Likewise.
18627 (fmax_test_data): Likewise.
18628 (fmin_test_data): Likewise.
18629 (fmod_test_data): Likewise.
18630 (fpclassify_test_data): Likewise.
18631 (frexp_test_data): Likewise.
18632 (gamma_test_data): Likewise.
18633 (hypot_test_data): Likewise.
18634 (ilogb_test_data): Likewise.
18635 (isfinite_test_data): Likewise.
18636 (isgreater_test_data): Likewise.
18637 (isgreaterequal_test_data): Likewise.
18638 (isinf_test_data): Likewise.
18639 (isless_test_data): Likewise.
18640 (islessequal_test_data): Likewise.
18641 (islessgreater_test_data): Likewise.
18642 (isnan_test_data): Likewise.
18643 (isnormal_test_data): Likewise.
18644 (issignaling_test_data): Likewise.
18645 (isunordered_test_data): Likewise.
18646 (j0_test_data): Likewise.
18647 (j1_test_data): Likewise.
18648 (jn_test_data): Likewise.
18649 (ldexp_test_data): Likewise.
18650 (lgamma_test_data): Likewise.
18651 (lrint_test_data): Likewise.
18652 (lrint_tonearest_test_data): Likewise.
18653 (lrint_towardzero_test_data): Likewise.
18654 (lrint_downward_test_data): Likewise.
18655 (lrint_upward_test_data): Likewise.
18656 (llrint_test_data): Likewise.
18657 (llrint_tonearest_test_data): Likewise.
18658 (llrint_towardzero_test_data): Likewise.
18659 (llrint_downward_test_data): Likewise.
18660 (llrint_upward_test_data): Likewise.
18661 (log_test_data): Likewise.
18662 (log10_test_data): Likewise.
18663 (log1p_test_data): Likewise.
18664 (log2_test_data): Likewise.
18665 (logb_test_data): Likewise.
18666 (logb_downward_test_data): Likewise.
18667 (lround_test_data): Likewise.
18668 (llround_test_data): Likewise.
18669 (modf_test_data): Likewise.
18670 (nearbyint_test_data): Likewise.
18671 (nextafter_test_data): Likewise.
18672 (nexttoward_test_data): Likewise.
18673 (pow_test_data): Likewise.
18674 (pow_tonearest_test_data): Likewise.
18675 (pow_towardzero_test_data): Likewise.
18676 (pow_downward_test_data): Likewise.
18677 (pow_upward_test_data): Likewise.
18678 (remainder_test_data): Likewise.
18679 (remainder_tonearest_test_data): Likewise.
18680 (remainder_towardzero_test_data): Likewise.
18681 (remainder_downward_test_data): Likewise.
18682 (remainder_upward_test_data): Likewise.
18683 (remquo_test_data): Likewise.
18684 (rint_test_data): Likewise.
18685 (rint_tonearest_test_data): Likewise.
18686 (rint_towardzero_test_data): Likewise.
18687 (rint_downward_test_data): Likewise.
18688 (rint_upward_test_data): Likewise.
18689 (round_test_data): Likewise.
18690 (scalb_test_data): Likewise.
18691 (scalbn_test_data): Likewise.
18692 (scalbln_test_data): Likewise.
18693 (signbit_test_data): Likewise.
18694 (sin_test_data): Likewise.
18695 (sin_tonearest_test_data): Likewise.
18696 (sin_towardzero_test_data): Likewise.
18697 (sin_downward_test_data): Likewise.
18698 (sin_upward_test_data): Likewise.
18699 (sincos_test_data): Likewise.
18700 (sinh_test_data): Likewise.
18701 (sinh_tonearest_test_data): Likewise.
18702 (sinh_towardzero_test_data): Likewise.
18703 (sinh_downward_test_data): Likewise.
18704 (sinh_upward_test_data): Likewise.
18705 (sqrt_test_data): Likewise.
18706 (tan_test_data): Likewise.
18707 (tan_tonearest_test_data): Likewise.
18708 (tan_towardzero_test_data): Likewise.
18709 (tan_downward_test_data): Likewise.
18710 (tan_upward_test_data): Likewise.
18711 (tanh_test_data): Likewise.
18712 (tgamma_test_data): Likewise.
18713 (trunc_test_data): Likewise.
18714 (y0_test_data): Likewise.
18715 (y1_test_data): Likewise.
18716 (yn_test_data): Likewise.
18717 (significand_test_data): Likewise.
18718
18719 * math/gen-libm-test.pl (@functions): Remove variable.
18720 (generate_testfile): Don't handle START and END lines.
18721 * math/libm-test.inc (START): New macro.
18722 (END): Likewise.
18723 (END_COMPLEX): Likewise.
18724 (acos_test): Use END macro without arguments.
18725 (acos_test_tonearest): Likewise.
18726 (acos_test_towardzero): Likewise.
18727 (acos_test_downward): Likewise.
18728 (acos_test_upward): Likewise.
18729 (acosh_test): Likewise.
18730 (asin_test): Likewise.
18731 (asin_test_tonearest): Likewise.
18732 (asin_test_towardzero): Likewise.
18733 (asin_test_downward): Likewise.
18734 (asin_test_upward): Likewise.
18735 (asinh_test): Likewise.
18736 (atan_test): Likewise.
18737 (atanh_test): Likewise.
18738 (atan2_test): Likewise.
18739 (cabs_test): Likewise.
18740 (cacos_test): Use END_COMPLEX macro without arguments.
18741 (cacosh_test): Likewise.
18742 (carg_test): Use END macro without arguments.
18743 (casin_test): Use END_COMPLEX macro without arguments.
18744 (casinh_test): Likewise.
18745 (catan_test): Likewise.
18746 (catanh_test): Likewise.
18747 (cbrt_test): Use END macro without arguments.
18748 (ccos_test): Use END_COMPLEX macro without arguments.
18749 (ccosh_test): Likewise.
18750 (ceil_test): Use END macro without arguments.
18751 (cexp_test): Use END_COMPLEX macro without arguments.
18752 (cimag_test): Use END macro without arguments.
18753 (clog_test): Use END_COMPLEX macro without arguments.
18754 (clog10_test): Likewise.
18755 (conj_test): Likewise.
18756 (copysign_test): Use END macro without arguments.
18757 (cos_test): Likewise.
18758 (cos_test_tonearest): Likewise.
18759 (cos_test_towardzero): Likewise.
18760 (cos_test_downward): Likewise.
18761 (cos_test_upward): Likewise.
18762 (cosh_test): Likewise.
18763 (cosh_test_tonearest): Likewise.
18764 (cosh_test_towardzero): Likewise.
18765 (cosh_test_downward): Likewise.
18766 (cosh_test_upward): Likewise.
18767 (cpow_test): Use END_COMPLEX macro without arguments.
18768 (cproj_test): Likewise.
18769 (creal_test): Use END macro without arguments.
18770 (csin_test): Use END_COMPLEX macro without arguments.
18771 (csinh_test): Likewise.
18772 (csqrt_test): Likewise.
18773 (ctan_test): Likewise.
18774 (ctan_test_tonearest): Likewise.
18775 (ctan_test_towardzero): Likewise.
18776 (ctan_test_downward): Likewise.
18777 (ctan_test_upward): Likewise.
18778 (ctanh_test): Likewise.
18779 (ctanh_test_tonearest): Likewise.
18780 (ctanh_test_towardzero): Likewise.
18781 (ctanh_test_downward): Likewise.
18782 (ctanh_test_upward): Likewise.
18783 (erf_test): Use END macro without arguments.
18784 (erfc_test): Likewise.
18785 (exp_test): Likewise.
18786 (exp_test_tonearest): Likewise.
18787 (exp_test_towardzero): Likewise.
18788 (exp_test_downward): Likewise.
18789 (exp_test_upward): Likewise.
18790 (exp10_test): Likewise.
18791 (exp2_test): Likewise.
18792 (expm1_test): Likewise.
18793 (fabs_test): Likewise.
18794 (fdim_test): Likewise.
18795 (finite_test): Likewise.
18796 (floor_test): Likewise.
18797 (fma_test): Likewise.
18798 (fma_test_towardzero): Likewise.
18799 (fma_test_downward): Likewise.
18800 (fma_test_upward): Likewise.
18801 (fmax_test): Likewise.
18802 (fmin_test): Likewise.
18803 (fmod_test): Likewise.
18804 (fpclassify_test): Likewise.
18805 (frexp_test): Likewise.
18806 (gamma_test): Likewise.
18807 (hypot_test): Likewise.
18808 (ilogb_test): Likewise.
18809 (isfinite_test): Likewise.
18810 (isgreater_test): Likewise.
18811 (isgreaterequal_test): Likewise.
18812 (isinf_test): Likewise.
18813 (isless_test): Likewise.
18814 (islessequal_test): Likewise.
18815 (islessgreater_test): Likewise.
18816 (isnan_test): Likewise.
18817 (isnormal_test): Likewise.
18818 (issignaling_test): Likewise.
18819 (isunordered_test): Likewise.
18820 (j0_test): Likewise.
18821 (j1_test): Likewise.
18822 (jn_test): Likewise.
18823 (ldexp_test): Likewise.
18824 (lgamma_test): Likewise.
18825 (lrint_test): Likewise.
18826 (lrint_test_tonearest): Likewise.
18827 (lrint_test_towardzero): Likewise.
18828 (lrint_test_downward): Likewise.
18829 (lrint_test_upward): Likewise.
18830 (llrint_test): Likewise.
18831 (llrint_test_tonearest): Likewise.
18832 (llrint_test_towardzero): Likewise.
18833 (llrint_test_downward): Likewise.
18834 (llrint_test_upward): Likewise.
18835 (log_test): Likewise.
18836 (log10_test): Likewise.
18837 (log1p_test): Likewise.
18838 (log2_test): Likewise.
18839 (logb_test): Likewise.
18840 (logb_test_downward): Likewise.
18841 (lround_test): Likewise.
18842 (llround_test): Likewise.
18843 (modf_test): Likewise.
18844 (nearbyint_test): Likewise.
18845 (nextafter_test): Likewise.
18846 (nexttoward_test): Likewise.
18847 (pow_test): Likewise.
18848 (pow_test_tonearest): Likewise.
18849 (pow_test_towardzero): Likewise.
18850 (pow_test_downward): Likewise.
18851 (pow_test_upward): Likewise.
18852 (remainder_test): Likewise.
18853 (remainder_test_tonearest): Likewise.
18854 (remainder_test_towardzero): Likewise.
18855 (remainder_test_downward): Likewise.
18856 (remainder_test_upward): Likewise.
18857 (remquo_test): Likewise.
18858 (rint_test): Likewise.
18859 (rint_test_tonearest): Likewise.
18860 (rint_test_towardzero): Likewise.
18861 (rint_test_downward): Likewise.
18862 (rint_test_upward): Likewise.
18863 (round_test): Likewise.
18864 (scalb_test): Likewise.
18865 (scalbn_test): Likewise.
18866 (scalbln_test): Likewise.
18867 (signbit_test): Likewise.
18868 (sin_test): Likewise.
18869 (sin_test_tonearest): Likewise.
18870 (sin_test_towardzero): Likewise.
18871 (sin_test_downward): Likewise.
18872 (sin_test_upward): Likewise.
18873 (sincos_test): Likewise.
18874 (sinh_test): Likewise.
18875 (sinh_test_tonearest): Likewise.
18876 (sinh_test_towardzero): Likewise.
18877 (sinh_test_downward): Likewise.
18878 (sinh_test_upward): Likewise.
18879 (sqrt_test): Likewise.
18880 (tan_test): Likewise.
18881 (tan_test_tonearest): Likewise.
18882 (tan_test_towardzero): Likewise.
18883 (tan_test_downward): Likewise.
18884 (tan_test_upward): Likewise.
18885 (tanh_test): Likewise.
18886 (tgamma_test): Likewise.
18887 (trunc_test): Likewise.
18888 (y0_test): Likewise.
18889 (y1_test): Likewise.
18890 (yn_test): Likewise.
18891 (significand_test): Likewise.
18892
188932013-05-24 Ondřej Bílka <neleai@seznam.cz>
18894
18895 [BZ #15381]
18896 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18897
188982013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18899
18900 [BZ #14894]
18901 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18902 __ppc_mdoio and __ppc_mdoom.
18903 * manual/platform.texi: Document new functions __ppc_yield,
18904 __ppc_mdoio and __ppc_mdoom.
18905
189062013-05-22 Carlos O'Donell <carlos@redhat.com>
18907
18908 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18909 (main): Mention "tls" pseudo-hwcap is legacy.
18910 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18911
189122013-05-22 Joseph Myers <joseph@codesourcery.com>
18913
18914 * math/gen-libm-test.pl (parse_args): Output only string of
18915 arguments as text for test name, not full call or descriptions of
18916 tests for extra outputs.
18917 (generate_testfile): Do not pass function name to parse_args.
18918 Generate this_func variable from START.
18919 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18920 field to arg_str.
18921 (struct test_ff_f_data): Likewise.
18922 (test_ff_f_data_nexttoward): Likewise.
18923 (struct test_fi_f_data): Likewise.
18924 (struct test_fl_f_data): Likewise.
18925 (struct test_if_f_data): Likewise.
18926 (struct test_fff_f_data): Likewise.
18927 (struct test_c_f_data): Likewise.
18928 (struct test_f_f1_data): Likewise. Remove field extra_name.
18929 (struct test_fF_f1_data): Likewise.
18930 (struct test_ffI_f1_data): Likewise.
18931 (struct test_c_c_data): Rename test_name field to arg_str.
18932 (struct test_cc_c_data): Likewise.
18933 (struct test_f_i_data): Likewise.
18934 (struct test_ff_i_data): Likewise.
18935 (struct test_f_l_data): Likewise.
18936 (struct test_f_L_data): Likewise.
18937 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18938 and extra2_name.
18939 (COMMON_TEST_SETUP): New macro.
18940 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18941 (COMMON_TEST_CLEANUP): Likewise.
18942 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18943 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18944 macros.
18945 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18946 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18947 macros.
18948 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18949 (RUN_TEST_fff_f): Take argument string. Call new setup and
18950 cleanup macros.
18951 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18952 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18953 macros.
18954 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18955 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18956 macros.
18957 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18958 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18959 cleanup macros.
18960 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18961 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18962 cleanup macros.
18963 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18964 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18965 cleanup macros.
18966 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18967 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18968 macros.
18969 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18970 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18971 macros.
18972 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18973 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18974 macros.
18975 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18976 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18977 cleanup macros.
18978 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18979 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18980 cleanup macros.
18981 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18982 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18983 macros.
18984 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18985 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18986 cleanup macros.
18987 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18988 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18989 macros.
18990 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18991 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18992 macros.
18993 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18994 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18995 cleanup macros.
18996 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18997
189982013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18999
19000 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19001 to _sifields.sigfault.
19002 (si_addr_lsb): Define new macro.
19003 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19004 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19005 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19006
190072013-05-03 Carlos O'Donell <carlos at redhat.com>
19008
19009 [BZ #15441]
19010 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19011 returns -1.
19012 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19013 null return -1.
19014 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19015 loading the domain.
19016
190172013-05-22 Joseph Myers <joseph@codesourcery.com>
19018
19019 * math/gen-libm-test.pl (parse_args): Do not include expected
19020 result in test name.
19021 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19022 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19023 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19024 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19025 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19027
190282013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19029
19030 * benchtests/Makefile: Sort function entries.
19031
19032 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19033 tanh, asinh, acosh, atanh.
19034 * benchtests/acos-inputs: New file.
19035 * benchtests/acosh-inputs: New file.
19036 * benchtests/asin-inputs: New file.
19037 * benchtests/asinh-inputs: New file.
19038 * benchtests/atanh-inputs: New file.
19039 * benchtests/cosh-inputs: New file.
19040 * benchtests/log-inputs: New file.
19041 * benchtests/sinh-inputs: New file.
19042 * benchtests/tanh-inputs: New file.
19043
190442013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19045
19046 [BZ #15339]
19047 * posix/tst-getaddrinfo4.c: New test.
19048 * posix/Makefile (tests): Add it.
19049
190502013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19051
19052 [BZ #15339]
19053 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19054 when no services were used.
19055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19056 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19057
190582013-05-21 Andreas Schwab <schwab@suse.de>
19059
19060 [BZ #15014]
19061 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19062 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19063 successful.
19064 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19065 redundant variable declarations and reallocation of buffer when
19066 parsing as IPv6 address. Always set NSS status when called from
19067 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19068 buffer too small. Correct computation of needed size.
19069 * nss/Makefile (tests): Add test-digits-dots.
19070 * nss/test-digits-dots.c: New test.
19071
190722013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19073
19074 * benchtests/Makefile: Remove instructions for adding
19075 benchmark tests.
19076 * benchtests/README: New file to explain how to execute and
19077 enhance the benchmark tests.
19078
190792013-05-21 Andreas Schwab <schwab@suse.de>
19080
19081 [BZ #15493]
19082 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19083 * setjmp/tst-sigsetjmp.c: New test.
19084
190852013-05-20 Ondřej Bílka <neleai@seznam.cz>
19086
19087 * sysdeps/x86_64/memset.S (memset): New implementation.
19088 (__bzero): Likewise.
19089 (__memset_tail): New function.
19090
190912013-05-20 Ondřej Bílka <neleai@seznam.cz>
19092
19093 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19094 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19095 __memcpy_sse2_unaligned ifunc selection.
19096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19097 Add memcpy-sse2-unaligned.S.
19098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19099 Add: __memcpy_sse2_unaligned.
19100
191012013-05-19 Joseph Myers <joseph@codesourcery.com>
19102
19103 [BZ #15490]
19104 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19105 math_force_eval before restoring floating-point envrionment.
19106 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19107 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19108 Likewise.
19109 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19110 <math_private.h>.
19111 (__nearbyintl): Use math_force_eval before restoring
19112 floating-point environment.
19113 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19114
19115 * math/gen-libm-test.pl (special_functions): Remove.
19116 (parse_args): Don't handle TEST_extra. Handle functions with no
19117 return value.
19118 * math/libm-test.inc (struct test_sincos_data): Replace with
19119 struct test_fFF_11_data.
19120 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19121 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19122 (sincos_test_data): Change element type to struct
19123 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19124 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19125 RUN_TEST_LOOP_sincos.
19126 * math/README.libm-test: Don't mention special handling of
19127 individual functions.
19128 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19134
19135 * math/gen-libm-test.pl (get_variable): Remove function.
19136 (parse_args): Don't show pointer parameters to call in test
19137 names. Use "extra output N" in test names for extra outputs
19138 rather than naming variables.
19139
191402013-05-18 Joseph Myers <joseph@codesourcery.com>
19141
19142 [BZ #15488]
19143 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19144 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19145 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19146 double tests.
19147 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19148 disable.
19149 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19150 check_long_double.
19151
19152 * math/gen-libm-test.pl (@tests): Remove variable.
19153 ($count): Likewise.
19154 (new_test): Remove function.
19155 (show_exceptions): New function.
19156 (special_functions): Use show_exceptions instead of new_test.
19157 (parse_args): Likewise.
19158 (generate_testfile): Pass only function name in generated call to
19159 print_max_error or print_complex_max_error.
19160 (get_ulps): Do not handle complex tests specially.
19161 (output_test): Rename to ...
19162 (get_all_ulps_for_test): ... this. Return a string rather than
19163 printing to a file. Require ulps to be present.
19164 (output_ulps): Generate arrays rather than #defines.
19165 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19166 (struct ulp_data): New type.
19167 (BUILD_COMPLEX_ULP): Remove macro.
19168 (compare_ulp_data): New function.
19169 (find_ulps): Likewise.
19170 (find_test_ulps): Likewise.
19171 (find_function_ulps): Likewise.
19172 (find_complex_function_ulps): Likewise.
19173 (print_max_error): Determine allowed ulps using
19174 find_function_ulps.
19175 (print_complex_max_error): Determine allowed ulps using
19176 find_complex_function_ulps.
19177 (check_float_internal): Determine max ulps using find_test_ulps.
19178 (check_float): Do not take max_ulp parameter. Update call to
19179 check_float_internal.
19180 (check_complex): Likewise.
19181 (check_int): Do not take max_ulp parameter.
19182 (check_long): Likewise.
19183 (check_bool): Likewise.
19184 (check_longlong): Likewise.
19185 (struct test_f_f_data): Remove max_ulp field.
19186 (struct test_ff_f_data): Likewise.
19187 (struct test_ff_f_data_nexttoward): Likewise.
19188 (struct test_fi_f_data): Likewise.
19189 (struct test_fl_f_data): Likewise.
19190 (struct test_if_f_data): Likewise.
19191 (struct test_fff_f_data): Likewise.
19192 (struct test_c_f_data): Likewise.
19193 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19194 (struct test_fF_f1_data): Likewise.
19195 (struct test_ffI_f1_data): Likewise.
19196 (struct test_c_c_data): Remove max_ulp field.
19197 (struct test_cc_c_data): Likewise.
19198 (struct test_f_i_data): Likewise.
19199 (struct test_ff_i_data): Likewise.
19200 (struct test_f_l_data): Likewise.
19201 (struct test_f_L_data): Likewise.
19202 (struct test_sincos_data): Likewise.
19203 (RUN_TEST_f_f): Do not handle ulps.
19204 (RUN_TEST_LOOP_f_f): Likewise.
19205 (RUN_TEST_2_f): Likewise.
19206 (RUN_TEST_LOOP_2_f): Likewise.
19207 (RUN_TEST_fff_f): Likewise.
19208 (RUN_TEST_LOOP_fff_f): Likewise.
19209 (RUN_TEST_c_f): Likewise.
19210 (RUN_TEST_LOOP_c_f): Likewise.
19211 (RUN_TEST_f_f1): Likewise.
19212 (RUN_TEST_LOOP_f_f1): Likewise.
19213 (RUN_TEST_fF_f1): Likewise.
19214 (RUN_TEST_LOOP_fF_f1): Likewise.
19215 (RUN_TEST_fI_f1): Likewise.
19216 (RUN_TEST_LOOP_fI_f1): Likewise.
19217 (RUN_TEST_ffI_f1): Likewise.
19218 (RUN_TEST_LOOP_ffI_f1): Likewise.
19219 (RUN_TEST_c_c): Likewise.
19220 (RUN_TEST_LOOP_c_c): Likewise.
19221 (RUN_TEST_cc_c): Likewise.
19222 (RUN_TEST_LOOP_cc_c): Likewise.
19223 (RUN_TEST_f_i): Likewise.
19224 (RUN_TEST_LOOP_f_i): Likewise.
19225 (RUN_TEST_f_i_tg): Likewise.
19226 (RUN_TEST_LOOP_f_i_tg): Likewise.
19227 (RUN_TEST_ff_i_tg): Likewise.
19228 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19229 (RUN_TEST_f_b): Likewise.
19230 (RUN_TEST_LOOP_f_b): Likewise.
19231 (RUN_TEST_f_b_tg): Likewise.
19232 (RUN_TEST_LOOP_f_b_tg): Likewise.
19233 (RUN_TEST_f_l): Likewise.
19234 (RUN_TEST_LOOP_f_l): Likewise.
19235 (RUN_TEST_f_L): Likewise.
19236 (RUN_TEST_LOOP_f_L): Likewise.
19237 (RUN_TEST_sincos): Likewise.
19238 (RUN_TEST_LOOP_sincos): Likewise.
19239
192402013-05-17 Joseph Myers <joseph@codesourcery.com>
19241
19242 [BZ #15480]
19243 [BZ #15485]
19244 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19245 main case of finite arguments, set rounding mode to FE_TONEAREST
19246 and discard exceptions.
19247 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19248 exceptions.
19249 (remainder_tonearest_test_data): New variable.
19250 (remainder_test_tonearest): New function.
19251 (remainder_towardzero_test_data): New variable.
19252 (remainder_test_towardzero): New function.
19253 (remainder_downward_test_data): New variable.
19254 (remainder_test_downward): New function.
19255 (remainder_upward_test_data): New variable.
19256 (remainder_test_upward): New function.
19257 (main): Call the new test functions.
19258
19259 * math/libm-test.inc (struct test_f_f1_data): Remove field
19260 extra_init.
19261 (struct test_fF_f1_data): Likewise.
19262 (struct test_ffI_f1_data): Likewise.
19263 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19264 based on value of EXTRA_EXPECTED.
19265 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19266 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19267 EXTRA_VAR based on value of EXTRA_EXPECTED.
19268 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19269 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19270 EXTRA_VAR based on value of EXTRA_EXPECTED.
19271 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19272 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19273 EXTRA_VAR based on value of EXTRA_EXPECTED.
19274 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19275 * math/gen-libm-test.pl (parse_args): Don't output initializers
19276 for extra output values.
19277
19278 * math/libm-test.inc (check_int): Expect result to be exactly
19279 equal to expected value and do not handle ulps.
19280 (check_long): Likewise.
19281 (check_longlong): Likewise.
19282
19283 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19284 exceptions.
19285 (cimag_test_data): Likewise.
19286 (conj_test_data): Likewise.
19287 (copysign_test_data): Likewise.
19288 (cproj_test_data): Likewise.
19289 (creal_test_data): Likewise.
19290 (fabs_test_data): Likewise.
19291 (fdim_test_data): Likewise.
19292 (finite_test_data): Likewise.
19293 (floor_test_data): Likewise.
19294 (fmax_test_data): Likewise.
19295 (fmin_test_data): Likewise.
19296 (fmod_test_data): Likewise.
19297 (fpclassify_test_data): Likewise.
19298 (frexp_test_data): Likewise.
19299 (ilogb_test_data): Likewise.
19300 (isfinite_test_data): Likewise.
19301 (isgreater_test_data): Likewise.
19302 (isgreaterequal_test_data): Likewise.
19303 (isinf_test_data): Likewise.
19304 (isless_test_data): Likewise.
19305 (islessequal_test_data): Likewise.
19306 (islessgreater_test_data): Likewise.
19307 (isnan_test_data): Likewise.
19308 (isnormal_test_data): Likewise.
19309 (issignaling_test_data): Likewise.
19310 (isunordered_test_data): Likewise.
19311 (ldexp_test_data): Likewise.
19312 (lrint_test_data): Likewise.
19313 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19314 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19315 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19316 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19317 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19318 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19319 test input.
19320 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19321 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19322 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19323 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19324 that test input.
19325 (lrint_downward_test_data): Test for "inexact" exceptions.
19326 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19327 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19328 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19329 test input.
19330 (lrint_upward_test_data): Test for "inexact" exceptions.
19331 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19332 test input.
19333 (llrint_test_data): Test for "inexact" exceptions.
19334 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19335 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19336 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19337 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19338 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19339 (llrint_downward_test_data): Test for "inexact" exceptions.
19340 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19341 (llrint_upward_test_data): Test for "inexact" exceptions.
19342 (logb_test_data): Likewise.
19343 (logb_downward_test_data): Likewise.
19344 (nextafter_test_data): Likewise.
19345 (nexttoward_test_data): Likewise.
19346 (remainder_test_data): Likewise.
19347 (remquo_test_data): Likewise.
19348 (scalbn_test_data): Likewise.
19349 (scalbln_test_data): Likewise.
19350 (signbit_test_data): Likewise.
19351 (sqrt_test_data): Likewise.
19352 (significand_test_data): Likewise.
19353
193542013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19355
19356 [BZ #15424]
19357 * benchtests/bench-modf.c (struct args): Mark arg0 as
19358 volatile.
19359 * scripts/bench.pl: Mark members of struct args as volatile.
19360
193612013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19362
19363 [BZ # 15497]
19364 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19365 negative infinity on POWER6 or lower.
19366 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19367
193682013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19369
19370 [BZ #15442]
19371 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19372 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19373 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19374 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19375 (_FP_SETQNAN): New macro.
19376 (_FP_SETQNAN_SEMIRAW): Likewise.
19377 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19378 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19379 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19380 (FP_EXTEND): Use _FP_FRAC_SNANP.
19381 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19382 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19383 into account.
19384 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19385 New macro.
19386 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19387 Likewise.
19388
193892013-05-16 Joseph Myers <joseph@codesourcery.com>
19390
19391 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19392 with DIVIDE_BY_ZERO_EXCEPTION.
19393 (gamma_test_data): Likewise.
19394 (lgamma_test_data): Likewise.
19395 (log_test_data): Likewise.
19396 (log10_test_data): Likewise.
19397 (log2_test_data): Likewise.
19398 (tgamma_test_data): Likewise.
19399
19400 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19401 (acos_test_tonearest): Likewise.
19402 (acos_test_towardzero): Likewise.
19403 (acos_test_downward): Likewise.
19404 (acos_test_upward): Likewise.
19405 (acosh_test): Likewise.
19406 (asin_test): Likewise.
19407 (asin_test_tonearest): Likewise.
19408 (asin_test_towardzero): Likewise.
19409 (asin_test_downward): Likewise.
19410 (asin_test_upward): Likewise.
19411 (asinh_test): Likewise.
19412 (atan_test): Likewise.
19413 (atanh_test): Likewise.
19414 (atan2_test): Likewise.
19415 (cabs_test): Likewise.
19416 (cacos_test): Likewise.
19417 (cacosh_test): Likewise.
19418 (casin_test): Likewise.
19419 (casinh_test): Likewise.
19420 (catan_test): Likewise.
19421 (catanh_test): Likewise.
19422 (cbrt_test): Likewise.
19423 (ccos_test): Likewise.
19424 (ccosh_test): Likewise.
19425 (cexp_test): Likewise.
19426 (clog_test): Likewise.
19427 (clog10_test): Likewise.
19428 (cos_test): Likewise.
19429 (cos_test_tonearest): Likewise.
19430 (cos_test_towardzero): Likewise.
19431 (cos_test_downward): Likewise.
19432 (cos_test_upward): Likewise.
19433 (cosh_test): Likewise.
19434 (cosh_test_tonearest): Likewise.
19435 (cosh_test_towardzero): Likewise.
19436 (cosh_test_downward): Likewise.
19437 (cosh_test_upward): Likewise.
19438 (cpow_test): Likewise.
19439 (csin_test): Likewise.
19440 (csinh_test): Likewise.
19441 (csqrt_test): Likewise.
19442 (ctan_test): Likewise.
19443 (ctan_test_tonearest): Likewise.
19444 (ctan_test_towardzero): Likewise.
19445 (ctan_test_downward): Likewise.
19446 (ctan_test_upward): Likewise.
19447 (ctanh_test): Likewise.
19448 (ctanh_test_tonearest): Likewise.
19449 (ctanh_test_towardzero): Likewise.
19450 (ctanh_test_downward): Likewise.
19451 (ctanh_test_upward): Likewise.
19452 (erf_test): Likewise.
19453 (erfc_test): Likewise.
19454 (exp_test): Likewise.
19455 (exp_test_tonearest): Likewise.
19456 (exp_test_towardzero): Likewise.
19457 (exp_test_downward): Likewise.
19458 (exp_test_upward): Likewise.
19459 (exp10_test): Likewise.
19460 (exp2_test): Likewise.
19461 (expm1_test): Likewise.
19462 (fmod_test): Likewise.
19463 (gamma_test): Likewise.
19464 (hypot_test): Likewise.
19465 (j0_test): Likewise.
19466 (j1_test): Likewise.
19467 (jn_test): Likewise.
19468 (lgamma_test): Likewise.
19469 (log_test): Likewise.
19470 (log10_test): Likewise.
19471 (log1p_test): Likewise.
19472 (log2_test): Likewise.
19473 (logb_test_downward): Likewise.
19474 (pow_test): Likewise.
19475 (pow_test_tonearest): Likewise.
19476 (pow_test_towardzero): Likewise.
19477 (pow_test_downward): Likewise.
19478 (pow_test_upward): Likewise.
19479 (remainder_test): Likewise.
19480 (remquo_test): Likewise.
19481 (sin_test): Likewise.
19482 (sin_test_tonearest): Likewise.
19483 (sin_test_towardzero): Likewise.
19484 (sin_test_downward): Likewise.
19485 (sin_test_upward): Likewise.
19486 (sincos_test): Likewise.
19487 (sinh_test): Likewise.
19488 (sinh_test_tonearest): Likewise.
19489 (sinh_test_towardzero): Likewise.
19490 (sinh_test_downward): Likewise.
19491 (sinh_test_upward): Likewise.
19492 (sqrt_test): Likewise.
19493 (tan_test): Likewise.
19494 (tan_test_tonearest): Likewise.
19495 (tan_test_towardzero): Likewise.
19496 (tan_test_downward): Likewise.
19497 (tan_test_upward): Likewise.
19498 (tanh_test): Likewise.
19499 (tgamma_test): Likewise.
19500 (y0_test): Likewise.
19501 (y1_test): Likewise.
19502 (yn_test): Likewise.
19503
19504 * math/gen-libm-test.pl (adjust_arg): Remove function.
19505 (special_function): Remove argument $in_func. Only handle
19506 generating output for tables of tests, not inside functions.
19507 (parse_args): Likewise.
19508 (generate_testfile): Remove variable $in_func. Update call to
19509 parse_args.
19510 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19511 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19512 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19513 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19514 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19515 (MAX_VALUE_INIT): Rename macro to max_value.
19516 (MIN_VALUE_INIT): Rename macro to min_value.
19517 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19518 (plus_zero): Remove variable.
19519 (minus_zero): Likewise.
19520 (plus_infty): Likewise.
19521 (minus_infty): Likewise.
19522 (qnan_value): Likewise.
19523 (max_value): Likewise.
19524 (min_value): Likewise.
19525 (min_subnorm_value): Likewise.
19526
195272013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19528
19529 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19530 uint64_t or uint32_t usage.
19531 * crypt/sha256-block.c: Likewise.
19532 * crypt/sha256-crypt.c: Likewise.
19533 * crypt/sha256.c: Likewise.
19534 * crypt/sha512-block.c: Likewise.
19535 * crypt/sha512-crypt.c: Likewise.
19536 * crypt/sha512.c: Likewise.
19537 * debug/backtrace-tst.c: Likewise.
19538 * debug/pcprofiledump.c: Likewise.
19539 * elf/cache.c: Likewise.
19540 * elf/dl-cache.c: Likewise.
19541 * elf/dl-misc.c: Likewise.
19542 * elf/dl-profile.c: Likewise.
19543 * elf/dl-support.c: Likewise.
19544 * elf/ldconfig.c: Likewise.
19545 * elf/sprof.c: Likewise.
19546 * iconv/dummy-repertoire.c: Likewise.
19547 * iconv/iconv_charmap.c: Likewise.
19548 * iconv/skeleton.c: Likewise.
19549 * iconvdata/8bit-generic.c: Likewise.
19550 * iconvdata/cp737.h: Likewise.
19551 * iconvdata/cp775.h: Likewise.
19552 * iconvdata/ibm1008.h: Likewise.
19553 * iconvdata/ibm1025.h: Likewise.
19554 * iconvdata/ibm1046.h: Likewise.
19555 * iconvdata/ibm1097.h: Likewise.
19556 * iconvdata/ibm1112.h: Likewise.
19557 * iconvdata/ibm1122.h: Likewise.
19558 * iconvdata/ibm1123.h: Likewise.
19559 * iconvdata/ibm1124.h: Likewise.
19560 * iconvdata/ibm1129.h: Likewise.
19561 * iconvdata/ibm1130.h: Likewise.
19562 * iconvdata/ibm1132.h: Likewise.
19563 * iconvdata/ibm1133.h: Likewise.
19564 * iconvdata/ibm1137.h: Likewise.
19565 * iconvdata/ibm1140.h: Likewise.
19566 * iconvdata/ibm1141.h: Likewise.
19567 * iconvdata/ibm1142.h: Likewise.
19568 * iconvdata/ibm1143.h: Likewise.
19569 * iconvdata/ibm1144.h: Likewise.
19570 * iconvdata/ibm1145.h: Likewise.
19571 * iconvdata/ibm1146.h: Likewise.
19572 * iconvdata/ibm1147.h: Likewise.
19573 * iconvdata/ibm1148.h: Likewise.
19574 * iconvdata/ibm1149.h: Likewise.
19575 * iconvdata/ibm1153.h: Likewise.
19576 * iconvdata/ibm1154.h: Likewise.
19577 * iconvdata/ibm1155.h: Likewise.
19578 * iconvdata/ibm1156.h: Likewise.
19579 * iconvdata/ibm1157.h: Likewise.
19580 * iconvdata/ibm1158.h: Likewise.
19581 * iconvdata/ibm1160.h: Likewise.
19582 * iconvdata/ibm1161.h: Likewise.
19583 * iconvdata/ibm1162.h: Likewise.
19584 * iconvdata/ibm1163.h: Likewise.
19585 * iconvdata/ibm1164.h: Likewise.
19586 * iconvdata/ibm1166.h: Likewise.
19587 * iconvdata/ibm1167.h: Likewise.
19588 * iconvdata/ibm12712.h: Likewise.
19589 * iconvdata/ibm1390.h: Likewise.
19590 * iconvdata/ibm1399.h: Likewise.
19591 * iconvdata/ibm16804.h: Likewise.
19592 * iconvdata/ibm4517.h: Likewise.
19593 * iconvdata/ibm4899.h: Likewise.
19594 * iconvdata/ibm4909.h: Likewise.
19595 * iconvdata/ibm4971.h: Likewise.
19596 * iconvdata/ibm5347.h: Likewise.
19597 * iconvdata/ibm803.h: Likewise.
19598 * iconvdata/ibm856.h: Likewise.
19599 * iconvdata/ibm901.h: Likewise.
19600 * iconvdata/ibm902.h: Likewise.
19601 * iconvdata/ibm9030.h: Likewise.
19602 * iconvdata/ibm9066.h: Likewise.
19603 * iconvdata/ibm921.h: Likewise.
19604 * iconvdata/ibm922.h: Likewise.
19605 * iconvdata/ibm9448.h: Likewise.
19606 * iconvdata/isiri-3342.h: Likewise.
19607 * iconvdata/jis0201.h: Likewise.
19608 * include/link.h: Likewise.
19609 * include/netdb.h: Likewise.
19610 * inet/check_native.c: Likewise.
19611 * inet/check_pf.c: Likewise.
19612 * inet/getipv4sourcefilter.c: Likewise.
19613 * inet/getnameinfo.c: Likewise.
19614 * inet/getsourcefilter.c: Likewise.
19615 * inet/htonl.c: Likewise.
19616 * inet/setipv4sourcefilter.c: Likewise.
19617 * inet/setsourcefilter.c: Likewise.
19618 * inet/test-inet6_opt.c: Likewise.
19619 * inet/tst-network.c: Likewise.
19620 * locale/C-collate.c: Likewise.
19621 * locale/C-ctype.c: Likewise.
19622 * locale/C-time.c: Likewise.
19623 * locale/C-translit.h: Likewise.
19624 * locale/loadarchive.c: Likewise.
19625 * locale/programs/3level.h: Likewise.
19626 * locale/programs/charmap.c: Likewise.
19627 * locale/programs/charmap.h: Likewise.
19628 * locale/programs/ld-address.c: Likewise.
19629 * locale/programs/ld-collate.c: Likewise.
19630 * locale/programs/ld-ctype.c: Likewise.
19631 * locale/programs/ld-identification.c: Likewise.
19632 * locale/programs/ld-measurement.c: Likewise.
19633 * locale/programs/ld-messages.c: Likewise.
19634 * locale/programs/ld-monetary.c: Likewise.
19635 * locale/programs/ld-name.c: Likewise.
19636 * locale/programs/ld-numeric.c: Likewise.
19637 * locale/programs/ld-paper.c: Likewise.
19638 * locale/programs/ld-telephone.c: Likewise.
19639 * locale/programs/ld-time.c: Likewise.
19640 * locale/programs/linereader.c: Likewise.
19641 * locale/programs/locale.c: Likewise.
19642 * locale/programs/locarchive.c: Likewise.
19643 * locale/programs/locfile.h: Likewise.
19644 * locale/programs/repertoire.c: Likewise.
19645 * locale/programs/simple-hash.c: Likewise.
19646 * locale/programs/simple-hash.h: Likewise.
19647 * malloc/memusage.c: Likewise.
19648 * malloc/memusagestat.c: Likewise.
19649 * nis/nis_defaults.c: Likewise.
19650 * nis/nis_hash.c: Likewise.
19651 * nis/nis_print.c: Likewise.
19652 * nis/nis_xdr.c: Likewise.
19653 * nscd/connections.c: Likewise.
19654 * nscd/hstcache.c: Likewise.
19655 * nscd/nscd_gethst_r.c: Likewise.
19656 * nscd/nscd_getserv_r.c: Likewise.
19657 * nscd/nscd_helper.c: Likewise.
19658 * nscd/servicescache.c: Likewise.
19659 * nss/makedb.c: Likewise.
19660 * nss/nss_db/db-XXX.c: Likewise.
19661 * nss/nss_db/db-initgroups.c: Likewise.
19662 * nss/nss_db/db-netgrp.c: Likewise.
19663 * nss/nss_files/files-network.c: Likewise.
19664 * nss/nss_files/files-parse.c: Likewise.
19665 * posix/bug-regex5.c: Likewise.
19666 * posix/fnmatch_loop.c: Likewise.
19667 * posix/regcomp.c: Likewise.
19668 * posix/regexec.c: Likewise.
19669 * posix/tst-rfc3484-2.c: Likewise.
19670 * posix/tst-rfc3484-3.c: Likewise.
19671 * posix/tst-rfc3484.c: Likewise.
19672 * resolv/nss_dns/dns-canon.c: Likewise.
19673 * resolv/nss_dns/dns-network.c: Likewise.
19674 * resolv/res_init.c: Likewise.
19675 * resolv/res_mkquery.c: Likewise.
19676 * resolv/tst-aton.c: Likewise.
19677 * stdlib/cxa_atexit.c: Likewise.
19678 * stdlib/cxa_finalize.c: Likewise.
19679 * stdlib/gen-fpioconst.c: Likewise.
19680 * stdlib/strtol_l.c: Likewise.
19681 * string/tst-endian.c: Likewise.
19682 * sunrpc/auth_des.c: Likewise.
19683 * sunrpc/clnt_udp.c: Likewise.
19684 * sunrpc/rtime.c: Likewise.
19685 * sunrpc/svcauth_des.c: Likewise.
19686 * sunrpc/xdr.c: Likewise.
19687 * sunrpc/xdr_intXX_t.c: Likewise.
19688 * sunrpc/xdr_rec.c: Likewise.
19689 * sysdeps/generic/ldconfig.h: Likewise.
19690 * sysdeps/generic/ldsodefs.h: Likewise.
19691 * sysdeps/generic/memusage.h: Likewise.
19692 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19694 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19696 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19698 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19700 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19701 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19702 * sysdeps/posix/getaddrinfo.c: Likewise.
19703 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19704 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19705 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19706 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19707 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19708 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19709 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19710 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19711 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19712 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19713 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19714 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19715 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19716 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19717 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19718 * sysdeps/x86_64/dl-tls.h: Likewise.
19719 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19720 * time/alt_digit.c: Likewise.
19721 * time/era.c: Likewise.
19722 * wcsmbs/tst-c16c32-1.c: Likewise.
19723
197242013-05-16 Joseph Myers <joseph@codesourcery.com>
19725
19726 * math/libm-test.inc (struct test_sincos_data): New type.
19727 (RUN_TEST_LOOP_sincos): New macro.
19728 (sincos_test_data): New variable.
19729 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19730
197312013-05-16 Richard Henderson <rth@redhat.com>
19732
19733 * math/atest-exp2.c (LIMB64): New macro.
19734 (CONSTSZ): New macro.
19735 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19736 (hexdig): Move ...
19737 (print_mpn_fp): ... to function scope.
19738 (read_mpn_hex): Remove.
19739 (get_log2): Remove.
19740 (exp2_mpn): Use mp_log2.
19741 (main): Use mp_exp1.
19742
197432013-05-16 Joseph Myers <joseph@codesourcery.com>
19744
19745 * math/libm-test.inc: Remove comment about not testing "inexact"
19746 exceptions.
19747 (INEXACT_EXCEPTION): New macro.
19748 (NO_INEXACT_EXCEPTION): Likewise.
19749 (INVALID_EXCEPTION_OK): Update value.
19750 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19751 (OVERFLOW_EXCEPTION_OK): Likewise.
19752 (UNDERFLOW_EXCEPTION_OK): Likewise.
19753 (IGNORE_ZERO_INF_SIGN): Likewise.
19754 (ERRNO_UNCHANGED): Likewise.
19755 (ERRNO_EDOM): Likewise.
19756 (ERRNO_ERANGE): Likewise.
19757 (test_exceptions): Handle testing "inexact" exceptions.
19758 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19759 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19760 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19761 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19762 INEXACT_EXCEPTION.
19763 (rint_towardzero_test_data): Likewise.
19764 (rint_downward_test_data): Likewise.
19765 (rint_upward_test_data): Likewise.
19766
19767 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19768 with OVERFLOW_EXCEPTION.
19769 (exp10_test_data): Likewise.
19770 (exp2_test_data): Likewise.
19771 (expm1_test_data): Likewise.
19772 (lgamma_test_data): Likewise.
19773 (pow_test_data): Likewise.
19774 (tgamma_test_data): Likewise.
19775 (yn_test_data): Remove duplicate test of overflow.
19776
19777 * math/libm-test.inc (struct test_cc_c_data): New type.
19778 (RUN_TEST_LOOP_cc_c): New macro.
19779 (cpow_test_data): New variable.
19780 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19781
19782 * math/libm-test.inc (struct test_f_L_data): New type.
19783 (RUN_TEST_LOOP_f_L): New macro.
19784 (llrint_test_data): New variable.
19785 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19786 (llrint_tonearest_test_data): New variable.
19787 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19788 (llrint_towardzero_test_data): New variable.
19789 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19790 (llrint_downward_test_data): New variable.
19791 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19792 (llrint_upward_test_data): New variable.
19793 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19794 (llround_test_data): New variable.
19795 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19796
197972013-05-13 Peter Collingbourne <pcc@google.com>
19798
19799 * math/atest-exp2.c (get_log2): Remove const attribute.
19800
198012013-05-15 Joseph Myers <joseph@codesourcery.com>
19802
19803 * math/libm-test.inc (struct test_f_l_data): New type.
19804 (RUN_TEST_LOOP_f_l): New macro.
19805 (lrint_test_data): New variable.
19806 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19807 (lrint_tonearest_test_data): New variable.
19808 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19809 (lrint_towardzero_test_data): New variable.
19810 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19811 (lrint_downward_test_data): New variable.
19812 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19813 (lrint_upward_test_data): New variable.
19814 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19815 (lround_test_data): New variable.
19816 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19817
198182013-05-15 Peter Collingbourne <pcc@google.com>
19819
19820 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19821 (EXTRACT_WORDS64) Use where appropriate.
19822 (INSERT_WORDS64) Likewise.
19823
19824 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19825 constraints with x constraints.
19826 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19827
19828 * malloc/obstack.c (_obstack_compat): Add initializer.
19829
198302013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19831
19832 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19833 si_trapno and add si_addr_lsb to _sifields.sigfault.
19834 (si_trapno): Remove macro.
19835 (si_addr_lsb): Define new macro.
19836 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19837
198382013-05-15 Joseph Myers <joseph@codesourcery.com>
19839
19840 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19841 instead of TEST_f_l.
19842 (llrint_test_tonearest): Likewise.
19843 (llrint_test_towardzero): Likewise.
19844 (llrint_test_downward): Likewise.
19845 (llrint_test_upward): Likewise.
19846 (llround_test): Likewise.
19847
19848 * math/libm-test.inc (struct test_f_i_data): Add comment.
19849 (RUN_TEST_LOOP_f_b): New macro.
19850 (RUN_TEST_LOOP_f_b_tg): Likewise.
19851 (finite_test_data): New variable.
19852 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19853 (isfinite_test_data): New variable.
19854 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19855 (isinf_test_data): New variable.
19856 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19857 (isnan_test_data): New variable.
19858 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19859 (isnormal_test_data): New variable.
19860 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19861 (issignaling_test_data): New variable.
19862 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19863 (signbit_test_data): New variable.
19864 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19865
19866 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19867 with INVALID_EXCEPTION.
19868 (acosh_test_data): Likewise.
19869 (asin_test_data): Likewise.
19870 (atanh_test_data): Likewise.
19871 (fmod_test_data): Likewise.
19872 (log_test_data): Likewise.
19873 (log10_test_data): Likewise.
19874 (log2_test_data): Likewise.
19875 (pow_test_data): Likewise.
19876 (sqrt_test_data): Likewise.
19877 (y0_test_data): Likewise.
19878 (y1_test_data): Likewise.
19879 (yn_test_data): Likewise.
19880
19881 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19882 function contents.
19883
19884 * math/libm-test.inc (struct test_ff_i_data): New type.
19885 (RUN_TEST_LOOP_ff_i_tg): New macro.
19886 (isgreater_test_data): New variable.
19887 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19888 (isgreaterequal_test_data): New variable.
19889 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19890 (isless_test_data): New variable.
19891 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19892 (islessequal_test_data): New variable.
19893 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19894 (islessgreater_test_data): New variable.
19895 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19896 (isunordered_test_data): New variable.
19897 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19898
198992013-05-14 David S. Miller <davem@davemloft.net>
19900
19901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19902
199032013-05-14 Joseph Myers <joseph@codesourcery.com>
19904
19905 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19906
19907 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19908 extra_test to int.
19909 (struct test_f_i_data): Change type of max_ulp to int.
19910
19911 * math/libm-test.inc (test_ffI_f1_data): New type.
19912 (RUN_TEST_LOOP_ffI_f1): New macro.
19913 (remquo_test_data): New variable.
19914 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19915
19916 * setjmp/tst-setjmp-fp.c: New file.
19917 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19918 (link-libm): New variable.
19919 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19920
19921 * math/libm-test.inc (struct test_f_i_data): New type.
19922 (RUN_TEST_LOOP_f_i): New macro.
19923 (RUN_TEST_LOOP_f_i_tg): Likewise.
19924 (fpclassify_test_data): New variable.
19925 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19926 (ilogb_test_data): New variable.
19927 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19928
19929 * math/libm-test.inc (scalbln_test): Correct function name in END
19930 call.
19931
19932 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19933 (RUN_TEST_LOOP_fI_f1): New macro.
19934 (frexp_test_data): New variable.
19935 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19936
19937 * math/libm-test.inc (struct test_fF_f1_data): New type.
19938 (RUN_TEST_LOOP_fF_f1): New macro.
19939 (modf_test_data): New variable.
19940 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19941
19942 * math/libm-test.inc (struct test_f_f1_data): New type.
19943 (RUN_TEST_LOOP_f_f1): New macro.
19944 (gamma_test_data): New variable.
19945 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19946 (lgamma_test_data): New variable.
19947 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19948
199492013-05-13 Carlos O'Donell <carlos@redhat.com>
19950
19951 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19952 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19953 (main): Comment "tls" pseudo-hwcap.
19954
199552013-05-13 Joseph Myers <joseph@codesourcery.com>
19956
19957 * math/libm-test.inc (struct test_fl_f_data): New type.
19958 (RUN_TEST_LOOP_fl_f): New variable.
19959 (scalbln_test_data): New variable.
19960 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19961
19962 * math/libm-test.inc (struct test_fi_f_data): New type.
19963 (RUN_TEST_LOOP_fi_f): New macro.
19964 (ldexp_test_data): New variable.
19965 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19966 (scalbn_test_data): New variable.
19967 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19968
19969 * math/libm-test.inc (struct test_c_f_data): New type.
19970 (RUN_TEST_LOOP_c_f): New macro.
19971 (cabs_test_data): New variable.
19972 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19973 (carg_test_data): New variable.
19974 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19975 (cimag_test_data): New variable.
19976 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19977 (creal_test_data): New variable.
19978 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19979
19980 * math/libm-test.inc (struct test_if_f_data): New type.
19981 (RUN_TEST_LOOP_if_f): New macro.
19982 (jn_test_data): New variable.
19983 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19984 (yn_test_data): New variable.
19985 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19986
19987 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19988
199892013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19990
19991 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19992 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19993
199942013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19995
19996 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19997 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19998 (bench-deps): Add bench-timing.h.
19999 * benchtests-bench-skeleton.c: Include bench-timing.h.
20000 (main): Use TIMING_* macros instead of clock_gettime.
20001 * benchtests/bench-timing.h: New file.
20002
20003 [BZ #14582]
20004 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20005 Renamed from _LIB_VERSION.
20006 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20007
200082013-05-12 Joseph Myers <joseph@codesourcery.com>
20009
20010 * math/libm-test.inc (struct test_fff_f_data): New type.
20011 (RUN_TEST_LOOP_fff_f): New macro.
20012 (fma_test_data): New variable.
20013 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20014 (fma_towardzero_test_data): New variable.
20015 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20016 (fma_downward_test_data): New variable.
20017 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20018 (fma_upward_test_data): New variable.
20019 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20020
20021 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20022 (struct test_c_c_data): New type.
20023 (RUN_TEST_LOOP_c_c): New macro.
20024 (cacos_test_data): New variable.
20025 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20026 (cacosh_test_data): New variable.
20027 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20028 (casin_test_data): New variable.
20029 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20030 (casinh_test_data): New variable.
20031 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20032 (catan_test_data): New variable.
20033 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20034 (catanh_test_data): New variable.
20035 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20036 (ccos_test_data): New variable.
20037 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20038 (ccosh_test_data): New variable.
20039 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20040 (cexp_test_data): New variable.
20041 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20042 (clog_test_data): New variable.
20043 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20044 (clog10_test_data): New variable.
20045 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20046 (conj_test_data): New variable.
20047 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20048 (cproj_test_data): New variable.
20049 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20050 (csin_test_data): New variable.
20051 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20052 (csinh_test_data): New variable.
20053 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20054 (csqrt_test_data): New variable.
20055 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20056 (ctan_test_data): New variable.
20057 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20058 (ctan_tonearest_test_data): New variable.
20059 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20060 (ctan_towardzero_test_data): New variable.
20061 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20062 (ctan_downward_test_data): New variable.
20063 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20064 (ctan_upward_test_data): New variable.
20065 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20066 (ctanh_test_data): New variable.
20067 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20068 (ctanh_tonearest_test_data): New variable.
20069 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20070 (ctanh_towardzero_test_data): New variable.
20071 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20072 (ctanh_downward_test_data): New variable.
20073 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20074 (ctanh_upward_test_data): New variable.
20075 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20076 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20077 of BUILD_COMPLEX.
20078
20079 * math/libm-test.inc (struct test_ff_f_data): New type.
20080 (struct test_ff_f_data_nexttoward): Likewise.
20081 (RUN_TEST_LOOP_2_f): New macro.
20082 (RUN_TEST_LOOP_ff_f): Likewise.
20083 (atan2_test_data): New variable.
20084 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20085 (copysign_test_data): New variable.
20086 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20087 (fdim_test_data): New variable.
20088 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20089 (fmax_test_data): New variable.
20090 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20091 (fmin_test_data): New variable.
20092 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20093 (fmod_test_data): New variable.
20094 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20095 (hypot_test_data): New variable.
20096 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20097 (nextafter_test_data): New variable.
20098 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20099 (nexttoward_test_data): New variable.
20100 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20101 (pow_test_data): New variable.
20102 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20103 (pow_tonearest_test_data): New variable.
20104 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20105 (pow_towardzero_test_data): New variable.
20106 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20107 (pow_downward_test_data): New variable.
20108 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20109 (pow_upward_test_data): New variable.
20110 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20111 (remainder_test_data): New variable.
20112 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20113 (scalb_test_data): New variable.
20114 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20115 * sysdeps/i386/fpu/libm-test-ulps: Update.
20116
201172013-05-11 Joseph Myers <joseph@codesourcery.com>
20118
20119 * math/libm-test.inc (fma_test): Use max_value instead of local
20120 variable fltmax.
20121 (nextafter_test): Likewise.
20122
20123 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20124 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20125 (acos_downward_test_data): New variable.
20126 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20127 (acos_upward_test_data): New variable.
20128 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20129 (acosh_test_data): New variable.
20130 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20131 (asin_test_data): New variable.
20132 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20133 (asin_tonearest_test_data): New variable.
20134 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20135 (asin_towardzero_test_data): New variable.
20136 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20137 (asin_downward_test_data): New variable.
20138 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20139 (asin_upward_test_data): New variable.
20140 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20141 (asinh_test_data): New variable.
20142 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20143 (atan_test_data): New variable.
20144 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20145 (atanh_test_data): New variable.
20146 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20147 (cbrt_test_data): New variable.
20148 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20149 (ceil_test_data): New variable.
20150 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20151 (cos_test_data): New variable.
20152 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20153 (cos_tonearest_test_data): New variable.
20154 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20155 (cos_towardzero_test_data): New variable.
20156 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20157 (cos_downward_test_data): New variable.
20158 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20159 (cos_upward_test_data): New variable.
20160 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20161 (cosh_test_data): New variable.
20162 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20163 (cosh_tonearest_test_data): New variable.
20164 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20165 (cosh_towardzero_test_data): New variable.
20166 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20167 (cosh_downward_test_data): New variable.
20168 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20169 (cosh_upward_test_data): New variable.
20170 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20171 (erf_test_data): New variable.
20172 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20173 (erfc_test_data): New variable.
20174 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20175 (exp_test_data): New variable.
20176 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20177 (exp_tonearest_test_data): New variable.
20178 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20179 (exp_towardzero_test_data): New variable.
20180 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20181 (exp_downward_test_data): New variable.
20182 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20183 (exp_upward_test_data): New variable.
20184 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20185 (exp10_test_data): New variable.
20186 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20187 (exp2_test_data): New variable.
20188 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20189 (expm1_test_data): New variable.
20190 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20191 (fabs_test_data): New variable.
20192 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20193 (floor_test_data): New variable.
20194 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20195 (j0_test_data): New variable.
20196 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20197 (j1_test_data): New variable.
20198 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20199 (log_test_data): New variable.
20200 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20201 (log10_test_data): New variable.
20202 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20203 (log1p_test_data): New variable.
20204 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20205 (log2_test_data): New variable.
20206 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20207 (logb_test_data): New variable.
20208 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20209 (logb_downward_test_data): New variable.
20210 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20211 (nearbyint_test_data): New variable.
20212 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20213 (rint_test_data): New variable.
20214 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20215 (rint_tonearest_test_data): New variable.
20216 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20217 (rint_towardzero_test_data): New variable.
20218 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20219 (rint_downward_test_data): New variable.
20220 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20221 (rint_upward_test_data): New variable.
20222 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20223 (round_test_data): New variable.
20224 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20225 (sin_test_data): New variable.
20226 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20227 (sin_tonearest_test_data): New variable.
20228 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20229 (sin_towardzero_test_data): New variable.
20230 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20231 (sin_downward_test_data): New variable.
20232 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20233 (sin_upward_test_data): New variable.
20234 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20235 (sinh_test_data): New variable.
20236 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20237 (sinh_tonearest_test_data): New variable.
20238 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20239 (sinh_towardzero_test_data): New variable.
20240 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20241 (sinh_downward_test_data): New variable.
20242 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20243 (sinh_upward_test_data): New variable.
20244 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20245 (sqrt_test_data): New variable.
20246 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20247 (tan_test_data): New variable.
20248 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20249 (tan_tonearest_test_data): New variable.
20250 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20251 (tan_towardzero_test_data): New variable.
20252 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20253 (tan_downward_test_data): New variable.
20254 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20255 (tan_upward_test_data): New variable.
20256 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20257 (tanh_test_data): New variable.
20258 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20259 (tgamma_test_data): New variable.
20260 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20261 (trunc_test_data): New variable.
20262 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20263 (y0_test_data): New variable.
20264 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20265 (y1_test_data): New variable.
20266 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20267 (significand_test_data): New variable.
20268 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20269
202702013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20271
20272 [BZ #12387]
20273 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20274
202752013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20276
20277 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20278
202792013-05-10 Andreas Jaeger <aj@suse.de>
20280
20281 [BZ #15448]
20282 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20283 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20284
202852013-05-10 Joseph Myers <joseph@codesourcery.com>
20286
20287 * math/gen-libm-test.pl (adjust_arg): New function.
20288 (special_functions): Handle generating output in both functions
20289 and arrays.
20290 (parse_args): Likewise.
20291 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20292 $in_func argument to parse_args.
20293 * math/libm-test.inc (struct test_f_f_data): New type.
20294 (IF_ROUND_INIT_): New macro.
20295 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20296 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20297 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20298 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20299 (ROUND_RESTORE_): Likewise.
20300 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20301 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20302 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20303 (ROUND_RESTORE_FE_UPWARD): Likewise.
20304 (RUN_TEST_LOOP_f_f): New macro.
20305 (acos_test_data): New variable.
20306 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20307 (acos_tonearest_test_data): New variable.
20308 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20309
203102013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20311
20312 * benchtests/bench-skeleton.c (startup): Fix coding style.
20313
203142013-05-10 Joseph Myers <joseph@codesourcery.com>
20315
20316 [BZ #6809]
20317 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20318 negative infinity argument.
20319 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20320 negative infinity argument.
20321 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20322 negative infinity argument.
20323 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20324 domain errors.
20325
203262013-05-10 Florian Weimer <fweimer@redhat.com>
20327
20328 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20329 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20330 * iconv/iconv_prog.c (main): Likewise.
20331 * locale/programs/charmap-dir.c (charmap_readdir)
20332 (fopen_uncompressed): Likewise.
20333 * locale/programs/locfile.c (siblings_uncached)
20334 (write_locale_data): Use lstat64 instead of lstat.
20335 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20336 stat.
20337
203382013-05-10 Andreas Jaeger <aj@suse.de>
20339
20340 [BZ #15395]
20341 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20342 localization.
20343 Include <locale.h>.
20344
203452013-05-09 Carlos O'Donell <carlos@redhat.com>
20346
20347 * elf/dl-close.c (_dl_close_worker): Add comments.
20348
203492013-05-09 Joseph Myers <joseph@codesourcery.com>
20350
20351 [BZ #15359]
20352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20353 high part of pi/2.
20354 (__ieee754_rem_pio2l): Update comments.
20355
20356 [BZ #15429]
20357 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20358 high part of pi/2.
20359 (__ieee754_rem_pio2l): Update comments.
20360
20361 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20362 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20363
20364 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20365 M_PI_4l.
20366
20367 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20368 (M_PI_34_LOG10El): Likewise.
20369 (M_PI2_LOG10El): Likewise.
20370 (M_PI4_LOG10El): Likewise.
20371 (M_PI_LOG10El): Likewise.
20372
203732013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20374
20375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20376
203772013-05-08 Joseph Myers <joseph@codesourcery.com>
20378
20379 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20380 (MINUS_ZERO_INIT): Likewise.
20381 (PLUS_INFTY_INIT): Likewise.
20382 (MINUS_INFTY_INIT): Likewise.
20383 (QNAN_VALUE_INIT): Likewise.
20384 (MAX_VALUE_INIT): Likewise.
20385 (MIN_VALUE_INIT): Likewise.
20386 (MIN_SUBNORM_VALUE_INIT): Likewise.
20387 (plus_zero): Initialize with PLUS_ZERO_INIT.
20388 (minus_zero): Initialize with MINUS_ZERO_INIT.
20389 (plus_infty): Initialize with PLUS_INFTY_INIT.
20390 (minus_infty): Initialize with MINUS_INFTY_INIT.
20391 (qnan_value): Initialize with QNAN_VALUE_INIT.
20392 (max_value): Initialize with MAX_VALUE_INIT.
20393 (min_value): Initialize with MIN_VALUE_INIT.
20394 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20395
20396 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20397 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20398 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20399 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20400
20401 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20402 (RUN_TEST_2_f): Likewise.
20403 (RUN_TEST_ff_f): Likewise.
20404 (RUN_TEST_fi_f): Likewise.
20405 (RUN_TEST_fl_f): Likewise.
20406 (RUN_TEST_fff_f): Likewise.
20407 (RUN_TEST_c_f): Likewise.
20408 (RUN_TEST_f_f1): Likewise.
20409 (RUN_TEST_fF_f1): Likewise.
20410 (RUN_TEST_fI_f1): Likewise.
20411 (RUN_TEST_ffI_f1): Likewise.
20412 (RUN_TEST_c_c): Likewise.
20413 (RUN_TEST_cc_c): Likewise.
20414 (RUN_TEST_f_i): Likewise.
20415 (RUN_TEST_f_i_tg): Likewise.
20416 (RUN_TEST_ff_i_tg): Likewise.
20417 (RUN_TEST_f_b): Likewise.
20418 (RUN_TEST_f_b_tg): Likewise.
20419 (RUN_TEST_f_l): Likewise.
20420 (RUN_TEST_f_L): Likewise.
20421 (RUN_TEST_sincos): Likewise.
20422 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20423 whether to show exceptions. Do not include ");\n" in return
20424 value.
20425 (special_functions): Output call to RUN_TEST_sincos instead of
20426 check_float calls. Update calls to new_test.
20427 (parse_args): Output call to single RUN_TEST_* macro instead of
20428 check_* calls and other assignments. Update calls to new_test.
20429
20430 [BZ #2546]
20431 [BZ #2560]
20432 [BZ #5159]
20433 [BZ #15426]
20434 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20435 input to result for tgamma overflow.
20436 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20437 (gamma_coeff): New variable.
20438 (NCOEFF): New macro.
20439 (gamma_positive): New function.
20440 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20441 underflow here. Use gamma_positive instead of exp (lgamma) for
20442 other arguments.
20443 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20444 (gamma_coeff): New variable.
20445 (NCOEFF): New macro.
20446 (gammaf_positive): New function.
20447 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20448 underflow here. Use gamma_positive instead of exp (lgamma) for
20449 other arguments.
20450 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20451 (gamma_coeff): New variable.
20452 (NCOEFF): New macro.
20453 (gammal_positive): New function.
20454 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20455 underflow here. Use gamma_positive instead of exp (lgamma) for
20456 other arguments.
20457 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20458 (gamma_coeff): New variable.
20459 (NCOEFF): New macro.
20460 (gammal_positive): New function.
20461 (__ieee754_gammal_r): Handle positive infinity, overflow and
20462 underflow here. Handle NaN the same as positive infinity. Remove
20463 check x < 0xffffffff for negative integers. Use gamma_positive
20464 instead of exp (lgamma) for other arguments.
20465 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20466 (gamma_coeff): New variable.
20467 (NCOEFF): New macro.
20468 (gammal_positive): New function.
20469 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20470 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20471 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20472 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20473 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20474 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20475 * sysdeps/generic/math_private.h (__gamma_productf): New
20476 prototype.
20477 (__gamma_product): Likewise.
20478 (__gamma_productl): Likewise.
20479 * math/Makefile (libm-calls): Add gamma_product.
20480 * math/libm-test.inc (tgamma_test): Add more tests.
20481 * sysdeps/i386/fpu/libm-test-ulps: Update.
20482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20483
204842013-05-08 Ondřej Bílka <neleai@seznam.cz>
20485
20486 * benchtests/bench-skeleton.c (main): Preheat CPU.
20487
204882013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20489
20490 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20491
204922013-05-07 Roland McGrath <roland@hack.frob.com>
20493
20494 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20495 and _dl_skip_args_internal.
20496
204972013-05-07 Carlos O'Donell <carlos@redhat.com>
20498
20499 * manual/message.texi (Message Translation): Talk about users.
20500 Message to key mapping impacts design.
20501
205022013-05-06 Roland McGrath <roland@hack.frob.com>
20503
20504 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20505
20506 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20507
20508 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20509 * sysdeps/wordsize-64/glob64.c: ... here.
20510
20511 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20512 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20513 New macros.
20514
20515 * debug/getlogin_r_chk.c: Moved to ...
20516 * login/getlogin_r_chk.c: ... here.
20517 * debug/Makefile (routines): Move getlogin_r_chk to ...
20518 * login/Makefile (routines): ... here.
20519 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20520 * login/Versions (libc: GLIBC_2.4): ... here.
20521
20522 * io/poll.c (__poll): Renamed from poll.
20523 Add libc_hidden_def.
20524 (poll): Define as weak alias.
20525
20526 * debug/ptsname_r_chk.c: Moved to ...
20527 * login/ptsname_r_chk.c: ... here.
20528 * debug/Makefile (routines): Move ptsname_r_chk to ...
20529 * login/Makefile (routines): ... here.
20530 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20531 * login/Versions (libc: GLIBC_2.4): ... here.
20532
20533 * posix/getlogin.c: Moved to ...
20534 * login/getlogin.c: ... here.
20535 * posix/getlogin_r.c: Moved to ...
20536 * login/getlogin_r.c: ... here.
20537 * posix/getlogin_r.c: Moved to ...
20538 * login/getlogin_r.c: ... here.
20539 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20540 * login/Makefile (routines): ... here.
20541 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20542 * login/Versions (libc: GLIBC_2.0): ... here.
20543
20544 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20545 (setrlimit): Define as weak alias.
20546
20547 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20548 Call __ names for open, ftruncate, and close.
20549 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20550 (truncate): Define as weak alias.
20551
205522013-05-06 Joseph Myers <joseph@codesourcery.com>
20553
20554 * math/gen-libm-test.pl (parse_args): Initialize x before each
20555 test of frexp, modf and remquo.
20556
20557 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20558 test signgam value.
20559
205602013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20561
20562 [BZ #15418]
20563 [BZ #15419]
20564 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20565 internal tests.
20566 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20567
205682013-05-06 Roland McGrath <roland@hack.frob.com>
20569
20570 * elf/dl-writev.h: New file.
20571 * elf/dl-misc.c: Include it.
20572 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20573 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20574
205752013-05-04 Joseph Myers <joseph@codesourcery.com>
20576
20577 * math/libm-test.inc (noXFails): Remove variable.
20578 (noXPasses): Likewise.
20579 (BUILD_COMPLEX_INT): Remove macro.
20580 (print_screen): Remove xfail argument.
20581 (print_screen_max_error): Likewise.
20582 (update_stats): Likewise.
20583 (print_max_error): Likewise. Update calls to other affected
20584 functions.
20585 (print_complex_max_error): Likewise.
20586 (test_single_exception): Update calls to print_screen.
20587 (test_single_errno): Likewise.
20588 (check_float_internal): Remove xfail argument. Update calls to
20589 other affected functions.
20590 (check_float): Likewise.
20591 (check_complex): Likewise.
20592 (check_int): Likewise.
20593 (check_long): Likewise.
20594 (check_bool): Likewise.
20595 (check_longlong): Likewise.
20596 (main): Don't print noXFails and noXPasses.
20597 * math/gen-libm-test.pl (top level): Don't mention expected
20598 failure handling in comment.
20599 (new_test): Don't handle expected failures.
20600 (parse_args): Don't mention expected failure handling in comment.
20601 (generate_testfile): Don't handle expected failures.
20602 (parse_ulps): Likewise.
20603 (print_ulps_file): Likewise.
20604 (get_failure): Remove function.
20605 (output_test): Don't handle expected failures.
20606 * make/README.libm-test: Don't mention expected failure handling.
20607
20608 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20609 (minus_zero): Likewise.
20610 (plus_infty): Likewise.
20611 (minus_infty): Likewise.
20612 (qnan_value): Likewise.
20613 (max_value): Likewise.
20614 (min_value): Likewise.
20615 (min_subnorm_value): Likewise.
20616 (initialize): Do not initialize those variables dynamically.
20617
206182013-05-03 Roland McGrath <roland@hack.frob.com>
20619
20620 * io/open.c (__open_2): Moved to ...
20621 * io/open_2.c: ... this new file.
20622 * io/open64.c (__open64_2): Moved to ...
20623 * io/open64_2.c: ... this new file.
20624 * io/openat.c (__openat_2): Moved to ...
20625 * io/openat_2.c: ... this new file.
20626 * io/openat64.c (__openat64_2): Moved to ...
20627 * io/openat64_2.c: ... this new file.
20628 * io/Makefile (routines): Add them.
20629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20630 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20631 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20632 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20633 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20634 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20635 (__openat64): Add hidden_ver.
20636 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20637 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20638
20639 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20640 Separately conditionalize setting of GLRO(dl_sysinfo) so
20641 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20642 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20643
206442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20645
20646 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20647 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20648 definition.
20649 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20650 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20651 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20652 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20653 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20654
206552013-05-03 Joseph Myers <joseph@codesourcery.com>
20656
20657 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20658 test signgam value.
20659
20660 * math/libm-test.inc (hypot_test): Do not use
20661 IGNORE_ZERO_INF_SIGN.
20662
206632013-05-03 Andreas Jaeger <aj@suse.de>
20664
20665 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20666 Linux 3.9.
20667 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20668 (PF_MAX): Adjust for VSOCK change.
20669
206702013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20671
20672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20673
206742013-05-02 Carlos O'Donell <carlos@redhat.com>
20675
20676 [BZ #15264]
20677 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20678 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20679 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20680
206812013-05-02 David S. Miller <davem@davemloft.net>
20682
20683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20684
206852013-05-01 Ondřej Bílka <neleai@seznam.cz>
20686
20687 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20688
206892013-05-01 Roland McGrath <roland@hack.frob.com>
20690
20691 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20692
206932013-05-01 Richard Smith <richard@metafoo.co.uk>
20694
20695 [BZ #14952]
20696 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20697 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20698 Use __attribute__ ((__gnu_inline__)).
20699 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20700 Don't use __attribute__ ((__gnu_inline__)).
20701
207022013-05-01 Joseph Myers <joseph@codesourcery.com>
20703
20704 [BZ #15423]
20705 * math/s_catan.c (__catan): Handle small real or imaginary part of
20706 input specially to avoid spurious underflow.
20707 * math/s_catanf.c (__catanf): Likewise.
20708 * math/s_catanh.c (__catanh): Likewise.
20709 * math/s_catanhf.c (__catanhf): Likewise.
20710 * math/s_catanhl.c (__catanhl): Likewise.
20711 * math/s_catanl.c (__catanl): Likewise.
20712 * math/libm-test.inc (catan_test): Add more tests.
20713 (catanh_test): Likewise.
20714 * sysdeps/i386/fpu/libm-test-ulps: Update.
20715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20716
207172013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20718
20719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20720
207212013-04-30 Joseph Myers <joseph@codesourcery.com>
20722
20723 [BZ #15416]
20724 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20725 accurately for denominator in atan2.
20726 * math/s_catanf.c (__catanf): Likewise.
20727 * math/s_catanh.c (__catanh): Likewise.
20728 * math/s_catanhf.c (__catanhf): Likewise.
20729 * math/s_catanhl.c (__catanhl): Likewise.
20730 * math/s_catanl.c (__catanl): Likewise.
20731 * math/libm-test.inc (catan_test): Add more tests.
20732 (catanh_test): Likewise.
20733 * sysdeps/i386/fpu/libm-test-ulps: Update.
20734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20735
207362013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20737
20738 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20739
20740 * benchtests/Makefile (bench): Remove slow benchmarks.
20741 * benchtests/atan-inputs: Add slow benchmark inputs.
20742 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20743 (BENCH_FUNC): Accept variant offset.
20744 (VARIANT): Define.
20745 * benchtests/bench-skeleton.c (main): Run benchmark for each
20746 variant.
20747 * benchtests/cos-inputs: Add slow benchmark inputs.
20748 * benchtests/exp-inputs: Likewise.
20749 * benchtests/pow-inputs: Likewise.
20750 * benchtests/sin-inputs: Likewise.
20751 * benchtests/slowatan-inputs: Remove.
20752 * benchtests/slowatan.c: Remove.
20753 * benchtests/slowcos-inputs: Remove.
20754 * benchtests/slowcos.c: Remove.
20755 * benchtests/slowexp-inputs: Remove.
20756 * benchtests/slowexp.c: Remove.
20757 * benchtests/slowpow-inputs: Remove.
20758 * benchtests/slowpow.c: Remove.
20759 * benchtests/slowsin-inputs: Remove.
20760 * benchtests/slowsin.c: Remove.
20761 * benchtests/slowtan-inputs: Remove.
20762 * benchtests/slowtan.c: Remove.
20763 * benchtests/tan-inputs: Add slow benchmark inputs.
20764 * scripts/bench.pl: Parse comments and directives.
20765
20766 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20767 in CPPFLAGS.
20768 ($(objpfx)bench-%.c): Remove *-ITER.
20769 * benchtests/bench-modf.c: Remove definition of ITER.
20770 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20771 (main): Loop for DURATION seconds instead of fixed number of
20772 iterations.
20773 * scripts/bench.pl: Don't expect iterations in parameters.
20774
207752013-04-29 Roland McGrath <roland@hack.frob.com>
20776
20777 * io/fchdir.c (__fchdir): Renamed from fchdir.
20778 (fchdir): Define as weak alias.
20779
207802013-04-29 Joseph Myers <joseph@codesourcery.com>
20781
20782 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20783 (ERRNO_EDOM): Likewise.
20784 (ERRNO_ERANGE): Likewise.
20785 (noErrnoTests): New variable.
20786 (init_max_error): Set errno to 0.
20787 (test_single_errno): New function.
20788 (test_errno): Likewise.
20789 (check_float_internal): Call test_errno. Set errno to 0.
20790 (check_complex): Refer to errno tests in comment.
20791 (check_int): Call test_errno. Set errno to 0.
20792 (check_long): Likewise.
20793 (check_bool): Likewise.
20794 (check_longlong): Likewise.
20795 (cos_test): Use ERRNO_* flags for errno tests instead of
20796 check_int.
20797 (expm1_test): Likewise.
20798 (fmod_test): Likewise.
20799 (ilogb_test): Likewise.
20800 (lgamma_test): Likewise.
20801 (pow_test): Likewise.
20802 (remainder_test): Likewise.
20803 (sin_test): Likewise.
20804 (tan_test): Likewise.
20805 (yn_test): Likewise.
20806 (initialize): Set errno to 0.
20807 (main): Print number of errno tests.
20808 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20809
208102013-04-29 Andreas Jaeger <aj@suse.de>
20811
20812 [BZ #15084]
20813 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20814 and RES_USEVC.
20815
20816 [BZ #15085]
20817 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20818 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20819 unimplemented.
20820
20821 [BZ #15380]
20822 * stdlib/random.c (__initstate): Return NULL if
20823 __initstate fails.
20824
20825 [BZ #15086]
20826 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20827 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20828 RES_SNGLKUPREOP.
20829
208302013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20831
20832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20833
208342013-04-29 Joseph Myers <joseph@codesourcery.com>
20835
20836 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20837 of individual tests.
20838 (casin_test): Likewise.
20839 (casinh_test): Likewise.
20840
208412013-04-27 Joseph Myers <joseph@codesourcery.com>
20842
20843 [BZ #15409]
20844 * math/s_catan.c (__catan): Handle arguments with large real or
20845 imaginary part separately without squaring.
20846 * math/s_catanf.c (__catanf): Likewise.
20847 * math/s_catanh.c (__catanh): Likewise.
20848 * math/s_catanhf.c (__catanhf): Likewise.
20849 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20850 and redefine.
20851 (__catanhl): Handle arguments with large real or imaginary part
20852 separately without squaring.
20853 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20854 and redefine.
20855 (__catanl): Handle arguments with large real or imaginary part
20856 separately without squaring.
20857 * math/libm-test.inc (catan_test): Add more tests.
20858 (catanh_test): Likewise.
20859 * sysdeps/i386/fpu/libm-test-ulps: Update.
20860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20861
208622013-04-27 Andreas Jaeger <aj@suse.de>
20863
20864 [BZ #15007]
20865 * stdlib/stdlib.h: Update guards for qecvt.
20866 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20867 <stdlib.h>.
20868
208692013-04-27 Allan McRae <allan@archlinux.org>
20870
20871 * sysdeps/i386/fpu/libm-test-ulps: Update.
20872
208732013-04-26 Joseph Myers <joseph@codesourcery.com>
20874
20875 [BZ #15406]
20876 * math/s_catan.c: Include <float.h>.
20877 (__catan): Ensure underflow exception occurs for underflowed
20878 result.
20879 * math/s_catanf.c: Include <float.h>.
20880 (__catanf): Ensure underflow exception occurs for underflowed
20881 result.
20882 * math/s_catanh.c: Include <float.h>.
20883 (__catanh): Ensure underflow exception occurs for underflowed
20884 result.
20885 * math/s_catanhf.c: Include <float.h>.
20886 (__catanhf): Ensure underflow exception occurs for underflowed
20887 result.
20888 * math/s_catanhl.c: Include <float.h>.
20889 (__catanhl): Ensure underflow exception occurs for underflowed
20890 result.
20891 * math/s_catanl.c: Include <float.h>.
20892 (__catanl): Ensure underflow exception occurs for underflowed
20893 result.
20894 * math/libm-test.inc (catan_test): Add more tests.
20895 (catanh_test): Likewise.
20896
20897 [BZ #15405]
20898 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20899 underflowed result.
20900 * math/s_ccoshf.c (__ccoshf): Likewise.
20901 * math/s_ccoshl.c (__ccoshl): Likewise.
20902 * math/s_csin.c (__csin): Likewise.
20903 * math/s_csinf.c (__csinf): Likewise.
20904 * math/s_csinh.c (__csinh): Likewise.
20905 * math/s_csinhf.c (__csinhf): Likewise.
20906 * math/s_csinhl.c (__csinhl): Likewise.
20907 * math/s_csinl.c (__csinl): Likewise.
20908 * math/libm-test.inc (ccos_test): Add more tests.
20909 (ccosh_test): Likewise.
20910 (csin_test): Likewise.
20911 (csinh_test): Likewise.
20912
209132013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20914
20915 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20916 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20917 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20918 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20919 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20920 powerpc/power5+/fpu folders.
20921 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20922
20923
209242013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20925
20926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20927
209282013-04-25 Joseph Myers <joseph@codesourcery.com>
20929
20930 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20931 additions to variable.
20932 [$(config-machine) = x86_64] (modules-names): Likewise.
20933 ($(objpfx)tst-audit3): Remove dependency.
20934 ($(objpfx)tst-audit3.out): Likewise.
20935 ($(objpfx)tst-audit4): Likewise.
20936 ($(objpfx)tst-audit4.out): Likewise.
20937 ($(objpfx)tst-audit5): Likewise.
20938 ($(objpfx)tst-audit5.out): Likewise.
20939 ($(objpfx)tst-audit6): Likewise.
20940 ($(objpfx)tst-audit6.out): Likewise.
20941 ($(objpfx)tst-audit7): Likewise.
20942 ($(objpfx)tst-audit7.out): Likewise.
20943 (tst-audit3-ENV): Remove variable.
20944 (tst-audit4-ENV): Likewise.
20945 (tst-audit5-ENV): Likewise.
20946 (tst-audit6-ENV): Likewise.
20947 (tst-audit7-ENV): Likewise.
20948 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20949 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20950 addition to variable.
20951 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20952 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20953 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20954 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20955 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20956 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20957 tst-audit3, tst-audit4 and tst-audit5.
20958 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20959 tst-audit6 and tst-audit7.
20960 [$(subdir) = elf] (modules-names): Add audit modules for those
20961 tests.
20962 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20963 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20964 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20965 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20966 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20967 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20968 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20969 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20970 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20971 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20972 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20973 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20974 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20975 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20976 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20977 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20978 Likewise.
20979 [$(subdir) = elf && $(config-cflags-avx) = yes]
20980 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20981 [$(subdir) = elf && $(config-cflags-avx) = yes]
20982 (CFLAGS-tst-auditmod4a.c): Likewise.
20983 [$(subdir) = elf && $(config-cflags-avx) = yes]
20984 (CFLAGS-tst-auditmod4b.c): Likewise.
20985 [$(subdir) = elf && $(config-cflags-avx) = yes]
20986 (CFLAGS-tst-auditmod6b.c): Likewise.
20987 [$(subdir) = elf && $(config-cflags-avx) = yes]
20988 (CFLAGS-tst-auditmod6c.c): Likewise.
20989 [$(subdir) = elf && $(config-cflags-avx) = yes]
20990 (CFLAGS-tst-auditmod7b.c): Likewise.
20991 * elf/tst-audit3.c: Move to ...
20992 * sysdeps/x86_64/tst-audit3.c: ... here.
20993 * elf/tst-audit4.c: Move to ...
20994 * sysdeps/x86_64/tst-audit4.c: ... here.
20995 * elf/tst-audit5.c: Move to ...
20996 * sysdeps/x86_64/tst-audit5.c: ... here.
20997 * elf/tst-audit6.c: Move to ...
20998 * sysdeps/x86_64/tst-audit6.c: ... here.
20999 * elf/tst-audit7.c: Move to ...
21000 * sysdeps/x86_64/tst-audit7.c: ... here.
21001 * elf/tst-auditmod3a.c: Move to ...
21002 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21003 * elf/tst-auditmod3b.c: Move to ...
21004 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21005 * elf/tst-auditmod4a.c: Move to ...
21006 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21007 * elf/tst-auditmod4b.c: Move to ...
21008 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21009 * elf/tst-auditmod5a.c: Move to ...
21010 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21011 * elf/tst-auditmod5b.c: Move to ...
21012 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21013 * elf/tst-auditmod6a.c: Move to ...
21014 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21015 * elf/tst-auditmod6b.c: Move to ...
21016 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21017 * elf/tst-auditmod6c.c: Move to ...
21018 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21019 * elf/tst-auditmod7a.c: Move to ...
21020 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21021 * elf/tst-auditmod7b.c: Move to ...
21022 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21023
210242013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21025
21026 [BZ #15366]
21027 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21028 define unconditionally.
21029 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21030 define unconditionally.
21031 (INT8_C, INT16_C, etc.): Likewise.
21032
210332013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21034
21035 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21036 __ehdr_start with hidden visibility.
21037
21038 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21039
210402013-04-24 Carlos O'Donell <carlos@redhat.com>
21041
21042 * math/libm-test.inc (cos_test): Use accurate hex constants.
21043 (sincost_test): Likewise.
21044
210452013-04-24 Joseph Myers <joseph@codesourcery.com>
21046
21047 * math/libm-test.inc (catan_test): Add more tests.
21048 (catanh_test): Likewise.
21049
21050 * math/s_catanf.c (__catanf): Use suffixed floating-point
21051 constants.
21052 * math/s_catanhf.c (__catanhf): Likewise.
21053 * math/s_catanhl.c (__catanhl): Likewise.
21054 * math/s_catanl.c (__catanl): Likewise.
21055
21056 [BZ #15394]
21057 * math/s_catan.c (__catan): Calculate imaginary part of result
21058 with log1p not log unless computing log of number close to 0.
21059 * math/s_catanf.c (__catanf): Likewise.
21060 * math/s_catanl.c (__catanl): Likewise.
21061 * math/s_catanh.c (__catanh): Calculate real part of result with
21062 log1p not log unless computing log of number close to 0.
21063 * math/s_catanhf.c (__catanhf): Likewise.
21064 * math/s_catanhl.c (__catanhl): Likewise.
21065 * math/libm-test.inc (catan_test): Add more tests.
21066 (catanh_test): Likewise.
21067 * sysdeps/i386/fpu/libm-test-ulps: Update.
21068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21069
210702013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21071
21072 * benchtests/Makefile: Mention files in which fast and slow
21073 paths of math functions are implemented.
21074
210752013-04-23 Roland McGrath <roland@hack.frob.com>
21076
21077 * sysdeps/posix/timespec_get.c: New file.
21078
210792013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21080
21081 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21082 POWER.
21083 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21084 for POWER.
21085 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21086 powerpc/power5/fpu folders.
21087 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21088 * benchtests/Makefile: Add modf testcase.
21089 * benchtests/bench-modf.c: New file: Benchmark test for mo
21090
210912013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21092
21093 [BZ #14888]
21094 * time/Makefile (tests): Add tst-strptime-whitespace.
21095 * time/strptime_l.c (get_number): Use ISSPACE.
21096 (__strptime_internal): Likewise.
21097 * time/tst-strptime-whitespace.c: New test case.
21098
210992013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21100
21101 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21102 member.
21103 (_nss_files_init): Set it here.
21104
211052013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21106
21107 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21108 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21109 unsigned.
21110
211112013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21112
21113 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21114
211152013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21116
21117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21118 size just once.
21119
211202013-04-21 David S. Miller <davem@davemloft.net>
21121
21122 * po/ru.po: Update Russion translation from translation project.
21123
211242013-04-17 Adam Conrad <adconrad@0c3.net>
21125
21126 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21127 and setfsgid.
21128
211292013-04-17 Carlos O'Donell <carlos@redhat.com>
21130
21131 * configure.in: Remove i386 configure warning. Remove i386 case.
21132 * configure: Regenerate.
21133 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21134 Add example to error message.
21135 * sysdeps/i386/configure: Regenerate.
21136
211372013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21138
21139 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21140 slowtan.
21141 * benchtests/cos-inputs: New file.
21142 * benchtests/slowcos-inputs: New file.
21143 * benchtests/slowcos.c: New file.
21144 * benchtests/slowtan-inputs: New file.
21145 * benchtests/slowtan.c: New file.
21146 * benchtests/tan-inputs: New file.
21147
211482013-04-16 Roland McGrath <roland@hack.frob.com>
21149
21150 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21151 considered kosher.
21152
211532013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21154
21155 * benchtests/Makefile: Include cppflags-iterator.mk to add
21156 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21157
21158 * Makefile.in (bench-clean): New target.
21159 * benchtests/Makefile (bench-clean): Likewise.
21160
211612013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21162
21163 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21164
211652013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21166
21167 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21168
211692013-04-15 Andreas Schwab <schwab@suse.de>
21170
21171 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21172 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21173 * nscd/pwdcache.c (cache_addpw): Likewise.
21174 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21175 more than recsize.
21176
211772013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21178
21179 * benchtests/Makefile (bench): Write all output to
21180 bench-out.tmp together.
21181
211822013-04-15 Andreas Schwab <schwab@suse.de>
21183
21184 * nscd/nscd.c (main): Don't fork again after closing files.
21185
211862013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21187
21188 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21189
21190 * benchtests/Rules (bench-deps): Collect dependencies into a
21191 single variable. Add Makefile to dependencies.
21192 ($(objpfx)bench-%.c): Depend on bench-deps.
21193
211942013-04-12 Roland McGrath <roland@hack.frob.com>
21195 Xavier Roche <roche+kml2@exalead.com>
21196
21197 [BZ #15361]
21198 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21199 just that it's a file descriptor.
21200 * manual/llio.texi (Synchronizing AIO Operations): Update description
21201 for EBADF error from aio_fsync.
21202
212032013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21204
21205 * Rules (bench): Move target definition...
21206 * benchtests/Makefile: ... here.
21207
212082013-04-11 Carlos O'Donell <carlos@redhat.com>
21209
21210 * math/libm-test.inc (cos_test): Fix PI/2 test.
21211 (sincos_test): Likewise.
21212 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21213 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21214
212152013-04-11 Andreas Schwab <schwab@suse.de>
21216
21217 [BZ #13988]
21218 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21219 accept exponent character only when digits were seen.
21220 * stdio-common/Makefile (tests): Add bug26.
21221 * stdio-common/bug26.c: New file.
21222
21223 [BZ #14293]
21224 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21225 non-freeable.
21226
212272013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21228
21229 * Makeconfig (rtld-prefix): Define built linker prefix.
21230 * Rules (run-bench): Use it.
21231 * math/Makefile (run-regen-ulps): Likewise.
21232
21233 * Rules (bench): Remove eval.
21234
212352013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21236 Roland McGrath <roland@hack.frob.com>
21237 Ondrej Bilka <neleai@seznam.cz>
21238
21239 [BZ #15346]
21240 * time/getdate.c: Include ctype.h and alloca.h.
21241 (__getdate_r): Trim leading and trailing spaces of input.
21242 * time/tst-getdate.c (tests): Add tests with leading and
21243 trailing spaces.
21244
212452013-04-08 Roland McGrath <roland@hack.frob.com>
21246
21247 [BZ #14280]
21248 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21249 when computing value.
21250
212512013-04-06 Carlos O'Donell <carlos@redhat.com>
21252
21253 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21254 Use testrun.sh to run libm tests.
21255
21256 [BZ #15309]
21257 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21258
212592013-04-06 Marko Myllynen <myllynen@redhat.com>
21260
21261 [BZ #15264]
21262 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21263
212642013-04-06 Carlos O'Donell <carlos@redhat.com>
21265
21266 * Makefile.in (regen-ulps): New target.
21267 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21268 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21269 [ifneq (no,$(PERL)] (regen-ulps): New target.
21270 [ifeq (no,$(PERL)] (regen-ulps): New target.
21271 * math/libm-test.inc (ulps_file_name): Define.
21272 (output_dir): New variable.
21273 (options): Add "output-dir" option.
21274 (parse_opt): Handle 'o' case.
21275 (main): If output_dir is non-NULL use it as a prefix
21276 otherwise use "".
21277 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21278
212792013-04-06 Carlos O'Donell <carlos@redhat.com>
21280
21281 [BZ #10060, #10062]
21282 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21283 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21284 fail configure if __sync_val_compare_and_swap is not inlined.
21285 * sysdeps/i386/configure: Regenerate.
21286 * configure.in: Build for i686 when configured for i386.
21287 * configure: Regenerate.
21288 * README: Remove i386 reference.
21289
212902013-04-06 Carlos O'Donell <carlos@redhat.com>
21291
21292 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21293 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21294
212952013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21296
21297 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21298 (lmsnanval): New variables.
21299 (F): Add conversion tests.
21300 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21301 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21302
21303 * stdio-common/tstdiomisc.c (F): Properly collect individual
21304 tests' results.
21305
21306 [BZ #14686, #15336]
21307 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21308 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21309 Instead, use input NaN values or generate a qNaN by arithmetic
21310 operation. Also fix bugs to comply with the standard.
21311 * math/libm-test.inc (remainder_test): Add more tests.
21312
21313 [BZ #15335, #15342]
21314 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21316 input NaN values or generate a qNaN by arithmetic operation.
21317
21318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21319 unreachable code.
21320
21321 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21322 definitions.
21323
213242013-04-03 Joseph Myers <joseph@codesourcery.com>
21325
21326 [BZ #14478]
21327 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21328 underflowed result.
21329 * math/s_cexpf.c (__cexpf): Likewise.
21330 * math/s_cexpl.c (__cexpl): Likewise.
21331 * math/libm-test.inc (cexp_test): Add more tests.
21332
213332013-04-03 Andreas Schwab <schwab@suse.de>
21334
21335 [BZ #15330]
21336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21337 order arrays from heap if bigger than alloca cutoff.
21338
213392013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21340
21341 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21342 (SNAN_TESTS_double): Refer to GCC PR56831.
21343 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21344 GCC PR56828.
21345
213462013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21347
21348 * Rules (bench): Move bench.out after the run is complete.
21349
21350 * Rules (bench): Echo currently running benchmark.
21351
21352 * benchtests/Makefile (bench): Add atan and slowatan.
21353 * benchtests/atan-inputs: New file.
21354 * benchtests/slowatan-inputs: New file.
21355 * benchtests/slowatan.c: New file.
21356
21357 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21358 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21359 its value.
21360
21361 [BZ #15305]
21362 * sysdeps/unix/sysv/linux/kernel-features.h
21363 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21364 __ASSUME_XFS_RESTRICTED_CHOWN.
21365 * sysdeps/unix/sysv/linux/pathconf.c
21366 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21367 Save and restore errno.
21368
213692013-04-02 Joseph Myers <joseph@codesourcery.com>
21370
21371 [BZ #15327]
21372 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21373 arguments using __kernel_casinh.
21374 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21375 arguments using __kernel_casinhf.
21376 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21377 arguments using __kernel_casinhl.
21378 * math/libm-test.inc (cacosh_test): Add more tests.
21379 * sysdeps/i386/fpu/libm-test-ulps: Update.
21380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21381
213822013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21383
21384 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21386
21387 * bench/Makefile (bench): Add sin and slowsin.
21388 * benchtests/sin-inputs: New file.
21389 * benchtests/slowsin-inputs: New file.
21390 * benchtests/slowsin.c: New file.
21391
21392 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21393 (bench): Add slowexp and slowpow.
21394 (exp-ITER): Increase iterations.
21395 (pow-ITER): Likewise.
21396 * benchtests/exp-inputs: Change input.
21397 * benchtests/pow-inputs: Likewise.
21398 * benchtests/slowexp-inputs: New file.
21399 * benchtests/slowexp.c: New file.
21400 * benchtests/slowpow-inputs: New file.
21401 * benchtests/slowpow.c: New file.
21402
214032013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21404
21405 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21406 instructions.
21407 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21408 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21409 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21410 * benchtests/Makefile: Add rint benchtest.
21411 * benchtests/rint-inputs: Input for rint benchtest.
21412
214132013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21414
21415 * Versions.def (libm): Add GLIBC_2.18.
21416 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21417 hidden libm prototypes.
21418 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21419 * math/Makefile (libm-calls): Add s_issignaling.
21420 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21421 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21422 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21423 declaration.
21424 * math/math.h [__USE_GNU] (issignaling): New macro.
21425 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21426 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21427 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21428 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21429 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21430 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21431 * manual/arith.texi (issignaling): New section.
21432 * manual/libm-err-tab.pl (@all_functions): Update comment.
21433 * math/gen-libm-test.pl (parse_args): Apply special handling for
21434 issignaling.
21435 * math/libm-test.inc (print_float, issignaling_test): New
21436 functions.
21437 (check_float_internal): Add issignaling checks.
21438 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21439 default definition.
21440 * sysdeps/powerpc/math-tests.h: New file.
21441 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21442 tests.
21443 * math/test-snan.c (TEST_FUNC): Likewise.
21444
214452013-03-30 David S. Miller <davem@davemloft.net>
21446
21447 * po/de.po: Update from translation team.
21448
214492013-03-30 Joseph Myers <joseph@codesourcery.com>
21450
21451 [BZ #10357]
21452 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21453 imaginary part less than 1.0 and real part less than 0.5
21454 specially.
21455 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21456 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21457 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21458 (cacos_test): Add more tests.
21459 (casin_test): Likewise.
21460 (casinh_test): Likewise.
21461 * sysdeps/i386/fpu/libm-test-ulps: Update.
21462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21463
214642013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21465
21466 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21467 ONE with its value.
21468
21469 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21470 (__pow_mp): Replace ONE and MONE with their values.
21471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21472 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21473 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21474 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21475 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21476 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21477
21478 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21479
21480 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21481 (__pow_mp): Replace ZERO and MZERO with their values.
21482 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21483 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21484 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21486 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21487 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21488 (__sqr): Likewise.
21489
21490 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21491
21492 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21493
214942013-03-28 Roland McGrath <roland@hack.frob.com>
21495
21496 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21497 Declare with __attribute__ ((weak)).
21498 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21499 Call __call_tls_dtors only if it's not NULL.
21500
215012013-03-28 Roland McGrath <roland@hack.frob.com>
21502
21503 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21504 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21505 magic __ehdr_start linker symbol if it's defined.
21506 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21507 them up here if it was already done.
21508
21509 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21510 (_dl_aux_init): Use const in cast when setting it.
21511 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21512 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21513 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21514
21515 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21516 Declare them here.
21517 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21518 * csu/libc-tls.c: Nor here.
21519 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21520
21521 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21522 (__libc_message): Never call vsyslog.
21523
215242013-03-28 Alan Modra <amodra@gmail.com>
21525
21526 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21527 Define as empty.
21528 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21529 Likewise.
21530
215312013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21532
21533 [BZ #15214]
21534 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21535 underflow.
21536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21537
215382013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21539
21540 [BZ #15304]
21541 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21542 Don't add gid passed as argument.
21543
21544 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21545
215462013-03-27 Joseph Myers <joseph@codesourcery.com>
21547
21548 [BZ #15307]
21549 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21550 imaginary part between 1.0 and 1.5 and real part less than 0.5
21551 specially.
21552 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21553 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21554 * math/libm-test.inc (cacos_test): Add more tests.
21555 (casin_test): Likewise.
21556 (casinh_test): Likewise.
21557 * sysdeps/i386/fpu/libm-test-ulps: Update.
21558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21559
215602013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21561
21562 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21563 constants.
21564 (norm): Likewise.
21565 (denorm): Likewise.
21566 (__dbl_mp): Likewise.
21567 (add_magnitudes): Likewise.
21568 (sub_magnitudes): Likewise.
21569 (__add): Likewise.
21570 (__sub): Likewise.
21571 (__mul): Likewise.
21572 (__sqr): Likewise.
21573 (__inv): Likewise.
21574 (__dvd): Likewise.
21575
21576 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21577 commented code.
21578 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21579 (__dubcos): Likewise.
21580 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21581 (__ieee754_acos): Likewise.
21582 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21583 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21584 (__exp1): Likewise.
21585 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21587 (log1): Likewise.
21588 (my_log2): Likewise.
21589 (checkint): Likewise.
21590 * sysdeps/ieee754/dbl-64/e_remainder.c
21591 (__ieee754_remainder): Likewise.
21592 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21594 (bsloww): Likewise.
21595 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21596
21597 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21598 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21599 MANTISSA_STORE_T to store computations on mantissa. Use
21600 macros for rounding and division.
21601 (denorm): Likewise.
21602 (__dbl_mp): Likewise.
21603 (add_magnitudes): Likewise.
21604 (sub_magnitudes): Likewise.
21605 (__mul): Likewise.
21606 (__sqr): Likewise.
21607 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21608 powers of two in terms of TWOPOW macro.
21609 (mp_no): Make type of mantissa as MANTISSA_T.
21610 [!RADIXI]: Define RADIXI.
21611 [!TWO52]: Define TWO52.
21612 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21613
216142013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21615
21616 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21617 llroundl symbol when building for PPC32.
21618
216192013-03-24 Mark H Weaver <mhw@netris.org>
21620
21621 * manual/arith.texi (Normalization Functions): Fix prototypes for
21622 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21623
216242013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21625
21626 [BZ #13889]
21627 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21628 high value to check if expl overflow.
21629 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21630 to check for underflow and overflow.
21631 * math/libm-test.inc: Add exp test.
21632
216332013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21634
21635 [BZ #11120]
21636 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21637 with NOT_IN_libc.
21638
216392013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21640
21641 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21642 symbol.
21643
216442013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21645
21646 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21647 wrap blocks consisting of several statements.
21648
21649 * sysdeps/generic/math-tests.h: New file.
21650 * sysdeps/i386/fpu/math-tests.h: Likewise.
21651 * math/test-snan.c: Include it.
21652 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21653
216542013-03-21 Joseph Myers <joseph@codesourcery.com>
21655
21656 [BZ #15285]
21657 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21658 (__ieee754_j0l): Do not improve calculations using cos of twice
21659 input for inputs above LDBL_MAX / 2.0L.
21660 (__ieee754_y0l): Likewise.
21661 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21662 (__ieee754_j1l): Do not improve calculations using cos of twice
21663 input for inputs above LDBL_MAX / 2.0L.
21664 (__ieee754_y1l): Likewise.
21665 * math/libm-test.inc (j0_test): Add another test.
21666 (j1_test): Likewise.
21667 (y0_test): Likewise.
21668 (y1_test): Likewise.
21669 * sysdeps/i386/fpu/libm-test-ulps: Update.
21670
216712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21672
21673 * Rules ($(objpfx)bench-%.c): Include code from a C source
21674 file.
21675
216762013-03-21 Joseph Myers <joseph@codesourcery.com>
21677
21678 [BZ #15287]
21679 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21680 imaginary part 1.0 and real part less than 0.5 specially.
21681 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21682 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21683 * math/libm-test.inc (cacos_test): Add more tests.
21684 (casin_test): Likewise.
21685 (casinh_test): Likewise.
21686 * sysdeps/i386/fpu/libm-test-ulps: Update.
21687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21688
216892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21690
21691 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21692 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21693
216942013-03-20 Joseph Myers <joseph@codesourcery.com>
21695
21696 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21697 * config.make.in (config-cflags-sse4): Remove variable.
21698 (config-cflags-avx): Likewise.
21699 (config-cflags-sse2avx): Likewise.
21700 (config-cflags-novzeroupper): Likewise.
21701 (config-asflags-i686): Likewise.
21702 (have-mfma4): Likewise.
21703 (have-as-vis3): Likewise.
21704 (MIG): Likewise.
21705 * configure.in (MIG): Do not AC_SUBST.
21706 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21707 (libc_cv_cc_sse4): Do not AC_SUBST.
21708 (libc_cv_cc_avx): Likewise.
21709 (libc_cv_cc_sse2avx): Likewise.
21710 (libc_cv_cc_novzeroupper): Likewise.
21711 (libc_cv_cc_fma4): Likewise.
21712 (libc_cv_as_i686): Likewise.
21713 (libc_cv_sparc_as_vis3): Likewise.
21714 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21715 LIBC_CONFIG_VAR.
21716 (config-asflags-i686): Likewise.
21717 (config-cflags-avx): Likewise.
21718 (config-cflags-sse2avx): Likewise.
21719 (have-mfma4): Likewise.
21720 (config-cflags-novzeroupper): Likewise.
21721 * sysdeps/mach/configure.in (MIG): Likewise.
21722 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21723 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21724 LIBC_CONFIG_VAR.
21725 (config-cflags-avx): Likewise.
21726 (config-cflags-sse2avx): Likewise.
21727 (have-mfma4): Likewise.
21728 (config-cflags-novzeroupper): Likewise.
21729 * configure: Regenerated.
21730 * sysdeps/i386/configure: Likewise.
21731 * sysdeps/mach/configure: Likewise.
21732 * sysdeps/sparc/configure: Likewise.
21733 * sysdeps/x86_64/configure: Likewise.
21734
217352013-03-20 Roland McGrath <roland@hack.frob.com>
21736
21737 [BZ #14812]
21738 * locale/programs/localedef.c (options): Put N_ translation marker
21739 on argument names, not just descriptions.
21740
217412013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21742
21743 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21744
217452013-03-20 Ondřej Bílka <neleai@seznam.cz>
21746
21747 [BZ #14176]
21748 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21749
217502013-03-19 Roland McGrath <roland@hack.frob.com>
21751
21752 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21753 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21754 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21755 [!BEFORE_ABORT] (before_abort): New function.
21756 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21757 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21758 (writev_for_fatal): New function.
21759 (WRITEV_FOR_FATAL): New macro; call that.
21760 (backtrace_and_maps): New function.
21761 (BEFORE_ABORT): New macro; call that.
21762 (struct str_list): Type removed.
21763 (__libc_message, __libc_fatal): Functions removed.
21764 Include <sysdeps/posix/libc_fatal.c> instead.
21765
217662013-03-19 Joseph Myers <joseph@codesourcery.com>
21767
21768 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21769 constants.
21770 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21771 double constants.
21772
217732013-03-19 Andreas Schwab <schwab@suse.de>
21774
21775 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21776 * sysdeps/gnu/configure: Regenerate.
21777
21778 * configure.in: Substitute libc_cv_rtlddir.
21779 * configure: Regenerate.
21780 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21781 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21782 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21783 * elf/Makefile (install-others, CFLAGS-interp.c)
21784 (ldso_install, common-ldd-rewrite): Likewise.
21785 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21786 $(inst_slibdir)/$(rtld-installed-name).
21787 * scripts/rellns-sh: Add -p option.
21788 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21789 for source.
21790
217912013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21792
21793 * manual/nptl.texi: Renamed to ...
21794 * manual/threads.texi: ... this.
21795 * manual/Makefile (chapters): Update.
21796
217972013-03-18 Roland McGrath <roland@hack.frob.com>
21798
21799 [BZ #14812]
21800 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21801 on argument names, not just descriptions.
21802 * malloc/memusagestat.c (options): Likewise.
21803 * nss/getent.c (options): Likewise.
21804
218052013-03-18 Benno Schulenberg <bensberg@justemail.net>
21806
21807 [BZ #14812]
21808 * iconv/iconv_prog.c (options): Put N_ translation marker
21809 on argument names, not just descriptions.
21810 * iconv/iconvconfig.c (options): Likewise.
21811
218122013-03-18 Ondrej Bilka <neleai@seznam.cz>
21813
21814 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21815 implementation which is faster on all x86_64 architectures.
21816 Tested on AMD, Intel Nehalem, SNB, IVB.
21817 * sysdeps/x86_64/strnlen.S: Likewise.
21818
21819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21820 Remove all multiarch strlen and strnlen versions.
21821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21822 Remove strlen and strnlen related parts.
21823
21824 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21825 Inline strlen part.
21826 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21827
21828 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21829 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21830 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21831 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21832 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21833 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21834
218352013-03-17 Carlos O'Donell <carlos@redhat.com>
21836
21837 * manual/memory.texi (Malloc Tunable Parameters):
21838 Sort parameters alphabetically. Add comments for missing entries.
21839
218402013-03-17 David S. Miller <davem@davemloft.net>
21841
21842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21843
218442013-03-16 Joseph Myers <joseph@codesourcery.com>
21845
21846 [BZ #15283]
21847 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21848 for arguments at most half maximum finite value.
21849 * math/libm-test.inc (j0_test): Add more tests.
21850 (j1_test): Likewise.
21851 (y0_test): Likewise.
21852 (y1_test): Likewise.
21853 * sysdeps/i386/fpu/libm-test-ulps: Update.
21854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21855
21856 [BZ #14155]
21857 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21858 1 / x and functions P and Q for arguments above 0x1p256L.
21859 (__ieee754_y0l): Likewise.
21860 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21861 (__ieee754_y1l): Likewise.
21862 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21863 (j1_test): Likewise.
21864 (y0_test): Likewise.
21865 (y1_test): Likewise.
21866
218672013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21868
21869 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21870 variable.
21871
218722013-03-15 Roland McGrath <roland@hack.frob.com>
21873
21874 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21875 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21876 zero since it's initialized to EXEC_PAGESIZE.
21877
21878 * sysdeps/unix/sysv/linux/ldsodefs.h
21879 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21880 * sysdeps/generic/ldsodefs.h: ... here.
21881
218822013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21883
21884 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21885
21886 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21887 math/test-snan.c.
21888 * math/test-snan.c: Renamed from
21889 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21890 * math/Makefile (tests): Add test-snan.
21891 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21892 test-powerpc-snan.
21893
21894 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21895 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21896 functions.
21897 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21898 __builtin_nan family of functions.
21899 * math/libm-test.inc (initialize): Initialize qnan_value with
21900 __builtin_nan family of functions.
21901 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21902 Remove variables.
21903 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21904 Remove functions.
21905 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21906 storage class. Initialize qNaN_var and sNaN_var with
21907 __builtin_nan and __builtin_nans families of functions,
21908 respectively.
21909
21910 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21911 (sqrt_test): Remove duplicate test with qNaN input.
21912 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21913 (round_test, signbit_test, significand_test): Note missing +/-Inf
21914 as well as qNaN tests.
21915
21916 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21917 qNaN_var. Fix a few strings, too.
21918 * math/libm-test.inc (nan_value): Rename to qnan_value.
21919 * math/gen-libm-test.pl (%beautify): Adjust to that.
21920 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21921 * math/test-misc.c (main): Likewise.
21922 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21923 to __qnan_bytes, and __qnan_union, respectively.
21924 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21925 Likewise.
21926 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21927 and lqnanval, respectively.
21928 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21929 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21930 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21931 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21932
21933 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21934 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21935 doubles.
21936
21937 * math/test-misc.c (main): Fix copy'n'pastos.
21938 * misc/tst-efgcvt.c (special): Likewise.
21939
21940 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21941 Remove declarations.
21942
219432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21944
21945 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21946 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21947 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21948 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21949
219502013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21951
21952 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21953 macro to return vdso values correctly in IFUNC implementations.
21954 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21955 Optimization by using IFUNC.
21956
219572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21958 Richard Henderson <rth@redhat.com>
21959 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21960
21961 * Makefile.in (bench): New target.
21962 * NEWS: Mention the benchmark framework.
21963 * Rules (bench): Likewise.
21964 (binaries-bench): Generate binaries for functions to
21965 benchmark.
21966 * benchtests/Makefile: New makefile for benchmark tests.
21967 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21968 programs.
21969 * benchtests/exp-inputs: New input file for EXP function.
21970 * benchtests/pow-inputs: New input file for POW function.
21971 * scripts/bench.pl: New script to generate source files for
21972 benchmark programs.
21973
219742013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21975
21976 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21978 computations on mantissa. Use macros for rounding and
21979 division.
21980 (denorm): Likewise.
21981 (__dbl_mp): Likewise.
21982 (add_magnitudes): Likewise.
21983 (sub_magnitudes): Likewise.
21984 (__mul): Likewise.
21985 (__sqr): Likewise.
21986 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21987 powers of two in terms of TWOPOW macro.
21988 (mp_no): Make type of mantissa as MANTISSA_T.
21989 [!RADIXI]: Define RADIXI.
21990 [!TWO52]: Define TWO52.
21991 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21992
21993 * manual/nptl.texi (cindex): Modify threads to pthreads.
21994
219952013-03-15 Joseph Myers <joseph@codesourcery.com>
21996
21997 * sysdeps/x86_64/preconfigure: Regenerated.
21998
219992013-03-14 Joseph Myers <joseph@codesourcery.com>
22000
22001 [BZ #14155]
22002 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22003 0x1p28 and above.
22004 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22005 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22006 0x1p28 and above.
22007 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22008 * math/libm-test.inc (j0_test): Do not allow one spurious
22009 underflow exception.
22010 (y1_test): Likewise.
22011
220122013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22013
22014 * manual/Makefile (chapters): Add nptl.
22015 * manual/debug.texi (Debugging Support): Add link to Threads
22016 chapter.
22017 * manual/nptl.texi: New file.
22018
22019 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22020
220212013-03-14 Petr Baudis <pasky@ucw.cz>
22022
22023 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22024 for non-NULL pointer before the memory validity test. Pointed
22025 out by Holger Brunck <holger.brunck@keymile.com>.
22026
220272013-03-13 Andreas Schwab <schwab@suse.de>
22028
22029 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22030 instead of .os.
22031
220322013-03-13 Joseph Myers <joseph@codesourcery.com>
22033
22034 * timezone/zic.c: Update from tzcode 2013b.
22035
220362013-03-12 Carlos O'Donell <carlos@redhat.com>
22037
22038 * manual/install.texi (Configuring and compiling):
22039 Mention i686 and i586.
22040 * INSTALL: Regenerate.
22041
220422013-03-12 Roland McGrath <roland@hack.frob.com>
22043
22044 * sysdeps/init_array/elf-init.c: New file.
22045 * csu/elf-init.c
22046 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22047 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22048
22049 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22050 __gmon_start__ as global, but as static with a .preinit_array pointer.
22051 * sysdeps/init_array/gmon-start.c: New file. Use that.
22052 * sysdeps/init_array/crti.S: New file, empty except for comments.
22053 * sysdeps/init_array/crtn.S: Likewise.
22054
220552013-03-11 Ondřej Bílka <neleai@seznam.cz>
22056
22057 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22058 definining bcopy.
22059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22060 Remove Prefer_SSE_for_memop.
22061 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22062 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22063 HAS_PREFER_SSE_FOR_MEMOP.
22064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22065 memset-x86-64.
22066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22067 Remove bzero, memset ifunc support.
22068 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22069 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22070 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22071 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22072
220732013-03-11 Andreas Schwab <schwab@suse.de>
22074
22075 [BZ #15234]
22076 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22077 by SHLIB_COMPAT.
22078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22079 (GLIBC_2.16): Remove pthread_atfork.
22080
220812013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22082
22083 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22084 (ptestcases.h): Likewise.
22085
220862013-03-08 Roland McGrath <roland@hack.frob.com>
22087
22088 * Makeconfig ($(common-objpfx)config.status): Depend on
22089 sysdeps/*/preconfigure{,.in} too.
22090
220912013-03-08 Joseph Myers <joseph@codesourcery.com>
22092
22093 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22094 (__free_hook): Use void * instead of __malloc_ptr_t.
22095 (__malloc_hook): Likewise.
22096 (__realloc_hook): Likewise.
22097 (__memalign_hook): Likewise.
22098 (__after_morecore_hook): Likewise.
22099 * malloc/arena.c (save_malloc_hook): Likewise.
22100 (save_free_hook): Likewise.
22101 * malloc/hooks.c (malloc_hook_ini): Likewise.
22102 (realloc_hook_ini): Likewise.
22103 (memalign_hook_ini): Likewise.
22104 * malloc/malloc.c (malloc_hook_ini): Likewise.
22105 (realloc_hook_ini): Likewise.
22106 (memalign_hook_ini): Likewise.
22107 (__free_hook): Likewise.
22108 (__malloc_hook): Likewise.
22109 (__realloc_hook): Likewise.
22110 (__memalign_hook): Likewise.
22111 (__libc_malloc): Likewise.
22112 (__libc_free): Likewise.
22113 (__libc_realloc): Likewise.
22114 (__libc_memalign): Likewise.
22115 (__libc_valloc): Likewise.
22116 (__libc_pvalloc): Likewise.
22117 (__libc_calloc): Likewise.
22118 (__posix_memalign): Likewise.
22119 * malloc/morecore.c (__sbrk): Likewise.
22120 (__default_morecore): Likewise.
22121
22122 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22123
22124 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22125 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22126 __malloc_ptrdiff_t.
22127
22128 * malloc/malloc.h (__malloc_size_t): Remove macro.
22129 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22130 __malloc_size_t.
22131 (old_memalign_hook): Likewise.
22132 (old_realloc_hook): Likewise.
22133 (struct hdr): Likewise.
22134 (flood): Likewise.
22135 (mallochook): Likewise.
22136 (memalignhook): Likewise.
22137 (reallochook): Likewise.
22138 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22139 (tr_old_realloc_hook): Likewise.
22140 (tr_old_memalign_hook): Likewise.
22141 (tr_mallochook): Likewise.
22142 (tr_reallochook): Likewise.
22143 (tr_memalignhook): Likewise.
22144
221452013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22146
22147 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22148 default_ldbl_pack and using as default implementation.
22149 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22150 implementation.
22151 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22152 redundant definition.
22153 (ldbl_insert_mantissa): Likewise.
22154 (ldbl_canonicalize): Likewise.
22155 (ldbl_nearbyint): Likewise.
22156 (ldbl_pack): Rename to ldbl_pack_ppc.
22157 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22158 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22159 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22160
221612013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22162
22163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22164 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22165 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22166 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22168 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22169 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22170 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22171
221722013-03-07 Andreas Jaeger <aj@suse.de>
22173
22174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22175 bits/mman-linux.h.
22176
221772013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22178
22179 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22180 Include mpa.h and declare __MPEXP.
22181 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22182 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22183 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22184 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22185 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22186 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22187 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22188
22189 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22190 (__slowpow): Use long double EXPL and LOGL functions to
22191 compute POW.
22192 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22193 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22194 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22195 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22196 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22198
22199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22200 intermediate variable to calculate exponent.
22201 (__sqr): Likewise.
22202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22203 Likewise.
22204 (__sqr): Likewise.
22205
22206 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22207 [!NO__SQR]: Define __sqr.
22208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22209 and NO__SQR. Remove all code except __mul and __sqr. Include
22210 sysdeps/ieee754/dbl-64/mpa.c.
22211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22212
22213 [BZ #12723]
22214 * posix/Makefile (tests): Add tst-pathconf.
22215 * posix/tst-pathconf.c: New test case.
22216 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22217 _PC_PIPE_BUF.
22218 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22219
222202013-03-06 Patsy Franklin <pfrankli@redhat.com>
22221
22222 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22223
222242013-03-06 Andreas Jaeger <aj@suse.de>
22225
22226 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22227 definition via __MAP_ANONYMOUS.
22228
22229 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22230 it's not part of Linux headers.
22231
22232 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22233 (MAP_HUGE_MASK): Define.
22234
22235 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22236 Define.
22237 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22239 Define.
22240 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22241 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22242 Define.
22243 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22244 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22245 Define.
22246 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22247
22248 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22249 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22250 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22251 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22252 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22253 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22254
22255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22256 Handle f2fs.
22257
22258 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22259 Handle f2fs and efivarfs.
22260
22261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22262 f2fs.
22263
22264 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22265 (EFIVARFS_MAGIC): Add.
22266 (F2FS_LINK_MAX): Add.
22267
222682013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22269
22270 * stdio-common/vfprintf.c: Replace __builtin_expect with
22271 __glibc_unlikely.
22272
222732013-03-06 Joseph Myers <joseph@codesourcery.com>
22274
22275 [BZ #13550]
22276 * sysdeps/generic/bp-sym.h: Remove file.
22277 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22278 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22279 <bp-sym.h> and <bp-asm.h>.
22280 (__longjmp): Don't use BP_SYM.
22281 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22282 and <bp-asm.h>.
22283 (memcpy): Don't use BP_SYM.
22284 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22285 <bp-sym.h> and <bp-asm.h>.
22286 (memcpy): Don't use BP_SYM.
22287 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22288 <bp-asm.h>.
22289 (memcpy): Don't use BP_SYM.
22290 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22291 <bp-asm.h>.
22292 (memset): Don't use BP_SYM.
22293 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22294 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22295 (__bzero): Don't use BP_SYM.
22296 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22297 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22298 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22299 <bp-sym.h> and <bp-asm.h>.
22300 (memcmp): Don't use BP_SYM. Remove comment about bounded
22301 pointers.
22302 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22303 <bp-sym.h> and <bp-asm.h>.
22304 (memcpy): Don't use BP_SYM.
22305 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22306 <bp-sym.h> and <bp-asm.h>.
22307 (memset): Don't use BP_SYM.
22308 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22309 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22310 (__bzero): Don't use BP_SYM.
22311 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22312 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22313 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22314 <bp-sym.h> and <bp-asm.h>.
22315 (strncmp): Don't use BP_SYM. Remove comment about bounded
22316 pointers.
22317 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22318 <bp-sym.h> and <bp-asm.h>.
22319 (memcpy): Don't use BP_SYM.
22320 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22321 <bp-sym.h> and <bp-asm.h>.
22322 (memset): Don't use BP_SYM.
22323 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22324 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22325 (__bzero): Don't use BP_SYM.
22326 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22327 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22328 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22329 <bp-sym.h> and <bp-asm.h>.
22330 (__memchr): Don't use BP_SYM.
22331 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22332 <bp-sym.h> and <bp-asm.h>.
22333 (memcmp): Don't use BP_SYM. Remove comment about bounded
22334 pointers.
22335 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22336 <bp-sym.h> and <bp-asm.h>.
22337 (memcpy): Don't use BP_SYM.
22338 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22339 <bp-sym.h> and <bp-asm.h>.
22340 (__mempcpy): Don't use BP_SYM.
22341 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22342 <bp-sym.h> and <bp-asm.h>.
22343 (__memrchr): Don't use BP_SYM.
22344 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22345 <bp-sym.h> and <bp-asm.h>.
22346 (memset): Don't use BP_SYM.
22347 (__bzero): Likewise.
22348 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22349 <bp-sym.h> and <bp-asm.h>.
22350 (__rawmemchr): Don't use BP_SYM.
22351 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22352 <bp-sym.h> and <bp-asm.h>.
22353 (__STRCMP): Don't use BP_SYM.
22354 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22355 <bp-sym.h> and <bp-asm.h>.
22356 (strchr): Don't use BP_SYM.
22357 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22358 <bp-sym.h> and <bp-asm.h>.
22359 (__strchrnul): Don't use BP_SYM.
22360 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22361 <bp-sym.h> and <bp-asm.h>.
22362 (strlen): Don't use BP_SYM.
22363 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22364 <bp-sym.h> and <bp-asm.h>.
22365 (strncmp): Don't use BP_SYM. Remove comment about bounded
22366 pointers.
22367 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22368 <bp-sym.h> and <bp-asm.h>.
22369 (__strnlen): Don't use BP_SYM.
22370 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22371 <bp-sym.h> and <bp-asm.h>.
22372 (__GI__setjmp): Don't use BP_SYM.
22373 (_setjmp): Likewise.
22374 (__sigsetjmp): Likewise.
22375 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22376 (L(start_addresses)): Don't use BP_SYM.
22377 (_start): Likewise.
22378 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22379 <bp-asm.h>.
22380 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22381 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22382 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22383 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22384 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22385 <bp-asm.h>.
22386 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22387 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22388 about bounded pointers.
22389 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22390 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22391 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22392 <bp-asm.h>.
22393 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22394 about bounded pointers. Remove GKM FIXME comments.
22395 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22396 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22397 <bp-asm.h>.
22398 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22399 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22400 Remove GKM FIXME comments.
22401 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22402 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22403 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22404 <bp-asm.h>.
22405 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22406 about bounded pointers. Remove GKM FIXME comment.
22407 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22408 and <bp-asm.h>.
22409 (strncmp): Don't use BP_SYM. Remove comment about bounded
22410 pointers.
22411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22412 <bp-sym.h> and <bp-asm.h>.
22413 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22415 <bp-sym.h> and <bp-asm.h>.
22416 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22417 comment.
22418
224192013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22420
22421 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22422 call free(NULL).
22423
224242013-03-05 David S. Miller <davem@davemloft.net>
22425
22426 * po/es.po: Update from translation team.
22427
224282013-03-05 Andreas Jaeger <aj@suse.de>
22429
22430 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22431 <bits/mman-linux.h>.
22432 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22433 is fine.
22434 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22435 <bits/mman-linux.h> to end of file.
22436 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22437 is fine.
22438 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22439 <bits/mman-linux.h> to end of file.
22440 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22441 is fine.
22442 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22443 <bits/mman-linux.h> to end of file.
22444
22445 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22446 (MCL_CURRENT, MCL_FUTURE): Define here.
22447
224482013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22449
22450 [BZ #15232]
22451 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22452 attribute_hidden.
22453 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22454
224552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22456
22457 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22458 fourth parameter needed for rt_sigprocmask syscall.
22459 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22460 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22461 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22462 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22463 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22464 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22465
224662013-03-04 Joseph Myers <joseph@codesourcery.com>
22467
22468 [BZ #13550]
22469 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22470 comment about bounded pointers.
22471 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22472 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22473
224742013-03-04 Andreas Jaeger <aj@suse.de>
22475
22476 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22477 common definitions.
22478
22479 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22480 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22481 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22482 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22485
224862013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22487
22488 [BZ #15055]
22489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22490 __ieee754_sqrl instead of __sqrl.
22491
224922013-03-01 Joseph Myers <joseph@codesourcery.com>
22493
22494 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22495 * sysdeps/powerpc/fpu_control.h: ... here.
22496 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22497 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22498 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22499 * sysdeps/powerpc/bits/mathinline.h: ... here.
22500
225012013-03-01 Roland McGrath <roland@hack.frob.com>
22502
22503 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22504 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22505 to just [NEED_DL_SYSINFO_DSO].
22506 * elf/dl-support.c: Likewise.
22507 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22508 * elf/rtld.c (dl_main): Likewise.
22509 * elf/setup-vdso.h (setup_vdso): Likewise.
22510 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22511 * sysdeps/unix/sysv/linux/dl-sysdep.c
22512 (_dl_discover_osversion): Likewise.
22513
225142013-03-01 Carlos O'Donell <carlos@redhat.com>
22515
22516 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22517 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22518
225192013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22520
22521 * NEWS: Mention libm performance improvements and non-x86 PI
22522 futex support.
22523
22524 * csu/libc-start.c (__pthread_initialize_minimal): Change
22525 function arguments.
22526 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22527
225282013-02-28 Joseph Myers <joseph@codesourcery.com>
22529
22530 [BZ #13550]
22531 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22532 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22533 <bp-sym.h> and <bp-asm.h>.
22534 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22535 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22536 and <bp-asm.h>.
22537 (memcpy): Don't use BP_SYM.
22538 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22539 <bp-asm.h>.
22540 (__mpn_add_n): Don't use BP_SYM.
22541 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22542 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22543 and <bp-asm.h>.
22544 (__mpn_addmul_1): Don't use BP_SYM.
22545 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22546 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22547 <bp-sym.h>.
22548 (_setjmp): Don't use BP_SYM.
22549 (__novmx_setjmp): Likewise.
22550 (__GI__setjmp): Likewise.
22551 (__vmx_setjmp): Likewise.
22552 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22553 <bp-sym.h>.
22554 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22555 (__bzero): Don't use BP_SYM.
22556 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22557 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22558 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22559 <bp-sym.h> and <bp-asm.h>.
22560 (memcpy): Don't use BP_SYM.
22561 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22562 <bp-sym.h> and <bp-asm.h>.
22563 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22564 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22565 <bp-sym.h> and <bp-asm.h>.
22566 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22567 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22568 <bp-asm.h>.
22569 (__mpn_lshift): Don't use BP_SYM.
22570 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22571 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22572 <bp-asm.h>.
22573 (memset): Don't use BP_SYM.
22574 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22575 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22576 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22577 <bp-asm.h>.
22578 (__mpn_mul_1): Don't use BP_SYM.
22579 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22580 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22581 <bp-sym.h> and <bp-asm.h>.
22582 (memcmp): Don't use BP_SYM.
22583 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22584 <bp-sym.h> and <bp-asm.h>.
22585 (memcpy): Don't use BP_SYM.
22586 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22587 <bp-sym.h> and <bp-asm.h>.
22588 (memset): Don't use BP_SYM.
22589 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22590 <bp-sym.h> and <bp-asm.h>.
22591 (strncmp): Don't use BP_SYM.
22592 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22593 <bp-sym.h> and <bp-asm.h>.
22594 (memcpy): Don't use BP_SYM.
22595 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22596 <bp-sym.h> and <bp-asm.h>.
22597 (memset): Don't use BP_SYM.
22598 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22599 <bp-sym.h> and <bp-asm.h>.
22600 (__memchr): Don't use BP_SYM.
22601 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22602 <bp-sym.h> and <bp-asm.h>.
22603 (memcmp): Don't use BP_SYM.
22604 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22605 <bp-sym.h> and <bp-asm.h>.
22606 (memcpy): Don't use BP_SYM.
22607 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22608 <bp-sym.h> and <bp-asm.h>.
22609 (__mempcpy): Don't use BP_SYM.
22610 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22611 <bp-sym.h> and <bp-asm.h>.
22612 (__memrchr): Don't use BP_SYM.
22613 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22614 <bp-sym.h> and <bp-asm.h>.
22615 (memset): Don't use BP_SYM.
22616 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22617 <bp-sym.h> and <bp-asm.h>.
22618 (__rawmemchr): Don't use BP_SYM.
22619 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22620 <bp-sym.h> and <bp-asm.h>.
22621 (__STRCMP): Don't use BP_SYM.
22622 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22623 <bp-sym.h> and <bp-asm.h>.
22624 (strchr): Don't use BP_SYM.
22625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22626 <bp-sym.h> and <bp-asm.h>.
22627 (__strchrnul): Don't use BP_SYM.
22628 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22629 <bp-sym.h> and <bp-asm.h>.
22630 (strlen): Don't use BP_SYM.
22631 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22632 <bp-sym.h> and <bp-asm.h>.
22633 (strncmp): Don't use BP_SYM.
22634 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22635 <bp-sym.h> and <bp-asm.h>.
22636 (__strnlen): Don't use BP_SYM.
22637 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22638 <bp-asm.h>.
22639 (__mpn_rshift): Don't use BP_SYM.
22640 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22641 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22642 <bp-sym.h> and <bp-asm.h>.
22643 (__sigsetjmp): Don't use BP_SYM.
22644 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22645 (L(start_addresses)): Don't use BP_SYM.
22646 (_start): Likewise.
22647 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22648 <bp-asm.h>.
22649 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22650 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22651 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22652 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22653 <bp-asm.h>.
22654 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22655 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22656 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22657 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22658 <bp-asm.h>.
22659 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22660 comments.
22661 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22662 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22663 <bp-asm.h>.
22664 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22665 FIXME comments.
22666 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22667 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22668 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22669 <bp-asm.h>.
22670 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22671 comment.
22672 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22673 and <bp-asm.h>.
22674 (strncmp): Don't use BP_SYM,
22675 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22676 <bp-asm.h>.
22677 (__mpn_sub_n): Don't use BP_SYM.
22678 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22679 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22680 and <bp-asm.h>.
22681 (__mpn_submul_1): Don't use BP_SYM.
22682 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22684 <bp-sym.h> and <bp-asm.h>.
22685 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22687 <bp-sym.h> and <bp-asm.h>.
22688 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22689 comment.
22690
226912013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22692
22693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22694 Use ZK to minimize writes to Z.
22695 (sub_magnitudes): Simplify code a bit.
22696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22697 Use ZK to minimize writes to Z.
22698 (sub_magnitudes): Simplify code a bit.
22699
227002013-02-27 Roland McGrath <roland@hack.frob.com>
22701
22702 * csu/gmon-start.c: Add special exception to license text.
22703
227042013-02-27 Richard Henderson <rth@redhat.com>
22705
22706 * scripts/config.guess: Update from config.git.
22707 * scripts/config.sub: Likewise.
22708
227092013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22710
22711 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22712
22713 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22714
22715 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22716
22717 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22718
22719 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22720
227212013-02-26 Roland McGrath <roland@hack.frob.com>
22722
22723 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22724 [$(build-shared = yes].
22725
227262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22727
22728 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22729 (__mul): Reduce iterations for calculating mantissa.
22730
22731 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22732 MPTWO.
22733 (__mpranred): Likewise.
22734
22735 [BZ #15160]
22736 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22737 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22738
227392013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22740
22741 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22742 Define __attribute__.
22743
227442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22745
22746 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22747 unused.
22748 * posix/regex_internal.h (__attribute): Remove.
22749 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22750 (re_string_context_at): Likewise.
22751 (bitset_not): Use __attribute__ and mark function as possibly
22752 unused.
22753 (bitset_merge): Likewise.
22754 (bitset_mask): Likewise.
22755 (re_string_char_size_at): Likewise.
22756 (re_string_wchar_at): Likewise.
22757 (re_string_elem_size_at): Likewise.
22758
227592013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22760
22761 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22762 code.
22763 (cc32): Likewise.
22764
22765 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22766 (__acr): Likewise.
22767 (__cpy): Likewise.
22768 (norm): Likewise.
22769 (denorm): Likewise.
22770 (__dbl_mp): Likewise.
22771 (add_magnitudes): Likewise.
22772 (sub_magnitudes): Likewise.
22773 (__mul): Likewise.
22774 (__inv): Likewise.
22775
22776 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22777 style.
22778
22779 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22780 style.
22781
22782 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22783 code.
22784
22785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22786 up changes with default code.
22787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22788 Likewise.
22789
227902013-02-24 Allan McRae <allan@archlinux.org>
22791
22792 * manual/socket.texi (The Internet Namespace): Order menu items
22793 to match that in the file.
22794
22795 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22796 node listing of the info page menu.
22797
227982013-02-21 Joseph Myers <joseph@codesourcery.com>
22799
22800 [BZ #13550]
22801 * sysdeps/i386/bp-asm.h: Remove file.
22802 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22803 (PARMS): Do not use macros from bp-asm.h.
22804 (S1): Likewise.
22805 (S2): Likewise.
22806 (SIZE): Likewise.
22807 (__mpn_add_n): Do not use BP_SYM
22808 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22809 "bp-asm.h".
22810 (PARMS): Do not use macros from bp-asm.h.
22811 (S1): Likewise.
22812 (SIZE): Likewise.
22813 (__mpn_addmul_1): Do not use BP_SYM
22814 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22815 "bp-asm.h".
22816 (PARMS): Do not use macros from bp-asm.h.
22817 (SIGMSK): Likewise.
22818 (_setjmp): Likewise. Do not use BP_SYM.
22819 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22820 "bp-asm.h".
22821 (PARMS): Do not use macros from bp-asm.h.
22822 (SIGMSK): Likewise.
22823 (setjmp): Likewise. Do not use BP_SYM.
22824 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22825 "bp-asm.h".
22826 (PARMS): Do not use macros from bp-asm.h.
22827 (__frexp): Do not use BP_SYM.
22828 (frexp): Likewise.
22829 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22830 "bp-asm.h".
22831 (PARMS): Do not use macros from bp-asm.h.
22832 (__frexpf): Do not use BP_SYM.
22833 (frexpf): Likewise.
22834 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22835 "bp-asm.h".
22836 (PARMS): Do not use macros from bp-asm.h.
22837 (__frexpl): Do not use BP_SYM.
22838 (frexpl): Likewise.
22839 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22840 "bp-asm.h".
22841 (PARMS): Do not use macros from bp-asm.h.
22842 (__remquo): Do not use BP_SYM.
22843 (remquo): Likewise.
22844 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22845 "bp-asm.h".
22846 (PARMS): Do not use macros from bp-asm.h.
22847 (__remquof): Do not use BP_SYM.
22848 (remquof): Likewise.
22849 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22850 "bp-asm.h".
22851 (PARMS): Do not use macros from bp-asm.h.
22852 (__remquol): Do not use BP_SYM.
22853 (remquol): Likewise.
22854 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22855 "bp-asm.h".
22856 (PARMS): Do not use macros from bp-asm.h.
22857 (DEST): Likewise.
22858 (SRC): Likewise.
22859 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22860 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22861 "bp-asm.h".
22862 (PARMS): Do not use macros from bp-asm.h.
22863 (strlen): Do not use BP_SYM.
22864 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22865 "bp-asm.h".
22866 (PARMS): Do not use macros from bp-asm.h.
22867 (S1): Likewise.
22868 (S2): Likewise.
22869 (SIZE): Likewise.
22870 (__mpn_add_n): Do not use BP_SYM.
22871 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22872 "bp-asm.h".
22873 (PARMS): Do not use macros from bp-asm.h.
22874 (S1): Likewise.
22875 (SIZE): Likewise.
22876 (__mpn_addmul_1): Do not use BP_SYM.
22877 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22878 weak_alias.
22879 (bzero): Likewise.
22880 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22881 "bp-asm.h".
22882 (PARMS): Do not use macros from bp-asm.h.
22883 (S): Likewise.
22884 (SIZE): Likewise.
22885 (__mpn_lshift): Do not use BP_SYM.
22886 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22887 "bp-asm.h".
22888 (PARMS): Do not use macros from bp-asm.h.
22889 (DEST): Likewise.
22890 (SRC): Likewise.
22891 (LEN): Likewise.
22892 (memcpy): Likewise. Do not use BP_SYM.
22893 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22894 libc_hidden_def and weak_alias.
22895 (mempcpy): Do not use BP_SYM in weak_alias.
22896 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22897 "bp-asm.h".
22898 (PARMS): Do not use macros from bp-asm.h.
22899 (DEST): Likewise.
22900 (LEN): Likewise.
22901 [!BZERO_P] (CHR): Likewise.
22902 (memset): Likewise. Do not use BP_SYM.
22903 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22904 "bp-asm.h".
22905 (PARMS): Do not use macros from bp-asm.h.
22906 (S1): Likewise.
22907 (SIZE): Likewise.
22908 (__mpn_mul_1): Do not use BP_SYM.
22909 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22910 "bp-asm.h".
22911 (PARMS): Do not use macros from bp-asm.h.
22912 (S): Likewise.
22913 (SIZE): Likewise.
22914 (__mpn_rshift): Do not use BP_SYM.
22915 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22916 "bp-asm.h".
22917 (PARMS): Do not use macros from bp-asm.h.
22918 (STR): Likewise.
22919 (CHR): Likewise.
22920 (strchr): Likewise. Do not use BP_SYM.
22921 (index): Do not use BP_SYM in weak_alias.
22922 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22923 "bp-asm.h".
22924 (PARMS): Do not use macros from bp-asm.h.
22925 (DEST): Likewise.
22926 (SRC): Likewise.
22927 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22928 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22929 "bp-asm.h".
22930 (PARMS): Do not use macros from bp-asm.h.
22931 (strlen): Do not use BP_SYM.
22932 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22933 "bp-asm.h".
22934 (PARMS): Do not use macros from bp-asm.h.
22935 (S1): Likewise.
22936 (S2): Likewise.
22937 (SIZE): Likewise.
22938 (__mpn_sub_n): Do not use BP_SYM.
22939 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22940 "bp-asm.h".
22941 (PARMS): Do not use macros from bp-asm.h.
22942 (S1): Likewise.
22943 (SIZE): Likewise.
22944 (__mpn_submul_1): Do not use BP_SYM.
22945 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22946 "bp-asm.h".
22947 (PARMS): Do not use macros from bp-asm.h.
22948 (S1): Likewise.
22949 (S2): Likewise.
22950 (SIZE): Likewise.
22951 (__mpn_add_n): Do not use BP_SYM.
22952 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22953 weak_alias.
22954 (bzero): Likewise.
22955 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22956 "bp-asm.h".
22957 (PARMS): Do not use macros from bp-asm.h.
22958 (BLK2): Likewise.
22959 (LEN): Likewise.
22960 (memcmp): Do not use BP_SYM.
22961 (bcmp): Do not use BP_SYM in weak_alias.
22962 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22963 "bp-asm.h".
22964 (PARMS): Do not use macros from bp-asm.h.
22965 (DEST): Likewise.
22966 (SRC): Likewise.
22967 (LEN): Likewise.
22968 (memcpy): Likewise. Do not use BP_SYM.
22969 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22970 "bp-asm.h".
22971 (PARMS): Do not use macros from bp-asm.h.
22972 (DEST): Likewise.
22973 (SRC): Likewise.
22974 (LEN): Likewise.
22975 (memmove): Likewise. Do not use BP_SYM.
22976 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22977 "bp-asm.h".
22978 (PARMS): Do not use macros from bp-asm.h.
22979 (DEST): Likewise.
22980 (SRC): Likewise.
22981 (LEN): Likewise.
22982 (__mempcpy): Likewise. Do not use BP_SYM.
22983 (mempcpy): Do not use BP_SYM in weak_alias.
22984 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22985 "bp-asm.h".
22986 (PARMS): Do not use macros from bp-asm.h.
22987 (DEST): Likewise.
22988 (LEN): Likewise.
22989 [!BZERO_P] (CHR): Likewise.
22990 (memset): Likewise. Do not use BP_SYM.
22991 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22992 "bp-asm.h".
22993 (PARMS): Do not use macros from bp-asm.h.
22994 (STR2): Likewise.
22995 (strcmp): Do not use BP_SYM.
22996 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22997 "bp-asm.h".
22998 (PARMS): Do not use macros from bp-asm.h.
22999 (STR): Likewise.
23000 (DELIM): Likewise.
23001 [USE_AS_STRTOK_R] (SAVE): Likewise.
23002 (FUNCTION): Likewise. Do not use BP_SYM.
23003 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23004 aliases.
23005 (strtok_r): Likewise.
23006 (__GI___strtok_r): Likewise.
23007 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23008 (PARMS): Do not use macros from bp-asm.h.
23009 (S): Likewise.
23010 (SIZE): Likewise.
23011 (__mpn_lshift): Do not use BP_SYM.
23012 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23013 (PARMS): Do not use macros from bp-asm.h.
23014 (STR): Likewise.
23015 (CHR): Likewise.
23016 (__memchr): Do not use BP_SYM.
23017 (memchr): Do not use BP_SYM in weak_alias.
23018 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23019 (PARMS): Do not use macros from bp-asm.h.
23020 (BLK2): Likewise.
23021 (LEN): Likewise.
23022 (memcmp): Do not use BP_SYM.
23023 (bcmp): Do not use BP_SYM in weak_alias.
23024 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23025 (PARMS): Do not use macros from bp-asm.h.
23026 (S1): Likewise.
23027 (SIZE): Likewise.
23028 (__mpn_mul_1): Do not use BP_SYM.
23029 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23030 "bp-asm.h".
23031 (PARMS): Do not use macros from bp-asm.h.
23032 (STR): Likewise.
23033 (CHR): Likewise.
23034 (__rawmemchr): Do not use BP_SYM.
23035 (rawmemchr): Do not use BP_SYM in weak_alias.
23036 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23037 (PARMS): Do not use macros from bp-asm.h.
23038 (S): Likewise.
23039 (SIZE): Likewise.
23040 (__mpn_rshift): Do not use BP_SYM.
23041 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23042 (PARMS): Do not use macros from bp-asm.h.
23043 (SIGMSK): Likewise.
23044 (__sigsetjmp): Likewise. Do not use BP_SYM.
23045 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23046 (_start): Do not use BP_SYM.
23047 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23048 (PARMS): Do not use macros from bp-asm.h.
23049 (DEST): Likewise.
23050 (SRC): Likewise.
23051 (__stpcpy): Likewise. Do not use BP_SYM.
23052 (stpcpy): Do not use BP_SYM in weak_alias.
23053 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23054 "bp-asm.h".
23055 (PARMS): Do not use macros from bp-asm.h.
23056 (DEST): Likewise.
23057 (SRC): Likewise.
23058 (LEN): Likewise.
23059 (__stpncpy): Likewise. Do not use BP_SYM.
23060 (stpncpy): Do not use BP_SYM in weak_alias.
23061 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23062 (PARMS): Do not use macros from bp-asm.h.
23063 (STR): Likewise.
23064 (CHR): Likewise.
23065 (strchr): Likewise. Do not use BP_SYM.
23066 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23067 "bp-asm.h".
23068 (PARMS): Do not use macros from bp-asm.h.
23069 (STR): Likewise.
23070 (CHR): Likewise.
23071 (__strchrnul): Likewise. Do not use BP_SYM.
23072 (strchrnul): Do not use BP_SYM in weak_alias.
23073 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23074 "bp-asm.h".
23075 (PARMS): Do not use macros from bp-asm.h.
23076 (STOP): Likewise.
23077 (strcspn): Do not use BP_SYM.
23078 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23079 "bp-asm.h".
23080 (PARMS): Do not use macros from bp-asm.h.
23081 (STR): Likewise.
23082 (STOP): Likewise.
23083 (strpbrk): Likewise. Do not use BP_SYM.
23084 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23085 "bp-asm.h".
23086 (PARMS): Do not use macros from bp-asm.h.
23087 (STR): Likewise.
23088 (CHR): Likewise.
23089 (strrchr): Likewise. Do not use BP_SYM.
23090 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23091 (PARMS): Do not use macros from bp-asm.h.
23092 (SKIP): Likewise.
23093 (strspn): Do not use BP_SYM.
23094 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23095 (PARMS): Do not use macros from bp-asm.h.
23096 (STR): Likewise.
23097 (DELIM): Likewise.
23098 (SAVE): Likewise.
23099 (FUNCTION): Likewise. Do not use BP_SYM.
23100 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23101 aliases.
23102 (strtok_r): Likewise.
23103 (__GI___strtok_r): Likewise.
23104 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23105 (PARMS): Do not use macros from bp-asm.h.
23106 (S1): Likewise.
23107 (S2): Likewise.
23108 (SIZE): Likewise.
23109 (__mpn_sub_n): Do not use BP_SYM.
23110 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23111 "bp-asm.h".
23112 (PARMS): Do not use macros from bp-asm.h.
23113 (S1): Likewise.
23114 (SIZE): Likewise.
23115 (__mpn_submul_1): Do not use BP_SYM.
23116 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23117 <bp-sym.h>.
23118 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23119 and <bp-asm.h>.
23120 (PARMS): Do not use macros from bp-asm.h.
23121 (FLAGS): Likewise.
23122 (PTID): Likewise.
23123 (TLS): Likewise.
23124 (CTID): Likewise.
23125 (__clone): Do not use BP_SYM.
23126 (clone): Do not use BP_SYM in weak_alias.
23127 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23128 and <bp-asm.h>.
23129 (PARMS): Do not use macros from bp-asm.h.
23130 (LEN): Likewise.
23131 (__mmap64): Do not use BP_SYM.
23132 (mmap64): Do not use BP_SYM in weak_alias.
23133 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23134 <bp-sym.h> and <bp-asm.h>.
23135 (PARMS): Do not use macros from bp-asm.h.
23136 (__posix_fadvise64_l64): Do not use BP_SYM.
23137 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23138 (PARMS): Do not use macros from bp-asm.h.
23139 (NSOPS): Likewise.
23140 (semtimedop): Do not use BP_SYM.
23141 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23142 and <bp-asm.h>.
23143
231442013-02-21 Allan McRae <allan@archlinux.org>
23145
23146 * manual/message.texi (Charset conversion in gettext):
23147 Move @end statement to beginning of line.
23148
231492013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23150
23151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23152 static.
23153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23154 Likewise.
23155
23156 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23157 (denorm): Likewise.
23158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23160
231612013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23162
23163 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23164 tail-call to the resolved function if pltexit isn't needed.
23165
231662013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23167
23168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23169 or Y being zero as being unlikely.
23170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23171 Likewise.
23172
231732013-02-20 Carlos O'Donell <carlos@redhat.com>
23174
23175 * manual/nss.texi (System Databases and Name Service Switch):
23176 Remove frobnicate @pxref.
23177
231782013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23179
23180 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23181 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23182
231832013-02-20 Petr Machata <pmachata@redhat.com>
23184
23185 * elf/elf.h (R_ARM_TARGET1): New macro.
23186 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23187 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23188 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23189 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23190 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23191 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23192 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23193 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23194 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23195 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23196 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23197 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23198 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23199 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23200 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23201 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23202 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23203 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23204 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23205 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23206 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23207 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23208 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23209 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23210 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23211 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23212 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23213 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23214 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23215 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23216 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23217 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23218 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23219 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23220 (R_ARM_THM_GOT_BREL12): Likewise.
23221 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23222 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23223 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23224 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23225 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23226 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23227 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23228 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23229 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23230
232312013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23232
23233 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23234 __attribute_used__ to __attribute__ ((unused)).
23235
232362013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23237
23238 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23239 powerpc mpa.c.
23240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23241 comment formatting.
23242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23243
232442013-02-19 Joseph Myers <joseph@codesourcery.com>
23245
23246 [BZ #13550]
23247 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23248 Remove macro.
23249 (ENTER): Remove both macro definitions.
23250 (LEAVE): Likewise.
23251 (CHECK_BOUNDS_LOW): Likewise.
23252 (CHECK_BOUNDS_HIGH): Likewise.
23253 (CHECK_BOUNDS_BOTH): Likewise.
23254 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23255 (RETURN_BOUNDED_POINTER): Likewise.
23256 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23257 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23258 (POP_ERRNO_LOCATION_RETURN): Likewise.
23259 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23260 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23261 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23262 macros.
23263 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23264 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23265 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23266 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23267 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23268 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23269 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23270 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23271 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23272 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23273 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23274 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23275 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23276 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23277 removed macros.
23278 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23279 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23280 macros.
23281 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23282 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23283 * sysdeps/i386/i586/memset.S (memset): Likewise.
23284 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23285 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23286 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23287 macros.
23288 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23289 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23290 Change uses of L(2) to L(out).
23291 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23292 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23293 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23294 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23295 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23296 removed macros.
23297 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23298 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23299 macros.
23300 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23301 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23302 (RETURN): Do not use macro LEAVE.
23303 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23304 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23305 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23306 * sysdeps/i386/i686/memset.S (memset): Likewise.
23307 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23308 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23309 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23310 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23311 Likewise.
23312 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23313 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23314 L(1_2) and L(1_3) into L(1).
23315 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23316 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23317 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23318 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23319 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23320 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23321 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23322 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23323 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23324 macros.
23325 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23326 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23327 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23328 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23329 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23330 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23331 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23332 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23333 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23334 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23335 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23336 * sysdeps/i386/strspn.S (strspn): Likewise.
23337 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23338 conditional code.
23339 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23340 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23341 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23342 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23343 L(1_3) into L(1_1).
23344 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23345 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23346 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23347 macros.
23348 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23349
233502013-02-19 Jakub Jelinek <jakub@redhat.com>
23351
23352 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23353 macro.
23354
233552013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23356
23357 * math/atest-exp.c (exp_mpn): Remove ROUND.
23358 * math/atest-exp2.c (exp_mpn): Likewise.
23359 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23360
23361 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23362 * stdlib/tst-tls-atexit-lib.c: Likewise.
23363 * stdlib/tst-tls-atexit.c: Likewise.
23364
233652013-02-18 Mike Frysinger <vapier@gentoo.org>
23366
23367 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23368 and __attribute_alloc_size__.
23369
233702013-02-18 Mike Frysinger <vapier@gentoo.org>
23371
23372 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23373 __attribute_alloc_size__.
23374 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23375 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23376
233772013-02-18 Mike Frysinger <vapier@gentoo.org>
23378
23379 * include/programs/xmalloc.h: New file.
23380 * catgets/gencat.c: Include it.
23381 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23382 * elf/pldd.c: Likewise.
23383 * iconv/iconv_charmap.c: Likewise.
23384 * iconv/iconvconfig.c: Likewise.
23385 * iconv/strtab.c: Likewise.
23386 * locale/programs/locale.c: Likewise.
23387 * locale/programs/localedef.h: Likewise.
23388 * locale/programs/simple-hash.c: Likewise.
23389 * nscd/nscd.h: Likewise.
23390 * nss/makedb.c: Likewise.
23391 * sysdeps/generic/ldconfig.h: Likewise.
23392
233932013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23394
23395 * Versions.def: Add GLIBC_2.18.
23396 * include/link.h (struct link_map): New member l_tls_dtor_count.
23397 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23398 (__call_tls_dtors): Likewise.
23399 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23400 __cxa_thread_atexit_impl.
23401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23402 Likewise.
23403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23404 Likewise.
23405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23406 Likewise.
23407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23408 Likewise.
23409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23411 Likewise.
23412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23413 Likewise.
23414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23416 Likewise.
23417 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23418 (tests): Add test case tst-tls-atexit.
23419 (modules-names): Add shared library for tst-tls-atexit.
23420 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23421 (GLIBC_PRIVATE): Add __call_tls_dtors.
23422 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23423 for libstdc++.
23424 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23425 * stdlib/tst-tls-atexit.c: New test case.
23426 * stdlib/tst-tls-atexit-lib.c: New test case.
23427
23428 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23429
23430 * elf/Versions (ld): Add _dl_find_dso_for_object.
23431 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23432 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23433 (dl_open_worker): Use _dl_find_dso_for_object.
23434 * elf/dl-sym.c (do_sym): Likewise.
23435 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23436
234372013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23438
23439 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23440 Syntactic changes only.
23441 (_dl_runtime_profile): Do a tail-call to the resolved function.
23442
234432013-02-17 Joseph Myers <joseph@codesourcery.com>
23444
23445 [BZ #13550]
23446 * sysdeps/x86_64/bp-asm.h: Remove file.
23447 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23448 <bp-sym.h> and <bp-asm.h>.
23449 (__clone): Do not use BP_SYM.
23450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23451 <bp-sym.h> and <bp-asm.h>.
23452 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23453 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23454 "bp-asm.h".
23455 (_setjmp): Do not use BP_SYM.
23456 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23457 "bp-asm.h".
23458 (setjmp): Do not use BP_SYM.
23459 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23460 libc_hidden_def.
23461 (mempcpy): Do not use BP_SYM in weak_alias.
23462 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23463 "bp-asm.h".
23464 (strchr): Do not use BP_SYM.
23465 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23466 "bp-asm.h".
23467 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23468 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23469 (_start): Do not use BP_SYM.
23470 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23471 "bp-asm.h".
23472 (strcat): Do not use BP_SYM.
23473 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23474 "bp-asm.h".
23475 (STRCMP): Do not use BP_SYM.
23476 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23477 "bp-asm.h".
23478 (STRCPY): Do not use BP_SYM.
23479 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23480 "bp-asm.h".
23481 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23482 "bp-asm.h".
23483 (FUNCTION): Do not use BP_SYM.
23484 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23485 weak_alias.
23486 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23487
234882013-02-17 Andreas Jaeger <aj@suse.de>
23489
23490 * time/Versions: Sort entries.
23491 * string/Versions: Likewise.
23492 * resolv/Versions: Likewise.
23493 * posix/Versions: Likewise.
23494 * iconv/Versions: Likewise.
23495 * elf/Versions: Likewise.
23496 * wcsmbs/Versions: Likewise.
23497
234982013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23499
23500 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23501 loop termination condition.
23502
23503 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23504 variable to calculate EZ.
23505 (__sqr): Likewise.
23506
23507 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23508 the lower precision input.
23509
235102013-02-15 Joseph Myers <joseph@codesourcery.com>
23511
23512 [BZ #13550]
23513 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23514 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23515 (run-via-rtld-prefix): Do not handle %-bp tests.
23516 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23517 (all-object-suffixes): Remove .ob.
23518 (bppfx): Remove variable.
23519 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23520 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23521 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23522 [$(build-bounded) = yes] (libtype.ob): Likewise.
23523 * Makerules (elide-routines.ob): Remove variable.
23524 (do-tests-clean): Do not handle *-bp.out.
23525 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23526 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23527 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23528 (tests): Do not include $(tests-bp.out).
23529 (xtests): Do not include $(xtests-bp.out).
23530 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23531 [$(build-bounded) = yes] ($(addprefix
23532 $(objpfx),$(binaries-bounded))): Remove rule.
23533 ($(objpfx)%-bp.out): Remove rule.
23534 * config.make.in (build-bounded): Remove variable.
23535 * crypt/Makefile [$(build-bounded) = yes]
23536 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23537 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23538 append to variable.
23539 [$(build-bounded) = yes] (install-lib): Likewise.
23540 [$(build-bounded) = yes] (generated): Likewise.
23541 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23542 Remove rule.
23543 * intl/Makefile [$(build-bounded) = yes]
23544 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23545 * math/Makefile [$(build-bounded) = yes]
23546 ($(tests:%=$(objpfx)%-bp): Likewise.
23547 * misc/Makefile [$(build-bounded) = yes]
23548 ($(objpfx)tst-tsearch-bp): Likewise.
23549 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23550 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23551 Remove dependency.
23552 * string/Makefile (o-objects.ob): Remove variable.
23553 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23554 (CFLAGS-.ob): Remove variable.
23555 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23556 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23557 both definitions of variable.
23558 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23559 (ASFLAGS-.ob): Remove variable.
23560
235612013-02-14 Joseph Myers <joseph@codesourcery.com>
23562
23563 [BZ #13550]
23564 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23565 Remove __BOUNDED_POINTERS__ from condition.
23566 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23567 * string/bits/string2.h [!__NO_STRING_INLINES &&
23568 !__BOUNDED_POINTERS__]: Likewise.
23569 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23570 Likewise.
23571 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23572 Remove conditional code.
23573 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23574 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23575 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23576 condition.
23577
23578 [BZ #13550]
23579 * csu/libc-start.c: Do not include <bp-sym.h>.
23580 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23581 * elf/dl-open.c: Do not include <bp-sym.h>.
23582 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23583 * math/fegetenv.c: Do not include <bp-sym.h>.
23584 (fegetenv): Do not use BP_SYM in versioned symbols.
23585 * nptl/sysdeps/pthread/bits/libc-lockP.h
23586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23587 <bp-sym.h>.
23588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23589 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23591 (__pthread_mutex_destroy): Likewise.
23592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23593 (__pthread_mutex_lock): Likewise.
23594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23595 (__pthread_mutex_trylock): Likewise.
23596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23597 (__pthread_mutex_unlock): Likewise.
23598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23599 (__pthread_mutexattr_init): Likewise.
23600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23601 (__pthread_mutexattr_destroy): Likewise.
23602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23603 (__pthread_mutexattr_settype): Likewise.
23604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23605 (__pthread_rwlock_init): Likewise.
23606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23607 (__pthread_rwlock_destroy): Likewise.
23608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23609 (__pthread_rwlock_rdlock): Likewise.
23610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23611 (__pthread_rwlock_tryrdlock): Likewise.
23612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23613 (__pthread_rwlock_wrlock): Likewise.
23614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23615 (__pthread_rwlock_trywrlock): Likewise.
23616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23617 (__pthread_rwlock_unlock): Likewise.
23618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23619 (__pthread_key_create): Likewise.
23620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23621 (__pthread_setspecific): Likewise.
23622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23623 (__pthread_getspecific): Likewise.
23624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23625 Likewise.
23626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23627 (_pthread_cleanup_push_defer): Likewise.
23628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23629 (_pthread_cleanup_pop_restore): Likewise.
23630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23631 (pthread_setcancelstate): Likewise.
23632 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23633 <bp-sym.h>.
23634 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23635 (memchr): Do not use BP_SYM in weak_alias.
23636 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23637 (fegetenv): Do not use BP_SYM in versioned symbols.
23638 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23639 (fesetenv): Do not use BP_SYM in versioned symbols.
23640 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23641 (feupdateenv): Do not use BP_SYM in versioned symbols.
23642 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23643 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23644 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23645 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23646 (open64): Do not use BP_SYM in weak_alias.
23647 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23648 (fegetenv): Do not use BP_SYM in versioned symbols.
23649 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23650 (fesetenv): Do not use BP_SYM in versioned symbols.
23651 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23652 (feupdateenv): Do not use BP_SYM in versioned symbols.
23653 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23654 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23655 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23656 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23657 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23658 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23659 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23660 <bp-sym.h>.
23661 (__libc_start_main): Do not use BP_SYM.
23662
236632013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23664
23665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23666 redundant return line.
23667 (norm): Likewise.
23668 (denorm): Likewise.
23669 (dbl_mp): Likewise.
23670 (sub_magnitudes): Likewise.
23671 (__add): Likewise.
23672 (__sub): Likewise.
23673 (__mul): Likewise.
23674 (__inv): Likewise.
23675 (__dvd): Likewise.
23676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23677 (norm): Likewise.
23678 (denorm): Likewise.
23679 (dbl_mp): Likewise.
23680 (sub_magnitudes): Likewise.
23681 (__add): Likewise.
23682 (__sub): Likewise.
23683 (__mul): Likewise.
23684 (__inv): Likewise.
23685 (__dvd): Likewise.
23686
23687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23688 instead of __mul.
23689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23690 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23691 (cc32): Likewise.
23692
23693 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23694 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23696 of __mul for squares.
23697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23698 function
23699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23700 Likewise.
23701 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23702 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23703
237042013-02-13 Joseph Myers <joseph@codesourcery.com>
23705
23706 [BZ #13550]
23707 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23708 code.
23709 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23710 prototype or function definition. Rename ubp_* variables and
23711 parameters. Remove argv definitions conditional on
23712 [__BOUNDED_POINTERS__].
23713 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23714 * elf/dl-runtime.c (_dl_fixup): Likewise.
23715 * include/set-hooks.h (RUN_HOOK): Likewise.
23716 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23717 definition.
23718 * string/strcpy.c (strcpy): Do not use __unbounded.
23719 * sysdeps/generic/frame.h (struct layout): Likewise.
23720 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23721 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23722 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23723 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23724 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23725 (__backtrace): Likewise.
23726 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23727 use __ptrvalue.
23728 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23729 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23730 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23731 Likewise.
23732 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23733 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23734 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23735 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23736 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23737 Do not use __unbounded.
23738 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23739 Rename __unboundedrlimits parameter to rlimits in prototype.
23740 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23741 Do not use __unbounded.
23742 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23743 not use __ptrvalue.
23744 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23745 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23746 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23747 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23748 __ptrvalue or __unbounded.
23749 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23750 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23751 use __unbounded.
23752 (__new_msgctl): Do not use __ptrvalue.
23753 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23754 __unbounded.
23755 (__libc_msgrcv): Do not use __ptrvalue.
23756 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23757 startup_info): Do not use __unbounded.
23758 (__libc_start_main): Likewise. Rename ubp_* variables and
23759 parameters. Remove argv definitions conditional on
23760 [__BOUNDED_POINTERS__].
23761 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23762 __ptrvalue.
23763 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23764 use __unbounded.
23765 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23766 or __ptrvalue.
23767 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23768 use __unbounded.
23769 (__new_shmctl): Do not use __ptrvalue.
23770 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23771 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23772 Likewise.
23773 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23775 (__libc_sigaction): Likewise.
23776 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23777 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23778 Likewise.
23779 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23780
237812013-02-13 Ondřej Bílka <neleai@seznam.cz>
23782
23783 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23784
23785 * string/mempcpy.c: Implement by calling memcpy.
23786
237872013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23788
23789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23790
23791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23792 evaluation.
23793
23794 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23795 values in the mantissa.
23796
23797 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23798 minimize writes to Z.
23799 (sub_magnitudes): Simplify code a bit.
23800
238012013-02-12 Roland McGrath <roland@hack.frob.com>
23802
23803 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23804 from the message. The linker prefixes all warnings with that already.
23805
238062013-02-12 Andreas Schwab <schwab@suse.de>
23807
23808 [BZ #15078]
23809 * posix/regexec.c (extend_buffers): Add parameter min_len.
23810 (check_matching): Pass minimum needed length.
23811 (clean_state_log_if_needed): Likewise.
23812 (get_subexp): Likewise.
23813 * posix/Makefile (tests): Add bug-regex34.
23814 (bug-regex34-ENV): Define.
23815 * posix/bug-regex34.c: New file.
23816
23817 [BZ #11561]
23818 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23819 elements compare against the byte sequence of it, not its name.
23820 * posix/Makefile (tests): Add bug-regex35.
23821 (bug-regex35-ENV): Define.
23822 * posix/bug-regex35.c: New file.
23823
238242013-02-11 Tom de Vries <tom@codesourcery.com>
23825
23826 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23827 comment.
23828 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23829 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23830 (CHECK_EOL): Add undef.
23831
238322013-02-11 Ondřej Bílka <neleai@seznam.cz>
23833
23834 * bits/stdlib-bsearch.h: New file.
23835 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23836 * stdlib/stdlib.h: Likewise.
23837
238382013-02-11 Roland McGrath <roland@hack.frob.com>
23839
23840 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23841 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23842 declaration.
23843 * manual/search.texi (Array Search Function): Add missing const in
23844 lfind prototype.
23845 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23846 declaration to use rlim_t.
23847 (Basic Scheduling Functions): Remove erroneous const from
23848 sched_getparam prototype. Remove erroneous * from
23849 sched_get_priority_max and sched_get_priority_min prototypes.
23850 (Resource Usage): Fix summary @comment on vtimes to refer to
23851 sys/vtimes.h rather than vtimes.h.
23852 Add missing *s in vtimes prototype.
23853 (Limits on Resources): Fix ulimit prototype to return long int.
23854 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23855 prototypes to use long int rather than double.
23856 (BSD Random): Fix initstate and setstate to use char *, not void *.
23857 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23858 prototype to make second argument 'struct aiocb64 *const[]'.
23859 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23860 (Status of AIO Operations): Remove erroneous const in aio_return and
23861 aio_return64 prototypes.
23862 (Synchronizing I/O): Fix sync prototype to return void.
23863 * manual/startup.texi (Suboptions): Remove an erroneous const in
23864 getsubopt prototype.
23865 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23866 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23867 use size_t rather than int.
23868 (Scanning All Users): Likewise for getpwent_r.
23869 (Setting Groups): Add missing const to setgroups prototype.
23870 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23871 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23872 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23873 'const void *' rather than 'const char *'.
23874 (Host Address Functions): Likewise for inet_ntop.
23875 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23876 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23877 ssize_t for return value.
23878 (Sending Data): Likewise for send, sendto, sendmsg.
23879 (Socket Option Functions): Add a missing const in setsockopt prototype.
23880 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23881 use wchar_t for the argument.
23882 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23883 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23884 take no arguments.
23885 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23886 double/float/long double for second argument.
23887 Fix return types of significand, significandf, significandl.
23888 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23889 argument in fchmod prototype.
23890 (File Owner): Use uid_t and gid_t in fchown prototype.
23891 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23892 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23893 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23894 use 'const struct dirent **' as argument types to CMP function pointer
23895 argument.
23896 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23897 (File Times): Fix summary magic @comment for struct utimbuf and utime
23898 to refer to utime.h, not time.h.
23899 * manual/string.texi (Argz Functions): Add missing const in
23900 argz_extract and argz_next prototypes.
23901 (Finding Tokens in a String): Likewise for basename.
23902 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23903 (Copying and Concatenation): Fix typo in wmemmove prototype.
23904 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23905 (Signal Stack): Remove erroneous const in sigstack prototype.
23906 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23907 prototype.
23908 (Simple Calendar Time): Likewise for stime.
23909 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23910 prototype.
23911 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23912 say sys/sysctl.h instead.
23913 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23914 and vsyslog prototypes.
23915
239162013-02-11 Tom de Vries <tom@codesourcery.com>
23917
23918 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23919 Remove.
23920
239212013-02-11 Roland McGrath <roland@hack.frob.com>
23922
23923 * misc/sys/mman.h: Fix typo in mremap comment.
23924
239252013-02-08 Roland McGrath <roland@hack.frob.com>
23926
23927 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23928 the '\0' terminator.
23929
239302013-02-08 Joseph Myers <joseph@codesourcery.com>
23931
23932 [BZ #13550]
23933 * debug/segfault.c: Don't include <bp-checks.h>.
23934 * sysdeps/generic/bp-checks.h: Remove file.
23935 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23936 (__GETDENTS): Don't use CHECK_N.
23937 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23938 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23939 (__getgroups): Don't use CHECK_N.
23940 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23941 (setgroups): Don't use CHECK_N.
23942 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23943 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23944 (__libc_msgrcv): Don't use CHECK_N.
23945 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23946 (__libc_msgsnd): Don't use CHECK_N.
23947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23948 <bp-checks.h>.
23949 (__libc_pread): Don't use CHECK_N.
23950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23951 include <bp-checks.h>.
23952 (__libc_pread64): Don't use CHECK_N.
23953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23954 include <bp-checks.h>.
23955 (__libc_pwrite): Don't use CHECK_N.
23956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23957 include <bp-checks.h>.
23958 (__libc_pwrite64): Don't use CHECK_N.
23959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23960 <bp-checks.h>.
23961 (__libc_pread): Don't use CHECK_N.
23962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23963 include <bp-checks.h>.
23964 (__libc_pread64): Don't use CHECK_N.
23965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23966 include <bp-checks.h>.
23967 (__libc_pwrite): Don't use CHECK_N.
23968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23969 include <bp-checks.h>.
23970 (__libc_pwrite64): Don't use CHECK_N.
23971 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23972 (do_pread): Don't use CHECK_N.
23973 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23974 (do_pread64): Don't use CHECK_N.
23975 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23976 (do_pwrite): Don't use CHECK_N.
23977 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23978 (do_pwrite64): Don't use CHECK_N.
23979 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23980 (__libc_readv): Don't use CHECK_N.
23981 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23982 (semop): Don't use CHECK_N.
23983 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23984 <bp-checks.h>.
23985 (semtimedop): Don't use CHECK_N.
23986 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23987 (__libc_pread): Don't use CHECK_N.
23988 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23989 <bp-checks.h>.
23990 (__libc_pread64): Don't use CHECK_N.
23991 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23992 <bp-checks.h>.
23993 (__libc_pwrite): Don't use CHECK_N.
23994 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23995 <bp-checks.h>.
23996 (__libc_pwrite64): Don't use CHECK_N.
23997 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23998 <bp-checks.h>.
23999 (__libc_msgrcv): Don't use CHECK_N.
24000 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24001 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24002 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24003 (__libc_writev): Don't use CHECK_N.
24004
240052013-02-08 Roland McGrath <roland@hack.frob.com>
24006
24007 * string/strcpy.c: Removed unused variable.
24008
24009 * Makeconfig (+sysdep-includes): Define with := rather than =.
24010 Use an existing include/ subdir of each sysdeps dir before it.
24011
240122013-02-08 Carlos O'Donell <carlos@redhat.com>
24013
24014 * nscd/connection.c (register_traced_file): Comment function.
24015 [HAVE_INOTIFY] (union __inev): Define.
24016 [HAVE_INOTIFY] (inotify_check_files): New function.
24017 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24018 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24019 clear_db_cache.
24020 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24021
240222013-02-08 Carlos O'Donell <carlos@redhat.com>
24023
24024 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24025 loaded if not already and that a failure is permanent.
24026
240272013-02-08 Carlos O'Donell <carlos@redhat.com>
24028
24029 [BZ #15006]
24030 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24031 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24032
240332013-02-08 Joseph Myers <joseph@codesourcery.com>
24034
24035 [BZ #13550]
24036 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24037 (CHECK_1_NULL_OK): Likewise.
24038 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24039 (__fxstat): Do not use CHECK_1.
24040 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24041 <bp-checks.h>.
24042 (___fxstat64): Do not use CHECK_1.
24043 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24044 <bp-checks.h>.
24045 (__fxstatat): Do not use CHECK_1.
24046 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24047 <bp-checks.h>.
24048 (__fxstatat64): Do not use CHECK_1.
24049 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24050 <bp-checks.h>.
24051 (__fxstat): Do not use CHECK_1.
24052 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24053 <bp-checks.h>.
24054 (__fxstatat): Do not use CHECK_1.
24055 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24056 <bp-checks.h>.
24057 (__getresgid): Do not use CHECK_1.
24058 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24059 <bp-checks.h>.
24060 (__getresuid): Do not use CHECK_1.
24061 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24062 <bp-checks.h>.
24063 (__lxstat): Do not use CHECK_1.
24064 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24065 <bp-checks.h>.
24066 (__old_msgctl): Do not use CHECK_1.
24067 (__new_msgctl): Likewise.
24068 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24069 <bp-checks.h>.
24070 (__new_setrlimit): Do not use CHECK_1.
24071 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24072 <bp-checks.h>.
24073 (__old_shmctl): Do not use CHECK_1.
24074 (__new_shmctl): Likewise.
24075 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24076 <bp-checks.h>.
24077 (__xstat): Do not use CHECK_1.
24078 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24079 (__lxstat): Do not use CHECK_1.
24080 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24081 <bp-checks.h>.
24082 (___lxstat64): Do not use CHECK_1.
24083 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24084 (__old_msgctl): Do not use CHECK_1.
24085 (__new_msgctl): Likewise.
24086 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24087 <bp-checks.h>.
24088 (__gettimeofday): Do not use CHECK_1.
24089 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24090 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24091 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24092 <bp-checks.h>.
24093 (__gettimeofday): Do not use CHECK_1.
24094 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24095 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24096 (__new_shmctl): Do not use CHECK_1.
24097 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24098 <bp-checks.h>.
24099 (do_sigtimedwait): Do not use CHECK_1.
24100 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24101 <bp-checks.h>.
24102 (do_sigwaitinfo): Do not use CHECK_1.
24103 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24104 <bp-checks.h>.
24105 (msgctl): Do not use CHECK_1.
24106 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24107 <bp-checks.h>.
24108 (shmctl): Do not use CHECK_1.
24109 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24110 (ustat): Do not use CHECK_1.
24111 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24112 <bp-checks.h>.
24113 (__fxstat): Do not use CHECK_1.
24114 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24115 <bp-checks.h>.
24116 (__fxstatat): Do not use CHECK_1.
24117 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24118 <bp-checks.h>.
24119 (__lxstat): Do not use CHECK_1.
24120 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24121 <bp-checks.h>.
24122 (__xstat): Do not use CHECK_1.
24123 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24124 (__xstat): Do not use CHECK_1.
24125 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24126 (___xstat64): Do not use CHECK_1.
24127
24128 [BZ #13550]
24129 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24130 definitions.
24131 (CHECK_BOUNDS_HIGH): Likewise.
24132 * string/strcpy.c: Do not include <bp-checks.h>.
24133 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24134
241352013-02-07 Roland McGrath <roland@hack.frob.com>
24136
24137 * nscd/nscd-client.h (__nscd_drop_map_ref):
24138 Add __attribute__ ((unused)).
24139 * nis/nss-nisplus.h (niserr2nss): Likewise.
24140
24141 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24142 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24143
24144 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24145 Remove inline keyword.
24146 * include/rounding-mode.h (round_away): Likewise.
24147 * libio/wfileops.c (adjust_wide_data): Likewise.
24148 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24149 (__m128i_strloadu_tolower): Likewise.
24150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24151 (__m128i_strloadu_tolower): Likewise.
24152 * time/mktime.c (ydhms_diff): Likewise.
24153 * locale/elem-hash.h (elem_hash): Likewise.
24154 * locale/setlocale.c (setdata): Likewise.
24155 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24156 (re_string_wchar_at): Likewise.
24157 (bitset_not, bitset_merge, bitset_mask): Likewise.
24158 [!(__GNUC__ > 3)] (inline): Remove macro.
24159 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24160 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24161 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24162 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24163 * string/memcmp.c (memcmp_bytes): Likewise.
24164 * locale/programs/locarchive.c (compute_hashval): Likewise.
24165 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24166 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24167 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24168 * nss/getent.c (print_rpc, print_protocols): Likewise.
24169 (print_passwd, print_group, print_aliases): Likewise.
24170 * nis/nss-nisplus.h (niserr2nss): Likewise.
24171 * nscd/connections.c (restart_p): Likewise.
24172 Change return type to bool.
24173
241742013-02-05 Roland McGrath <roland@hack.frob.com>
24175
24176 * Makeconfig (all-Depend-files): Add existing
24177 $(sorted-subdirs:=/Depend) files.
24178 (all-subdirs): Remove nss.
24179 * sysdeps/unix/inet/Subdirs: Add it here instead.
24180 * hesiod/Depend: New file.
24181
24182 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24183 instead of calling alloca.
24184
24185 * io/lseek.c (__lseek): Rename to __libc_lseek.
24186 Define __lseek as an alias.
24187
24188 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24189
241902013-02-04 Carlos O'Donell <carlos@redhat.com>
24191
24192 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24193 else clause and remove check for non-standard endianness.
24194
241952013-02-04 David S. Miller <davem@davemloft.net>
24196
24197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24198
241992013-02-04 Joseph Myers <joseph@codesourcery.com>
24200
24201 [BZ #13550]
24202 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24203 (__ubp_memchr): Remove prototype.
24204 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24205 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24206 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24207 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24208 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24209 Remove alias.
24210 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24211 (__ubp_memchr): Likewise.
24212 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24213 (__ubp_memchr): Likewise.
24214 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24215 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24216 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24218 CHECK_STRING.
24219 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24220 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24221 (__getcwd): Do not use CHECK_STRING.
24222 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24223 <bp-checks.h>.
24224 (__real_chown): Do not use CHECK_STRING.
24225 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24226 <bp-checks.h>.
24227 (fchownat): Do not use CHECK_STRING.
24228 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24229 CHECK_STRING.
24230 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24231 <bp-checks.h>.
24232 (__lchown): Do not use CHECK_STRING.
24233 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24234 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24235 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24236 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24238 include <bp-checks.h>.
24239 (truncate64): Do not use CHECK_STRING.
24240 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24241 <bp-checks.h>.
24242 (__real_chown): Do not use CHECK_STRING.
24243 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24244 <bp-checks.h>.
24245 (__lchown): Do not use CHECK_STRING.
24246 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24247 <bp-checks.h>.
24248 (__chown): Do not use CHECK_STRING.
24249 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24250 <bp-checks.h>.
24251 (truncate64): Do not use CHECK_STRING.
24252 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24253 Likewise.
24254 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24255 (__xmknod): Do not use CHECK_STRING.
24256 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24257 <bp-checks.h>.
24258 (__xmknodat): Do not use CHECK_STRING.
24259 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24260 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24261
242622013-02-04 Andreas Schwab <schwab@suse.de>
24263
24264 [BZ #14142]
24265 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24266 * include/netdb.h: Likewise for h_errno.
24267 * elf/tst-stackguard1.c: Include <tls.h>.
24268
242692013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24270
24271 * elf/link.h (struct link_map): Extend the l_addr comment.
24272 * include/link.h (struct link_map): Likewise.
24273
242742013-02-01 Joseph Myers <joseph@codesourcery.com>
24275
24276 [BZ #13550]
24277 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24278 (BOUNDED_1): Remove macro.
24279 * debug/backtrace.c: Don't include <bp-checks.h>.
24280 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24281 (__backtrace): Likewise.
24282 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24283 <bp-checks.h>.
24284 (__backtrace): Don't use BOUNDED_1.
24285 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24286 <bp-checks.h>.
24287 (__backtrace): Don't use BOUNDED_1.
24288 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24289 (__backtrace): Don't use BOUNDED_1.
24290 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24291 (shmat): Don't use BOUNDED_N.
24292
242932013-01-31 Joseph Myers <joseph@codesourcery.com>
24294
24295 [BZ #13550]
24296 * sysdeps/generic/bp-start.h: Remove file.
24297 * csu/libc-start.c: Don't include <bp-start.h>.
24298 (LIBC_START_MAIN): Set up __environ directly instead of using
24299 INIT_ARGV_and_ENVIRON.
24300 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24301 <bp-start.h>.
24302
24303 [BZ #13550]
24304 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24305 definitions.
24306 (CHECK_FCNTL): Likewise.
24307 (CHECK_N_PAGES): Likewise.
24308
24309 [BZ #13550]
24310 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24311 definitions.
24312 (CHECK_SIGSET_NULL_OK): Likewise.
24313 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24314 <bp-checks.h>.
24315 (sigpending): Don't use CHECK_SIGSET.
24316 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24317 <bp-checks.h>.
24318 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24319 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24320 <bp-checks.h>.
24321 (do_sigsuspend): Don't use CHECK_SIGSET.
24322 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24323 use CHECK_SIGSET.
24324 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24325 (do_sigwait): Don't use CHECK_SIGSET.
24326 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24327 use CHECK_SIGSET.
24328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24329 include <bp-checks.h>.
24330 (sigpending): Don't use CHECK_SIGSET.
24331 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24332 include <bp-checks.h>.
24333 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24334 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24335 <bp-checks.h>.
24336 (sigpending): Don't use CHECK_SIGSET.
24337 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24338 <bp-checks.h>.
24339 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24340
24341 [BZ #13550]
24342 * sysdeps/generic/bp-semctl.h: Remove file.
24343 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24344 <bp-checks.h> and <bp-semctl.h>.
24345 (__old_semctl): Don't use CHECK_SEMCTL.
24346 (__new_semctl): Likewise.
24347 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24348 and <bp-semctl.h>.
24349 (__old_semctl): Don't use CHECK_SEMCTL.
24350 (__new_semctl): Likewise.
24351 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24352 <bp-checks.h> and <bp-semctl.h>.
24353 (__old_semctl): Don't use CHECK_SEMCTL.
24354 (__new_semctl): Likewise.
24355 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24356 <bp-checks.h> and <bp-semctl.h>.
24357 (semctl): Don't use CHECK_SEMCTL.
24358
24359 [BZ #13550]
24360 * Makerules (elide-bp-thunks): Remove variable.
24361 (elide-routines.oS): Don't use $(elide-bp-thunks).
24362 (elide-routines.os): Likewise.
24363 (elide-routines.o): Likewise.
24364 (elide-routines.op): Likewise.
24365 (elide-routines.og): Likewise.
24366 (objects): Don't use $(bp-thunks).
24367 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24368 include.
24369 (common-generated): Do not add s-proto-bp.d.
24370 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24371 (int): Likewise.
24372 (typ): Likewise.
24373 Do not generate makefile rules for bounded-pointer thunks.
24374 * sysdeps/generic/bp-thunks.h: Remove file.
24375 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24376 * sysdeps/unix/s-proto-bp.S: Likewise.
24377
24378 [BZ #15062]
24379 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24380 parts of result separately when argument is not close to line from
24381 -i to i and one part of argument is small.
24382 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24383 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24384 * math/libm-test.inc (cacos_test): Add more tests.
24385 (casin_test): Likewise.
24386 (casinh_test): Likewise.
24387 * sysdeps/i386/fpu/libm-test-ulps: Update.
24388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24389
243902013-01-31 David S. Miller <davem@davemloft.net>
24391
24392 * po/de.po: Update from translation team.
24393
243942013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24395
24396 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24397
243982013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24399
24400 * configure.in (_AC_PROG_CC_C89): New definition.
24401 * configure: Regenerate.
24402
24403 * configure.in (AC_PROG_CPP): New definition.
24404 * configure: Regenerate.
24405
244062013-01-23 Joseph Myers <joseph@codesourcery.com>
24407
24408 * debug/tst-backtrace.h: New file.
24409 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24410 (ret): Remove variable.
24411 (x): Likewise.
24412 (FAIL): Remove macro.
24413 (NO_INLINE): Likewise.
24414 (fn1): Use match function instead of strstr.
24415 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24416 (ret): Remove variable.
24417 (x): Likewise.
24418 (FAIL): Remove macro.
24419 (NO_INLINE): Likewise.
24420 (fn): Use match function instead of strstr.
24421 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24422 (ret): Remove variable.
24423 (x): Likewise.
24424 (FAIL): Remove macro.
24425 (NO_INLINE): Likewise.
24426 (handle_signal): Use match function instead of strstr.
24427 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24428 (ret): Remove variable.
24429 (x): Likewise.
24430 (FAIL): Remove macro.
24431 (NO_INLINE): Likewise.
24432 (handle_signal): Use match function instead of strstr.
24433
244342013-01-23 Roland McGrath <roland@hack.frob.com>
24435
24436 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24437
244382013-01-23 David S. Miller <davem@davemloft.net>
24439
24440 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24441 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24442 argument of CAS if possible.
24443 * sysdeps/sparc/sparc64/bits/atomic.h
24444 (__arch_compare_and_exchange_val_32_acq): Likewise.
24445 (__arch_compare_and_exchange_val_64_acq): Likewise.
24446
244472013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24448
24449 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24450 * sysdeps/posix/ulimit.c: ... this.
24451 Include <limits.h>.
24452 * sysdeps/unix/bsd/ulimit.c: Remove file.
24453
244542013-01-23 Adam Conrad <adconrad@0c3.net>
24455
24456 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24457 (LDFLAGS-tst-array5): Likewise.
24458
244592013-01-23 Joseph Myers <joseph@codesourcery.com>
24460
24461 [BZ #15036]
24462 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24463 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24464 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24465 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24466
244672013-01-21 David S. Miller <davem@davemloft.net>
24468
24469 * sysdeps/sparc/backtrace.c: New file.
24470 * sysdeps/sparc/sparc32/backtrace.h: New file.
24471 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24472 * sysdeps/sparc/sparc64/backtrace.h: New file.
24473 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24474 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24475 -funwind-tables.
24476
244772013-01-21 Andreas Schwab <schwab@suse.de>
24478
24479 [BZ #15020]
24480 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24481 closed its stdout.
24482
244832013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24484
24485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24486 "mpa2.h".
24487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24488
244892013-01-18 Joseph Myers <joseph@codesourcery.com>
24490 Mark Mitchell <mark@codesourcery.com>
24491 Tom de Vries <tom@codesourcery.com>
24492 Paul Pluzhnikov <ppluzhnikov@google.com>
24493
24494 * debug/tst-backtrace2.c: New file.
24495 * debug/tst-backtrace3.c: Likewise.
24496 * debug/tst-backtrace4.c: Likewise.
24497 * debug/tst-backtrace5.c: Likewise.
24498 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24499 (CFLAGS-tst-backtrace3.c): Likewise.
24500 (CFLAGS-tst-backtrace4.c): Likewise.
24501 (CFLAGS-tst-backtrace5.c): Likewise.
24502 (LDFLAGS-tst-backtrace2): Likewise.
24503 (LDFLAGS-tst-backtrace3): Likewise.
24504 (LDFLAGS-tst-backtrace4): Likewise.
24505 (LDFLAGS-tst-backtrace5): Likewise.
24506 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24507 tst-backtrace4 and tst-backtrace5.
24508
245092013-01-18 Anton Blanchard <anton@samba.org>
24510 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24511
24512 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24513 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24514 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24515 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24517 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24518 "+r" and remove output regs list as redundant. Add explicit inline
24519 asm to specify register of return val to work around compiler codegen
24520 bug. Remove (int) cast on return value. Add return type parameter to
24521 use in macro so that this macro does not truncate return value for
24522 64-bit values.
24523 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24524 pass to INTERNAL_VSYSCALL_NCS.
24525 (INLINE_VSYSCALL): Add 'long int' as return type to
24526 INTERNAL_VSYSCALL_NCS macro invocation.
24527 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24528 INTERNAL_VSYSCALL_NCS macro invocation.
24529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24530
245312013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24532
24533 [BZ #14496]
24534 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24535 Fix application of SIMD FP exception mask.
24536
24537 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24538 mp_no from a power of two.
24539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24540 __mpexp_twomm1. Use __pow_mp.
24541
24542 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24543 multiplication.
24544
245452013-01-17 David S. Miller <davem@davemloft.net>
24546
24547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24548
245492013-01-17 Joseph Myers <joseph@codesourcery.com>
24550
24551 [BZ #15023]
24552 * include/complex.h: Condition contents on [!_COMPLEX_H].
24553 (__kernel_casinhf): New prototype.
24554 (__kernel_casinh): Likewise.
24555 (__kernel_casinhl): Likewise.
24556 * math/Makefile (libm_calls): Add k_casinh.
24557 * math/k_casinh.c: New file.
24558 * math/k_casinhf.c: Likewise.
24559 * math/k_casinhl.c: Likewise.
24560 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24561 finite nonzero arguments.
24562 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24563 finite nonzero arguments.
24564 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24565 finite nonzero arguments.
24566 * math/s_casinh.c: Do not include <float.h>.
24567 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24568 * math/s_casinhf.c: Do not include <float.h>.
24569 (__casinhf): Move code for finite nonzero arguments to
24570 k_casinhf.c.
24571 * math/s_casinhl.c: Do not include <float.h>.
24572 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24573 redefine.
24574 (__casinhl): Move code for finite nonzero arguments to
24575 k_casinhl.c.
24576 * math/libm-test.inc (cacos_test): Add more tests.
24577 * sysdeps/i386/fpu/libm-test-ulps: Update.
24578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24579
245802013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24581
24582 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24583 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24584 [!HAVE_MREMAP]: Remove [defined linux] case.
24585 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24586
245872013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24588
24589 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24590
245912013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24592
24593 * elf/elf.h (R_386_SIZE32): New relocation.
24594 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24595 R_386_SIZE32.
24596 (elf_machine_rela): Likewise.
24597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24598 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24599
246002013-01-17 Joseph Myers <joseph@codesourcery.com>
24601
24602 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24603 (FP_FAST_FMA): Do not define.
24604 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24605 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24606 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24607 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24608 !_SOFT_FLOAT]: Likewise.
24609 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24610 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24611 value.
24612 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24613 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24614 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24615 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24616 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24617 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24618 file.
24619
246202013-01-16 Andreas Schwab <schwab@suse.de>
24621
24622 [BZ #14327]
24623 * include/stdlib.h (__mktemp): Add declaration.
24624 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24625 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24626
246272013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24628
24629 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24630 definitions.
24631 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24632 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24633 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24634 definitions here.
24635 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24636 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24637 definitions.
24638 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24639 and ONE.
24640 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24641 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24642 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24643 definitions.
24644 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24645 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24646 definitions.
24647 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24648
24649 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24650
246512013-01-15 David S. Miller <davem@davemloft.net>
24652
24653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24654 trunc{,f} to libm-sysdep_routes.
24655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24657 file.
24658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24660 file.
24661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24662 file.
24663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24665 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24666 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24667 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24668 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24669 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24670 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24671
24672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24673 nearbyint{,f} to libm-sysdep_routes.
24674 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24676 New file.
24677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24678 file.
24679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24680 New file.
24681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24682 file.
24683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24685 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24686 file.
24687 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24688 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24689 file.
24690 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24691 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24692 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24693
24694 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24695 libc_feholdexcept and libc_fesetenv.
24696
246972013-01-15 Mike Frysinger <vapier@gentoo.org>
24698
24699 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24700
247012013-01-14 David S. Miller <davem@davemloft.net>
24702
24703 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24704 (SPARC_ASM_VIS2_IFUNC): Likewise.
24705 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24707 use of 'siam' instruction.
24708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24709 Likewise.
24710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24711 Likewise.
24712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24713 Likewise.
24714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24719 file.
24720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24721 file.
24722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24723 file.
24724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24725 file.
24726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24731 new VIS2 routines.
24732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24735 Likewise.
24736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24741 routines to libm-sysdep_routines.
24742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24743
24744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24745 fdim/fdimf to libm-sysdep_routines.
24746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24747 file.
24748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24750 file.
24751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24754 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24755 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24756 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24757 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24758
247592013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24760
24761 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24762 to optimize copies.
24763
24764 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24767
24768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24769 local variable MPTWO.
24770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24771 Likewise.
24772
247732013-01-13 Mike Frysinger <vapier@gentoo.org>
24774
24775 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24776 GLOB_NOESCAPE.
24777
247782013-01-13 Mike Frysinger <vapier@gentoo.org>
24779
24780 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24781
247822013-01-13 Mike Frysinger <vapier@gentoo.org>
24783
24784 * manual/pattern.texi (glob_t): Document gl_flags.
24785 (glob64_t): Likewise.
24786
247872013-01-11 David S. Miller <davem@davemloft.net>
24788
24789 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24790 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24791 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24792 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24793 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24794 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24795 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24796 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24797 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24798 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24799 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24800 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24801 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24802
24803 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24804 sparc V9 rather than using V8 code.
24805 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24806 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24807
24808 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24809 Move to...
24810 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24811 Here.
24812
248132013-01-11 Roland McGrath <roland@hack.frob.com>
24814
24815 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24816 not in the main loop.
24817 * configure: Regenerated.
24818
248192013-01-11 Joseph Myers <joseph@codesourcery.com>
24820
24821 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24822 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24823 to just #else.
24824 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24825 [!__GLIBC_HAVE_LONG_LONG] case.
24826 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24827 condition to just #else.
24828 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24829 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24830 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24831 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24832 unconditional.
24833 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24834 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24835 #elif condition to just #else.
24836 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24837 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24838 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24839 #elif condition to just #else.
24840
248412013-01-11 Steve Ellcey <sellcey@mips.com>
24842
24843 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24844 (EF_MIPS_ARCH_64): Fix value.
24845 (EF_MIPS_ARCH_32R2): New.
24846 (EF_MIPS_ARCH_64R2): New.
24847
248482013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24849
24850 * Makeconfig (+link-pie-before-libc): New.
24851 (+link-pie-after-libc): Likewise.
24852 (+link-pie-tests): Likewise.
24853 (+link-pie): Rewritten.
24854 (link-before-libc): Remove $(config-LDFLAGS).
24855 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24856 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24857 (config-LDFLAGS): Renamed to ...
24858 (rtld-LDFLAGS): This.
24859 (rtld-tests-LDFLAGS): New macro.
24860 (link-libc-rpath-link): Likewise.
24861 (link-libc-tests-rpath-link): Likewise.
24862 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24863 (link-libc): Prepand $(link-libc-rpath-link).
24864 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24865 (test-program-prefix): New macro.
24866 (test-via-rtld-prefix): Likewise.
24867 (test-program-cmd): Likewise.
24868 (host-test-program-cmd): Likewise.
24869 * Makefile ($(common-objpfx)testrun.sh): Replace
24870 $(run-program-prefix) with $(test-program-prefix).
24871 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24872 $(rtld-LDFLAGS).
24873 ($(common-objpfx)shlib.lds): Likewise.
24874 (build-module-helper): Likewise.
24875 ($(common-objpfx)format.lds): Likewise.
24876 * Rules (binaries-pie-tests): New.
24877 (binaries-pie-notests): Likewise.
24878 (binaries-pie): Rewritten.
24879 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24880 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24881 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24882 (make-test-out): Replace $(host-built-program-cmd) with
24883 $(host-test-program-cmd).
24884 * config.make.in (build-hardcoded-path-in-tests): New variable.
24885 * configure.in (--enable-hardcoded-path-in-tests): New configure
24886 option.
24887 (hardcoded_path_in_tests): New AC_SUBST.
24888 * configure: Regenerated.
24889 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24890 $(built-program-cmd) with $(test-program-cmd).
24891 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24892 (test_program_cmd): This.
24893 * elf/Makefile ($(objpfx)order.out): Run test with
24894 $(test-program-prefix).
24895 ($(objpfx)order2.out): Likewise.
24896 ($(objpfx)tst-initorder.out): Likewise.
24897 ($(objpfx)tst-initorder2.out): Likewise.
24898 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24899 $(test-program-cmd).
24900 ($(objpfx)tst-array1-static.out): Likewise.
24901 ($(objpfx)tst-array2.out): Likewise.
24902 ($(objpfx)tst-array3.out): Likewise.
24903 ($(objpfx)tst-array4.out): Likewise.
24904 ($(objpfx)tst-array5.out): Likewise.
24905 ($(objpfx)tst-array5-static.out): Likewise.
24906 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24907 $(test-program-cmd).
24908 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24909 $(run-program-prefix) with $(test-program-prefix).
24910 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24911 (test_program_prefix): This.
24912 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24913 $(run-program-prefix) with $(test-program-prefix).
24914 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24915 (test_program_prefix): This.
24916 * iconvdata/tst-tables.sh: Likewise.
24917 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24918 $(run-program-prefix) with $(test-program-prefix).
24919 ($(objpfx)tst-translit.out): Likewise.
24920 ($(objpfx)tst-gettext2.out): Likewise.
24921 ($(objpfx)tst-gettext4.out): Likewise.
24922 ($(objpfx)tst-gettext6.out): Likewise.
24923 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24924 (test_program_prefix): This.
24925 * intl/tst-gettext2.sh: Likewise.
24926 * intl/tst-gettext4.sh Likewise.
24927 * intl/tst-gettext6.sh: Likewise.
24928 * intl/tst-translit.sh: Likewise.
24929 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24930 with $(test-program-cmd).
24931 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24932 $(run-program-prefix) with $(test-program-prefix).
24933 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24934 (test_program_prefix): This.
24935 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24936 $(run-program-prefix) with $(test-program-prefix).
24937 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24938 (test_program_prefix): This.
24939 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24940 * posix/Makefile ($(objpfx)globtest.out): Replace
24941 $(run-via-rtld-prefix) and $(test-wrapper) with
24942 $(test-program-prefix) and $(test-via-rtld-prefix).
24943 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24944 $(test-program-prefix).
24945 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24946 $(host-test-program-cmd).
24947 (tst-spawn-ARGS): Likewise.
24948 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24949 $(test-program-prefix).
24950 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24951 (test_via_rtld_prefix): This.
24952 (test_wrapper): Renamed to ...
24953 (test_program_prefix): This.
24954 (run_program_prefix): Replaced by test_program_prefix.
24955 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24956 (test_program_prefix): This.
24957 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24958 with $(host-test-program-cmd).
24959 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24960 $(run-program-prefix) with $(test-program-prefix).
24961 ($(objpfx)tst-printf.out): Likewise.
24962 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24963 $(test-program-cmd).
24964 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24965 (test_program_prefix): This.
24966 * stdio-common/tst-unbputc.sh: Likewise.
24967 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24968 $(run-program-prefix) with $(test-program-prefix).
24969 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24970 (test_program_prefix): This.
24971 * string/Makefile ($(objpfx)tst-svc.out): Replace
24972 $(built-program-cmd) with $(test-program-cmd).
24973
249742013-01-11 Andreas Jaeger <aj@suse.de>
24975
24976 [BZ #15003]
24977 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24978 value. Sync with Linux 3.7.
24979
249802013-01-10 David S. Miller <davem@davemloft.net>
24981
24982 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24983 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24984 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24985
249862013-01-10 Roland McGrath <roland@hack.frob.com>
24987
24988 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24989 never set.
24990 * configure: Regenerated.
24991
249922013-01-10 David S. Miller <davem@davemloft.net>
24993
24994 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24995 sparc V9 rather than using V8 code.
24996 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24997 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24998
249992013-01-10 Roland McGrath <roland@hack.frob.com>
25000
25001 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25002 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25003 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25004 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25005 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25006 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25007 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25008 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25009 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25010 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25011 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25012 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25013 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25014 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25015 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25016 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25017 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25018 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25019 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25020 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25021 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25022 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25023 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25024 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25025 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25026 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25027 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25028
250292013-01-10 David S. Miller <davem@davemloft.net>
25030
25031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25032
250332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25034
25035 * posix/Makefile (tests-static): New variable.
25036 (tests): Add $(tests-static).
25037 (tst-exec-static-ARGS): New variable.
25038 (tst-spawn-static-ARGS): Likewise.
25039 * posix/tst-exec-static.c: New file.
25040 * posix/tst-spawn-static.c: Likewise.
25041 * posix/tst-exec.c: Support run directly.
25042 * posix/tst-spawn.c: Likewise.
25043
250442013-01-10 Joseph Myers <joseph@codesourcery.com>
25045
25046 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25047 long.
25048 * math/bits/mathcalls.h (llrint): Likewise.
25049 (llround): Likewise.
25050 * stdlib/stdlib.h (struct drand48_data): Likewise.
25051 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25052 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25053 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25054 Likewise.
25055 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25056 Likewise.
25057 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25058 (elf_greg_t): Likewise.
25059 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25060 (__jmp_buf): Likewise.
25061 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25062 definitions.
25063 (llrint): Likewise, for all definitions.
25064 (llrintl): Likewise.
25065
25066 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25067 Remove [__GNUC__] condition.
25068 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25069 condition to just [__USE_ISOC99].
25070 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25071
250722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25073
25074 [BZ #14200]
25075 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25076 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25077 defined.
25078 (_POSIX_V6_ILP32_OFF32): Likewise.
25079 (_XBS5_ILP32_OFF32): Likewise.
25080 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25081 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25082
250832013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25084
25085 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25086
25087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25088 doubles __mpexp_twomm1. Adjust usage.
25089 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25090 Remove.
25091
250922013-01-10 Andreas Schwab <schwab@suse.de>
25093
25094 [BZ #14964]
25095 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25096 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25097
250982013-01-09 David S. Miller <davem@davemloft.net>
25099
25100 [BZ #15003]
25101 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25102 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25103 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25104 (TCP_FASTOPEN): Define.
25105 (tcp_repair_opt): New structure.
25106 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25107 enum values.
25108 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25109 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25110 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25111 (tcp_cookie_transactions): New structure.
25112
251132013-01-09 Anton Blanchard <anton@samba.org>
25114
25115 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25116 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25117 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25118 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25119
251202013-01-09 Joseph Myers <joseph@codesourcery.com>
25121
25122 * include/features.h (__USE_ANSI): Remove.
25123
251242013-01-09 Roland McGrath <roland@hack.frob.com>
25125
25126 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25127
25128 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25129
251302013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25131
25132 * sysdeps/s390/fpu/libm-test-ulps: Update.
25133
25134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25135
25136 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25137 (__acr): Likewise.
25138 (__cpy): Likewise.
25139 (norm): Likewise.
25140 (denorm): Likewise.
25141 (__mp_dbl): Likewise.
25142 (__dbl_mp): Likewise.
25143 (add_magnitudes): Likewise.
25144 (sub_magnitudes): Likewise.
25145 (__add): Likewise.
25146 (__sub): Likewise.
25147 (__mul): Likewise.
25148 (__inv): Likewise.
25149 (__dvd): Likewise.
25150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25151 (__acr): Likewise.
25152 (__cpy): Likewise.
25153 (norm): Likewise.
25154 (denorm): Likewise.
25155 (__mp_dbl): Likewise.
25156 (__dbl_mp): Likewise.
25157 (add_magnitudes): Likewise.
25158 (sub_magnitudes): Likewise.
25159 (__add): Likewise.
25160 (__sub): Likewise.
25161 (__mul): Likewise.
25162 (__inv): Likewise.
25163 (__dvd): Likewise.
25164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25165 (__acr): Likewise.
25166 (__cpy): Likewise.
25167 (norm): Likewise.
25168 (denorm): Likewise.
25169 (__mp_dbl): Likewise.
25170 (__dbl_mp): Likewise.
25171 (add_magnitudes): Likewise.
25172 (sub_magnitudes): Likewise.
25173 (__add): Likewise.
25174 (__sub): Likewise.
25175 (__mul): Likewise.
25176 (__inv): Likewise.
25177 (__dvd): Likewise.
25178
251792013-01-08 Joseph Myers <joseph@codesourcery.com>
25180
25181 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25182 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25183 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25184 2 && __USE_EXTERN_INLINES]: Likewise.
25185
251862013-01-08 Andreas Jaeger <aj@suse.de>
25187
25188 [BZ# 14985]
25189 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25190 Remove.
25191 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25192 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25193
251942013-01-07 Anton Blanchard <anton@samba.org>
25195
25196 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25197 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25198 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25199 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25200 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25202 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25203 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25205 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25206 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25207 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25208 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25209 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25210 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25211 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25212 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25213 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25214 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25216 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25217 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25218 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25219 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25220 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25221 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25222 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25223 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25225 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25226 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25228 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25229 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25230 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25231 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25232 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25233 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25234 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25236 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25238 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25239
252402013-01-07 Joseph Myers <joseph@codesourcery.com>
25241
25242 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25243 (__MALLOC_PMT): Likewise.
25244 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25245 [__GNUC__], only on [_LIBC].
25246 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25247 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25248 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25249 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25250 forward declaration.
25251 (realloc_hook_ini): Likewise.
25252 (memalign_hook_ini): Likewise.
25253 (__libc_memalign): Do not use __MALLOC_PMT in variable
25254 declaration.
25255 (__libc_valloc): Likewise.
25256 (__libc_pvalloc): Likewise.
25257 (__libc_calloc): Likewise.
25258 (__posix_memalign): Likewise.
25259
25260 [BZ #14996]
25261 * math/s_casinh.c: Include <float.h>.
25262 (__casinh): Do not do computation with squaring and square root
25263 for large arguments.
25264 * math/s_casinhf.c: Include <float.h>.
25265 (__casinhf): Do not do computation with squaring and square root
25266 for large arguments.
25267 * math/s_casinhl.c: Include <float.h>.
25268 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25269 (__casinhl): Do not do computation with squaring and square root
25270 for large arguments.
25271 * math/libm-test.inc (casin_test): Add more tests.
25272 (casinh_test): Likewise.
25273 * sysdeps/i386/fpu/libm-test-ulps: Update.
25274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25275
252762013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25277
25278 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25279 (__x86_64_raw_data_cache_size): Likewise.
25280 (__x86_64_data_cache_size_half): Likewise.
25281 (__x86_64_raw_data_cache_size_half): Likewise.
25282 (__x86_64_shared_cache_size): Likewise.
25283 (__x86_64_raw_shared_cache_size): Likewise.
25284 (__x86_64_shared_cache_size_half): Likewise.
25285 (__x86_64_raw_shared_cache_size_half): Likewise.
25286 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25287 to ...
25288 (__x86_data_cache_size): This.
25289 (__x86_64_raw_data_cache_size): Renamed to ...
25290 (__x86_raw_data_cache_size): This.
25291 (__x86_64_data_cache_size_half): Renamed to ...
25292 (__x86_data_cache_size_half): This.
25293 (__x86_64_raw_data_cache_size_half): Renamed to ...
25294 (__x86_raw_data_cache_size_half): This.
25295 (__x86_64_shared_cache_size): Renamed to ...
25296 (__x86_shared_cache_size): This.
25297 (__x86_64_raw_shared_cache_size): Renamed to ...
25298 (__x86_raw_shared_cache_size): This.
25299 (__x86_64_shared_cache_size_half): Renamed to ...
25300 (__x86_shared_cache_size_half): This.
25301 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25302 (__x86_raw_shared_cache_size_half): This.
25303 * sysdeps/x86_64/memcpy.S: Updated.
25304 * sysdeps/x86_64/memset.S: Likewise.
25305 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25306 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25307 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25308
253092013-01-04 David S. Miller <davem@davemloft.net>
25310
25311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25312
253132013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25314
25315 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25316 1 to avoid redefinition warning.
25317 (__USE_GNU): Don't define.
25318 (init_signaling_nan): Protoize.
25319
25320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25321
253222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25323
25324 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25326 (__cpymn): Likewise.
25327 (norm): Remove commented code.
25328 (denorm): Likewise.
25329 (__mp_dbl): Likewise.
25330 (__inv): Likewise.
25331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25332 (__cpymn): Likewise.
25333 (norm): Remove commented code.
25334 (denorm): Likewise.
25335 (__mp_dbl): Likewise.
25336 (__inv): Likewise.
25337
25338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25339 mp_no value for 1.0 and 2.0.
25340 (norm): Use RADIXI instead of radixi.d.
25341 (denorm): Likewise.
25342 (__mul): Use 0.0 instead of zero.d.
25343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25344 mp_no value for 1.0 and 2.0.
25345 (norm): Use RADIXI instead of radixi.d.
25346 (denorm): Likewise.
25347 (__mul): Use 0.0 instead of zero.d.
25348
253492013-01-04 Joseph Myers <joseph@codesourcery.com>
25350
25351 [BZ #14994]
25352 * math/s_casinh.c (__casinh): Reduce finite argument to first
25353 quadrant then set signs of results at the end.
25354 * math/s_casinhf.c (__casinhf): Likewise.
25355 * math/s_casinhl.c (__casinhl): Likewise.
25356 * math/libm-test.inc (casin_test): Add more tests.
25357 (casinh_test): Likewise.
25358 * sysdeps/i386/fpu/libm-test-ulps: Update.
25359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25360
253612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25362
25363 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25364
25365 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25366
25367 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25368 declarations.
25369 (denorm): Likewise.
25370 (__mp_dbl): Likewise.
25371 (__inv): Likewise.
25372
25373 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25374 and adjust the header comment.
25375
25376 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25377 variable name from declaration.
25378
253792013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25380
25381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25382 Initialize COMMON_CPUID_INDEX_7 element.
25383 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25384 (CPUID_RTM): Likewise.
25385 (HAS_RTM): Likewise.
25386 (COMMON_CPUID_INDEX_7): New enum.
25387
253882013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25389
25390 [BZ #14981]
25391 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25392 size is zero, record memory as freed.
25393
253942013-01-03 Andreas Jaeger <aj@suse.de>
25395
25396 * po/ia.po: Add new Interlingua translation.
25397
253982012-01-03 Allan McRae <allan@archlinux.org>
25399
25400 * locale/programs/localedef.c: Fix description of '--posix' flag.
25401
254022013-01-02 Joseph Myers <joseph@codesourcery.com>
25403
25404 * NEWS: Update dates in second copyright notice.
25405 * README: Update copyright dates in example.
25406 * manual/libc.texinfo: Update copyright dates.
25407 * scripts/test-installation.pl: Update copyright date in --version
25408 output.
25409
25410 * hurd/ctty-input.c: Fix copyright notice formatting.
25411 * hurd/ctty-output.c: Likewise.
25412 * hurd/dtable.c: Likewise.
25413 * hurd/hurd-raise.c: Likewise.
25414 * hurd/hurdprio.c: Likewise.
25415 * hurd/msgportdemux.c: Likewise.
25416 * misc/sys/file.h: Likewise.
25417 * misc/sys/ioctl.h: Likewise.
25418 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25419 * sysdeps/mach/hurd/chdir.c: Likewise.
25420 * sysdeps/mach/hurd/fchdir.c: Likewise.
25421 * sysdeps/mach/hurd/rename.c: Likewise.
25422 * sysdeps/mach/hurd/rmdir.c: Likewise.
25423 * sysdeps/mach/hurd/seekdir.c: Likewise.
25424 * sysdeps/mach/hurd/setsid.c: Likewise.
25425 * sysdeps/posix/wait3.c: Likewise.
25426
25427 * All files with FSF copyright notices: Update copyright dates
25428 using scripts/update-copyrights.
25429 * intl/plural.c: Regenerated.
25430 * locale/programs/charmap-kw.h: Likewise.
25431 * locale/programs/locfile-kw.h: Likewise.
25432
254332013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25434
25435 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25436 four values.
25437
25438 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25439 calculation loop and add branch prediction.
25440
25441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25442 check access beyond bounds of m1np.
25443
25444 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25445 MPTWO.
25446 (__inv): Remove local variable MPTWO to use the global
25447 constant.
25448 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25449 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25450 variable MPTWO.
25451 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25452 MP3HALFS static const.
25453
254542013-01-01 David S. Miller <davem@davemloft.net>
25455
25456 * po/ca.po: Update from translation team.
25457
254582013-01-01 Joseph Myers <joseph@codesourcery.com>
25459
25460 * scripts/update-copyrights: New file.
25461 * Makeconfig: Reformat copyright notice.
25462 * ctype/ctype.h: Likewise.
25463 * debug/swprintf_chk.c: Likewise.
25464 * elf/dl-cache.c: Likewise.
25465 * elf/dl-debug.c: Likewise.
25466 * elf/dl-object.c: Likewise.
25467 * grp/initgroups.c: Likewise.
25468 * hurd/Makefile: Likewise.
25469 * hurd/hurd/signal.h: Likewise.
25470 * hurd/hurdfault.c: Likewise.
25471 * hurd/hurdioctl.c: Likewise.
25472 * hurd/hurdlookup.c: Likewise.
25473 * hurd/intr-msg.c: Likewise.
25474 * iconv/gconv_open.c: Likewise.
25475 * libio/swprintf.c: Likewise.
25476 * locale/lc-ctype.c: Likewise.
25477 * locale/nl_langinfo.c: Likewise.
25478 * mach/Machrules: Likewise.
25479 * mach/Makefile: Likewise.
25480 * malloc/obstack.h: Likewise.
25481 * manual/Makefile: Likewise.
25482 * manual/tsort.awk: Likewise.
25483 * misc/bits/stab.def: Likewise.
25484 * nis/nis_print_group_entry.c: Likewise.
25485 * nis/nis_table.c: Likewise.
25486 * nis/nss_compat/compat-pwd.c: Likewise.
25487 * nis/nss_compat/compat-spwd.c: Likewise.
25488 * po/Makefile: Likewise.
25489 * posix/fnmatch.c: Likewise.
25490 * posix/regex.h: Likewise.
25491 * resolv/Makefile: Likewise.
25492 * resolv/nss_dns/dns-network.c: Likewise.
25493 * resolv/res_hconf.c: Likewise.
25494 * scripts/gen-sorted.awk: Likewise.
25495 * soft-fp/soft-fp.h: Likewise.
25496 * stdio-common/printf.h: Likewise.
25497 * stdlib/monetary.h: Likewise.
25498 * stdlib/random.c: Likewise.
25499 * stdlib/random_r.c: Likewise.
25500 * sysdeps/generic/Makefile: Likewise.
25501 * sysdeps/gnu/Makefile: Likewise.
25502 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25530 * sysdeps/mach/hurd/errnos.awk: Likewise.
25531 * sysdeps/mach/hurd/fork.c: Likewise.
25532 * sysdeps/mach/hurd/getcwd.c: Likewise.
25533 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25534 * sysdeps/mach/hurd/mmap.c: Likewise.
25535 * sysdeps/mach/hurd/utimes.c: Likewise.
25536 * sysdeps/mach/hurd/xmknod.c: Likewise.
25537 * sysdeps/posix/profil.c: Likewise.
25538 * sysdeps/posix/readdir_r.c: Likewise.
25539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25540 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25541 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25542 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25546 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25548 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25549 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25550 * sysdeps/pthread/lio_listio.c: Likewise.
25551 * sysdeps/sparc/dl-procinfo.h: Likewise.
25552 * sysdeps/unix/i386/sysdep.S: Likewise.
25553 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25554 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25555 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25556 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25558 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25559 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25560 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25561 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25562 * sysdeps/wordsize-32/divdi3.c: Likewise.
25563 * time/sys/time.h: Likewise.
25564 * wcsmbs/Makefile: Likewise.
25565
255662013-01-01 David S. Miller <davem@davemloft.net>
25567
25568 * po/fr.po: Update from translation team.
25569
25570 * catgets/gencat.c: Update copyright year.
25571 * csu/version.c: Likewise.
25572 * debug/catchsegv.sh: Likewise.
25573 * debug/pcprofiledump.c: Likewise.
25574 * debug/xtrace.sh: Likewise.
25575 * elf/ldconfig.c: Likewise.
25576 * elf/ldd.bash.in: Likewise.
25577 * elf/pldd.c: Likewise.
25578 * elf/sotruss.ksh: Likewise.
25579 * elf/sprof.c: Likewise.
25580 * iconv/iconv_prog.c: Likewise.
25581 * iconv/iconvconfig.c: Likewise.
25582 * locale/programs/locale.c: Likewise.
25583 * locale/programs/localedef.c: Likewise.
25584 * login/programs/pt_chown.c: Likewise.
25585 * malloc/memusage.sh: Likewise.
25586 * malloc/memusagestat.c: Likewise.
25587 * malloc/mtrace.pl: Likewise.
25588 * nscd/nscd.c: Likewise.
25589 * nss/getent.c: Likewise.
25590 * nss/makedb.c: Likewise.
25591 * posix/getconf.c: Likewise.
25592
255932012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25594
25595 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25596 numbers.
25597
255982012-12-30 Mike Frysinger <vapier@gentoo.org>
25599
25600 * math/bits/mathcalls.h (modf): Use __nonnull.
25601
256022012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25603
25604 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25605 (split): Use macro CN instead of the bare value.
25606 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25607 could be used.
25608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25609 instead of the bare value.
25610 (power1): Likewise.
25611
256122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25613
25614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25615 __ATAN_TWOM.
25616 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25617
25618 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25619 their values.
25620 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25621 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25622 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25623 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25624
256252012-12-28 Andreas Jaeger <aj@suse.de>
25626
25627 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25628 values are from Linux 3.7.
25629
25630 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25631 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25632
256332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25634
25635 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25636 TRUE case.
25637
25638 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25639 (norm): Likewise.
25640 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25641 variables with preprocessor constants.
25642 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25643 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25644 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25645
256462012-12-27 Bruno Haible <bruno@clisp.org>
25647
25648 [BZ #14317]
25649 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25650 only if needed.
25651
256522012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25653
25654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25655 and use variable directly.
25656 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25657
25658 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25659 MPONE.
25660 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25661 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25662 variable MPONE.
25663 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25665 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25666 include directive. Remove local variable MPONE.
25667 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25668 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25669 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25670
256712012-12-25 David S. Miller <davem@davemloft.net>
25672
25673 * version.h (RELEASE): Set to "development".
25674 (VERSION): Set to "2.17.90".
25675 * NEWS: Add 2.18 section.
25676
256772012-12-21 David S. Miller <davem@davemloft.net>
25678
25679 * po/hr.po: Update from translation team.
25680
256812012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25682
25683 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25684
256852012-12-19 Steve Ellcey <sellcey@mips.com>
25686
25687 * NEWS: Mention new memcpy for MIPS.
25688
256892012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25690
25691 * manual/contrib.texi (Contributors): Spelling correction.
25692
256932012-12-15 David S. Miller <davem@davemloft.net>
25694
25695 * po/ru.po: Update from translation team.
25696
256972012-12-13 David S. Miller <davem@davemloft.net>
25698
25699 * NEWS: Mention IFUNC testsuite enhancements.
25700
25701 * po/pl.po: Update from translation team.
25702 * po/bg.po: Likewise.
25703
25704 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25705 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25706
257072012-12-11 David S. Miller <davem@davemloft.net>
25708
25709 * po/sv.po: Update from translation team.
25710
25711 * po/vi.po: Update from translation team.
25712
25713 * po/cs.po: Update from translation team.
25714
25715 * po/de.po: Update from translation team.
25716 * po/eo.po: Likewise.
25717 * po/nl.po: Likewise.
25718
257192012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25720
25721 [BZ #14246]
25722 * manual/argp.texi (Argp Helper Functions): Move node to follow
25723 Argp Parsing State.
25724
25725 [BZ #14872]
25726 * manual/conf.texi (Limits on File System Capacity): Mention if
25727 terminating null is included in the max size.
25728
257292012-12-10 Andreas Jaeger <aj@suse.de>
25730
25731 * po/cs.po: Update from translation team.
25732
257332012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25734
25735 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25736 void pointer and cast to uintptr_t.
25737 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25738 path.
25739 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25740 * sysdeps/s390/s390-64/memset.S: Likewise.
25741
257422012-12-08 Benno Schulenberg <bensberg@justemail.net>
25743
25744 [BZ #14833]
25745 * menual/message.texi (Message Translation): Fix typos.
25746 (Helper programs for gettext): Likewise.
25747
257482012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25749
25750 [BZ #14898]
25751 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25752 Change to -1.
25753
257542012-12-07 David S. Miller <davem@davemloft.net>
25755
25756 * po/libc.pot: Update.
25757
257582012-12-07 Richard Henderson <rth@redhat.com>
25759
25760 [BZ #10114]
25761 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25762 normal/normal case to before the switch.
25763 (_FP_DIV): Likewise.
25764
257652012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25766 Mike Frysinger <vapier@gentoo.org>
25767
25768 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25769 check for __NR_fadvise64_64.
25770
257712012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25772
25773 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25774 0, not just to plain "0" as a statement.
25775 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25776 with cw.
25777
257782012-12-06 Joseph Myers <joseph@codesourcery.com>
25779
25780 * NEWS: Use sourceware.org in Bugzilla URL.
25781
257822012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25783
25784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25785 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25786
25787 * stdio-common/tst-put-error.c (do_test): Add newline to the
25788 padded test to ensure flush.
25789
257902012-12-05 Jeff Law <law@redhat.com>
25791
25792 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25793
257942012-12-05 Joseph Myers <joseph@codesourcery.com>
25795
25796 * README: Don't refer to ports add-on as distributed separately.
25797 Mention AArch64 in list of systems supported in the ports add-on.
25798
25799 * LICENSES: Add more non-FSF copyright and license notices.
25800
25801 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25802 ((unused)).
25803
25804 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25805
25806 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25807 10000 as width of padded output.
25808
258092012-12-04 Joseph Myers <joseph@codesourcery.com>
25810
25811 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25812
25813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25814 variable LX with __attribute__ ((unused)).
25815 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25816 Likewise.
25817 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25819 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25820 with __attribute__ ((unused)).
25821
258222012-12-04 David S. Miller <davem@abraco.davemloft.net>
25823
25824 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25825
258262012-12-04 Joseph Myers <joseph@codesourcery.com>
25827
25828 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25829 (CFLAGS-nldbl-acos.c): New variable.
25830 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25831 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25832 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25833 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25834 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25835 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25836 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25837 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25838 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25839 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25840 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25841 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25842 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25843 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25844 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25845 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25846 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25847 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25848 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25849 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25850 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25851 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25852 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25853 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25854 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25855 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25856 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25857 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25858 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25859 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25860 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25861 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25862 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25863 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25864 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25865 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25866 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25867 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25868 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25869 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25870 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25871 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25872 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25873 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25874 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25875 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25876 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25877 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25878 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25879 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25880 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25881 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25882 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25883 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25884 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25885 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25886 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25887 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25888 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25889 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25890 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25891 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25892 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25893 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25894 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25895 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25896 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25897 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25898 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25899 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25900 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25901 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25902 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25903 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25904 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25905 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25906 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25907 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25908 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25909 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25910 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25911 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25912 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25913 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25914 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25915 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25916 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25917 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25918 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25919 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25920 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25921 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25922 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25923 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25924 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25925 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25926 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25927
25928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25929 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25930
25931 [BZ #14914]
25932 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25933 whole low double instead of just low 47 bits when splitting values
25934 into two parts.
25935
259362012-12-03 Allan McRae <allan@archlinux.org>
25937
25938 * manual/stdio.texi (Predefined Printf Handlers): Remove
25939 @hsep and @vsep usage.
25940
259412012-12-03 Mike Frysinger <vapier@gentoo.org>
25942
25943 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25944 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25945
259462012-12-03 Jeff Law <law@redhat.com>
25947
25948 * time/sys/time.h (settimeofday): Do not mark TV argument
25949 as __nonnull.
25950
259512012-12-01 Mike Frysinger <vapier@gentoo.org>
25952
25953 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25954 when currently writing and seek to current position when not.
25955 * libio/Makefile (tests): Remove bug-fclose1.
25956 * libio/bug-fclose1.c: Delete.
25957
259582012-12-01 Joseph Myers <joseph@codesourcery.com>
25959
25960 * manual/arith.texi (feenableexcept): Fix typo.
25961 (fedisableexcept): Likewise.
25962
259632012-11-30 Roland McGrath <roland@hack.frob.com>
25964
25965 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25966 second, differently-typed declaration, rather than a cast.
25967
259682012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25969
25970 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25971 * include/rpc/svc.h: ... here.
25972
259732012-11-30 Aurelien Jarno <aurel32@debian.org>
25974
25975 [BZ #13013]
25976 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25977 depending n and resplen2 to catch cases where answer
25978 equals answerp2.
25979
259802012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25981
25982 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25983 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25984
259852012-11-29 Mike Frysinger <vapier@gentoo.org>
25986
25987 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25988
259892012-11-29 Roland McGrath <roland@hack.frob.com>
25990
25991 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25992
259932012-11-28 Jeff Law <law@redhat.com>
25994
25995 [BZ #13761]
25996 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25997 dataset_temporary. Track alloca usage into alloca_used.
25998 If dataset is large allocate and release it via malloc/free.
25999
260002012-06-04 Florian Weimer <fweimer@redhat.com>
26001
26002 [BZ #14197]
26003 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26004
260052012-11-28 David S. Miller <davem@davemloft.net>
26006
26007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26008
260092012-11-28 Joseph Myers <joseph@codesourcery.com>
26010
26011 [BZ #14803]
26012 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26013 of pi/2 rounded to nearest to 64 bits.
26014 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26015 nearest to 64 bits.
26016 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26017 bits.
26018
260192012-11-28 Jeff Law <law@redhat.com>
26020 Martin Osvald <mosvald@redhat.com>
26021
26022 [BZ #14889]
26023 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26024 * sunrpc/svc.c: Include time.h.
26025 (__svc_accept_failed): New function.
26026 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26027 any reason other than EINTR, call __svc_accept_failed.
26028 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26029 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26030
260312012-11-28 Andreas Schwab <schwab@suse.de>
26032
26033 * scripts/abilist.awk: Also handle indirect functions in .opd
26034 section.
26035
260362012-11-28 Joseph Myers <joseph@codesourcery.com>
26037
26038 [BZ #13881]
26039 * sysdeps/x86/fpu/powl_helper.c: New file.
26040 * sysdeps/x86/fpu/Makefile: Likewise.
26041 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26042 (p3): New object.
26043 (__ieee754_powl): Use __powl_helper for finite arguments except
26044 integer exponents below 8.
26045 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26046 (p3): New object.
26047 (__ieee754_powl): Use __powl_helper for finite arguments except
26048 integer exponents below 8.
26049 * math/libm-test.inc (pow_test): Add more tests and enable some
26050 previously disabled tests.
26051 * sysdeps/i386/fpu/libm-test-ulps: Update.
26052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26053
260542012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26055 Carlos O'Donell <carlos_odonell@mentor.com>
26056
26057 * nss/makedb.c (is_prime): Assert that input is odd and greater
26058 than 4. Note that fact in a comment too.
26059 (next_prime): Add 4 to input.
26060
260612012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26062
26063 [BZ #11741]
26064 * libio/Makefile (tests): Add test case tst-fwrite-error.
26065 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26066 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26067 * libio/tst-fwrite-error.c: New test case.
26068
260692012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26070
26071 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26072 before casting to void *.
26073 * include/libc-internal.h (__pointer_type): New macro.
26074 (__integer_if_pointer_type_sub): Likewise.
26075 (__integer_if_pointer_type): Likewise.
26076 (cast_to_integer): Likewise.
26077 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26078 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26079 before casting to atomic64_t.
26080 (atomic_exchange_acq): Likewise.
26081 (__arch_exchange_and_add_body): Likewise.
26082 (__arch_add_body): Likewise.
26083 (atomic_add_negative): Likewise.
26084 (atomic_add_zero): Likewise.
26085
260862012-11-26 Joseph Myers <joseph@codesourcery.com>
26087
26088 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26089 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26090 (add_fdes): Likewise.
26091 (linear_search_fdes): Likewise.
26092 (binary_search_unencoded_fdes): Likewise.
26093
260942012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26095
26096 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26097
260982012-11-24 Adam Conrad <adconrad@0c3.net>
26099
26100 * configure.in: Autodetect C++ header directories.
26101 * configure: Regenerated.
26102
261032012-11-23 Mike Frysinger <vapier@gentoo.org>
26104
26105 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26106
261072012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26108
26109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26110
261112012-11-22 Joseph Myers <joseph@codesourcery.com>
26112
26113 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26114 LDBL_MANT_DIG == 106]: Disable some tests.
26115 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26116 Likewise.
26117 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26118 Likewise.
26119
26120 [BZ #14871]
26121 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26122 input for small inputs. Return +/- pi/2 for large inputs.
26123 * math/libm-test.inc (atan_test): Add more tests.
26124
26125 * sysdeps/generic/unwind-dw2-fde-glibc.c
26126 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26127 __attribute__ ((unused)).
26128
26129 [BZ #14645]
26130 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26131 x * y if x and y are nonzero and z is zero.
26132
26133 [BZ #14811]
26134 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26135 nonzero exponents with absolute value below 0x1p-117 to +/-
26136 0x1p-117.
26137
26138 [BZ #14869]
26139 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26140 up arguments below 2**-450, not just those below 2**-500.
26141 * math/libm-test.inc (hypot_test): Add another test.
26142
26143 [BZ #14868]
26144 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26145 Return a+b for ratio over 2**120, not 2**60.
26146 * math/libm-test.inc (hypot_test): Add another test.
26147
26148 * math/libm-test.inc (clog_test): Use
26149 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26150 (clog10_test): Likewise.
26151
26152 [BZ #6778]
26153 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26154
261552012-11-22 Andreas Schwab <schwab@suse.de>
26156
26157 * sysdeps/i386/fpu/libm-test-ulps: Update.
26158
261592012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26160
26161 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26162 printf output with newline.
26163
261642012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26165
26166 [BZ #14865]
26167 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26168 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26169 -z nodlopen, -z initfirst and -z execstack support.
26170 * configure: Regenerated.
26171
26172 * elf/elf.h (DF_1_NODIRECT): New macro.
26173 (DF_1_IGNMULDEF): Likewise.
26174 (DF_1_NOKSYMS): Likewise.
26175 (DF_1_NOHDR): Likewise.
26176 (DF_1_EDITED): Likewise.
26177 (DF_1_NORELOC): Likewise.
26178 (DF_1_SYMINTPOSE): Likewise.
26179 (DF_1_GLOBAUDIT): Likewise.
26180 (DF_1_SINGLETON): Likewise.
26181 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26182 DT_1_SUPPORTED_MASK bits.
26183 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26184
261852012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26186
26187 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26188
261892012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26190
26191 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26192 macro.
26193
26194 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26195 (sendmmsg): Move declarations...
26196 * socket/sys/socket.h: ... here.
26197 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26198 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26199 include it from...
26200 * socket/recvmmsg.c: ... this new file.
26201 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26202 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26203 definition of __sendmmsg hidden.
26204 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26205 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26206 Move ENOSYS stub into and include it from...
26207 * socket/sendmmsg.c: ... this new file.
26208 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26209 (sysdep_routines): Move recvmmsg and sendmmsg...
26210 * socket/Makefile (routines): ... here.
26211 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26212 (GLIBC_PRIVATE): Add __sendmmsg.
26213 * include/sys/socket.h (__sendmmsg): Add declarations.
26214 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26215 sendmmsg.
26216
262172012-11-20 Joseph Myers <joseph@codesourcery.com>
26218
26219 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26220 variable I1 with __attribute__ ((unused)).
26221 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26222
262232012-11-19 Joseph Myers <joseph@codesourcery.com>
26224
26225 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26226 DUMMY variables with __attribute__ ((unused)).
26227
26228 * bits/byteswap.h: Include <bits/types.h>.
26229 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26230
262312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26232
26233 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26234 string_t. Do not manually set errno.
26235 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26236 length with __strnlen. Make sure to both set errno and return it on
26237 failure.
26238
262392012-11-19 David S. Miller <davem@davemloft.net>
26240
26241 With help from Joseph Myers.
26242 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26243 very large arguments properly.
26244 * math/libm-test.inc (atan_test): New tests.
26245 (atan2_test): New tests.
26246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26248
262492012-11-19 Joseph Myers <joseph@codesourcery.com>
26250
26251 [BZ #14856]
26252 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26253 Define to 3.
26254
26255 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26256 [POSIX] (EADDRNOTAVAIL): Likewise.
26257 [POSIX] (EAFNOSUPPORT): Likewise.
26258 [POSIX] (EALREADY): Likewise.
26259 [POSIX] (ECONNABORTED): Likewise.
26260 [POSIX] (ECONNREFUSED): Likewise.
26261 [POSIX] (ECONNRESET): Likewise.
26262 [POSIX] (EDESTADDRREQ): Likewise.
26263 [POSIX] (EDQUOT): Likewise.
26264 [POSIX] (EHOSTUNREACH): Likewise.
26265 [POSIX] (EIDRM): Likewise.
26266 [POSIX] (EISCONN): Likewise.
26267 [POSIX] (ELOOP): Likewise.
26268 [POSIX] (EMULTIHOP): Likewise.
26269 [POSIX] (ENETDOWN): Likewise.
26270 [POSIX] (ENETUNREACH): Likewise.
26271 [POSIX] (ENOBUFS): Likewise.
26272 [POSIX] (ENODATA): Likewise.
26273 [POSIX] (ENOLINK): Likewise.
26274 [POSIX] (ENOMSG): Likewise.
26275 [POSIX] (ENOPROTOOPT): Likewise.
26276 [POSIX] (ENOSR): Likewise.
26277 [POSIX] (ENOSTR): Likewise.
26278 [POSIX] (ENOTCONN): Likewise.
26279 [POSIX] (ENOTSOCK): Likewise.
26280 [POSIX] (EOPNOTSUPP): Likewise.
26281 [POSIX] (EOVERFLOW): Likewise.
26282 [POSIX] (EPROTO): Likewise.
26283 [POSIX] (EPROTONOSUPPORT): Likewise.
26284 [POSIX] (EPROTOTYPE): Likewise.
26285 [POSIX] (ESTALE): Likewise.
26286 [POSIX] (ETIME): Likewise.
26287 [POSIX] (ETXTBSY): Likewise.
26288 [POSIX] (EWOULDBLOCK): Likewise.
26289 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26290 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26291 [POSIX] (SEEK_CUR): Likewise.
26292 [POSIX] (SEEK_END): Likewise.
26293 [POSIX || UNIX98] (mode_t): Do not require.
26294 [POSIX] (off_t): Likewise.
26295 [POSIX] (pid_t): Likewise.
26296 [POSIX] (sys/stat.h): Do not allow header.
26297 [POSIX] (unistd.h): Likewise.
26298 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26299 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26300 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26301 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26302 require.
26303 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26304 sigevent): Specify elements.
26305 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26306 entry.
26307 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26308 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26309
26310 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26311 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26312 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26313 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26314 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26315 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26316 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26317 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26318 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26319 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26320 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26321 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26322 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26323 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26324 Likewise.
26325 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26326 Likewise.
26327 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26328 Likewise.
26329 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26330 Likewise.
26331 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26332 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26333 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26334 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26335 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26336 Specify lower bound on value.
26337 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26338 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26339 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26340 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26341 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26342 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26343 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26344 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26345 value.
26346 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26347 as optional.
26348 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26349 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26350 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26351 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26352 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26353 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26354 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26355 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26356 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26357 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26358 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26359 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26360 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26361 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26362 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26363 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26364 entry.
26365 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26366 optional.
26367 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26368 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26369 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26370 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26371 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26372 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26373 Likewise.
26374 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26375 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26376 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26377 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26378 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26379 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26380 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26381 as optional.
26382 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26383 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26384 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26385 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26386 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26387 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26388 specify as optional.
26389 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26390 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26391 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26392 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26393 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26394 [XPG3] (NL_LANGMAX): Likewise.
26395 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26396 [POSIX || XPG3] (NL_NMAX): Likewise.
26397 [POSIX || XPG3] (NL_SETMAX): Likewise.
26398 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26399 [XPG3] (NZERO): Likewise.
26400 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26401 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26402 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26403 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26404 (REG_ERANGE): Expect.
26405 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26406 optional-constant.
26407 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26408 Use (void) in prototype.
26409 [POSIX] (*_t): Allow.
26410 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26411 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26412 (WRDE_BADVAL): Expect.
26413
26414 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26415 expect.
26416 [XPG3 || XPG4] (O_RSYNC): Likewise.
26417 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26418 Likewise.
26419 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26420 [XPG3 || XPG4] (sigqueue): Likewise.
26421 [XPG3 || XPG4] (sigtimedwait): Likewise.
26422 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26423 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26424 [XPG3 || XPG4] (vsnprintf): Likewise.
26425 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26426 Likewise.
26427 [XPG3 || XPG4] (blksize_t): Likewise.
26428 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26429 Likewise.
26430 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26431 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26432 [XPG3 || XPG4] (struct itimerspec): Likewise.
26433 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26434 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26435 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26436 [XPG3 || XPG4] (clockid_t): Likewise.
26437 [XPG3 || XPG4] (timer_t): Likewise.
26438 [XPG3 || XPG4] (clock_getres): Likewise.
26439 [XPG3 || XPG4] (clock_gettime): Likewise.
26440 [XPG3 || XPG4] (clock_settime): Likewise.
26441 [XPG3 || XPG4] (nanosleep): Likewise.
26442 [XPG3 || XPG4] (timer_create): Likewise.
26443 [XPG3 || XPG4] (timer_delete): Likewise.
26444 [XPG3 || XPG4] (timer_gettime): Likewise.
26445 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26446 [XPG3 || XPG4] (timer_settime): Likewise.
26447 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26448 [XPG3 || XPG4] (getlogin_r): Likewise.
26449 [XPG3 || XPG4] (pread): Likewise.
26450 [XPG3 || XPG4] (pthread_atfork): Likewise.
26451 [XPG3 || XPG4] (pwrite): Likewise.
26452
26453 [BZ #14835]
26454 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26455 <bits/siginfo.h>.
26456
264572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26458
26459 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26460 finalizing MALLSTREAM.
26461
26462 * sysdeps/mach/hurd/syncfs.c: New file.
26463
264642012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26465
26466 [BZ #14719]
26467 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26468 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26469 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26470 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26471 (_nss_dns_gethostbyname4_r): Likewise.
26472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26473 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26474
264752012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26476
26477 [BZ #13763]
26478 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26479
264802012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26481
26482 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26483 * elf/cache.c (print_entry): Print ",AArch64" for
26484 FLAG_AARCH64_LIB64
26485
26486 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26487 * elf/cache.c (print_entry): Print ",hard-float" for
26488 FLAG_ARM_LIBHF.
26489
264902012-11-18 David S. Miller <davem@davemloft.net>
26491
26492 With help from Joseph Myers.
26493 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26494 cutoff to 2**-13.
26495 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26496 cutoff to 2**-25.
26497 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26498 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26499 small.
26500 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26501 * math/libm-test.inc (y0_test): New tests.
26502 (y1_test): New tests.
26503 * sysdeps/i386/fpu/libm-test-ulps: Update.
26504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26506
265072012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26508
26509 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26510 64-bit targets.
26511 * configure: Regenerated.
26512
265132012-11-17 David S. Miller <davem@davemloft.net>
26514
26515 [BZ #14811]
26516 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26517 nonzero exponents with absolute value below 0x1p-128 to +/-
26518 0x1p-128.
26519
265202012-11-17 Joseph Myers <joseph@codesourcery.com>
26521
26522 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26523
26524 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26525
26526 * posix/getconf-speclist.c: New file.
26527 * posix/posix-envs.def: Likewise.
26528 * posix/confstr.c (START_ENV_GROUP): New macro.
26529 (END_ENV_GROUP): Likewise.
26530 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26531 (KNOWN_PRESENT_ENV_STRING): Likewise.
26532 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26533 (UNKNOWN_ENVIRONMENT): Likewise.
26534 (confstr): Include posix-envs.def instead of handling
26535 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26536 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26537 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26538 (END_ENV_GROUP): Likewise.
26539 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26540 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26541 (UNKNOWN_ENVIRONMENT): Likewise.
26542 (__sysconf): Include posix-envs.def instead of handling associated
26543 cases directly here.
26544 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26545 preprocessing getconf-speclist.c rather than running getconf or
26546 generating empty file.
26547
265482012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26549
26550 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26551
265522012-11-16 Andrej Lajovic <natrij@gmail.com>
26553
26554 [BZ #14672]
26555 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26556
265572012-11-16 David S. Miller <davem@davemloft.net>
26558
26559 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26560 smaller than LDBL_EPSILON/2.0L, just return xm1.
26561
265622012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26563
26564 * elf/tst-array1.c (init): Set constructor priority to 1000.
26565 (fini): Set destructor priority to 1000.
26566 * elf/tst-array2dep.c: Likewise.
26567
265682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26569
26570 [BZ #11741]
26571 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26572 (_IO_new_file_xsputn): Also return EOF if none of the input
26573 data was written when overflow failed.
26574 * libio/iopadn.c (_IO_padn): Likewise.
26575 * libio/iowpadn.c (_IO_wpadn): Likewise.
26576 * stdio-common/tst-put-error.c: Add copyright notice.
26577 (do_test): Add case for printing padded string.
26578 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26579 _IO_padn returned error.
26580 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26581 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26582 return EOF.
26583
265842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26585
26586 * libio/libioP.h: Add comment note that the references to C++
26587 bits are now obsolete.
26588
265892012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26590
26591 * math/libm-test.inc (check_complex): Use asprintf.
26592
265932012-11-14 Joseph Myers <joseph@codesourcery.com>
26594
26595 * debug/pcprofiledump.c (print_version): Update copyright year.
26596 * malloc/memusagestat.c (print_version): Likewise.
26597
265982012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26599
26600 [BZ #14831]
26601 * elf/Makefile (tests): Add tst-audit8.
26602 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26603 ($(objpfx)tst-audit8.out): New target.
26604 (tst-audit8-ENV): New variable.
26605 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26606 audit if l_reloc_result is NULL.
26607 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26608 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26609 * elf/tst-audit8.c: New file.
26610
266112012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26612
26613 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26614 * misc/Makefile (CFLAGS-select.c): Define.
26615 * posix/Makefile (CFLAGS-pause.c): Define.
26616
266172012-11-13 David S. Miller <davem@davemloft.net>
26618
26619 * crypt/Makefile: Move test targets after toplevel Rules
26620 inclusion. Grab any necessary sysdep routines when linking.
26621 * crypt/md5.c (md5_process_block): Remove define, we will always
26622 name it __md5_process_block.
26623 (md5_finish_ctx): Update md5_process_block call.
26624 (md5_stream): Likewise.
26625 (md5_process_bytes): Likewise.
26626 (md5_process_block): Rename to __md5_process_block and move to ...
26627 * crypt/md5-block.c: ... here.
26628 * crypt/sha256.c (sha256_process_block): Move to ...
26629 * crypt/sha256-block.c: ... here.
26630 * crypt/sha512.c (sha512_process_block): Move to ...
26631 * crypt/sha512-block.c: ... here.
26632 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26633 path.
26634 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26635 * sysdeps/sparc/sparc64/multiarch/Makefile
26636 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26637 crypt subdir.
26638 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26639 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26640 multiarch changes.
26641 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26642 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26643 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26644 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26645 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26646 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26647 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26648 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26649 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26650 file.
26651 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26652 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26653 file.
26654 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26655
266562012-11-13 Joseph Myers <joseph@codesourcery.com>
26657
26658 * timezone/tzselect.ksh: Update from tzcode git revision
26659 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26660 * timezone/zdump.c: Likewise.
26661 * timezone/zic.c: Likewise.
26662 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26663 in TZVERSION setting, not $(PKGVERSION).
26664 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26665 REPORT_BUGS_TO settings.
26666
26667 [BZ #14838]
26668 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26669 macro.
26670
266712012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26672
26673 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26674 detection to immediately after _FP_ROUND().
26675 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26676 bits are 0.
26677
266782012-11-11 David S. Miller <davem@davemloft.net>
26679
26680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26681 inttypes.h
26682 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26683 __close rather than their public counterparts.
26684
266852012-11-10 Joseph Myers <joseph@codesourcery.com>
26686
26687 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26688 file.
26689 [UNIX98] (sem_timedwait): Do not expect.
26690 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26691 [XPG4 || UNIX98] (sockatmark): Do not expect.
26692 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26693 (clock_getcpuclockid): Do not expect.
26694 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26695 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26696 Do not expect.
26697 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26698 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26699 [UNIX98] (vwscanf): Likewise.
26700 [UNIX98] (vswscanf): Likewise.
26701
267022012-11-09 Joseph Myers <joseph@codesourcery.com>
26703
26704 * timezone/version.h: Remove file.
26705 * timezone/README: Do not refer to version.h.
26706 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26707 $(objpfx)version.h.
26708 ($(objpfx)zdump.o): Likewise.
26709 ($(objpfx)version.h): New target.
26710
26711 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26712 2012i.
26713 * timezone/README: Don't mention modification to tzselect.ksh.
26714 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26715 work on unmodified tzselect.ksh. Substitute version numbers in
26716 tzselect.ksh.
26717
26718 * Makefile (format-me): Remove.
26719 (INSTALL): Adjust indentation. Use commands directly instead of
26720 using $(format-me).
26721
26722 * aclocal.m4 (ACX_PKGVERSION): New macro.
26723 (ACX_BUGURL): Likewise.
26724 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26725 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26726 (REPORT_BUGS_TO): Likewise.
26727 * configure: Regenerated.
26728 * config.h.in (PKGVERSION): New macro.
26729 (REPORT_BUGS_TO): Likewise.
26730 * config.make.in (PKGVERSION): New variable.
26731 (PKGVERSION_TEXI): Likewise.
26732 (REPORT_BUGS_TO): Likewise.
26733 (REPORT_BUGS_TEXI): Likewise.
26734 * Makefile (format-me): Use -I$(common-objpfx)manual.
26735 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26736 ($(common-objpfx)manual/%): New target.
26737 (manual/%): Remove target.
26738 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26739 (print_version): Use PKGVERSION.
26740 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26741 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26742 and REPORT_BUGS_TO.
26743 ($(objpfx)xtrace): Likewise.
26744 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26745 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26746 (print_version): Use PKGVERSION.
26747 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26748 (do_version): Use PKGVERSION.
26749 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26750 REPORT_BUGS_TO.
26751 (common-ldd-rewrite): Likewise.
26752 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26753 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26754 (print_version): Use PKGVERSION.
26755 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26756 * elf/pldd.c (argp_program_bug_address): Remove variable.
26757 (more_help): New function.
26758 (argp): Use more_help.
26759 (print_version): Use PKGVERSION.
26760 * elf/sln.c (main): Use PKGVERSION.
26761 (usage): Use REPORT_BUGS_TO.
26762 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26763 (top level): Use PKGVERSION.
26764 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26765 (print_version): Use PKGVERSION.
26766 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26767 (print_version): Use PKGVERSION.
26768 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26769 (print_version): Use PKGVERSION.
26770 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26771 (print_version): Use PKGVERSION.
26772 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26773 (print_version): Use PKGVERSION.
26774 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26775 (print_version): Use PKGVERSION.
26776 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26777 and BUGURL.
26778 ($(objpfx)memusage): Likewise.
26779 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26780 (do_version): Use PKGVERSION.
26781 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26782 (print_version): Use PKGVERSION.
26783 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26784 ($PKGVERSION): New variable.
26785 ($REPORT_BUGS_TO): Likewise.
26786 (usage): Use $REPORT_BUGS_TO.
26787 (top level): Use $PKGVERSION.
26788 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26789 ($(objpfx)pkgvers.texi): New rule.
26790 ($(objpfx)stamp-pkgvers): Likewise.
26791 * manual/install.texi: Include pkgvers.texi.
26792 (--with-pkgversion): Document new configure option.
26793 (--with-bugurl): Likewise.
26794 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26795 than necessarily for this particular distribution. Use
26796 REPORT_BUGS_TO for where to report bugs.
26797 * INSTALL: Regenerated.
26798 * manual/libc.texinfo: Include pkgvers.texi.
26799 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26800 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26801 (print_version): Use PKGVERSION.
26802 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26803 (print_version): Use PKGVERSION.
26804 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26805 (print_version): Use PKGVERSION.
26806 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26807 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26808 macro.
26809 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26810 (print_version): Use PKGVERSION.
26811 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26812 (print_version): Use PKGVERSION.
26813 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26814 and PKGVERSION.
26815
26816 * timezone/checktab.awk: Update from tzcode 2012i.
26817 * timezone/ialloc.c: Likewise.
26818 * timezone/private.h: Likewise.
26819 * timezone/scheck.c: Likewise.
26820 * timezone/tzfile.h: Likewise.
26821 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26822 (TZVERSION): Hardcode tzcode version number.
26823 * timezone/zdump.c: Update from tzcode 2012i.
26824 * timezone/zic.c: Likewise.
26825 * timezone/version.h: New file.
26826 * timezone/README: Describe version.h. Update upstream location.
26827
26828 [BZ #14824]
26829 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26830 (mktemp): Enable declaration.
26831 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26832 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26833 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26835 Likewise.
26836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26837 Likewise.
26838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26839 Likewise.
26840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26841 Likewise.
26842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26843 Likewise.
26844 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26845 Likewise.
26846
26847 [BZ #14821]
26848 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26849 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26850 for copies of such integer values.
26851 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26852 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26853
268542012-11-09 Andreas Jaeger <aj@suse.de>
26855
26856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26857 definitions and declarations that are provided by
26858 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26859
268602012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26861
26862 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26863 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26864 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26865 definition.
26866
268672012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26868
26869 * elf/elf.h: Update comment before AArch64 relocations.
26870
268712012-11-07 David S. Miller <davem@davemloft.net>
26872
26873 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26874 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26875 (__start_context): Declare.
26876 (__makecontext_ret): Delete.
26877 (__makecontext): Hook up __start_context instead of
26878 __makecontext_ret.
26879 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26880 (sysdep_routines): Add __start_context when in stdlib.
26881
268822012-11-07 Joseph Myers <joseph@codesourcery.com>
26883
26884 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26885 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26886 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26887 hardcoded "nm".
26888 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26889 (READELF): New variable. Use it instead of hardcoded "readelf".
26890
268912012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26892
26893 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26894 * sysdeps/x86/Makefile: Here.
26895 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26896 * sysdeps/x86/tst-xmmymm.sh: This.
26897
268982012-11-07 Joseph Myers <joseph@codesourcery.com>
26899
26900 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26901 expectations.
26902 [UNIX98] (pthread_barrier_t): Do not expect.
26903 [UNIX98] (pthread_barrierattr_t): Likewise.
26904 [UNIX98] (pthread_spinlock_t): Likewise.
26905 [UNIX98] (pthread_barrier_destroy): Likewise.
26906 [UNIX98] (pthread_barrier_init): Likewise.
26907 [UNIX98] (pthread_barrier_wait): Likewise.
26908 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26909 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26910 [UNIX98] (pthread_barrierattr_init): Likewise.
26911 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26912 [UNIX98] (pthread_getcpuclockid): Likewise.
26913 [UNIX98] (pthread_mutex_timedlock): Likewise.
26914 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26915 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26916 [UNIX98] (pthread_sigmask): Likewise.
26917 [UNIX98] (pthread_spin_destroy): Likewise.
26918 [UNIX98] (pthread_spin_init): Likewise.
26919 [UNIX98] (pthread_spin_lock): Likewise.
26920 [UNIX98] (pthread_spin_trylock): Likewise.
26921 [UNIX98] (pthread_spin_unlock): Likewise.
26922 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26923 Do not expect.
26924 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26925 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26926 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26927 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26928 [XPG3 || XPG4] (pthread_key_t): Likewise.
26929 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26930 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26931 [XPG3 || XPG4] (pthread_once_t): Likewise.
26932 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26933 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26934 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26935 [XPG3 || XPG4] (pthread_t): Likewise.
26936
26937 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26938 not expect.
26939 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26940
26941 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26942 Change function return type to int.
26943
26944 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26945 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26946 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26947 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26948 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26949 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26950 [!POSIX] (posix_madvise): Likewise.
26951 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26952 && !UNIX98].
26953 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26954 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26955 (mode_t): Likewise.
26956 (posix_mem_offset): Likewise.
26957 (posix_typed_mem_get_info): Likewise.
26958 (posix_typed_mem_open): Likewise.
26959
26960 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26961 Change condition to [XOPEN2K8].
26962
26963 * conform/conformtest.pl: Preprocess allow-header data with -x c
26964 instead of from stdin.
26965 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26966 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26967 [C99-based standards] (cerfc): Likewise.
26968 [C99-based standards] (cexp2): Likewise.
26969 [C99-based standards] (cexpm1): Likewise.
26970 [C99-based standards] (clog10): Likewise.
26971 [C99-based standards] (clog1p): Likewise.
26972 [C99-based standards] (clog2): Likewise.
26973 [C99-based standards] (clgamma): Likewise.
26974 [C99-based standards] (ctgamma): Likewise.
26975 [C99-based standards] (cerff): Likewise.
26976 [C99-based standards] (cerfcf): Likewise.
26977 [C99-based standards] (cexp2f): Likewise.
26978 [C99-based standards] (cexpm1f): Likewise.
26979 [C99-based standards] (clog10f): Likewise.
26980 [C99-based standards] (clog1pf): Likewise.
26981 [C99-based standards] (clog2f): Likewise.
26982 [C99-based standards] (clgammaf): Likewise.
26983 [C99-based standards] (ctgammaf): Likewise.
26984 [C99-based standards] (cerfl): Likewise.
26985 [C99-based standards] (cerfcl): Likewise.
26986 [C99-based standards] (cexp2l): Likewise.
26987 [C99-based standards] (cexpm1l): Likewise.
26988 [C99-based standards] (clog10l): Likewise.
26989 [C99-based standards] (clog1pl): Likewise.
26990 [C99-based standards] (clog2l): Likewise.
26991 [C99-based standards] (clgammal): Likewise.
26992 [C99-based standards] (ctgammal): Likewise.
26993 * conform/data/inttypes.h-data [C99-based standards]: Include
26994 stdint.h-data. Remove all expectations for stdint.h contents.
26995 [C99-based standards] (PRI*): Do not allow.
26996 [C99-based standards] (SCN*): Likewise.
26997 [C99-based standards] (*_t): Likewise.
26998 [C99-based-standards] (PRId8): Expect macro.
26999 [C99-based-standards] (PRIi8): Likewise.
27000 [C99-based-standards] (PRIo8): Likewise.
27001 [C99-based-standards] (PRIu8): Likewise.
27002 [C99-based-standards] (PRIx8): Likewise.
27003 [C99-based-standards] (PRIX8): Likewise.
27004 [C99-based-standards] (SCNd8): Likewise.
27005 [C99-based-standards] (SCNi8): Likewise.
27006 [C99-based-standards] (SCNo8): Likewise.
27007 [C99-based-standards] (SCNu8): Likewise.
27008 [C99-based-standards] (SCNx8): Likewise.
27009 [C99-based-standards] (PRIdLEAST8): Likewise.
27010 [C99-based-standards] (PRIiLEAST8): Likewise.
27011 [C99-based-standards] (PRIoLEAST8): Likewise.
27012 [C99-based-standards] (PRIuLEAST8): Likewise.
27013 [C99-based-standards] (PRIxLEAST8): Likewise.
27014 [C99-based-standards] (PRIXLEAST8): Likewise.
27015 [C99-based-standards] (SCNdLEAST8): Likewise.
27016 [C99-based-standards] (SCNiLEAST8): Likewise.
27017 [C99-based-standards] (SCNoLEAST8): Likewise.
27018 [C99-based-standards] (SCNuLEAST8): Likewise.
27019 [C99-based-standards] (SCNxLEAST8): Likewise.
27020 [C99-based-standards] (PRIdFAST8): Likewise.
27021 [C99-based-standards] (PRIiFAST8): Likewise.
27022 [C99-based-standards] (PRIoFAST8): Likewise.
27023 [C99-based-standards] (PRIuFAST8): Likewise.
27024 [C99-based-standards] (PRIxFAST8): Likewise.
27025 [C99-based-standards] (PRIXFAST8): Likewise.
27026 [C99-based-standards] (SCNdFAST8): Likewise.
27027 [C99-based-standards] (SCNiFAST8): Likewise.
27028 [C99-based-standards] (SCNoFAST8): Likewise.
27029 [C99-based-standards] (SCNuFAST8): Likewise.
27030 [C99-based-standards] (SCNxFAST8): Likewise.
27031 [C99-based-standards] (PRId16): Likewise.
27032 [C99-based-standards] (PRIi16): Likewise.
27033 [C99-based-standards] (PRIo16): Likewise.
27034 [C99-based-standards] (PRIu16): Likewise.
27035 [C99-based-standards] (PRIx16): Likewise.
27036 [C99-based-standards] (PRIX16): Likewise.
27037 [C99-based-standards] (SCNd16): Likewise.
27038 [C99-based-standards] (SCNi16): Likewise.
27039 [C99-based-standards] (SCNo16): Likewise.
27040 [C99-based-standards] (SCNu16): Likewise.
27041 [C99-based-standards] (SCNx16): Likewise.
27042 [C99-based-standards] (PRIdLEAST16): Likewise.
27043 [C99-based-standards] (PRIiLEAST16): Likewise.
27044 [C99-based-standards] (PRIoLEAST16): Likewise.
27045 [C99-based-standards] (PRIuLEAST16): Likewise.
27046 [C99-based-standards] (PRIxLEAST16): Likewise.
27047 [C99-based-standards] (PRIXLEAST16): Likewise.
27048 [C99-based-standards] (SCNdLEAST16): Likewise.
27049 [C99-based-standards] (SCNiLEAST16): Likewise.
27050 [C99-based-standards] (SCNoLEAST16): Likewise.
27051 [C99-based-standards] (SCNuLEAST16): Likewise.
27052 [C99-based-standards] (SCNxLEAST16): Likewise.
27053 [C99-based-standards] (PRIdFAST16): Likewise.
27054 [C99-based-standards] (PRIiFAST16): Likewise.
27055 [C99-based-standards] (PRIoFAST16): Likewise.
27056 [C99-based-standards] (PRIuFAST16): Likewise.
27057 [C99-based-standards] (PRIxFAST16): Likewise.
27058 [C99-based-standards] (PRIXFAST16): Likewise.
27059 [C99-based-standards] (SCNdFAST16): Likewise.
27060 [C99-based-standards] (SCNiFAST16): Likewise.
27061 [C99-based-standards] (SCNoFAST16): Likewise.
27062 [C99-based-standards] (SCNuFAST16): Likewise.
27063 [C99-based-standards] (SCNxFAST16): Likewise.
27064 [C99-based-standards] (PRId32): Likewise.
27065 [C99-based-standards] (PRIi32): Likewise.
27066 [C99-based-standards] (PRIo32): Likewise.
27067 [C99-based-standards] (PRIu32): Likewise.
27068 [C99-based-standards] (PRIx32): Likewise.
27069 [C99-based-standards] (PRIX32): Likewise.
27070 [C99-based-standards] (SCNd32): Likewise.
27071 [C99-based-standards] (SCNi32): Likewise.
27072 [C99-based-standards] (SCNo32): Likewise.
27073 [C99-based-standards] (SCNu32): Likewise.
27074 [C99-based-standards] (SCNx32): Likewise.
27075 [C99-based-standards] (PRIdLEAST32): Likewise.
27076 [C99-based-standards] (PRIiLEAST32): Likewise.
27077 [C99-based-standards] (PRIoLEAST32): Likewise.
27078 [C99-based-standards] (PRIuLEAST32): Likewise.
27079 [C99-based-standards] (PRIxLEAST32): Likewise.
27080 [C99-based-standards] (PRIXLEAST32): Likewise.
27081 [C99-based-standards] (SCNdLEAST32): Likewise.
27082 [C99-based-standards] (SCNiLEAST32): Likewise.
27083 [C99-based-standards] (SCNoLEAST32): Likewise.
27084 [C99-based-standards] (SCNuLEAST32): Likewise.
27085 [C99-based-standards] (SCNxLEAST32): Likewise.
27086 [C99-based-standards] (PRIdFAST32): Likewise.
27087 [C99-based-standards] (PRIiFAST32): Likewise.
27088 [C99-based-standards] (PRIoFAST32): Likewise.
27089 [C99-based-standards] (PRIuFAST32): Likewise.
27090 [C99-based-standards] (PRIxFAST32): Likewise.
27091 [C99-based-standards] (PRIXFAST32): Likewise.
27092 [C99-based-standards] (SCNdFAST32): Likewise.
27093 [C99-based-standards] (SCNiFAST32): Likewise.
27094 [C99-based-standards] (SCNoFAST32): Likewise.
27095 [C99-based-standards] (SCNuFAST32): Likewise.
27096 [C99-based-standards] (SCNxFAST32): Likewise.
27097 [C99-based-standards] (PRId64): Likewise.
27098 [C99-based-standards] (PRIi64): Likewise.
27099 [C99-based-standards] (PRIo64): Likewise.
27100 [C99-based-standards] (PRIu64): Likewise.
27101 [C99-based-standards] (PRIx64): Likewise.
27102 [C99-based-standards] (PRIX64): Likewise.
27103 [C99-based-standards] (SCNd64): Likewise.
27104 [C99-based-standards] (SCNi64): Likewise.
27105 [C99-based-standards] (SCNo64): Likewise.
27106 [C99-based-standards] (SCNu64): Likewise.
27107 [C99-based-standards] (SCNx64): Likewise.
27108 [C99-based-standards] (PRIdLEAST64): Likewise.
27109 [C99-based-standards] (PRIiLEAST64): Likewise.
27110 [C99-based-standards] (PRIoLEAST64): Likewise.
27111 [C99-based-standards] (PRIuLEAST64): Likewise.
27112 [C99-based-standards] (PRIxLEAST64): Likewise.
27113 [C99-based-standards] (PRIXLEAST64): Likewise.
27114 [C99-based-standards] (SCNdLEAST64): Likewise.
27115 [C99-based-standards] (SCNiLEAST64): Likewise.
27116 [C99-based-standards] (SCNoLEAST64): Likewise.
27117 [C99-based-standards] (SCNuLEAST64): Likewise.
27118 [C99-based-standards] (SCNxLEAST64): Likewise.
27119 [C99-based-standards] (PRIdFAST64): Likewise.
27120 [C99-based-standards] (PRIiFAST64): Likewise.
27121 [C99-based-standards] (PRIoFAST64): Likewise.
27122 [C99-based-standards] (PRIuFAST64): Likewise.
27123 [C99-based-standards] (PRIxFAST64): Likewise.
27124 [C99-based-standards] (PRIXFAST64): Likewise.
27125 [C99-based-standards] (SCNdFAST64): Likewise.
27126 [C99-based-standards] (SCNiFAST64): Likewise.
27127 [C99-based-standards] (SCNoFAST64): Likewise.
27128 [C99-based-standards] (SCNuFAST64): Likewise.
27129 [C99-based-standards] (SCNxFAST64): Likewise.
27130 [C99-based-standards] (PRIdMAX): Likewise.
27131 [C99-based-standards] (PRIiMAX): Likewise.
27132 [C99-based-standards] (PRIoMAX): Likewise.
27133 [C99-based-standards] (PRIuMAX): Likewise.
27134 [C99-based-standards] (PRIxMAX): Likewise.
27135 [C99-based-standards] (PRIXMAX): Likewise.
27136 [C99-based-standards] (SCNdMAX): Likewise.
27137 [C99-based-standards] (SCNiMAX): Likewise.
27138 [C99-based-standards] (SCNoMAX): Likewise.
27139 [C99-based-standards] (SCNuMAX): Likewise.
27140 [C99-based-standards] (SCNxMAX): Likewise.
27141 [C99-based-standards] (PRIdPTR): Likewise.
27142 [C99-based-standards] (PRIiPTR): Likewise.
27143 [C99-based-standards] (PRIoPTR): Likewise.
27144 [C99-based-standards] (PRIuPTR): Likewise.
27145 [C99-based-standards] (PRIxPTR): Likewise.
27146 [C99-based-standards] (PRIXPTR): Likewise.
27147 [C99-based-standards] (SCNdPTR): Likewise.
27148 [C99-based-standards] (SCNiPTR): Likewise.
27149 [C99-based-standards] (SCNoPTR): Likewise.
27150 [C99-based-standards] (SCNuPTR): Likewise.
27151 [C99-based-standards] (SCNxPTR): Likewise.
27152 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27153 allow.
27154 * conform/data/stdint.h-data: Update comments to clarify
27155 requirements.
27156 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27157 type.
27158 [C99-based standards] (INT8_MAX): Likewise.
27159 [C99-based standards] (INT16_MIN): Likewise.
27160 [C99-based standards] (INT16_MAX): Likewise.
27161 [C99-based standards] (INT32_MIN): Likewise.
27162 [C99-based standards] (INT32_MAX): Likewise.
27163 [C99-based standards] (INT64_MIN): Likewise.
27164 [C99-based standards] (INT64_MAX): Likewise.
27165 [C99-based standards] (UINT8_MAX): Likewise.
27166 [C99-based standards] (UINT16_MAX): Likewise.
27167 [C99-based standards] (UINT32_MAX): Likewise.
27168 [C99-based standards] (UINT64_MAX): Likewise.
27169 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27170 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27171 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27172 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27173 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27174 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27175 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27176 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27177 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27178 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27179 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27180 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27181 [C99-based standards] (INT_FAST8_MIN): Likewise.
27182 [C99-based standards] (INT_FAST8_MAX): Likewise.
27183 [C99-based standards] (INT_FAST16_MIN): Likewise.
27184 [C99-based standards] (INT_FAST16_MAX): Likewise.
27185 [C99-based standards] (INT_FAST32_MIN): Likewise.
27186 [C99-based standards] (INT_FAST32_MAX): Likewise.
27187 [C99-based standards] (INT_FAST64_MIN): Likewise.
27188 [C99-based standards] (INT_FAST64_MAX): Likewise.
27189 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27190 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27191 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27192 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27193 [C99-based standards] (INTPTR_MIN): Likewise.
27194 [C99-based standards] (INTPTR_MAX): Likewise.
27195 [C99-based standards] (UINTPTR_MAX): Likewise.
27196 [C99-based standards] (INTMAX_MIN): Likewise.
27197 [C99-based standards] (INTMAX_MAX): Likewise.
27198 [C99-based standards] (UINTMAX_MAX): Likewise.
27199 [C99-based standards] (PTRDIFF_MIN): Likewise.
27200 [C99-based standards] (PTRDIFF_MAX): Likewise.
27201 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27202 [C99-based standards] (SIZE_MAX): Likewise.
27203 [C99-based standards] (WCHAR_MAX): Likewise.
27204 [C99-based standards] (WINT_MAX): Likewise.
27205 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27206 constraint on value.
27207 [C99-based standards] (WCHAR_MIN): Likewise.
27208 [C99-based standards] (WINT_MIN): Likewise.
27209 [C99-based standards] (*_t): Allow.
27210 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27211 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27212 Include math.h-data and complex.h-data. Remove all expectations
27213 of math.h and complex.h contents.
27214 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27215 at end of line.
27216 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27217 (struct tm): Expect tag.
27218 [C99-based-standards] (wcstof): Expect function.
27219 [C99-based-standards] (wcstold): Likewise.
27220 [C99-based-standards] (wcstoll): Likewise.
27221 [C99-based-standards] (wcstoull): Likewise.
27222 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27223 macro-int-constant. Specify type.
27224 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27225 constraint on value.
27226 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27227 Specify type.
27228 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27229 Specify value.
27230 [ISO C standards]: Do not allow headers.
27231 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27232 wcs[abcdefghijklmnopqrstuvwxyz]*.
27233 [ISO C standards] (*_t): Do not allow.
27234 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27235 Expect function.
27236 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27237 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27238 Specify type.
27239 [ISO C standards]: Do not allow headers.
27240 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27241 is[abcdefghijklmnopqrstuvwxyz]*.
27242 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27243 to[abcdefghijklmnopqrstuvwxyz]*.
27244 [ISO C standards] (*_t): Do not allow.
27245 * conform/data/stdalign.h-data: New file.
27246 * conform/data/stdbool.h-data: Likewise.
27247 * conform/data/stdnoreturn.h-data: Likewise.
27248
272492012-11-07 Roland McGrath <roland@hack.frob.com>
27250
27251 [BZ #14815]
27252 * manual/filesys.texi (Directory Entries): Typo fix.
27253 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27254
272552012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27256
27257 * elf/elf.h (EM_AARCH64): New macro.
27258 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27259 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27260 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27261 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27262 (R_AARCH64_TLSDESC): Likewise.
27263 (NT_ARM_TLS): Likewise.
27264 (NT_ARM_HW_BREAK): Likewise.
27265 (NT_ARM_HW_WATCH): Likewise.
27266
272672012-11-07 Joseph Myers <joseph@codesourcery.com>
27268
27269 [BZ #14811]
27270 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27271 (__ieee754_powl): Saturate nonzero exponents with absolute value
27272 below 0x1p-79 to +/- 0x1p-79.
27273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27274 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27275 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27276 nonzero exponents with absolute value below 0x1p-32 to +/-
27277 0x1p-32.
27278 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27279 (__ieee754_powl): Saturate nonzero exponents with absolute value
27280 below 0x1p-79 to +/- 0x1p-79.
27281 * math/libm-test.inc (pow_test): Add more tests.
27282
272832012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27284
27285 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27286 _dl_s390_cap_flags with kernel. Increase string length.
27287 (_dl_s390_platforms): Add z196 and zEC12.
27288
272892012-11-07 Joseph Myers <joseph@codesourcery.com>
27290
27291 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27292 Change XOPEN21K to XOPEN2K.
27293
272942012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27295
27296 * string/memmove.c: Use memcpy when possible.
27297
272982012-11-06 Andreas Jaeger <aj@suse.de>
27299
27300 * po/eo.po: Update from translation team.
27301
273022012-11-06 Joseph Myers <joseph@codesourcery.com>
27303
27304 [BZ #14793]
27305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27306 exponent and small x and y exponents, scale x or y up. Increase
27307 by 2 the exponent used in scaling up.
27308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27309 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27310 * math/libm-test.inc (fma_test): Add more tests.
27311 (fma_test_towardzero): Likewise.
27312 (fma_test_downward): Likewise.
27313 (fma_test_upward): Likewise.
27314
273152012-11-05 Joseph Myers <joseph@codesourcery.com>
27316
27317 [BZ #14805]
27318 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27319 fenv_t *.
27320
27321 [BZ #14801]
27322 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27323 namespace for names of struct fields.
27324 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27325 fenv_t fields.
27326 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27327 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27328
273292012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27330
27331 [BZ #3665]
27332 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27333
273342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27335
27336 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27337 PTR_DEMANGLE.
27338
27339 [BZ #5246]
27340 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27341 PTR_DEMANGLE.
27342
273432012-11-04 Joseph Myers <joseph@codesourcery.com>
27344
27345 [BZ #14797]
27346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27347 definitely overflow as x * y not x * y + z.
27348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27350 * math/libm-test.inc (fma_test): Add more tests.
27351 (fma_test_towardzero): Likewise.
27352 (fma_test_downward): Likewise.
27353 (fma_test_upward): Likewise.
27354
273552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27356
27357 [BZ #157]
27358
27359 * include/stub-tag.h: Remove file.
27360 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27361 '#include' of it.
27362 * manual/maint.texi (Porting): Don't reference it.
27363 * Makerules ($(objpfx)stubs): Likewise.
27364 * dirent/closedir.c: Don't include <stub-tag.h>.
27365 * dirent/dirfd.c: Likewise.
27366 * dirent/fdopendir.c: Likewise.
27367 * dirent/getdents.c: Likewise.
27368 * dirent/getdents64.c: Likewise.
27369 * dirent/opendir.c: Likewise.
27370 * dirent/readdir.c: Likewise.
27371 * dirent/readdir64.c: Likewise.
27372 * dirent/readdir64_r.c: Likewise.
27373 * dirent/readdir_r.c: Likewise.
27374 * dirent/rewinddir.c: Likewise.
27375 * dirent/seekdir.c: Likewise.
27376 * dirent/telldir.c: Likewise.
27377 * gmon/profil.c: Likewise.
27378 * grp/setgroups.c: Likewise.
27379 * inet/if_index.c: Likewise.
27380 * io/access.c: Likewise.
27381 * io/chdir.c: Likewise.
27382 * io/chmod.c: Likewise.
27383 * io/chown.c: Likewise.
27384 * io/close.c: Likewise.
27385 * io/dup.c: Likewise.
27386 * io/dup2.c: Likewise.
27387 * io/dup3.c: Likewise.
27388 * io/euidaccess.c: Likewise.
27389 * io/faccessat.c: Likewise.
27390 * io/fchdir.c: Likewise.
27391 * io/fchmod.c: Likewise.
27392 * io/fchmodat.c: Likewise.
27393 * io/fchown.c: Likewise.
27394 * io/fchownat.c: Likewise.
27395 * io/fcntl.c: Likewise.
27396 * io/flock.c: Likewise.
27397 * io/fstatfs.c: Likewise.
27398 * io/fstatfs64.c: Likewise.
27399 * io/fstatvfs.c: Likewise.
27400 * io/fstatvfs64.c: Likewise.
27401 * io/futimens.c: Likewise.
27402 * io/fxstat.c: Likewise.
27403 * io/fxstat64.c: Likewise.
27404 * io/fxstatat.c: Likewise.
27405 * io/fxstatat64.c: Likewise.
27406 * io/getcwd.c: Likewise.
27407 * io/isatty.c: Likewise.
27408 * io/lchmod.c: Likewise.
27409 * io/lchown.c: Likewise.
27410 * io/link.c: Likewise.
27411 * io/linkat.c: Likewise.
27412 * io/lseek.c: Likewise.
27413 * io/lseek64.c: Likewise.
27414 * io/lxstat64.c: Likewise.
27415 * io/mkdir.c: Likewise.
27416 * io/mkdirat.c: Likewise.
27417 * io/mkfifo.c: Likewise.
27418 * io/mkfifoat.c: Likewise.
27419 * io/open.c: Likewise.
27420 * io/open64.c: Likewise.
27421 * io/openat.c: Likewise.
27422 * io/openat64.c: Likewise.
27423 * io/pipe.c: Likewise.
27424 * io/pipe2.c: Likewise.
27425 * io/poll.c: Likewise.
27426 * io/posix_fadvise.c: Likewise.
27427 * io/posix_fadvise64.c: Likewise.
27428 * io/posix_fallocate.c: Likewise.
27429 * io/posix_fallocate64.c: Likewise.
27430 * io/read.c: Likewise.
27431 * io/readlink.c: Likewise.
27432 * io/readlinkat.c: Likewise.
27433 * io/rmdir.c: Likewise.
27434 * io/sendfile.c: Likewise.
27435 * io/sendfile64.c: Likewise.
27436 * io/statfs.c: Likewise.
27437 * io/statfs64.c: Likewise.
27438 * io/statvfs.c: Likewise.
27439 * io/statvfs64.c: Likewise.
27440 * io/symlink.c: Likewise.
27441 * io/symlinkat.c: Likewise.
27442 * io/ttyname.c: Likewise.
27443 * io/ttyname_r.c: Likewise.
27444 * io/umask.c: Likewise.
27445 * io/unlink.c: Likewise.
27446 * io/unlinkat.c: Likewise.
27447 * io/utime.c: Likewise.
27448 * io/utimensat.c: Likewise.
27449 * io/write.c: Likewise.
27450 * io/xmknod.c: Likewise.
27451 * io/xmknodat.c: Likewise.
27452 * io/xstat.c: Likewise.
27453 * io/xstat64.c: Likewise.
27454 * login/getpt.c: Likewise.
27455 * login/grantpt.c: Likewise.
27456 * login/unlockpt.c: Likewise.
27457 * math/e_acoshl.c: Likewise.
27458 * math/e_acosl.c: Likewise.
27459 * math/e_asinl.c: Likewise.
27460 * math/e_atan2l.c: Likewise.
27461 * math/e_atanhl.c: Likewise.
27462 * math/e_coshl.c: Likewise.
27463 * math/e_expl.c: Likewise.
27464 * math/e_fmodl.c: Likewise.
27465 * math/e_gammal_r.c: Likewise.
27466 * math/e_hypotl.c: Likewise.
27467 * math/e_j0l.c: Likewise.
27468 * math/e_j1l.c: Likewise.
27469 * math/e_jnl.c: Likewise.
27470 * math/e_lgammal_r.c: Likewise.
27471 * math/e_log10l.c: Likewise.
27472 * math/e_log2l.c: Likewise.
27473 * math/e_logl.c: Likewise.
27474 * math/e_powl.c: Likewise.
27475 * math/e_rem_pio2l.c: Likewise.
27476 * math/e_sinhl.c: Likewise.
27477 * math/e_sqrtl.c: Likewise.
27478 * math/fclrexcpt.c: Likewise.
27479 * math/fedisblxcpt.c: Likewise.
27480 * math/feenablxcpt.c: Likewise.
27481 * math/fegetenv.c: Likewise.
27482 * math/fegetexcept.c: Likewise.
27483 * math/fegetround.c: Likewise.
27484 * math/feholdexcpt.c: Likewise.
27485 * math/fesetenv.c: Likewise.
27486 * math/fesetround.c: Likewise.
27487 * math/feupdateenv.c: Likewise.
27488 * math/fgetexcptflg.c: Likewise.
27489 * math/fraiseexcpt.c: Likewise.
27490 * math/fsetexcptflg.c: Likewise.
27491 * math/ftestexcept.c: Likewise.
27492 * math/k_cosl.c: Likewise.
27493 * math/k_rem_pio2l.c: Likewise.
27494 * math/k_sinl.c: Likewise.
27495 * math/k_tanl.c: Likewise.
27496 * math/s_asinhl.c: Likewise.
27497 * math/s_atanl.c: Likewise.
27498 * math/s_cbrtl.c: Likewise.
27499 * math/s_erfl.c: Likewise.
27500 * math/s_expm1l.c: Likewise.
27501 * math/s_log1pl.c: Likewise.
27502 * math/s_tanhl.c: Likewise.
27503 * misc/acct.c: Likewise.
27504 * misc/brk.c: Likewise.
27505 * misc/chflags.c: Likewise.
27506 * misc/chroot.c: Likewise.
27507 * misc/fchflags.c: Likewise.
27508 * misc/fgetxattr.c: Likewise.
27509 * misc/flistxattr.c: Likewise.
27510 * misc/fremovexattr.c: Likewise.
27511 * misc/fsetxattr.c: Likewise.
27512 * misc/fsync.c: Likewise.
27513 * misc/ftruncate.c: Likewise.
27514 * misc/futimes.c: Likewise.
27515 * misc/futimesat.c: Likewise.
27516 * misc/getdomain.c: Likewise.
27517 * misc/getdtsz.c: Likewise.
27518 * misc/gethostid.c: Likewise.
27519 * misc/gethostname.c: Likewise.
27520 * misc/getloadavg.c: Likewise.
27521 * misc/getpagesize.c: Likewise.
27522 * misc/getsysstats.c: Likewise.
27523 * misc/getxattr.c: Likewise.
27524 * misc/gtty.c: Likewise.
27525 * misc/ioctl.c: Likewise.
27526 * misc/lgetxattr.c: Likewise.
27527 * misc/listxattr.c: Likewise.
27528 * misc/llistxattr.c: Likewise.
27529 * misc/lremovexattr.c: Likewise.
27530 * misc/lsetxattr.c: Likewise.
27531 * misc/lutimes.c: Likewise.
27532 * misc/madvise.c: Likewise.
27533 * misc/mincore.c: Likewise.
27534 * misc/mlock.c: Likewise.
27535 * misc/mlockall.c: Likewise.
27536 * misc/mmap.c: Likewise.
27537 * misc/mprotect.c: Likewise.
27538 * misc/msync.c: Likewise.
27539 * misc/munlock.c: Likewise.
27540 * misc/munlockall.c: Likewise.
27541 * misc/munmap.c: Likewise.
27542 * misc/preadv.c: Likewise.
27543 * misc/preadv64.c: Likewise.
27544 * misc/ptrace.c: Likewise.
27545 * misc/pwritev.c: Likewise.
27546 * misc/pwritev64.c: Likewise.
27547 * misc/readv.c: Likewise.
27548 * misc/reboot.c: Likewise.
27549 * misc/remap_file_pages.c: Likewise.
27550 * misc/removexattr.c: Likewise.
27551 * misc/revoke.c: Likewise.
27552 * misc/select.c: Likewise.
27553 * misc/setdomain.c: Likewise.
27554 * misc/setegid.c: Likewise.
27555 * misc/seteuid.c: Likewise.
27556 * misc/sethostid.c: Likewise.
27557 * misc/sethostname.c: Likewise.
27558 * misc/setregid.c: Likewise.
27559 * misc/setreuid.c: Likewise.
27560 * misc/setxattr.c: Likewise.
27561 * misc/sstk.c: Likewise.
27562 * misc/stty.c: Likewise.
27563 * misc/swapoff.c: Likewise.
27564 * misc/swapon.c: Likewise.
27565 * misc/sync.c: Likewise.
27566 * misc/syncfs.c: Likewise.
27567 * misc/syscall.c: Likewise.
27568 * misc/truncate.c: Likewise.
27569 * misc/ualarm.c: Likewise.
27570 * misc/usleep.c: Likewise.
27571 * misc/ustat.c: Likewise.
27572 * misc/utimes.c: Likewise.
27573 * misc/vhangup.c: Likewise.
27574 * misc/writev.c: Likewise.
27575 * posix/_exit.c: Likewise.
27576 * posix/alarm.c: Likewise.
27577 * posix/execve.c: Likewise.
27578 * posix/fexecve.c: Likewise.
27579 * posix/fork.c: Likewise.
27580 * posix/fpathconf.c: Likewise.
27581 * posix/getaddrinfo.c: Likewise.
27582 * posix/getegid.c: Likewise.
27583 * posix/geteuid.c: Likewise.
27584 * posix/getgid.c: Likewise.
27585 * posix/getgroups.c: Likewise.
27586 * posix/getlogin.c: Likewise.
27587 * posix/getlogin_r.c: Likewise.
27588 * posix/getpgid.c: Likewise.
27589 * posix/getpid.c: Likewise.
27590 * posix/getppid.c: Likewise.
27591 * posix/getresgid.c: Likewise.
27592 * posix/getresuid.c: Likewise.
27593 * posix/getsid.c: Likewise.
27594 * posix/getuid.c: Likewise.
27595 * posix/glob64.c: Likewise.
27596 * posix/nanosleep.c: Likewise.
27597 * posix/pathconf.c: Likewise.
27598 * posix/pause.c: Likewise.
27599 * posix/posix_madvise.c: Likewise.
27600 * posix/pread.c: Likewise.
27601 * posix/pread64.c: Likewise.
27602 * posix/pwrite.c: Likewise.
27603 * posix/pwrite64.c: Likewise.
27604 * posix/sched_getaffinity.c: Likewise.
27605 * posix/sched_getp.c: Likewise.
27606 * posix/sched_gets.c: Likewise.
27607 * posix/sched_primax.c: Likewise.
27608 * posix/sched_primin.c: Likewise.
27609 * posix/sched_rr_gi.c: Likewise.
27610 * posix/sched_setaffinity.c: Likewise.
27611 * posix/sched_setp.c: Likewise.
27612 * posix/sched_sets.c: Likewise.
27613 * posix/sched_yield.c: Likewise.
27614 * posix/setgid.c: Likewise.
27615 * posix/setlogin.c: Likewise.
27616 * posix/setpgid.c: Likewise.
27617 * posix/setresgid.c: Likewise.
27618 * posix/setresuid.c: Likewise.
27619 * posix/setsid.c: Likewise.
27620 * posix/setuid.c: Likewise.
27621 * posix/sleep.c: Likewise.
27622 * posix/spawni.c: Likewise.
27623 * posix/sysconf.c: Likewise.
27624 * posix/times.c: Likewise.
27625 * posix/wait.c: Likewise.
27626 * posix/wait3.c: Likewise.
27627 * posix/wait4.c: Likewise.
27628 * posix/waitpid.c: Likewise.
27629 * resolv/gai_sigqueue.c: Likewise.
27630 * resource/getpriority.c: Likewise.
27631 * resource/getrlimit.c: Likewise.
27632 * resource/getrusage.c: Likewise.
27633 * resource/nice.c: Likewise.
27634 * resource/setpriority.c: Likewise.
27635 * resource/setrlimit.c: Likewise.
27636 * resource/ulimit.c: Likewise.
27637 * rt/aio_cancel.c: Likewise.
27638 * rt/aio_fsync.c: Likewise.
27639 * rt/aio_read.c: Likewise.
27640 * rt/aio_sigqueue.c: Likewise.
27641 * rt/aio_suspend.c: Likewise.
27642 * rt/aio_write.c: Likewise.
27643 * rt/clock_getres.c: Likewise.
27644 * rt/clock_gettime.c: Likewise.
27645 * rt/clock_nanosleep.c: Likewise.
27646 * rt/clock_settime.c: Likewise.
27647 * rt/lio_listio.c: Likewise.
27648 * rt/mq_close.c: Likewise.
27649 * rt/mq_getattr.c: Likewise.
27650 * rt/mq_notify.c: Likewise.
27651 * rt/mq_open.c: Likewise.
27652 * rt/mq_receive.c: Likewise.
27653 * rt/mq_send.c: Likewise.
27654 * rt/mq_setattr.c: Likewise.
27655 * rt/mq_timedreceive.c: Likewise.
27656 * rt/mq_timedsend.c: Likewise.
27657 * rt/mq_unlink.c: Likewise.
27658 * rt/shm_open.c: Likewise.
27659 * rt/shm_unlink.c: Likewise.
27660 * rt/timer_create.c: Likewise.
27661 * rt/timer_delete.c: Likewise.
27662 * rt/timer_getoverr.c: Likewise.
27663 * rt/timer_gettime.c: Likewise.
27664 * rt/timer_settime.c: Likewise.
27665 * setjmp/__longjmp.c: Likewise.
27666 * setjmp/setjmp.c: Likewise.
27667 * signal/kill.c: Likewise.
27668 * signal/killpg.c: Likewise.
27669 * signal/raise.c: Likewise.
27670 * signal/sigaction.c: Likewise.
27671 * signal/sigaltstack.c: Likewise.
27672 * signal/sigblock.c: Likewise.
27673 * signal/sigignore.c: Likewise.
27674 * signal/sigintr.c: Likewise.
27675 * signal/signal.c: Likewise.
27676 * signal/sigpause.c: Likewise.
27677 * signal/sigpending.c: Likewise.
27678 * signal/sigqueue.c: Likewise.
27679 * signal/sigreturn.c: Likewise.
27680 * signal/sigset.c: Likewise.
27681 * signal/sigsetmask.c: Likewise.
27682 * signal/sigstack.c: Likewise.
27683 * signal/sigsuspend.c: Likewise.
27684 * signal/sigtimedwait.c: Likewise.
27685 * signal/sigvec.c: Likewise.
27686 * signal/sigwait.c: Likewise.
27687 * signal/sigwaitinfo.c: Likewise.
27688 * signal/sysv_signal.c: Likewise.
27689 * socket/accept.c: Likewise.
27690 * socket/accept4.c: Likewise.
27691 * socket/bind.c: Likewise.
27692 * socket/connect.c: Likewise.
27693 * socket/getpeername.c: Likewise.
27694 * socket/getsockname.c: Likewise.
27695 * socket/getsockopt.c: Likewise.
27696 * socket/isfdtype.c: Likewise.
27697 * socket/listen.c: Likewise.
27698 * socket/recv.c: Likewise.
27699 * socket/recvfrom.c: Likewise.
27700 * socket/recvmsg.c: Likewise.
27701 * socket/send.c: Likewise.
27702 * socket/sendmsg.c: Likewise.
27703 * socket/sendto.c: Likewise.
27704 * socket/setsockopt.c: Likewise.
27705 * socket/shutdown.c: Likewise.
27706 * socket/sockatmark.c: Likewise.
27707 * socket/socket.c: Likewise.
27708 * socket/socketpair.c: Likewise.
27709 * stdio-common/ctermid.c: Likewise.
27710 * stdio-common/cuserid.c: Likewise.
27711 * stdio-common/remove.c: Likewise.
27712 * stdio-common/rename.c: Likewise.
27713 * stdio-common/renameat.c: Likewise.
27714 * stdio-common/tempname.c: Likewise.
27715 * stdlib/getcontext.c: Likewise.
27716 * stdlib/makecontext.c: Likewise.
27717 * stdlib/setcontext.c: Likewise.
27718 * stdlib/swapcontext.c: Likewise.
27719 * stdlib/system.c: Likewise.
27720 * streams/fattach.c: Likewise.
27721 * streams/fdetach.c: Likewise.
27722 * streams/getmsg.c: Likewise.
27723 * streams/getpmsg.c: Likewise.
27724 * streams/putmsg.c: Likewise.
27725 * streams/putpmsg.c: Likewise.
27726 * sysdeps/unix/bsd/getpt.c: Likewise.
27727 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27728 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27729 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27731 Likewise.
27732 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27733 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27734 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27735 * sysvipc/msgctl.c: Likewise.
27736 * sysvipc/msgget.c: Likewise.
27737 * sysvipc/msgrcv.c: Likewise.
27738 * sysvipc/msgsnd.c: Likewise.
27739 * sysvipc/semctl.c: Likewise.
27740 * sysvipc/semget.c: Likewise.
27741 * sysvipc/semop.c: Likewise.
27742 * sysvipc/semtimedop.c: Likewise.
27743 * sysvipc/shmat.c: Likewise.
27744 * sysvipc/shmctl.c: Likewise.
27745 * sysvipc/shmdt.c: Likewise.
27746 * sysvipc/shmget.c: Likewise.
27747 * termios/tcdrain.c: Likewise.
27748 * termios/tcflow.c: Likewise.
27749 * termios/tcflush.c: Likewise.
27750 * termios/tcgetattr.c: Likewise.
27751 * termios/tcgetpgrp.c: Likewise.
27752 * termios/tcsendbrk.c: Likewise.
27753 * termios/tcsetattr.c: Likewise.
27754 * termios/tcsetpgrp.c: Likewise.
27755 * time/adjtime.c: Likewise.
27756 * time/clock.c: Likewise.
27757 * time/getitimer.c: Likewise.
27758 * time/gettimeofday.c: Likewise.
27759 * time/setitimer.c: Likewise.
27760 * time/settimeofday.c: Likewise.
27761 * time/stime.c: Likewise.
27762 * time/time.c: Likewise.
27763
277642012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27765
27766 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27767 /usr/old/bin.
27768
27769 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27770 instead of spaces.
27771 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27772
277732012-11-03 Joseph Myers <joseph@codesourcery.com>
27774
27775 [BZ #14796]
27776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27777 FE_TONEAREST before applying Dekker multiplication and Knuth
27778 addition. Clear inexact exceptions and check for exact zero
27779 results afterwards.
27780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27781 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27783 * math/libm-test.inc (fma_test): Add more tests.
27784 (fma_test_towardzero): Likewise.
27785 (fma_test_downward): Likewise.
27786 (fma_test_upward): Likewise.
27787 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27788 function.
27789 (libc_fesetround): New macro.
27790 (libc_fesetroundf): Likewise.
27791 (libc_fesetroundl): Likewise.
27792 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27793 function.
27794 (libc_fesetround_387): Likewise.
27795 (libc_fesetroundf): New macro.
27796 (libc_fesetround): Likewise.
27797 (libc_fesetroundl): Likewise.
27798 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27799 function.
27800 (libc_fesetroundf): New macro.
27801 (libc_fesetround): Likewise.
27802 (libc_fesetroundl): Likewise.
27803 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27804 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27805 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27806 libm_hidden_ver.
27807 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27808 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27809 libm_hidden_def.
27810 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27811 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27812 libm_hidden_ver.
27813 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27814 libm_hidden_def.
27815
27816 [BZ #3439]
27817 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27818 integer constant usable in #if and use that to give value to enum
27819 constant.
27820 (FE_DIVBYZERO): Likewise.
27821 (FE_UNDERFLOW): Likewise.
27822 (FE_OVERFLOW): Likewise.
27823 (FE_INVALID): Likewise.
27824 (FE_INVALID_SNAN): Likewise.
27825 (FE_INVALID_ISI): Likewise.
27826 (FE_INVALID_IDI): Likewise.
27827 (FE_INVALID_ZDZ): Likewise.
27828 (FE_INVALID_IMZ): Likewise.
27829 (FE_INVALID_COMPARE): Likewise.
27830 (FE_INVALID_SOFTWARE): Likewise.
27831 (FE_INVALID_SQRT): Likewise.
27832 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27833 (FE_TONEAREST): Likewise.
27834 (FE_TOWARDZERO): Likewise.
27835 (FE_UPWARD): Likewise.
27836 (FE_DOWNWARD): Likewise.
27837 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27838 (FE_DIVBYZERO): Likewise.
27839 (FE_OVERFLOW): Likewise.
27840 (FE_UNDERFLOW): Likewise.
27841 (FE_INEXACT): Likewise.
27842 (FE_TONEAREST): Likewise.
27843 (FE_DOWNWARD): Likewise.
27844 (FE_UPWARD): Likewise.
27845 (FE_TOWARDZERO): Likewise.
27846 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27847 (FE_UNDERFLOW): Likewise.
27848 (FE_OVERFLOW): Likewise.
27849 (FE_DIVBYZERO): Likewise.
27850 (FE_INVALID): Likewise.
27851 (FE_TONEAREST): Likewise.
27852 (FE_TOWARDZERO): Likewise.
27853 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27854 (FE_OVERFLOW): Likewise.
27855 (FE_UNDERFLOW): Likewise.
27856 (FE_DIVBYZERO): Likewise.
27857 (FE_INEXACT): Likewise.
27858 (FE_TONEAREST): Likewise.
27859 (FE_TOWARDZERO): Likewise.
27860 (FE_UPWARD): Likewise.
27861 (FE_DOWNWARD): Likewise.
27862 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27863 (FE_DIVBYZERO): Likewise.
27864 (FE_OVERFLOW): Likewise.
27865 (FE_UNDERFLOW): Likewise.
27866 (FE_INEXACT): Likewise.
27867 (FE_TONEAREST): Likewise.
27868 (FE_DOWNWARD): Likewise.
27869 (FE_UPWARD): Likewise.
27870 (FE_TOWARDZERO): Likewise.
27871
278722012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27873
27874 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27875
278762012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27877
27878 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27879 commands. Quote $PWD.
27880 (blacklist_exports): Don't use remove_newlines. Replace "declare
27881 -x" by "export".
27882 (remove_newlines): Remove.
27883
278842012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27885
27886 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27887 * stdlib/stdlib.h (atof): Moved to ...
27888 * include/bits/stdlib-float.h: Here. New file.
27889 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27890 * stdlib/bits/stdlib-float.h: New file.
27891 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27892 -mno-sse -mno-mmx.
27893 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27894 <xmmintrin.h>.
27895
278962012-11-02 Joseph Myers <joseph@codesourcery.com>
27897
27898 * conform/conformtest.pl (@headers): Add fenv.h.
27899 * conform/data/fenv.h-data: New file.
27900 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27901 include of <math/fenv.h>.
27902
27903 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27904 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27905 && !UNIX98]. Enables tests for XOPEN2K8.
27906 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27907 POSIX2008]: Likewise.
27908
27909 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27910 (struct rusage): Do not expect type or its members.
27911
27912 [BZ #3439]
27913 * math/math.h (FP_NAN): Define macro to integer constant usable in
27914 #if and use that to give value to enum constant.
27915 (FP_INFINITE): Likewise.
27916 (FP_ZERO): Likewise.
27917 (FP_SUBNORMAL): Likewise.
27918 (FP_NORMAL): Likewise.
27919
279202012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27921
27922 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27923 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27924 arguments.
27925
279262012-11-02 Roland McGrath <roland@hack.frob.com>
27927
27928 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27929 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27930 autoconf-time if not.
27931 * configure.in: Remove AC_PREREQ.
27932
279332012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27934
27935 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27936 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27937 of the internal implementation.
27938
279392012-11-02 Joseph Myers <joseph@codesourcery.com>
27940
27941 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27942 except include of <misc/sys/syslog.h>.
27943
279442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27945
27946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27947 function returns with a NULL context exit with zero.
27948
279492012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27950
27951 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27952
279532012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27954
27955 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27956 (run_program_cmd): This.
27957 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27958 (tst_langinfo): New variable. Use it.
27959
279602012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27961
27962 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27963 floating point opcodes.
27964
279652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27966
27967 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27968 variable.
27969
27970 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27971
27972 * sysdeps/mach/hurd/powerpc: Remove directory.
27973 * sysdeps/mach/powerpc: Likewise.
27974
279752012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27976
27977 * scripts/check-local-headers.sh: Ignore c++ headers.
27978
279792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27980
27981 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27982 __libc_cleanup_region_start argument.
27983
279842012-11-01 Joseph Myers <joseph@codesourcery.com>
27985
27986 [BZ #14784]
27987 [BZ #14785]
27988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27989 x * y using scaling, not as x * y + z.
27990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27992 * math/libm-test.inc (fma_test): Add more tests.
27993 (fma_test_towardzero): Likewise.
27994 (fma_test_downward): Likewise.
27995 (fma_test_upward): Likewise.
27996
279972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27998
27999 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28000
280012012-10-31 Joseph Myers <joseph@codesourcery.com>
28002
28003 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28004 New variable.
28005
280062012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28007
28008 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28009
280102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28011
28012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28013 Fix sort order.
28014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28015 Likewise.
28016
280172012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28018
28019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28020 Fix the order of the list for glibc 2.17.
28021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28022 Likewise.
28023
280242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28025
28026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28027
280282012-10-31 Joseph Myers <joseph@codesourcery.com>
28029
28030 [BZ #14610]
28031 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28032 for low part of x being zero before using __atanl (y).
28033 * math/libm-test.inc (atan2_test): Add another test.
28034
28035 * manual/install.texi (Configuring and compiling): Document
28036 general use of test-wrapper and test-wrapper-env.
28037 * INSTALL: Regenerated.
28038
28039 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28040 (__fma): Do not extract and scale down low bits on after-rounding
28041 systems when result rounded to normal precision would have normal
28042 exponent.
28043 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28044 (__fmal): Do not extract and scale down low bits on after-rounding
28045 systems when result rounded to normal precision would have normal
28046 exponent.
28047 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28048 (__fmal): Do not extract and scale down low bits on after-rounding
28049 systems when result rounded to normal precision would have normal
28050 exponent.
28051 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28052 macro.
28053 (fma_test): Add more tests.
28054 (fma_test_towardzero): Likewise.
28055 (fma_test_downward): Likewise.
28056 (fma_test_upward): Likewise.
28057
280582012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28059
28060 * sysdeps/i386/tininess.h: Renamed to ...
28061 * sysdeps/x86/tininess.h: This.
28062 * sysdeps/x86_64/tininess.h: Removed.
28063
280642012-10-30 Joseph Myers <joseph@codesourcery.com>
28065
28066 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28067 input. Use $(build-program-cmd).
28068 ($(objpfx)tst-array1-static.out): Likewise.
28069 ($(objpfx)tst-array2.out): Likewise.
28070 ($(objpfx)tst-array3.out): Likewise.
28071 ($(objpfx)tst-array4.out): Likewise.
28072 ($(objpfx)tst-array5.out): Likewise.
28073 ($(objpfx)tst-array5-static.out): Likewise.
28074
280752012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28076
28077 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28078 if defined.
28079
28080 * nss/nsswitch.h (nss_interface_function): Provide new
28081 macro for use with NSS functions.
28082 * grp/initgroups.c: Use new macro.
28083 * nss/getXXbyYY.c: Likewise.
28084 * nss/getXXbyYY_r.c: Likewise.
28085 * nss/getXXent.c: Likewise.
28086 * nss/getXXent_r.c: Likewise.
28087 * sysdeps/posix/getaddrinfo.c: Likewise.
28088
280892012-10-30 Andreas Jaeger <aj@suse.de>
28090
28091 * po/ru.po: Update Russion translation from translation project.
28092
280932012-10-30 Joseph Myers <joseph@codesourcery.com>
28094
28095 [BZ #14152]
28096 [BZ #14783]
28097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28098 result and shift together with sticky bit instead of replicating
28099 round-to-nearest rounding.
28100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28102 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28103 missing underflow exceptions.
28104 (fma_test_towardzero): Add more tests.
28105 (fma_test_downward): Likewise.
28106 (fma_test_upward): Likewise.
28107
28108 [BZ #14047]
28109 * sysdeps/generic/tininess.h: New file.
28110 * sysdeps/i386/tininess.h: Likewise.
28111 * sysdeps/sh/tininess.h: Likewise.
28112 * sysdeps/x86_64/tininess.h: Likewise.
28113 * stdlib/tst-strtod-underflow.c: Likewise.
28114 * stdlib/tst-tininess.c: Likewise.
28115 * stdlib/strtod_l.c: Include <tininess.h>.
28116 (round_and_return): Do not set errno for exact underflow cases.
28117 Force an underflow exception when setting errno for underflow.
28118 Determine underflow based on rounding to normal precision if
28119 TININESS_AFTER_ROUNDING.
28120 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28121 ERANGE for exact underflow cases.
28122 * stdlib/Makefile (tests): Add tst-tininess and
28123 tst-strtod-underflow.
28124 ($(objpfx)tst-tininess): Use $(link-libm).
28125 ($(objpfx)tst-strtod-underflow): Likewise.
28126
281272012-10-30 Andreas Jaeger <aj@suse.de>
28128
28129 [BZ#14767]
28130 * elf/Makefile (tests): Remove conditional for have-initfini-array
28131 since this is now always required and the variable does not exist
28132 anymore.
28133 (tests-static): Likewise.
28134 (modules-names): Likewise.
28135
28136 * po/eo.po: Add Esperanto translation from translation project.
28137
28138 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28139 merged with constructor/destructor.
28140 (init_array): Likewise.
28141 * elf/tst-array2dep.c (fini_array): Likewise.
28142 (init_array): Likewise.
28143
281442012-10-29 Mike Frysinger <vapier@gentoo.org>
28145
28146 * manual/message.texi: Delete @cartouche tags.
28147
281482012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28149
28150 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28151 EOPNOTSUPP.
28152 * sysdeps/mach/hurd/fsync.c: Likewise.
28153
28154 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28155 [_POSIX_REALTIME_SIGNALS]: Change condition to
28156 [_POSIX_REALTIME_SIGNALS > 0].
28157
281582012-10-27 Andreas Jaeger <aj@suse.de>
28159
28160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28161 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28163 [__WORDSIZE != 64]: Likewise.
28164
281652012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 * iconvdata/tst-table.sh: Remove ${SHELL}.
28168 * iconvdata/tst-tables.sh: Likewise.
28169
281702012-10-25 David S. Miller <davem@davemloft.net>
28171
28172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28173 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28174 of strtoull.
28175
28176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28177 ifunc-impl-list.c
28178 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28179 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28180 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28181 file.
28182
281832012-10-25 Roland McGrath <roland@hack.frob.com>
28184
28185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28186 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28187 __getdirentries.
28188
281892012-10-25 Joseph Myers <joseph@codesourcery.com>
28190 Jim Blandy <jimb@codesourcery.com>
28191
28192 * scripts/cross-test-ssh.sh: New file.
28193 * manual/install.texi (Configuring and compiling): Document use of
28194 cross-test-ssh.sh.
28195 * INSTALL: Regenerated.
28196
281972012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28198
28199 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28200 EOPNOTSUPP.
28201
282022012-10-25 Joseph Myers <joseph@codesourcery.com>
28203
28204 * Makeconfig (run-program-prefix): Fix comment.
28205
282062012-10-24 Joseph Myers <joseph@codesourcery.com>
28207 Jim Blandy <jimb@codesourcery.com>
28208
28209 * Makeconfig (test-wrapper): New variable,
28210 (test-wrapper-env): Likewise.
28211 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28212 (run-built-tests): Define to yes.
28213 (run-program-prefix): Use $(test-wrapper).
28214 (built-program-cmd): Likewise.
28215 * Rules (make-test-out): Use $(test-wrapper-env) and
28216 $(host-built-program-cmd).
28217 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28218 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28219 tst-pathopt.sh.
28220 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28221 $(test-wrapper-env) to tst-rtld-load-self.sh.
28222 ($(objpfx)order2.out): Use $(test-wrapper).
28223 ($(objpfx)tst-initorder.out): Likewise.
28224 ($(objpfx)tst-initorder2.out): Likewise.
28225 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28226 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28227 (test_wrapper_env): New variable. Use it to run ld.so.
28228 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28229 Use it to run ld.so.
28230 (test_wrapper_env): Likewise.
28231 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28232 $(test-wrapper) to run-iconv-test.sh.
28233 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28234 (ICONV): Use $test_wrapper.
28235 * posix/Makefile ($(objpfx)globtest.out): Pass
28236 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28237 globtest.sh, not $(run-program-prefix).
28238 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28239 (test_wrapper): Likewise.
28240 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28241 set together with run_via_rtld_prefix.
28242 (run_program_prefix): Define in terms of test_wrapper and
28243 run_via_rtld_prefix.
28244
282452012-10-24 Roland McGrath <roland@hack.frob.com>
28246
28247 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28248 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28249 Targets removed.
28250
28251 [BZ #14743]
28252 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28253 Declare __clock_getres, __clock_gettime, __clock_settime,
28254 __clock_nanosleep, and __clock_getcpuclockid.
28255 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28256 Remove librt_hidden_def (clock_gettime).
28257 * sysdeps/unix/clock_gettime.c: Likewise.
28258 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28260 * rt/clock_getres.c: Define __clock_getres as an alias.
28261 * sysdeps/posix/clock_getres.c: Likewise.
28262 * rt/clock_settime.c: Define __clock_settime as an alias.
28263 * sysdeps/unix/clock_settime.c: Likewise.
28264 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28265 * sysdeps/unix/clock_nanosleep.c: Likewise.
28266 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28267 * rt/clock-compat.c: New file.
28268 * rt/Makefile (librt-routines): Add clock-compat and move
28269 $(clock-routines) to ...
28270 (routines): ... here, new variable.
28271 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28272 Don't add get_clockfreq here.
28273 * rt/Versions (libc: GLIBC_2.17): New version set.
28274 Add clock_* symbols here.
28275 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28276 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28277 (GLIBC_2.17): Add clock_* symbols.
28278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28282 Likewise.
28283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28284 Likewise.
28285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28289 * NEWS: Mention the move.
28290
28291 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28292 Use __open, __read, __close rather than their public counterparts.
28293 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28294 (__get_clockfreq_via_cpuinfo): Likewise.
28295 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28296 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28297
28298 * config.h.in (HAVE_IFUNC): New #undef.
28299 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28300 was successful.
28301 * configure: Regenerated.
28302
283032012-10-24 Mike Frysinger <vapier@gentoo.org>
28304
28305 * configure.in: Move READELF check to start of file.
28306 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28307 libc_cv_asm_gnu_indirect_function in the process.
28308 * configure: Regenerated.
28309
283102012-10-24 Mike Frysinger <vapier@gentoo.org>
28311
28312 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28313 send the output to /dev/null.
28314 (libc_cv_cc_with_libunwind): Likewise.
28315 (libc_cv_as_noexecstack): Likewise.
28316 * configure: Regenerate.
28317
283182012-10-24 Joseph Myers <joseph@codesourcery.com>
28319
28320 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28321
28322 * posix/globtest.sh (TMPDIR): Do not set.
28323 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28324 (testout): Likewise.
28325
283262012-10-24 Andreas Jaeger <aj@suse.de>
28327
28328 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28329 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28330 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28331 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28332 posix_fadvise64, posix_fallocate64.
28333
28334 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28335 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28336 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28337 Likewise.
28338 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28339 Likewise.
28340 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28341
28342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28343 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28344 <bits/fcntl-linux.h>.
28345 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28346
28347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28348 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28349 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28350 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28351 [__WORDSIZE != 64]: Likewise.
28352
283532012-10-23 Joseph Myers <joseph@codesourcery.com>
28354
28355 * Makeconfig (run-built-tests): New variable.
28356 * Rules [$(cross-compiling) = yes]: Change condition to
28357 [$(run-built-tests) = no].
28358 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28359 to [$(run-built-tests) = yes].
28360 * elf/Makefile [$(cross-compiling) = no]: Likewise
28361 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28362 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28363 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28364 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28365 * io/Makefile [$(cross-compiling) = no]: Likewise.
28366 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28367 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28368 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28369 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28370 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28371 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28372 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28373 * string/Makefile [$(cross-compiling) = no]: Likewise.
28374
28375 * posix/Makefile ($(objpfx)globtest.out): Pass
28376 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28377 $(rtld-installed-name).
28378 * posix/globtest.sh (elf_objpfx): Remove variable.
28379 (rtld_installed_name): Likewise.
28380 (library_path): Likewise.
28381 (run_program_prefix): New variable. Use for running globtest
28382 binary.
28383
283842012-10-23 Jim Blandy <jimb@codesourcery.com>
28385 Joseph Myers <joseph@codesourcery.com>
28386
28387 * Makeconfig (host-built-program-cmd): New variable.
28388 * elf/Makefile (tst-stackguard1-ARGS): Use
28389 $(host-built-program-cmd).
28390 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28391 (tst-spawn-ARGS): Likewise.
28392 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28393
283942012-10-23 Joseph Myers <joseph@codesourcery.com>
28395 Jim Blandy <jimb@codesourcery.com>
28396
28397 * Makeconfig (run-via-rtld-prefix): New variable.
28398 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28399 (built-program-cmd): Likewise.
28400
284012012-10-22 Andreas Jaeger <aj@suse.de>
28402
28403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28404 __O_RSYNC if it exists, otherwise to O_SYNC.
28405
284062012-10-22 Jim Blandy <jimb@codesourcery.com>
28407 Joseph Myers <joseph@codesourcery.com>
28408
28409 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28410 /dev/null.
28411 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28412 from /dev/null
28413 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28414 /dev/null.
28415
284162012-10-22 Andreas Jaeger <aj@suse.de>
28417
28418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28419 Define always.
28420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28421
28422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28423 bits/fcntl-linux.h.
28424
28425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28426 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28427
28428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28429 to __O_LARGEFILE.
28430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28431 to __O_LARGEFILE.
28432
284332012-10-21 Jim Blandy <jimb@codesourcery.com>
28434 Joseph Myers <joseph@codesourcery.com>
28435
28436 * config.make.in (NM): New variable.
28437
284382012-10-21 Andreas Jaeger <aj@suse.de>
28439
28440 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28441 definitions and declarations that are provided by
28442 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28443
284442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28445
28446 [BZ #14683]
28447 * elf/Makefile (tests-static): Add tst-leaks1-static.
28448 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28449 ($(objpfx)tst-leaks1-static): New rule.
28450 ($(objpfx)tst-leaks1-static-mem): Likewise.
28451 (tst-leaks1-static-ENV): New macro.
28452 * elf/dl-open.c (dl_open_worker): Check the main application
28453 only if SHARED is defined.
28454 * elf/tst-leaks1-static.c: New file.
28455
284562012-10-20 Andreas Jaeger <aj@suse.de>
28457
28458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28459 generic values for Linux.
28460 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28461 and declarations that are provided by <bits/fcntl-linux.h> and
28462 include <bits/fcntl-linux.h>.
28463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28465
284662012-10-20 Roland McGrath <roland@hack.frob.com>
28467
28468 * io/fcntl.h: Move include of <bits/types.h> to the top and
28469 include it unconditionally.
28470
284712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28472
28473 * wcsmbs/Makefile (tests-ifunc): New variable.
28474 (tests): Add $(tests-ifunc).
28475 * wcsmbs/test-wcschr-ifunc.c: New file.
28476 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28477 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28478 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28479 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28480 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28481
28482 * string/Makefile (tests-ifunc): New variable.
28483 (tests): Add $(tests-ifunc).
28484 * string/test-memccpy.c (TEST_NAME): New macro.
28485 * string/test-memchr.c (TEST_NAME): Likewise.
28486 * string/test-memcmp.c (TEST_NAME): Likewise.
28487 * string/test-memcpy.c (TEST_NAME): Likewise.
28488 * string/test-memmem.c (TEST_NAME): Likewise.
28489 * string/test-memmove.c (TEST_NAME): Likewise.
28490 * string/test-memset.c (TEST_NAME): Likewise.
28491 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28492 * string/test-stpcpy.c (TEST_NAME): Likewise.
28493 * string/test-stpncpy.c (TEST_NAME): Likewise.
28494 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28495 * string/test-strcasestr.c (TEST_NAME): Likewise.
28496 * string/test-strcat.c (TEST_NAME): Likewise.
28497 * string/test-strchr.c (TEST_NAME): Likewise.
28498 * string/test-strcmp.c(TEST_NAME): Likewise.
28499 * string/test-strcpy.c (TEST_NAME): Likewise.
28500 * string/test-strcspn.c (TEST_NAME): Likewise.
28501 * string/test-strlen.c (TEST_NAME): Likewise.
28502 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28503 * string/test-strncmp.c (TEST_NAME): Likewise.
28504 * string/test-strncpy.c (TEST_NAME): Likewise.
28505 * string/test-strnlen.c (TEST_NAME): Likewise.
28506 * string/test-strpbrk.c (TEST_NAME): Likewise.
28507 * string/test-strrchr.c (TEST_NAME): Likewise.
28508 * string/test-strspn.c (TEST_NAME): Likewise.
28509 * string/test-strstr.c (TEST_NAME): Likewise.
28510 * string/test-bcopy-ifunc.c: New file.
28511 * string/test-bzero-ifunc.c: Likewise.
28512 * string/test-memccpy-ifunc.c: Likewise.
28513 * string/test-memchr-ifunc.c: Likewise.
28514 * string/test-memcmp-ifunc.c: Likewise.
28515 * string/test-memcpy-ifunc.c: Likewise.
28516 * string/test-memmem-ifunc.c: Likewise.
28517 * string/test-memmove-ifunc.c: Likewise.
28518 * string/test-mempcpy-ifunc.c: Likewise.
28519 * string/test-memset-ifunc.c: Likewise.
28520 * string/test-rawmemchr-ifunc.c: Likewise.
28521 * string/test-stpcpy-ifunc.c: Likewise.
28522 * string/test-stpncpy-ifunc.c: Likewise.
28523 * string/test-strcasecmp-ifunc.c: Likewise.
28524 * string/test-strcasestr-ifunc.c: Likewise.
28525 * string/test-strcat-ifunc.c: Likewise.
28526 * string/test-strchr-ifunc.c: Likewise.
28527 * string/test-strchrnul-ifunc.c: Likewise.
28528 * string/test-strcmp-ifunc.c: Likewise.
28529 * string/test-strcpy-ifunc.c: Likewise.
28530 * string/test-strcspn-ifunc.c: Likewise.
28531 * string/test-strlen-ifunc.c: Likewise.
28532 * string/test-strncasecmp-ifunc.c: Likewise.
28533 * string/test-strncat-ifunc.c: Likewise.
28534 * string/test-strncmp-ifunc.c: Likewise.
28535 * string/test-strncpy-ifunc.c: Likewise.
28536 * string/test-strnlen-ifunc.c: Likewise.
28537 * string/test-strpbrk-ifunc.c: Likewise.
28538 * string/test-strrchr-ifunc.c: Likewise.
28539 * string/test-strspn-ifunc.c: Likewise.
28540 * string/test-strstr-ifunc.c: Likewise.
28541
28542 * debug/Makefile (tests-ifunc): New variable.
28543 (tests): Add $(tests-ifunc).
28544 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28545 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28546 * debug/test-stpcpy_chk-ifunc.c: New file.
28547 * debug/test-strcpy_chk-ifunc.c: Likewise.
28548
285492012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28550
28551 [BZ #13601]
28552 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28553 header is not read in.
28554
285552012-10-19 Joseph Myers <joseph@codesourcery.com>
28556
28557 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28558 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28559 directly. Pass built executable to script as
28560 $(built-program-cmd).
28561 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28562 $testprogram without using LD_LIBRARY_PATH and $ldso.
28563
28564 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28565 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28566 $(rtld-installed-name).
28567 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28568 (rtld_installed_name): Likewise.
28569 (library_path): Likewise.
28570 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28571 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28572 $(run-program-prefix) to tst-tables.sh.
28573 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28574 it to run tst-table-from and tst-table-to.
28575 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28576 Pass it to tst-table.sh.
28577 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28578 $(run-program-prefix) to tst-gettext.sh.
28579 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28580 tst-translit.sh.
28581 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28582 tst-gettext2.sh.
28583 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28584 to run tst-gettext.
28585 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28586 to run tst-gettext2.
28587 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28588 to run tst-translit.
28589 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28590 $(run-program-prefix) to tst-mtrace.sh.
28591 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28592 to run tst-mtrace.
28593 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28594 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28595 $(rtld-installed-name).
28596 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28597 (rtld_installed_name): Likewise.
28598 (run_program_prefix): New variable. Use it to run wordexp-test.
28599
28600 * Makeconfig (ARCH): Remove all definitions.
28601 (machine): Likewise.
28602 [ARCH]: Remove conditional code.
28603 [!objdir]: Give error.
28604 [!objdir] (objpfx): Remove.
28605 [!objdir] (common-objpfx): Likewise.
28606 [!objdir] (common-objdir): Likewise.
28607 * configure.in (config_makefile): Remove. Hardcode Makefile in
28608 AC_CONFIG_FILES call.
28609 * configure: Regenerated.
28610
28611 [BZ #13888]
28612 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28613 or TMPDIR.
28614 (testout): Likewise.
28615
28616 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28617 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28618 $(rtld-installed-name).
28619 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28620 (rtld_installed_name): Likwise.
28621 (runit): Remove function.
28622 (run_getconf): New variable, Use it for running getconf binary.
28623
286242012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28625
28626 [BZ #14716]
28627 * string/test-memmem.c (check_result): New function.
28628 (do_one_test): Use it.
28629 (check1): New function.
28630 (test_main): Use it.
28631
286322012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28633
28634 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28635
286362012-10-18 Joseph Myers <joseph@codesourcery.com>
28637
28638 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28639 (_G_LSEEK64): Likewise.
28640 (_G_MMAP64): Likewise.
28641 (_G_FSTAT64): Likewise.
28642 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28643 (_G_LSEEK64): Likewise.
28644 (_G_MMAP64): Likewise.
28645 (_G_FSTAT64): Likewise.
28646 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28647 unconditional. Call __mmap64 directly.
28648 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28649 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28650 __lseek64 directly.
28651 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28652 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28653 __mmap64 directly.
28654 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28655 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28656 __lseek64 directly.
28657 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28658 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28659 __lseek64 directly.
28660 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28661 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28662 __lseek64 directly.
28663 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28664 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28665 __fxstat64 directly.
28666 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28667 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28668 unconditional.
28669 (freopen64) [!_G_OPEN64]: Remove conditional code.
28670 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28671 unconditional.
28672 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28673 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28674 unconditional.
28675 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28676 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28677 unconditional.
28678 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28679 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28680 unconditional.
28681 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28682 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28683 unconditional.
28684 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28685 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28686 unconditional.
28687 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28688 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28689 unconditional.
28690 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28691
286922012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28693
28694 [BZ #12140]
28695 * manual/memory.texi (Malloc Tunable Parameters): Add note
28696 about free list pointers overwriting some perturb bytes.
28697 Wording suggested by Roland McGrath.
28698
286992012-10-17 Joseph Myers <joseph@codesourcery.com>
28700
28701 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28702 (lgamma_test): Likewise.
28703 (tgamma_test): Likewise.
28704
287052012-10-16 Florian Weimer <fweimer@redhat.com>
28706
28707 [BZ #14700]
28708 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28709 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28710
287112012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28712
28713 * NEWS: Mention BZ #14716.
28714 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28715 when removing AVAILABLE1_USES_J macro.
28716
287172012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28718
28719 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28720 (__bswap_64): __uint64_t for unsigned 64-bit int.
28721
287222012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28723
28724 * include/string.h (memmem): Declare libc hidden alias.
28725 * string/memmem.c (memmem): Define libc hidden alias.
28726 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28727 __read, __close instead of open, read, close.
28728
287292012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28730
28731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28732 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28733 global and hidden.
28734 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28735 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28736 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28737 Likewise.
28738 (__rawmemchr_sse2): Likewise.
28739 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28740 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28741 (__strchr_sse2): Likewise.
28742 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28743 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28744 (__strcasecmp_sse2): Likewise.
28745 (__strncasecmp_sse2): Likewise.
28746 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28747 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28748 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28749 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28750 (__strrchr_sse2): Likewise.
28751 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28752 ifunc-impl-list.c.
28753 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28754 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28755 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28756 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28757 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28758 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28759 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28760 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28761 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28762 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28763 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28764 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28765 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28766 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28767 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28768 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28769 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28770 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28771 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28772 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28773 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28774 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28775 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28776 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28777 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28778 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28779 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28780 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28781 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28782 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28783
28784 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28785 global and hidden.
28786 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28787 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28788 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28789 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28790 Likewise.
28791 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28792 Likewise.
28793 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28794 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28795 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28796 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28797 ifunc-impl-list.c.
28798 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28799 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28800 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28801 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28802 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28803 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28804 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28805 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28806 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28807 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28808 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28809 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28810 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28811 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28812 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28814 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28815 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28816 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28817 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28819 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28820 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28821 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28822 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28823 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28824 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28825 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28826 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28827 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28828 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28829 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28830 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28831 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28838 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28839
28840 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28841 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28842 * include/ifunc-impl-list.h: New file.
28843 * misc/ifunc-impl-list.c: Likewise.
28844 * misc/Makefile (routines): Add ifunc-impl-list.
28845 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28846 * string/test-string.h: Include <ifunc-impl-list.h>.
28847 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28848 TEST_NAME]: New variables.
28849 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28850 are defined.
28851 (test_init): Call __libc_ifunc_impl_list to initialize
28852 func_list if TEST_IFUNC and TEST_NAME are defined.
28853
28854 * string/Makefile (strop-tests): Add bcopy and bzero.
28855 * string/test-bcopy.c: New file.
28856 * string/test-bzero.c: Likewise.
28857 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28858 defined.
28859 * string/test-memset.c: Support bzero test if TEST_BZERO is
28860 defined.
28861 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28862 __libc_memmove.
28863 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28864 __libc_memset.
28865 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28866 of memset.
28867
288682012-10-10 Joseph Myers <joseph@codesourcery.com>
28869
28870 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28871 * configure: Regenerated.
28872
28873 * Makeconfig (+link-static-before-libc): Don't include
28874 $(link-static-libc).
28875
28876 * libio/libio.h (_IO_pos_t): Remove.
28877
288782012-10-10 Alexandre Oliva <aoliva@redhat.com>
28879
28880 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28881 McGrath.
28882
288832012-10-10 Alexandre Oliva <aoliva@redhat.com>
28884
28885 * crypt/crypt-entry.c: Include fips-private.h.
28886 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28887 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28888 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28889 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28890
288912012-10-10 Alexandre Oliva <aoliva@redhat.com>
28892
28893 * crypt/crypt-private.h: Include stdbool.h.
28894 (_ufc_setup_salt_r): Return bool.
28895 * crypt/crypt-entry.c: Include errno.h.
28896 (__crypt_r): Return NULL with EINVAL for bad salt.
28897 * crypt/crypt_util.c (bad_for_salt): New.
28898 (_ufc_setup_salt_r): Check that salt is long enough and within
28899 the specified alphabet.
28900 * crypt/badsalttest.c: New file.
28901 * crypt/Makefile (tests): Add it.
28902 ($(objpfx)badsalttest): New.
28903
289042012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28905
28906 * NEWS: Add entry for BZ #14602.
28907
289082012-10-09 Joseph Myers <joseph@codesourcery.com>
28909
28910 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28911 type-generic.
28912 * math/libm-test.inc: Update comment listing what functions and
28913 macros are tested.
28914 (isgreater_test): New function.
28915 (isgreaterequal_test): Likewise.
28916 (isless_test): Likewise.
28917 (islessequal_test): Likewise.
28918 (islessgreater_test): Likewise.
28919 (isunordered_test): Likewise.
28920 (main): Call the new functions.
28921
289222012-10-09 Roland McGrath <roland@hack.frob.com>
28923
28924 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28925 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28926 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28927 * sysdeps/i386/configure: Regenerated.
28928 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28929 * sysdeps/mach/configure: Regenerated.
28930 * sysdeps/mach/hurd/configure: Regenerated.
28931 * sysdeps/powerpc/configure: Regenerated.
28932 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28933 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28934 * sysdeps/s390/s390-32/configure: Regenerated.
28935 * sysdeps/s390/s390-64/configure: Regenerated.
28936 * sysdeps/sh/configure: Regenerated.
28937 * sysdeps/sparc/configure: Regenerated.
28938 * sysdeps/unix/sysv/linux/configure: Regenerated.
28939 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28940 * sysdeps/x86_64/configure: Regenerated.
28941
28942 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28943 defined. Don't check if MAP is NULL.
28944
289452012-10-09 Joseph Myers <joseph@codesourcery.com>
28946
28947 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28948 (_G_stat64): Likewise.
28949 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28950 (_G_stat64): Likewise.
28951 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28952 instead of struct _G_stat64.
28953 * libio/fileops.c (mmap_remap_check): Likewise.
28954 (decide_maybe_mmap): Likewise.
28955 (_IO_new_file_seekoff): Likewise.
28956 (_IO_file_stat): Likewise.
28957 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28958 _G_off64_t.
28959 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28960 instead of struct _G_stat64.
28961 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28962
289632012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28964
28965 [BZ #14602]
28966 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28967 Replace with ...
28968 (CHECK_EOL): New macro.
28969 (two_way_short_needle): Check beginning of haystack for EOL. Use
28970 CHECK_EOL.
28971 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28972 Replace with CHECK_EOL.
28973 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28974 Replace with CHECK_EOL.
28975
289762012-10-08 Joseph Myers <joseph@codesourcery.com>
28977
28978 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28979 type-generic.
28980 * math/libm-test.inc: Update comment listing what functions and
28981 macros are tested.
28982 (finite_test): New function.
28983 (isinf_test): Likewise.
28984 (isnan_test): Likewise.
28985 (fpclassify_test): Test subnormal input.
28986 (isfinite_test): Likewise.
28987 (isnormal_test): Likewise.
28988 (main): Call the new functions.
28989
289902012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28991
28992 [BZ #14660]
28993 * Makerules (%.dynsym): Force C locale when running
28994 $(OBJDUMP) --dynamic-syms.
28995
289962012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28997
28998 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28999 <stdint.h>.
29000
290012012-10-06 David S. Miller <davem@davemloft.net>
29002
29003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29004 upper 32-bits of the length value in %o2 since we use branch-on-register
29005 tests which consider the entire 64-bit register.
29006
290072012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29008
29009 * string/test-strstr.c (check2): Add a test for page boundary.
29010
290112012-10-05 David S. Miller <davem@davemloft.net>
29012
29013 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29014 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29015 file.
29016 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29017 sysdep_routines.
29018 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29019 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29020 and bzero when HWCAP_SPARC_CRYPTO is present.
29021
290222012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29023
29024 [BZ #14602]
29025 * string/test-strstr.c (check2): New function.
29026 (test_main): Call check2.
29027
29028 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29029 and bug-strchr1.
29030 * string/bug-strcasestr1.c (do_test): Moved to ...
29031 * string/test-strcasestr.c (check1): Here. New function.
29032 (do_one_test): Break out result checking code into ...
29033 (check_result): This. New function.
29034 (do_one_test): Call check_result.
29035 (test_main): Call check1.
29036 * string/bug-strchr1.c (do_test): Moved to ...
29037 * string/test-strchr.c (check1): Here. New function.
29038 (do_one_test): Break out result checking code into ...
29039 (check_result): This. New function.
29040 (do_one_test): Call check_result.
29041 (test_main): Call check1.
29042 * string/bug-strstr1.c (main): Moved to ...
29043 * string/test-strstr.c (check1): Here. New function.
29044 (do_one_test): Break out result checking code into ...
29045 (check_result): This. New function.
29046 (do_one_test): Call check_result.
29047 (test_main): Call check1.
29048 * string/bug-strcasestr1.c: Removed.
29049 * string/bug-strchr1.c: Likewise.
29050 * string/bug-strstr1.c: Likewise.
29051
29052 * elf/Makefile (dl-routines): Add hwcaps.
29053 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29054 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29055 (_dl_important_hwcaps): Moved to ...
29056 * elf/dl-hwcaps.c: Here. New file.
29057 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29058
29059 [BZ #14557]
29060 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29061 if IS_IN_rtld isn't defined.
29062
29063 * elf/dl-support.c (_dl_sysinfo_map): New.
29064 Include "get-dynamic-info.h" and "setup-vdso.h".
29065 (_dl_non_dynamic_init): Call setup_vdso.
29066 * elf/dynamic-link.h: Don't include <assert.h>.
29067 (elf_get_dynamic_info): Moved to ...
29068 * elf/get-dynamic-info.h: Here. New file.
29069 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29070 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29071 * elf/setup-vdso.h: Here. New file.
29072 * elf/rtld.c: Include "setup-vdso.h".
29073 (dl_main): Call setup_vdso.
29074
290752012-10-05 Joseph Myers <joseph@codesourcery.com>
29076
29077 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29078 creal in comment listing functions tested. List finite, isinf,
29079 isnan, isless, islessequal, isgreater, isgreaterequal,
29080 islessgreater, isunordered, lgamma_r and pow10 as functions and
29081 macros not tested. Mention which functions not tested are aliases
29082 for other functions. Fix typo. Note that signs of NaNs are not
29083 tested.
29084
29085 * scripts/config.guess: Update from config.git.
29086 * scripts/config.sub: Likewise.
29087
290882012-10-04 Roland McGrath <roland@hack.frob.com>
29089
29090 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29091 * misc/madvise.c (madvise): Renamed to __madvise.
29092 Make madvise a weak alias.
29093 * include/sys/mman.h: Declare __madvise.
29094 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29095 * sysdeps/unix/syscalls.list
29096 (madvise): Make __madvise the strong name, and madvise a weak alias.
29097 * sysdeps/unix/sysv/linux/syscalls.list
29098 (madvise, mmap): Remove redundant entries.
29099 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29100 * malloc/malloc.c (mtrim): Likewise.
29101 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29102
291032012-10-03 Roland McGrath <roland@hack.frob.com>
29104
29105 * sysdeps/mach/hurd/dl-cache.c: File removed.
29106 * config.h.in (USE_LDCONFIG): New #undef.
29107 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29108 * configure: Regenerated.
29109 * elf/Makefile (dl-routines): Add dl-cache only under
29110 [$(use-ldconfig) = yes].
29111 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29112 cache on [USE_LDCONFIG].
29113 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29114 [USE_LDCONFIG].
29115 * elf/rtld.c (dl_main): Likewise.
29116
291172012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29118
29119 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29120 _SC_LEVEL4_CACHE_LINESIZE.
29121
291222012-10-03 Roland McGrath <roland@hack.frob.com>
29123
29124 * sysdeps/unix/bsd/confstr.h: File removed.
29125
291262012-10-02 Alexandre Oliva <aoliva@redhat.com>
29127
29128 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29129 sys/sdt-config.h.
29130
291312012-10-02 Roland McGrath <roland@hack.frob.com>
29132
29133 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29134 Make 'mapoff' field ElfW(Off) rather than off_t.
29135
291362012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29137
29138 * nscd/Makefile: Remove nscd-cflags and all its users.
29139 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29140 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29141
29142 [BZ #10631]
29143 * malloc.c (malloc_printerr): Clarify error message.
29144
291452012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29146
29147 [BZ #14648]
29148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29149 Set bit_FMA_Usable if FMA is supported.
29150 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29151 macro.
29152 (bit_FMA4_Usable): Updated.
29153 (index_FMA_Usable): New macro.
29154 (CPUID_FMA): Likewise
29155 (HAS_FMA): Defined with bit_FMA_Usable.
29156
291572012-10-01 Roland McGrath <roland@hack.frob.com>
29158
29159 * bits/types.h (__swblk_t): Type removed.
29160 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29161 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29163 (__SWBLK_T_TYPE): Likewise.
29164 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29165 (__SWBLK_T_TYPE): Likewise.
29166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29167 (__SWBLK_T_TYPE): Likewise.
29168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29169 (__SWBLK_T_TYPE): Likewise.
29170
291712012-10-01 Patsy Franklin <pfrankli@redhat.com>
29172 Honza Horak <hhorak@redhat.com>
29173
29174 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29175 (xdr_mapname): Use YPMAXMAP as maxsize.
29176 (xdr_peername): Use YPMAXPEER as maxsize.
29177 (xdr_keydat): Use YPAXRECORD as maxsize.
29178 (xdr_valdat): Use YPMAXRECORD as maxsize.
29179
291802012-10-01 Roland McGrath <roland@hack.frob.com>
29181
29182 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29183
29184 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29185 * csu/init-first.c: ... here.
29186 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29187 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29188 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29189 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29190 * sysdeps/i386/init-first.c: File removed.
29191 * sysdeps/sh/init-first.c: File removed.
29192
291932012-10-01 Joseph Myers <joseph@codesourcery.com>
29194
29195 [BZ #14645]
29196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29197 if x * y might underflow to zero and z is zero.
29198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29200 * math/libm-test.inc (min_subnorm_value): New variable.
29201 (fma_test): Add more tests.
29202 (fma_test_towardzero): Likewise.
29203 (fma_test_downward): Likewise
29204 (fma_test_upward): Likewise.
29205 (initialize): Set min_subnorm_value.
29206
292072012-09-29 Joseph Myers <joseph@codesourcery.com>
29208
29209 [BZ #14638]
29210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29211 0 + 0.
29212 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29213 mode for addition resulting in exact zero.
29214 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29216 exact 0 + 0.
29217 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29219 * math/libm-test.inc (fma_test): Add more tests.
29220 (fma_test_towardzero): New function.
29221 (fma_test_downward): Likewise.
29222 (fma_test_upward): Likewise.
29223 (main): Call the new functions.
29224
292252012-09-28 David S. Miller <davem@davemloft.net>
29226
29227 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29228
292292012-09-28 Roland McGrath <roland@hack.frob.com>
29230
29231 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29232 instead of SIGALRM.
29233
29234 * sysdeps/gnu/_G_config.h: Moved to ...
29235 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29236 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29237 * sysdeps/generic/_G_config.h: ... here.
29238
29239 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29240
29241 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29242
29243 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29244 Conditionalize target on [libnss_test1.so-version].
29245
29246 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29247
29248 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29249 (elfobjdir): Move out of conditionals.
29250
29251 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29252 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29253 (__nss_lookup_function): Conditionalize label remove_from_tree on
29254 [!DO_STATIC_NSS || SHARED], matching its only use.
29255
292562012-09-28 David S. Miller <davem@davemloft.net>
29257
29258 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29259 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29260 file.
29261 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29262 sysdep_routines.
29263 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29265 when HWCAP_SPARC_CRYPTO is present.
29266
292672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29268
29269 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29270
292712012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29272
29273 [BZ #6530]
29274 * stdio-common/vfprintf.c (process_string_arg): Revert
29275 2000-07-22 change.
29276
292772011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29278
29279 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29280 for testcase.
29281 * stdio-common/tst-sprintf.c: Include <locale.h>
29282 (main): Test sprintf's handling of incomplete multibyte
29283 characters.
29284
292852012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29286
29287 * elf/dl-runtime.c (VERSYMIDX): Removed.
29288 * elf/dl-version.c (VERSYMIDX): Likewise.
29289 * elf/do-rel.h (VERSYMIDX): Likewise.
29290 (VALIDX): Likewise.
29291 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29292 * elf/rtld.c (VALIDX): Likewise.
29293 (ADDRIDX): Likewise.
29294 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29295 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29296 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29297 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29298 (VALIDX): Likewise.
29299 (ADDRIDX): Likewise.
29300
293012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29302
29303 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29304
293052012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29306
29307 [BZ #11438]
29308 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29309 to global scope.
29310 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29311 addresses are in the same scope as 192.0.2/24.
29312 * posix/gai.conf: Document new scope table defaults.
29313
293142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29315
29316 [BZ #5298]
29317 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29318 for ftell. Compute offsets from write pointers instead.
29319 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29320
293212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29322
29323 [BZ #14543]
29324 * libio/Makefile (tests): New test case tst-fseek.
29325 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29326 combination works in wide mode.
29327 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29328 state when the external buffer state changes.
29329
293302012-09-27 David S. Miller <davem@davemloft.net>
29331
29332 [BZ #14376]
29333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29334 pass reloc->r_addend in as the 'high' argument to
29335 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29336
29337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29338
293392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29340
29341 * rt/tst-aio2.c: Include <pthread.h>.
29342 * rt/tst-aio3.c: Likewise.
29343
293442012-09-27 Steve Ellcey <sellcey@mips.com>
29345
29346 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29347
293482012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29349
29350 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29351 contents on [SHARED].
29352
293532012-09-26 Marek Polacek <polacek@redhat.com>
29354
29355 [BZ #14530]
29356 [BZ #13741]
29357 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29358 for C++ and GCC <4.3 as well as for non GCC compilers.
29359
293602012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29361
29362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29363
293642012-09-25 Roland McGrath <roland@hack.frob.com>
29365
29366 * Makefile.in (all, install): Declare with .PHONY.
29367 Reported by Michael Hope <michael.hope@linaro.org>.
29368
293692012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29370
29371 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29372 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29373 system header.
29374 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29375 Likewise.
29376 (sydep_routines): Add the new and the internal functions.
29377 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29378 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29380 (GLIBC_2.17): Add the new function.
29381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29382 (GLIBC_2.17): Likewise.
29383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29384 (GLIBC_2.17): Likewise.
29385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29386 (GLIBC_2.17): Likewise.
29387 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29388
293892012-09-25 Alan Modra <amodra@gmail.com>
29390
29391 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29392 Add release barrier before setting once_control to say
29393 initialisation is done. Add hints on lwarx. Use macro in
29394 place of isync.
29395 (clear_once_control): Add release barrier.
29396
293972012-09-25 Joseph Myers <joseph@codesourcery.com>
29398
29399 [BZ #13629]
29400 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29401 specially.
29402 * math/s_clog10.c (__clog10): Likewise.
29403 * math/s_clog10f.c (__clog10f): Likewise.
29404 * math/s_clog10l.c (__clog10l): Likewise.
29405 * math/s_clogf.c (__clogf): Likewise.
29406 * math/s_clogl.c (__clogl): Likewise.
29407 * math/Makefile (libm-calls): Add x2y2m1.
29408 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29409 (__x2y2m1): Likewise.
29410 (__x2y2m1l): Likewise.
29411 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29412 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29413 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29414 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29415 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29416 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29417 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29418 * sysdeps/i386/fpu/libm-test-ulps: Update.
29419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29420
29421 [BZ #14621]
29422 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29423 int as type of variable DEPTH.
29424 (glob): Use size_t instead of int as type of variables NEWCOUNT
29425 and OLD_PATHC.
29426
294272012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29428
29429 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29430 Add s_sincosf-sse2.
29431 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29432 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29433 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29434 macros for using routine as __sincosf_ia32.
29435 Use macro for function declaration and weak_alias.
29436 * sysdeps/i386/fpu/libm-test-ulps: Update.
29437
29438 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29440
29441 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29442 subnormal argument.
29443 * math/s_cexpf.c (__cexpf): Likewise.
29444 * math/s_csinf.c (__csinf): Likewise.
29445 * math/s_csinhf.c (__csinhf): Likewise.
29446 * math/s_ctanf.c (__ctanf): Likewise.
29447 * math/s_ctanhf.c (__ctanhf): Likewise.
29448 * math/s_ccosh.c (__ccoshf): Likewise.
29449 * math/s_cexp.c (__cexpl): Likewise.
29450 * math/s_csin.c (__csin): Likewise.
29451 * math/s_csinh.c (__csinh): Likewise.
29452 * math/s_ctan.c (__ctan): Likewise.
29453 * math/s_ctanh.c (ctanh): Likewise.
29454 * math/s_ccoshl.c (__ccoshl): Likewise.
29455 * math/s_cexpl.c (__cexpl): Likewise.
29456 * math/s_csinl.c (__csinl): Likewise.
29457 * math/s_csinhl.c (__csinhl): Likewise.
29458 * math/s_ctanl.c (__ctanl): Likewise.
29459 * math/s_ctanhl.c (__ctanhl): Likewise.
29460
294612012-09-25 Joseph Myers <joseph@codesourcery.com>
29462
29463 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29464 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29465 (_IO_off_t): Define to __off_t, not _G_off_t.
29466 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29467 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29468 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29469 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29470 type of __dummy and __dummy2 fields.
29471 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29472 (_G_ssize_t): Likewise.
29473 (_G_off_t): Likewise.
29474 (_G_pid_t): Likewise.
29475 (_G_uid_t): Likewise.
29476 (_G_wchar_t): Likewise.
29477 (_G_wint_t): Likewise.
29478 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29479 (_G_ssize_t): Likewise.
29480 (_G_off_t): Likewise.
29481 (_G_pid_t): Likewise.
29482 (_G_uid_t): Likewise.
29483 (_G_wchar_t): Likewise.
29484 (_G_wint_t): Likewise.
29485 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29486 (_G_ssize_t): Likewise.
29487 (_G_off_t): Likewise.
29488 (_G_pid_t): Likewise.
29489 (_G_uid_t): Likewise.
29490 (_G_wchar_t): Likewise.
29491 (_G_wint_t): Likewise.
29492
294932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29494
29495 * malloc/arena.c: Include malloc-sysdep.h.
29496 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29497 is sufficient to shrink the heap or an unmap is needed.
29498 * sysdeps/generic/malloc-sysdep.h: New file. Define
29499 new function check_may_shrink_heap.
29500 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29501 new function check_may_shrink_heap.
29502
295032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29504
29505 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29506 comments.
29507
295082012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29509
29510 * catgets/test-gencat.sh: Add "set -e".
29511 * elf/tst-pathopt.sh: Likewise.
29512 * grp/tst_fgetgrent.sh: Likewise.
29513 * iconvdata/run-iconv-test.sh: Likewise.
29514 * intl/tst-gettext.sh: Likewise.
29515 * intl/tst-gettext2.sh: Likewise.
29516 * intl/tst-gettext4.sh: Likewise.
29517 * intl/tst-gettext6.sh: Likewise.
29518 * intl/tst-translit.sh: Likewise.
29519 * io/ftwtest-sh: Likewise.
29520 * libio/test-freopen.sh: Likewise.
29521 * malloc/tst-mtrace.sh: Likewise.
29522 * posix/globtest.sh: Likewise.
29523 * posix/tst-getconf.sh: Likewise.
29524 * posix/wordexp-tst.sh: Likewise.
29525 * stdio-common/tst-printf.sh: Likewise.
29526 * stdio-common/tst-unbputc.sh: Likewise.
29527 * stdlib/tst-fmtmsg.sh: Likewise.
29528 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29529 * catgets/Makefile: Do not specify -e option when running
29530 testsuite shell scripts.
29531 * elf/Makefile: Likewise.
29532 * grp/Makefile: Likewise.
29533 * iconvdata/Makefile: Likewise.
29534 * intl/Makefile: Likewise.
29535 * io/Makefile: Likewise.
29536 * libio/Makefile: Likewise.
29537 * malloc/Makefile: Likewise.
29538 * posix/Makefile: Likewise.
29539 * stdio-common/Makefile: Likewise.
29540 * stdlib/Makefile: Likewise.
29541 * sysdeps/x86_64/Makefile: Likewise.
29542
29543 * io/ftwtest-sh: Add copyright header.
29544 * posix/globtest.sh: Likewise.
29545 * posix/tst-getconf.sh: Likewise.
29546 * posix/wordexp-tst.sh: Likewise.
29547 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29548
295492012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29550
29551 [BZ #13679]
29552 * Makeconfig (+link): Defined as $(+link-static) if
29553 $(build-shared) isn't yes.
29554 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29555 isn't yes.
29556 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29557
29558 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29559
29560 [BZ #14562]
29561 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29562 new chunk size with MALLOC_ALIGN_MASK.
29563
295642012-09-24 Joseph Myers <joseph@codesourcery.com>
29565
29566 [BZ #5044]
29567 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29568 <rounding-mode.h>.
29569 (__printf_fphex): Determine rounding using get_rounding_mode and
29570 round_away.
29571 * stdio-common/tst-printf-round.c (struct hex_test): New
29572 structure.
29573 (hex_tests): New variable.
29574 (test_hex_in_one_mode): New function.
29575 (do_test): Also run tests for hex float output.
29576
295772012-09-21 Joseph Myers <joseph@codesourcery.com>
29578
29579 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29580 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29581 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29582 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29583 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29584 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29585 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29586 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29587
295882012-09-20 Joseph Myers <joseph@codesourcery.com>
29589
29590 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29591 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29592 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29593 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29594
295952012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29596
29597 [BZ #14579]
29598 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29599 mode only.
29600 * elf/tst-rtld-load-self.sh: New test.
29601 * elf/Makefile: Run it.
29602
296032012-09-18 Joseph Myers <joseph@codesourcery.com>
29604
29605 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29606 (tst-writev-ENV): Remove.
29607 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29608
296092012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29610
29611 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29612
296132012-09-17 Joseph Myers <joseph@codesourcery.com>
29614
29615 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29616 unconditional.
29617 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29618 Likewise.
29619 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29620 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29621 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29622 Likewise.
29623
296242012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29625
29626 [BZ #14587]
29627 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29628 * config.make.in (have-cpp-asm-debuginfo): Removed.
29629 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29630 * configure: Regenerated.
29631
296322012-09-14 Joseph Myers <joseph@codesourcery.com>
29633
29634 [BZ #5044]
29635 * stdio-common/printf_fp.c: Include <stdbool.h> and
29636 <rounding-mode.h>.
29637 (___printf_fp): Determine rounding using get_rounding_mode and
29638 round_away.
29639 * stdio-common/tst-printf-round.c: New file.
29640 * stdio-common/Makefile (tests): Add tst-printf-round.
29641 (link-libm): New variable.
29642 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29643
296442012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29645
29646 [BZ #14576]
29647 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29648 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29649 Likewise.
29650 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29651 Likewise.
29652
296532012-09-13 Joseph Myers <joseph@codesourcery.com>
29654
29655 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29656 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29657 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29658 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29659
296602012-09-12 Joseph Myers <joseph@codesourcery.com>
29661
29662 [BZ #14518]
29663 * include/rounding-mode.h: New file.
29664 * sysdeps/generic/get-rounding-mode.h: Likewise.
29665 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29666 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29667 (MAX_VALUE): New macro.
29668 (MIN_VALUE): Likewise.
29669 (overflow_value): New function.
29670 (underflow_value): Likewise.
29671 (round_and_return): Use overflow_value and underflow_value to
29672 determine return values in overflow and underflow cases. Use
29673 round_away to determine rounding depending on rounding mode.
29674 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29675 determine return values in overflow and underflow cases.
29676 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29677 (struct test_results): New structure.
29678 (struct test): Use struct test_results to store expected results
29679 for all rounding modes.
29680 (TEST): Include expected results for all rounding modes.
29681 (test_in_one_mode): New function.
29682 (do_test): Use test_in_one_mode to compute and check results.
29683 Check results for all rounding modes.
29684 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29685 $(link-libm).
29686
296872012-12-09 Allan McRae <allan@archlinux.org>
29688
29689 * sysdeps/i386/fpu/libm-test-ulps: Update
29690
296912012-09-11 Joseph Myers <joseph@codesourcery.com>
29692
29693 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29694 (_G_int32_t): Likewise.
29695 (_G_uint16_t): Likewise.
29696 (_G_uint32_t): Likewise.
29697 (_G_HAVE_BOOL): Likewise.
29698 (_G_HAVE_ATEXIT): Likewise.
29699 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29700 (_G_HAVE_IO_FILE_OPEN): Likewise.
29701 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29702 (_G_int32_t): Likewise.
29703 (_G_uint16_t): Likewise.
29704 (_G_uint32_t): Likewise.
29705 (_G_HAVE_BOOL): Likewise.
29706 (_G_HAVE_ATEXIT): Likewise.
29707 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29708 (_G_HAVE_IO_FILE_OPEN): Likewise.
29709 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29710 (_G_int32_t): Likewise.
29711 (_G_uint16_t): Likewise.
29712 (_G_uint32_t): Likewise.
29713 (_G_HAVE_BOOL): Likewise.
29714 (_G_HAVE_ATEXIT): Likewise.
29715 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29716 (_G_HAVE_IO_FILE_OPEN): Likewise.
29717
297182012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29719
29720 * csu/libc-tls.c: Update copyright years.
29721
297222012-09-10 Joseph Myers <joseph@codesourcery.com>
29723
29724 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29725 [!_G_USING_THUNKS]: Remove conditional code.
29726 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29727 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29728
29729 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29730 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29731 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29732 (_G_VTABLE_LABEL_PREFIX): Likewise.
29733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29734 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29735 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29736 (_G_VTABLE_LABEL_PREFIX): Likewise.
29737 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29738 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29739 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29740 (_G_VTABLE_LABEL_PREFIX): Likewise.
29741 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29742
297432012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29744
29745 * libio/Makefile: Include ../Makeconfig before tests.
29746 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29747 only if $(build-shared) is yes.
29748
29749 * iconv/gconv_db.c: Update copyright years.
29750
297512012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29752
29753 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29754 unwind info if defined PIC. Fix special cases description.
29755 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29756
29757 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29758 DP_HI_MASK entry.
29759 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29760
297612012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29762
29763 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29764
29765 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29766 is NULL.
29767
29768 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29769 (LDLIBS-tst-chk4): This.
29770 (LDFLAGS-tst-chk5): Renamed to ...
29771 (LDLIBS-tst-chk5): This.
29772 (LDFLAGS-tst-chk6): Renamed to ...
29773 (LDLIBS-tst-chk6): This.
29774 (LDFLAGS-tst-lfschk4): Renamed to ...
29775 (LDLIBS-tst-lfschk4): This.
29776 (LDFLAGS-tst-lfschk5): Renamed to ...
29777 (LDLIBS-tst-lfschk5): This.
29778 (LDFLAGS-tst-lfschk6): Renamed to ...
29779 (LDLIBS-tst-lfschk6): This.
29780
29781 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29782 on $(common-objpfx)soversions.mk.
29783
297842012-09-07 Joseph Myers <joseph@codesourcery.com>
29785
29786 [BZ #10014]
29787 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29788 example host name.
29789
297902012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29791
29792 * malloc/arena.c (arena_get_retry): New function that gets
29793 another arena for the caller to try its request on.
29794 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29795 current arena cannot fulfill the request.
29796 (__libc_memalign): Likewise.
29797 (__libc_memalign): Likewise.
29798 (__libc_pvalloc): Likewise.
29799 (__libc_calloc): Likewise.
29800
298012012-09-05 John Tobey <john.tobey@gmail.com>
29802
29803 [BZ #13542]
29804 * manual/arith.texi (Operations on Complex): Fix description
29805 of carg branch cut.
29806
298072012-09-06 Joseph Myers <joseph@codesourcery.com>
29808
29809 [BZ #10014]
29810 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29811 host name.
29812
29813 [BZ #10038]
29814 * manual/memory.texi (Memory): Make order of menu items match
29815 order of sections.
29816
298172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29818
29819 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29820 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29821 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29822
298232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29824
29825 * csu/libc-tls.c (static_dtv): Renamed to ...
29826 (_dl_static_dtv): This. Make it global.
29827 (_dl_initial_dtv): Removed.
29828 (__libc_setup_tls): Updated.
29829 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29830 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29831 DL_INITIAL_DTV.
29832
298332012-09-06 Petr Machata <pmachata@redhat.com>
29834
29835 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29836 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29837 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29838 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29839
298402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29841
29842 [BZ #14545]
29843 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29844 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29845 freeing dtv[-1].
29846
298472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29848
29849 [BZ #14544]
29850 * Makeconfig (link-static-before-libc): Replace $(+prector)
29851 with $(+prectorT).
29852 (link-static-after-libc): Replace $(+postctor) with
29853 $(+postctorT).
29854 (link-bounded): Replace $(+prector)/$(+postctor) with
29855 $(+prectorT)/$(+postctorT).
29856 (+prectorT): New macro.
29857 (+postctorT): Likewise.
29858
298592012-09-06 Joseph Myers <joseph@codesourcery.com>
29860
29861 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29862 (round_str): Handle values above the maximum for IBM long double
29863 as inexact.
29864 * stdlib/tst-strtod-round.c (tests): Regenerated.
29865
298662012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29867
29868 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29869 assembler flag.
29870 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29871 zarch_nohighgprs around the zarch optimized routines.
29872 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29873 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29874 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29875 for zarch.
29876
298772012-09-05 David S. Miller <davem@davemloft.net>
29878
29879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29880
29881 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29882 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29883 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29884 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29885 entries.
29886
298872012-09-05 Alexandre Oliva <aoliva@redhat.com>
29888
29889 * malloc/arena.c: Fold copyright years.
29890 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29891
298922012-09-05 Alexandre Oliva <aoliva@redhat.com>
29893
29894 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29895
298962012-09-05 Alexandre Oliva <aoliva@redhat.com>
29897
29898 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29899
299002012-09-05 Alexandre Oliva <aoliva@redhat.com>
29901
29902 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29903 change internal state upon failure.
29904
299052012-09-05 Alexandre Oliva <aoliva@redhat.com>
29906
29907 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29908 * malloc/memusage.c (mmap): Likewise.
29909 (mmap64, mremap): Likewise. Adjust name in comment.
29910
299112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29912
29913 * libio/fileops.c: Fix typos in comments.
29914 * libio/oldfileops.c: Likewise.
29915 * libio/wfileops.c: Likewise.
29916
299172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29918
29919 [BZ #1349]
29920 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29921 (tst-malloc-usable-ENV): Set environment for test case.
29922 * malloc/hooks.c (malloc_check_get_size): New function to get
29923 requested size.
29924 * malloc/malloc.c (musable): Use malloc_check_get_size.
29925 * malloc/tst-malloc-usable.c: New test case.
29926
299272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29928
29929 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29930
299312012-09-05 Allan McRae <allan@archlinux.org>
29932
29933 [BZ #13966]
29934 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29935 determine header location.
29936 * configure: Regenerated.
29937
299382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29939
29940 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29941 float format.
29942 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29943 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29944 format.
29945 (test): Regenerate.
29946
299472012-09-04 David S. Miller <davem@davemloft.net>
29948
29949 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29950 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29952
299532012-09-04 Florian Weimer <fweimer@redhat.com>
29954
29955 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29956 failures.
29957
29958 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29959
299602012-09-04 Joseph Myers <joseph@codesourcery.com>
29961
29962 [BZ #9914]
29963 * libio/iogetdelim.c: Include <limits.h>.
29964 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29965 + len + 1 would overflow.
29966
299672012-09-03 Andreas Jaeger <aj@suse.de>
29968
29969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29970 * sysdeps/i386/fpu/libm-test-ulps: Update.
29971
299722012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29973
29974 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29975 Add s_sinf-sse2, s_conf-sse2.
29976
29977 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29978 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29979 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29980 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29981
29982 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29983 for using routine as __sinf_ia32.
29984 Use macro for function declaration and weak_alias.
29985 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29986 for using routine as __cosf_ia32.
29987 Use macro for function declaration and weak_alias.
29988
29989 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29990 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29991
29992 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29993 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29995
29996 * math/libm-test.inc (cos_test): Add more test cases.
29997 (sin_test): Likewise.
29998 (sincos_test): Likewise.
29999
300002012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30001
30002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30003 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30004 hidden.
30005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30006
300072012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30008
30009 [BZ #14538]
30010 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30011 first element of the GOT.
30012 (elf_machine_load_address): Return the difference between
30013 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30014
300152012-09-01 Allan McRae <allan@archlinux.org>
30016
30017 [BZ #13412]
30018 * configure.in (AWK): Require gawk version 3.0 or later.
30019 * configure: Regenerated.
30020
300212012-09-01 Joseph Myers <joseph@codesourcery.com>
30022
30023 * sysdeps/unix/sysv/linux/kernel-features.h
30024 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30026 [__NR_clock_getres]: Make code unconditional.
30027 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30028 (clock_getcpuclockid): Remove code left unreachable by removal of
30029 conditionals.
30030 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30031 code unconditional.
30032 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30033 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30034 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30035 Make code unconditional.
30036 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30037 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30038 * sysdeps/unix/sysv/linux/clock_settime.c
30039 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30040 conditional code.
30041 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30042 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30043
300442012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30045
30046 [BZ #14476]
30047 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30048 scripts/test-installation.pl.
30049
30050 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30051 and $ld_so_version if it is set.
30052
300532012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30054
30055 [BZ #14516]
30056 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30057 failure if reading from procfs failed.
30058 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30059
300602012-08-27 Joseph Myers <joseph@codesourcery.com>
30061
30062 * sysdeps/unix/sysv/linux/kernel-features.h
30063 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30064 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30065 Remove conditional code.
30066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30067 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30068 Remove conditional code.
30069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30070 * sysdeps/unix/sysv/linux/i386/fxstat.c
30071 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30073 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30074 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30076 * sysdeps/unix/sysv/linux/i386/lxstat.c
30077 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30079 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30080 Remove conditional code.
30081 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30082 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30083 Remove conditional code.
30084 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30085 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30086 <kernel-features.h>.
30087 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30088 Remove.
30089 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30090 Remove conditional code.
30091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30092 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30093 Remove conditional.
30094
300952012-08-27 Mike Frysinger <vapier@gentoo.org>
30096
30097 [BZ #5400]
30098 * NEWS: Add fixed bug number.
30099
301002012-08-27 Joseph Myers <joseph@codesourcery.com>
30101
30102 [BZ #14519]
30103 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30104 underflowing exponent in case of negative sign.
30105 * stdlib/tst-strtod-round-data: Add more tests.
30106 * stdlib/tst-strtod-round.c (tests): Regenerated.
30107
30108 [BZ #3479]
30109 * stdlib/strtod_l.c (NDIG): Remove.
30110 (HEXNDIG): Likewise.
30111 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30112 smallest representable value.
30113 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30114 lie within an exact representation of 1/2 ulp of the result.
30115 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30116 unconditionally.
30117 (TENS_P9_IDX): Define unconditionally.
30118 (TENS_P9_SIZE): Likewise.
30119 (TENS_P10_IDX): Likewise.
30120 (TENS_P10_SIZE): Likewise.
30121 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30122 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30123 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30124 entries for 10^2^13 and 10^2^14.
30125 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30126 (TENS_P13_IDX): Define.
30127 (TENS_P13_SIZE): Likewise.
30128 (TENS_P14_IDX): Likewise.
30129 (TENS_P14_SIZE): Likewise.
30130 (_fpioconst_pow10): Change array size to
30131 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30132 unconditional.
30133 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30134 1024]: Add entries for 10^2^13 and 10^2^14.
30135 [LAST_POW10 > _LAST_POW10]: Remove #error.
30136 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30137 (_fpioconst_pow10): Change array size to
30138 FPIOCONST_POW10_ARRAY_SIZE.
30139 * stdlib/gen-fpioconst.c: New file.
30140 * stdlib/gen-tst-strtod-round.c: Likewise.
30141 * stdlib/tst-strtod-round-data: Likewise.
30142 * stdlib/tst-strtod-round.c: Likewise.
30143 * stdlib/Makefile (tests): Add tst-strtod-round.
30144
30145 [BZ #14459]
30146 * stdlib/strtod_l.c: Include <stdint.h>.
30147 (NDEBUG): Do not define.
30148 (round_and_return): Change EXPONENT parameter to type intmax_t.
30149 Rearrange calculations to avoid internal overflow possibilities.
30150 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30151 Rearrange calculations to avoid internal overflow possibilities.
30152 Assert that number fits inside MPNSIZE limbs.
30153 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30154 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30155 calculations and add assertions to avoid internal overflow
30156 possibilities. Add casts to avoid signed/unsigned operations.
30157 * stdlib/tst-strtod-overflow.c: New file.
30158 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30159
301602012-08-25 Marek Polacek <polacek@redhat.com>
30161
30162 * time/time.h: Fix some typos in comments.
30163
301642012-08-23 Roland McGrath <roland@hack.frob.com>
30165
30166 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30167 * posix/tst-rfc3484-2.c: Likewise.
30168 * posix/tst-rfc3484-3.c: Likewise.
30169
301702012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30171
30172 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30173 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30174
301752012-08-23 Joseph Myers <joseph@codesourcery.com>
30176
30177 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30178 #include of fxstatat64.c.
30179
301802012-08-22 Roland McGrath <roland@hack.frob.com>
30181
30182 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30183 * shadow/getspent_r.c: Likewise.
30184 * shadow/getspnam.c: Likewise.
30185 * shadow/getspnam_r.c: Likewise.
30186 * gshadow/getsgent.c: Likewise.
30187 * gshadow/getsgent_r.c: Likewise.
30188 * gshadow/getsgnam.c: Likewise.
30189 * gshadow/getsgnam_r.c: Likewise.
30190 * inet/getnetbyad.c: Likewise.
30191 * inet/getnetbyad_r.c: Likewise.
30192 * inet/getnetbynm.c: Likewise.
30193 * inet/getnetbynm_r.c: Likewise.
30194 * inet/getnetent.c: Likewise.
30195 * inet/getnetent_r.c: Likewise.
30196 * inet/getproto.c: Likewise.
30197 * inet/getproto_r.c: Likewise.
30198 * inet/getprtent.c: Likewise.
30199 * inet/getprtent_r.c: Likewise.
30200 * inet/getprtname.c: Likewise.
30201 * inet/getprtname_r.c: Likewise.
30202 * inet/getrpcbyname.c: Likewise.
30203 * inet/getrpcbyname_r.c: Likewise.
30204 * inet/getrpcbynumber.c: Likewise.
30205 * inet/getrpcbynumber_r.c: Likewise.
30206 * inet/getrpcent.c: Likewise.
30207 * inet/getrpcent_r.c: Likewise.
30208 * inet/getaliasent.c: Likewise.
30209 * inet/getaliasent_r.c: Likewise.
30210 * inet/getaliasname.c: Likewise.
30211 * inet/getaliasname_r.c: Likewise.
30212 * nscd/getgrgid_r.c: Likewise.
30213 * nscd/getgrnam_r.c: Likewise.
30214 * nscd/gethstbyad_r.c: Likewise.
30215 * nscd/gethstbynm3_r.c: Likewise.
30216 * nscd/getpwnam_r.c: Likewise.
30217 * nscd/getpwuid_r.c: Likewise.
30218 * nscd/getsrvbynm_r.c: Likewise.
30219 * nscd/getsrvbypt_r.c: Likewise.
30220 * nscd/gai.c: Likewise.
30221
30222 * configure.in (build_nscd): New substituted variable, set
30223 by --disable-build-nscd and defaults to $use_nscd.
30224 * configure: Regenerated.
30225 * config.make.in (build-nscd): New substituted variable.
30226 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30227 Change conditional to require [$(build-nscd) = yes] as well.
30228 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30229
30230 [BZ# 13696]
30231 * configure.in (use_nscd): New substituted variable, set by
30232 --disable-nscd. If enabled, define USE_NSCD.
30233 * configure: Regenerated.
30234 * config.h.in: Add USE_NSCD.
30235 * config.make.in (use-nscd): New substituted variable.
30236 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30237 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30238 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30239 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30240 (CFLAGS-getgrnam_r.c): Likewise.
30241 (CFLAGS-initgroups.c): Likewise.
30242 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30243 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30244 Variables removed.
30245 * inet/getnetgrent_r.c
30246 (nscd_setnetgrent): New function, broken out of ...
30247 (setnetgrent): ... here. Call it.
30248 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30249 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30250 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30251 * nscd/Makefile (routines, aux): Move definitions after include of
30252 Makeconfig. Conditionalize on [$(use-nscd) != no].
30253 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30254 Conditionalize on [USE_NSCD].
30255 (is_nscd, nscd_init_cb): Likewise.
30256 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30257 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30258 * nss/nss_db/db-init.c: Likewise.
30259 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30260 [USE_NSCD].
30261 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30262 (make_request): Use it.
30263 (cache_valid_p): New function.
30264 (__check_pf): Use it.
30265 * NEWS: Add item for --disable-nscd.
30266
302672012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30268
30269 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30270 to support sed >= 4.2.1-20-ga9bf076.
30271 * configure: Regenerated.
30272
302732012-08-22 Roland McGrath <roland@hack.frob.com>
30274
30275 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30276 Conditionalize whole body on [IREL].
30277
302782012-08-22 Jeff Law <law@redhat.com>
30279
30280 [BZ #14505]
30281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30282 if the family is PF_UNSPEC.
30283
302842012-08-22 Mike Frysinger <vapier@gentoo.org>
30285
30286 * Makerules (lib-version): Rename from V.
30287 (install-lib-nosubdir): Change V to lib-version.
30288
302892012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30290
30291 [BZ #14252]
30292 * powerpc32/power6/wcschr.c: New file.
30293 * powerpc32/power6/wcscpy.c: New file.
30294 * powerpc32/power6/wcsrchr.c: New file.
30295 * powerpc64/power6/wcschr.c: New file.
30296 * powerpc64/power6/wcscpy.c: New file.
30297 * powerpc64/power6/wcsrchr.c: New file.
30298
302992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30300
30301 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30302 (two_way_short_needle): Use it.
30303 * string/strstr.c (AVAILABLE1_USES_J): Define.
30304 * string/strcasestr.c: Likewise.
30305
30306 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30307 array references.
30308 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30309
30310 [BZ #11607]
30311 * NEWS: Add an entry.
30312 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30313 define their defaults.
30314 (two_way_short_needle): Detect end-of-string on-the-fly.
30315 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30316 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30317 * string/bug-strcasestr1.c: New test.
30318 * string/Makefile: Run it.
30319
303202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30321
30322 [BZ #11607]
30323 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30324 the first character.
30325
303262012-08-21 Roland McGrath <roland@hack.frob.com>
30327
30328 * csu/elf-init.c (__libc_csu_irel): Function removed.
30329 * csu/libc-start.c (apply_irel): New function.
30330 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30331
303322012-08-21 Joseph Myers <joseph@codesourcery.com>
30333
30334 * sysdeps/unix/sysv/linux/kernel-features.h
30335 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30336 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30337 <kernel-features.h>.
30338 [__NR_fadvise64_64]: Make code unconditional.
30339 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30340 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30341 !__NR_fadvise64_64)]: Likewise.
30342 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30343 !__NR_fadvise64_64))]: Likewise.
30344 [__NR_fadvise64]: Make code unconditional.
30345 [!__NR_fadvise64]: Remove conditional code.
30346 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30347 <kernel-features.h>.
30348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30349 unconditional.
30350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30351 conditional code.
30352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30353 not include <kernel-features.h>.
30354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30355 unconditional.
30356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30357 conditional code.
30358 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30359 include <kernel-features.h>.
30360 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30361 unconditional.
30362 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30363 conditional code.
30364
303652012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30366
30367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30368 slight instruction rearrangements per scrollpipe analysis.
30369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30370
303712012-08-20 Roland McGrath <roland@hack.frob.com>
30372
30373 * manual/syslog.texi (syslog; vsyslog, closelog):
30374 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30375 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30376
30377 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30378 DSOCAPS to match condition on defining it.
30379
303802012-08-20 Joseph Myers <joseph@codesourcery.com>
30381
30382 * sysdeps/unix/sysv/linux/kernel-features.h
30383 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30388 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30389 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30391 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30392 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30393
30394 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30395 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30396
30397 * sysdeps/unix/sysv/linux/kernel-features.h
30398 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30399 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30400 unconditional.
30401 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30402 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30403 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30404 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30405 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30406 Make code unconditional.
30407 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30408 (__mmap64) [!__NR_mmap2]: Likewise.
30409 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30410 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30411 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30412 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30413 [__NR_mmap2]: Make code unconditional.
30414 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30415 (__mmap64) [!__NR_mmap2]: Likewise.
30416
304172012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30418
30419 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30420
304212012-08-18 Andreas Jaeger <aj@suse.de>
30422
30423 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30424
304252012-08-18 Mike Frysinger <vapier@gentoo.org>
30426
30427 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30428 * include/unistd.h (__have_sock_cloexec): Likewise.
30429 (__have_pipe2): Likewise.
30430 (__have_dup3): Likewise.
30431
304322012-08-18 Mike Frysinger <vapier@gentoo.org>
30433
30434 [BZ #9685]
30435 * include/unistd.h (__have_pipe2): Change define into an extern int.
30436 (__have_dup3): Likewise.
30437 * socket/have_sock_cloexec.c: Include fcntl.h.
30438 (__have_pipe2): New variable.
30439 (__have_dup3): Likewise.
30440
304412012-08-17 Mike Frysinger <vapier@gentoo.org>
30442
30443 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30444
304452012-08-17 Marek Polacek <polacek@redhat.com>
30446
30447 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30448 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30449
304502012-08-17 Roland McGrath <roland@hack.frob.com>
30451
30452 * configure.in: Add AC_SUBST for sysheaders.
30453 * configure: Regenerated.
30454 * config.make.in (sysheaders): New substituted variable.
30455
30456 * sysdeps/unix/mkfifo.c: Moved ...
30457 * sysdeps/posix/mkfifo.c: ... here.
30458 * sysdeps/unix/mkfifoat.c: Moved ...
30459 * sysdeps/posix/mkfifoat.c: ... here.
30460
30461 * sysdeps/unix/utime.c: Moved ...
30462 * sysdeps/posix/utime.c: ... here.
30463
30464 * sysdeps/unix/time.c: Moved ...
30465 * sysdeps/posix/time.c: ... here.
30466 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30467 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30468
30469 * sysdeps/unix/nice.c: Moved ...
30470 * sysdeps/posix/nice.c: ... here.
30471
30472 * sysdeps/unix/alarm.c: Moved ...
30473 * sysdeps/posix/alarm.c: ... here.
30474
30475 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30476
304772012-08-17 Jeff Law <law@redhat.com>
30478
30479 * intl/Makefile (codeset_mo): New variable.
30480 ($(codeset_mo)): New target.
30481 (tst-codeset.out): Depend on that. Remove explicit rule.
30482 (tst-gettext3.out, tst-gettext5.out): Likewise.
30483 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30484 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30485 * intl/tst-codeset.sh: Remove.
30486 * intl/tst-gettext3.sh: Likewise.
30487 * intl/tst-gettext5.sh: Likewise.
30488
304892012-08-17 Roland McGrath <roland@hack.frob.com>
30490
30491 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30492 * sysdeps/unix/syscalls.list: ... here.
30493
30494 * sysdeps/posix/getaddrinfo.c
30495 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30496 (gaiconf_init, gaiconf_reload): Use them.
30497 [!_STATBUF_ST_NSEC]
30498 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30499 Define using time_t rather than struct timespec.
30500
30501 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30502 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30503 Macros removed.
30504 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30505 [!NO_THREADS].
30506 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30507 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30508 Likewise.
30509
30510 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30511 __libc_cleanup_push argument.
30512
30513 * bits/param.h: New file.
30514 * misc/sys/param.h: New file.
30515 * include/sys/param.h: New file.
30516 * misc/Makefile (headers): Add bits/param.h.
30517 * sysdeps/generic/sys/param.h: File removed.
30518 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30519 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30520 * sysdeps/mach/hurd/bits/param.h: New file.
30521 * sysdeps/mach/hurd/sys/param.h: File removed.
30522
30523 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30524 last change.
30525
30526 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30527 [_IO_MTSAFE_IO].
30528 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30529 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30530 New macros.
30531
30532 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30533 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30534 rather than -D_IO_MTSAFE_IO conditionally.
30535 * stdio-common/Makefile (CPPFLAGS): Likewise.
30536 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30537 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30538 Use $(libio-mtsafe).
30539 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30540 of -D_IO_MTSAFE_IO.
30541 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30542 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30543 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30544 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30545 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30546 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30547 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30548 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30549 (CFLAGS-fread_u_chk.c): Likewise.
30550 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30551 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30552 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30553 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30554 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30555 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30556 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30557 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30558 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30559
30560 * libio/Makefile: Test [$(libc-reentrant) = yes]
30561 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30562
30563 * Makeconfig
30564 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30565 * sysdeps/pthread/configure: File removed.
30566 * sysdeps/pthread/Makeconfig: New file.
30567 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30568 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30569
305702012-08-16 Gary Benson <gbenson@redhat.com>
30571
30572 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30573 unmapping the first object in a namespace.
30574
305752012-08-16 Roland McGrath <roland@hack.frob.com>
30576
30577 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30578 (__internal_setnetgrent): ... this. Add internal_function to
30579 definition. Add libc_hidden_def.
30580 (setnetgrent): Update caller.
30581 (internal_endnetgrent): Renamed to ...
30582 (__internal_endnetgrent): ... this. Add internal_function to
30583 definition. Add libc_hidden_def.
30584 (endnetgrent): Update caller.
30585 (internal_getnetgrent_r): Renamed to ...
30586 (__internal_getnetgrent_r): ... this. Add internal_function to
30587 definition. Add libc_hidden_def.
30588 (__getnetgrent_r): Update caller.
30589 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30590
305912012-08-16 Joseph Myers <joseph@codesourcery.com>
30592
30593 * stdlib/longlong.h: Update from GCC.
30594
305952012-08-16 Roland McGrath <roland@hack.frob.com>
30596
30597 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30598 on _QL, which is set by umul_ppmm but never used.
30599 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30600 variables, which are set by GMP macros but never used.
30601 * stdio-common/_itowa.c (_itowa): Likewise.
30602 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30603 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30604
306052012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30606
30607 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30608 struct La_sh_regs is not constant.
30609 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30610 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30611 and struct La_sparc64_regs are not constant.
30612
306132012-08-16 Joseph Myers <joseph@codesourcery.com>
30614
30615 * sysdeps/unix/sysv/linux/kernel-features.h
30616 (__ASSUME_POSIX_TIMERS): Remove.
30617 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30619 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30620 Make code unconditional.
30621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30622 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30623 Make code unconditional.
30624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30625 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30626 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30627 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30628 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30629 Make code unconditional.
30630 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30631 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30632 (__libc_missing_posix_timers): Remove.
30633
306342012-08-15 Roland McGrath <roland@hack.frob.com>
30635
30636 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30637 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30638
30639 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30640
30641 * elf/dl-sym.c: Include <stdlib.h>.
30642
30643 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30644 constants, which avoids warnings in 32-bit builds.
30645
30646 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30647 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30648
30649 * misc/lseek.c: File moved to ...
30650 * io/lseek.c: ... here.
30651
30652 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30653
30654 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30655 shifting LEN more than 31 bits at once.
30656
306572012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30658
30659 [BZ #14195]
30660 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30661 segmentation fault for a case of two empty input strings.
30662 * string/test-strncasecmp.c (check1): Renamed to...
30663 (bz12205): ...this.
30664 (bz14195): Add new testcase for two empty input strings and N > 0.
30665 (test_main): Call new testcase, adapt for renamed function.
30666
306672012-08-15 Andreas Jaeger <aj@suse.de>
30668
30669 [BZ #14090]
30670 * crypt/md5test2.c: New test, based on test supplied by Serge
30671 Belyshev <belyshev@depni.sinp.msu.ru>.
30672 * crypt/Makefile (xtests): Add md5test-giant..
30673 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30674
306752012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30676
30677 [BZ #14090]
30678 * crypt/md5.c (md5_process_block): Don't assume the buffer
30679 length is less than 2**32.
30680 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30681 length is less than 2**64.
30682
306832012-08-15 Roland McGrath <roland@hack.frob.com>
30684
30685 * string/str-two-way.h: Include <sys/param.h>.
30686 (MAX): Macro removed.
30687
30688 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30689 Move #define and #undef of memmove to just before and after
30690 including <string.h>.
30691
30692 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30693 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30694 and after including <string.h>. Move declarations of
30695 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30696 to before #include "string/memmove.c".
30697
30698 * include/dirent.h: Declare __getdirentries.
30699
30700 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30701 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30702
307032012-08-14 Mike Frysinger <vapier@gentoo.org>
30704
30705 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30706 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30707 * sysdeps/i386/configure: Regenerated.
30708 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30709 STABS_CURRENT_FILE, and STABS_FUN.
30710 (END): Remove call to STABS_FUN_END.
30711 (STABS_CURRENT_FILE1): Delete.
30712 (STABS_CURRENT_FILE): Likewise.
30713 (STABS_FUN): Likewise.
30714 (STABS_FUN_END): Likewise.
30715 (STABS_FUN2): Likewise.
30716 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30717 * sysdeps/x86_64/configure: Regenerated.
30718
307192012-08-14 Roland McGrath <roland@hack.frob.com>
30720
30721 * elf/dl-open.c: Include <atomic.h>.
30722 * elf/dl-lookup.c: Likewise.
30723
307242012-08-14 Joseph Myers <joseph@codesourcery.com>
30725
30726 * sysdeps/unix/sysv/linux/kernel-features.h
30727 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30728 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30729 unconditionally.
30730 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30731 unconditionally.
30732 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30733 condition on __ASSUME_CLONE_THREAD_FLAGS.
30734
307352012-08-14 Andreas Jaeger <aj@suse.de>
30736
30737 * sysdeps/i386/fpu/libm-test-ulps: Update.
30738
307392012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30740
30741 * include/atomic.h (atomic_exchange_and_add): Split into ...
30742 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30743 New atomic macros.
30744
307452012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30746
30747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30748
307492012-08-13 Jeff Law <law@redhat.com>
30750
30751 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30752 null byte in the output string.
30753
307542012-08-10 Joseph Myers <joseph@codesourcery.com>
30755
30756 * sysdeps/unix/sysv/linux/kernel-features.h
30757 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30758 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30759 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30760 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30761 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30762 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30763 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30764
307652012-08-09 Jeff Law <law@redhat.com>
30766
30767 [BZ #13939]
30768 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30769 When avoid_arena is set, don't retry in the that arena. Pick the
30770 next one, whatever it might be.
30771 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30772 (arena_lock): Pass in new parameter to arena_get2.
30773 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30774 arena_get2.
30775 (__libc_malloc): Unify retrying after main arena failure with
30776 __libc_memalign version.
30777 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30778
307792012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30780
30781 [BZ #14166]
30782 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30783 to __redirect_strstr.
30784 (__strstr_sse42): Use typeof __redirect_strstr.
30785 (__strstr_ia32): Likewise.
30786 (__libc_strstr): New prototype.
30787 (strstr): Renamed to ...
30788 (__libc_strstr): This.
30789 (strstr): New strong alias of __libc_strstr.
30790 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30791 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30792 __redirect_time.
30793 Include <time.h>.
30794 (__libc_time): New prototype.
30795 (time_ifunc): Replace time with __libc_time.
30796 (time): New strong alias and hidden definition of __libc_time.
30797 (__GI_time): Remove strong alias.
30798 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30799 Include <stddef.h>.
30800 (memmove): Redefined to __redirect_memmove.
30801 (__memmove_sse2): Use typeof __redirect_memmove.
30802 (__memmove_ssse3): Likewise.
30803 (__memmove_ssse3_back): Likewise.
30804 (__libc_memmove): New prototype.
30805 (memmove): Renamed to ...
30806 (__libc_memmove): This.
30807 (memmove): New strong alias of __libc_memmove.
30808
308092012-08-08 Mark Salter <msalter@redhat.com>
30810
30811 * elf/elf.h
30812 (R_MN10300_TLS_GD): Define.
30813 (R_MN10300_TLS_LD): Likewise.
30814 (R_MN10300_TLS_LDO): Likewise.
30815 (R_MN10300_TLS_GOTIE): Likewise.
30816 (R_MN10300_TLS_IE): Likewise.
30817 (R_MN10300_TLS_LE): Likewise.
30818 (R_MN10300_TLS_DTPMOD): Likewise.
30819 (R_MN10300_TLS_DTPOFF): Likewise.
30820 (R_MN10300_TLS_TPOFF): Likewise.
30821 (R_MN10300_SYM_DIFF): Likewise.
30822 (R_MN10300_ALIGN): Likewise.
30823 (R_MN10300_NUM): Update.
30824
308252012-08-08 Joseph Myers <joseph@codesourcery.com>
30826
30827 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30828 Remove.
30829
308302012-08-08 Roland McGrath <roland@hack.frob.com>
30831
30832 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30833
30834 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30835 sysdeps/unix -> sysdeps/posix move.
30836 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30837
308382012-08-07 Allan McRae <allan@archlinux.org>
30839
30840 [BZ #14303]
30841 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30842 (SUNOS_CPP): Likewise.
30843 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30844 not found.
30845 (open_input): Call CPP using execvp.
30846
308472012-08-07 Joseph Myers <joseph@codesourcery.com>
30848
30849 * sysdeps/unix/sysv/linux/kernel-features.h
30850 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30851 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30852 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30853 (__ASSUME_WAITID_SYSCALL): Likewise.
30854 * sysdeps/unix/sysv/linux/dl-execstack.c
30855 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30856 code unconditional.
30857 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30858 conditional code.
30859 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30860 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30861 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30862 code.
30863 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30864 unconditional.
30865 [__ASSUME_WAITID_SYSCALL]: Likewise.
30866 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30867
308682012-08-07 Roland McGrath <roland@hack.frob.com>
30869
30870 * sysdeps/unix/closedir.c: Renamed to ...
30871 * sysdeps/posix/closedir.c: ... here.
30872 * sysdeps/unix/dirfd.c: Renamed to ...
30873 * sysdeps/posix/dirfd.c: ... here.
30874 * sysdeps/unix/dirstream.h: Renamed to ...
30875 * sysdeps/posix/dirstream.h: ... here.
30876 * sysdeps/unix/fdopendir.c: Renamed to ...
30877 * sysdeps/posix/fdopendir.c: ... here.
30878 * sysdeps/unix/opendir.c: Renamed to ...
30879 * sysdeps/posix/opendir.c: ... here.
30880 * sysdeps/unix/readdir.c: Renamed to ...
30881 * sysdeps/posix/readdir.c: ... here.
30882 * sysdeps/unix/readdir_r.c: Renamed to ...
30883 * sysdeps/posix/readdir_r.c: ... here.
30884 * sysdeps/unix/rewinddir.c: Renamed to ...
30885 * sysdeps/posix/rewinddir.c: ... here.
30886 * sysdeps/unix/seekdir.c: Renamed to ...
30887 * sysdeps/posix/seekdir.c: ... here.
30888 * sysdeps/unix/telldir.c: Renamed to ...
30889 * sysdeps/posix/telldir.c: ... here.
30890 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30891 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30892 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30893 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30894
30895 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30896 * bits/fcntl.h: ... here.
30897
30898 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30899 not 0.
30900 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30901 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30902 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30903 (struct flock): Move l_start, l_len to the beginning.
30904 Use __pid_t for l_pid.
30905 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30906 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30907 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30908 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30909 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30910 [__USE_LARGEFILE64] (struct flock64): New type.
30911 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30912
30913 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30914 * bits/dirent.h: ... here.
30915
30916 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30917 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30918
309192012-08-07 Joseph Myers <joseph@codesourcery.com>
30920
30921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30922 Change from 2.6.0 to 2.6.16.
30923 * sysdeps/unix/sysv/linux/configure: Regenerated.
30924 * sysdeps/unix/sysv/linux/kernel-features.h
30925 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30926 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30927 version.
30928 (__ASSUME_UTIMES): Likewise.
30929 (__ASSUME_CLONE_STOPPED): Remove.
30930 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30931 architectures, not kernel version.
30932 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30933 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30934 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30935 (__ASSUME_WAITID_SYSCALL): Likewise.
30936 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30937 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30938 * README: State 2.6.16 as minimum Linux kernel version. Do not
30939 refer to older versions.
30940
309412012-08-06 Roland McGrath <roland@hack.frob.com>
30942
30943 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30944 Define alphasort64 as an alias.
30945 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30946 Define versionsort64 as an alias.
30947 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30948 Define scandir64 as an alias.
30949 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30950 Define scandirat64 as an alias.
30951 * dirent/alphasort64.c (alphasort64):
30952 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30953 * dirent/versionsort64.c: Likewise.
30954 * dirent/scandir64.c: Likewise.
30955 * dirent/scandirat64.c: Likewise.
30956 * sysdeps/wordsize-64/alphasort.c: File removed.
30957 * sysdeps/wordsize-64/alphasort64.c: File removed.
30958 * sysdeps/wordsize-64/scandir.c: File removed.
30959 * sysdeps/wordsize-64/scandir64.c: File removed.
30960 * sysdeps/wordsize-64/scandirat.c: File removed.
30961 * sysdeps/wordsize-64/scandirat64.c: File removed.
30962 * sysdeps/wordsize-64/versionsort.c: File removed.
30963 * sysdeps/wordsize-64/versionsort64.c: File removed.
30964 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30965 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30966 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30967 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30968 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30969 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30970 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30971 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30972
30973 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30975 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30977 [defined __arch64__ || defined __sparcv9]
30978 (__INO_T_MATCHES_INO64_T): New macro.
30979 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30980 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30981 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30982 * sysdeps/unix/sysv/linux/bits/dirent.h
30983 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30984 (_DIRENT_MATCHES_DIRENT64): New macro.
30985
30986 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30987 Define lockf64 as an alias.
30988 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30989 Define fseeko64 as an alias.
30990 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30991 Define ftello64 as an alias.
30992 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30993 Define _IO_fgetpos64 and fgetpos64 as aliases.
30994 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30995 Define _IO_fsetpos64 and fsetpos64 as aliases.
30996 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30997 Conditionalize body on this.
30998 * libio/fseeko64.c: Likewise.
30999 * libio/ftello64.c: Likewise.
31000 * libio/iofgetpos64.c: Likewise.
31001 * libio/iofsetpos64.c: Likewise.
31002 * sysdeps/wordsize-64/lockf.c: File removed.
31003 * sysdeps/wordsize-64/lockf64.c: File removed.
31004 * sysdeps/wordsize-64/fseeko.c: File removed.
31005 * sysdeps/wordsize-64/fseeko64.c: File removed.
31006 * sysdeps/wordsize-64/ftello.c: File removed.
31007 * sysdeps/wordsize-64/ftello64.c: File removed.
31008 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31009 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31010 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31011 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31012 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31013 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31018 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31019 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31020 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31021 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31022
31023 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31025 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31027 [defined __arch64__ || defined __sparcv9]
31028 (__OFF_T_MATCHES_OFF64_T): New macro.
31029 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31030 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31032 (__OFF_T_MATCHES_OFF64_T): New macro.
31033
310342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31035
31036 * stdlib/secure-getenv.c (__secure_getenv): Replace
31037 GLIBC_2_16 with GLIBC_2_17.
31038
310392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31040
31041 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31042 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31043
310442012-08-03 David S. Miller <davem@davemloft.net>
31045
31046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31047
310482012-08-03 Joseph Myers <joseph@codesourcery.com>
31049
31050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31051 Remove.
31052 (__ASSUME_CORRECT_SI_PID): Likewise.
31053 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31054 (__ASSUME_TMPFS_NAME): Likewise.
31055 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31056 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31057 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31058 (HAVE_AUX_SECURE): Make definition unconditional.
31059 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31060 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31061
310622012-08-03 Roland McGrath <roland@hack.frob.com>
31063
31064 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31065 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31066 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31067 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31068 __eloop_threshold instead of SYMLOOP_MAX.
31069
31070 * sysdeps/generic/eloop-threshold.h: New file.
31071 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31072 of MAXSYMLINKS.
31073 * elf/chroot_canon.c (chroot_canon): Likewise.
31074
310752012-08-03 Joseph Myers <joseph@codesourcery.com>
31076
31077 [BZ #13717]
31078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31079 Change to 2.6.0 everywhere.
31080 * sysdeps/unix/sysv/linux/configure: Regenerated.
31081 * sysdeps/unix/sysv/linux/kernel-features.h
31082 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31083 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31084 kernel versions.
31085 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31086 (__ASSUME_FUTEX_REQUEUE): Remove.
31087 (__ASSUME_STATFS64): Define unconditionally.
31088 (__ASSUME_AT_SECURE): Likewise.
31089 (__ASSUME_CORRECT_SI_PID): Likewise.
31090 (__ASSUME_TGKILL): Define without depending on kernel version for
31091 i386.
31092 (__ASSUME_UTIMES): Likewise.
31093 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31094 kernel version.
31095 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31096 (__ASSUME_TMPFS_NAME): Likewise.
31097 * README: Update reference to Linux kernel versions.
31098
310992012-08-02 Marek Polacek <polacek@redhat.com>
31100
31101 [BZ# 14150]
31102 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31103 libc_cv_asm_type_prefix with %.
31104 * configure: Regenerated.
31105 * include/libc-symbols.h: Remove comment about
31106 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31107 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31108 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31109 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31110 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31111 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31112 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31113 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31114 * elf/tst-unique2mod1.c: Likewise.
31115 * elf/tst-unique1mod2.c: Likewise.
31116 * elf/tst-unique1mod1.c: Likewise.
31117 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31118 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31119 Replace ASM_TYPE_DIRECTIVE with .type.
31120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31121 * sysdeps/i386/sysdep.h: Likewise.
31122 * sysdeps/x86_64/sysdep.h: Likewise.
31123 * sysdeps/sh/sysdep.h: Likewise.
31124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31125 Do not define ASM_TYPE_DIRECTIVE.
31126 * sysdeps/powerpc/sysdep.h: Likewise.
31127 * sysdeps/powerpc/powerpc32/sysdep.h:
31128 Replace ASM_TYPE_DIRECTIVE with .type.
31129 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31130 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31131 * sysdeps/i386/fpu/e_powf.S: Likewise.
31132 * sysdeps/i386/fpu/e_expl.S: Likewise.
31133 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31134 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31135 * sysdeps/i386/fpu/e_pow.S: Likewise.
31136 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31137 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31138 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31139 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31140 * sysdeps/i386/fpu/e_log2.S: Likewise.
31141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31143 * sysdeps/i386/fpu/e_powl.S: Likewise.
31144 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31145 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31146 * sysdeps/i386/fpu/e_logl.S: Likewise.
31147 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31152 * sysdeps/i386/fpu/e_log.S: Likewise.
31153 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31154 * sysdeps/i386/fpu/e_logf.S: Likewise.
31155 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31156 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31157 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31158 * sysdeps/i386/fpu/e_log10.S: Likewise.
31159 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31161 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31162 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31164 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31165 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31166 * sysdeps/i386/i686/strtok.S: Likewise.
31167 * sysdeps/i386/i386-mcount.S: Likewise.
31168 * sysdeps/i386/strtok.S: Likewise.
31169 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31173 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31175 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31176 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31178 * sysdeps/x86_64/_mcount.S: Likewise.
31179 * sysdeps/x86_64/strtok.S: Likewise.
31180 * sysdeps/sh/_mcount.S: Likewise.
31181
311822012-08-01 Roland McGrath <roland@hack.frob.com>
31183
31184 * libio/iofopen.c: Include <fcntl.h>.
31185 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31186 (_IO_fopen64, fopen64): Define as aliases.
31187 * libio/iofopen64.c: Include <fcntl.h>.
31188 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31189 Conditionalize body on this.
31190 * sysdeps/wordsize-64/iofopen.c: File removed.
31191 * sysdeps/wordsize-64/iofopen64.c: File removed.
31192
311932012-08-01 Marek Polacek <polacek@redhat.com>
31194
31195 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31196 Use dlfcn directly instead of a variable.
31197 (binfmt-subdir): Do not define.
31198 (dlfcn): Likewise.
31199
312002012-08-01 Joseph Myers <joseph@codesourcery.com>
31201
31202 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31203 Remove all definitions.
31204 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31205 <kernel-features.h>.
31206 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31207 (miss_F_GETOWN_EX): Remove all definitions.
31208 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31209 macro definition.
31210 [!__ASSUME_FCNTL64]: Remove conditional code.
31211 [__ASSUME_FCNTL64]: Make code unconditional.
31212 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31213 <kernel-features.h>.
31214 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31215 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31216 (lockf64) [__NR_fcntl64]: Make code unconditional.
31217 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31218
31219 * sysdeps/unix/sysv/linux/kernel-features.h
31220 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31221 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31222 Make code unconditional.
31223 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31224 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31226 [__NR_vfork]: Make code unconditional.
31227 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31228 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31230 [__NR_vfork]: Make code unconditional.
31231 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31232 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31233
312342012-08-01 Roland McGrath <roland@hack.frob.com>
31235
31236 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31237 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31238
31239 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31240 Define mkstemp64 as an alias.
31241 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31242 Define mkstemps64 as an alias.
31243 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31244 Define mkostemp64 as an alias.
31245 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31246 Define mkostemps64 as an alias.
31247 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31248 Conditionalize body on this.
31249 * misc/mkostemp64.c: Likewise.
31250 * misc/mkostemps64.c: Likewise.
31251 * misc/mkstemps64.c: Likewise.
31252 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31253 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31254 * sysdeps/wordsize-64/mkostemp.c: File removed.
31255 * sysdeps/wordsize-64/mkstemp.c: File removed.
31256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31257 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31258 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31259 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31260
31261 [BZ #14138]
31262 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31263 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31264 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31265 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31266
31267 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31268 compat_symbol macros from <shlib-compat.h> rather than the underlying
31269 default_symbol_version and symbol_version macros, so that DEFAULT
31270 lines in shlib-versions are respected.
31271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31272
312732012-08-01 Florian Weimer <fweimer@redhat.com>
31274
31275 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31276 Declare with warn_unused_result.
31277 (setgid, setregid, setegid, setresgid): Likewise.
31278 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31279 Likewise.
31280 * WUR-REPORT: Remove set*id functions.
31281
312822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31283
31284 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31285
312862012-07-31 Roland McGrath <roland@hack.frob.com>
31287
31288 [BZ #10191]
31289 * include/sys/socket.h (__libc_accept, __libc_accept4):
31290 Add attribute_hidden.
31291 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31292
31293 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31294 use of PTR_MANGLE.
31295 * inet/getnetgrent_r.c (setup): Likewise.
31296
31297 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31298
312992012-07-31 David S. Miller <davem@davemloft.net>
31300
31301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31302
313032012-07-31 Joseph Myers <joseph@codesourcery.com>
31304
31305 [BZ #13629]
31306 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31307 value between 1.0 and 2.0 and smaller part has absolute value less
31308 than 1.0.
31309 * math/s_clog10.c (__clog10): Likewise.
31310 * math/s_clog10f.c (__clog10f): Likewise.
31311 * math/s_clog10l.c (__clog10l): Likewise.
31312 * math/s_clogf.c (__clogf): Likewise.
31313 * math/s_clogl.c (__clogl): Likewise.
31314 * math/libm-test.inc (clog_test): Add more tests.
31315 (clog10_test): Likewise.
31316 * sysdeps/i386/fpu/libm-test-ulps: Update.
31317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31318
313192012-07-31 Florian Weimer <fweimer@redhat.com>
31320
31321 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31322 Exit with zero in case no suitable GID is found, and write a
31323 message to standard error.
31324
313252012-07-30 Roland McGrath <roland@hack.frob.com>
31326
31327 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31328 rather than to 1.
31329 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31330 (MAXPATHLEN): Removed.
31331 (NOGROUP, NODEV): New macros.
31332 (setbit, clrbit, isset, isclr): New macros.
31333 (howmany, roundup, powerof2): New macros.
31334 (DEV_BSIZE): New macro.
31335
31336 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31337 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31338
31339 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31340 definition on [!__NO_LONG_DOUBLE_MATH].
31341
31342 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31343 PTR_MANGLE and PTR_DEMANGLE.
31344
31345 * socket/accept4.c (accept4): Rename to __libc_accept4.
31346 Define accept4 as a weak alias.
31347
31348 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31349 on [_DIRENT_HAVE_D_TYPE].
31350 * io/ftw.c (ftw_dir): Likewise.
31351
31352 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31353
31354 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31355
31356 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31357 Use the BSD numbers rather than the arbitrary ones we had.
31358 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31359 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31360 (SIGXCPU, SIGXFSZ): New macros.
31361 (_NSIG): Now 32.
31362
31363 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31364 initializer on [_LIBC_REENTRANT].
31365
31366 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31367 definitions inside [_POSIX_MAPPED_FILES].
31368
31369 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31370
31371 * dirent/opendir.c: Include <fcntl.h>.
31372
31373 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31374 (__libc_getspecific): Likewise.
31375 (__libc_key_create): Likewise.
31376
31377 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31378 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31379 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31380 (tmpfile64): Define as alias.
31381 * sysdeps/wordsize-64/tmpfile.c: File removed.
31382 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31383 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31385
31386 * stdio-common/vfscanf.c: Include <stdbool.h>.
31387 * nss/makedb.c: Likewise.
31388 * stdio-common/_i18n_number.h: Likewise.
31389 * argp/argp-help.c: Likewise.
31390 * posix/wordexp.c: Likewise.
31391 * sysdeps/posix/spawni.c: Likewise.
31392 * nss/nss_files/files-initgroups.c: Likewise.
31393 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31394 * nss/nss_files/files-initgroups.c: Likewise.
31395 * nss/nss_db/db-netgrp.c: Likewise.
31396 * nss/nss_db/db-initgroups.c: Likewise.
31397 * io/fchmodat.c: Include <sys/stat.h>.
31398
31399 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31400 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31401
31402 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31403 [HAVE_MMAP].
31404
31405 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31406 Add multiple inclusion protection.
31407
314082012-07-27 David S. Miller <davem@davemloft.net>
31409
31410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31411
314122012-07-27 Gary Benson <gbenson@redhat.com>
31413
31414 [BZ #14298]
31415 * elf/rtld.c: Include <stap-probe.h>.
31416 (dl_main): Added static probes "init_start" and "init_complete".
31417 * elf/dl-load.c: Include <stap-probe.h>.
31418 (lose): Take new parameter "nsid".
31419 Added static probe "map_failed".
31420 (_dl_map_object_from_fd): Pass namespace id to lose.
31421 Added static probe "map_start".
31422 (open_verify): Pass namespace id to lose.
31423 * elf/dl-open.c: Include <stap-probe.h>.
31424 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31425 and "reloc_complete".
31426 * elf/dl-close.c: Include <stap-probe.h>.
31427 (_dl_close_worker): Added static probes "unmap_start" and
31428 "unmap_complete".
31429 * elf/rtld-debugger-interface.txt: New file documenting the above.
31430
314312012-07-26 Roland McGrath <roland@hack.frob.com>
31432
31433 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31434 rather than a string variable.
31435 * sunrpc/rpc_main.c (h_output): Likewise.
31436 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31437
314382012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31439
31440 * inet/check_native.c: New file.
31441
314422012-07-26 Joseph Myers <joseph@codesourcery.com>
31443
31444 [BZ #13629]
31445 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31446 if larger part has absolute value 1.0.
31447 * math/s_clog10.c (__clog10): Likewise.
31448 * math/s_clog10f.c (__clog10f): Likewise.
31449 * math/s_clog10l.c (__clog10l): Likewise.
31450 * math/s_clogf.c (__clogf): Likewise.
31451 * math/s_clogl.c (__clogl): Likewise.
31452 * math/libm-test.inc (clog_test): Add more tests.
31453 (clog10_test): Likewise.
31454 * sysdeps/i386/fpu/libm-test-ulps: Update.
31455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31456
31457 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31458 (pltexit): Likewise.
31459 (La_regs): Likewise.
31460 (La_retval): Likewise.
31461 (int_retval): Likewise.
31462 Update #error for removed macros to refer only to definitions in
31463 tst-audit.h.
31464 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31465 macro.
31466 (pltexit): Likewise.
31467 (La_regs): Likewise.
31468 (La_retval): Likewise.
31469 (int_retval): Likewise.
31470 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31471 macro.
31472 (pltexit): Likewise.
31473 (La_regs): Likewise.
31474 (La_retval): Likewise.
31475 (int_retval): Likewise.
31476 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31477 macro.
31478 (pltexit): Likewise.
31479 (La_regs): Likewise.
31480 (La_retval): Likewise.
31481 (int_retval): Likewise.
31482 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31483 macro.
31484 (pltexit): Likewise.
31485 (La_regs): Likewise.
31486 (La_retval): Likewise.
31487 (int_retval): Likewise.
31488 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31489 macro.
31490 (pltexit): Likewise.
31491 (La_regs): Likewise.
31492 (La_retval): Likewise.
31493 (int_retval): Likewise.
31494 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31495 macro.
31496 (pltexit): Likewise.
31497 (La_regs): Likewise.
31498 (La_retval): Likewise.
31499 (int_retval): Likewise.
31500 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31501 macro definitions in tst-audit.h.
31502 * sysdeps/i386/tst-audit.h: New file.
31503 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31504 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31505 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31506 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31507 * sysdeps/sh/tst-audit.h: Likewise.
31508 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31509 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31510 * sysdeps/x86_64/tst-audit.h: Likewise.
31511
315122012-07-26 Andreas Jaeger <aj@suse.de>
31513
31514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31515 ptrace.
31516
31517 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31518 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31519 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31520 PTRACE_O_MASK.
31521 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31522 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31523 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31524
31525 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31526 value.
31527
31528 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31529 _sigsys.
31530 (si_call_addr, si_syscall, si_arch): Define new macro.
31531 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31532 _sigsys.
31533 (si_call_addr, si_syscall, si_arch): Define new marcro.
31534 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31535 _sigsys.
31536 (si_call_addr, si_syscall, si_arch): Define new macro.
31537 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31538 _sigsys.
31539 (si_call_addr, si_syscall, si_arch): Define new macro.
31540
315412012-07-25 Joseph Myers <joseph@codesourcery.com>
31542
31543 [BZ #13717]
31544 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31545 Change to 2.4.21 where previously 2.4.1.
31546 * sysdeps/unix/sysv/linux/configure: Regenerated.
31547 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31548 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31549 Linux kernel version.
31550 (__ASSUME_STD_AUXV): Remove.
31551 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31552 kernel version.
31553 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31554 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31555 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31556 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31557 (__ASSUME_NETLINK_SUPPORT): Likewise.
31558 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31559 (__no_netlink_support): Remove conditional definition.
31560 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31561 Remove.
31562 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31563 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31564 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31565 (if_nameindex_ioctl): Remove.
31566 (if_nameindex_netlink): Do not handle __no_netlink_support.
31567 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31568 code.
31569 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31570 Remove conditional code.
31571 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31572 code.
31573 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31574 unconditional.
31575 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31576 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31577 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31578 Remove.
31579 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31580 [!__ASSUME_STD_AUXV]: Remove conditional code.
31581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31582 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31583 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31585 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31586 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31587 code.
31588 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31590 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31591 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31592 conditional code.
31593 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31595 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31596 code.
31597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31598 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31599 conditional code.
31600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31601 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31602 code unconditional.
31603 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31604 conditional code.
31605 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31606 unconditional.
31607 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31608 conditional code.
31609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31610 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31611 unconditional.
31612 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31613 conditional code.
31614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31615 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31616 code unconditional.
31617 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31618 conditional code.
31619 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31620 unconditional.
31621 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31622 conditional code.
31623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31624 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31625 code unconditional.
31626 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31627 conditional code.
31628 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31629 unconditional.
31630 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31631 conditional code.
31632
316332012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31634
31635 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31636 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31637 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31638 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31639 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31640 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31641 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31642 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31643 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31644 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31645 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31646 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31647 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31648 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31649 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31650 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31651 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31652 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31653 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31655 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31656 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31657 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31658
316592012-07-25 Florian Weimer <fweimer@redhat.com>
31660
31661 * Versions.def: Add GLIBC_2.17.
31662 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31663 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31664 Introduce __libc_secure_getenv.
31665 * stdlib/Versions (2.17): Add secure_getenv
31666 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31667 * stdlib/secure-getenv.c: Rename __secure_getenv to
31668 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31669 symbol __secure_getenv for GLIBC_2.0.
31670 * stdlib/tst-secure-getenv.c: New.
31671 * stdlib/Makefile (tests): Add testcase.
31672 * manual/startup.texi (Environment Access): Document
31673 secure_getenv.
31674 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31675 __libc_secure_getenv.
31676 * inet/ruserpass.c (ruserpass): Likewise.
31677 * malloc/mtrace.c (mtrace): Likewise.
31678 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31679 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31680 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31681 * sysdeps/posix/tempname.c: Likewise. Evaluate
31682 HAVE_SECURE_GETENV.
31683 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31684 __secure_getenv to __libc_secure_getenv.
31685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31687 Likewise.
31688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31689 Likewise.
31690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31697
316982012-07-25 Joseph Myers <joseph@codesourcery.com>
31699
31700 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31701 (struct La_i86_retval): Likewise.
31702 (struct La_x86_64_regs): Likewise.
31703 (struct La_x86_64_retval): Likewise.
31704 (struct La_x32_regs): Likewise.
31705 (struct La_x32_retval): Likewise.
31706 (struct La_ppc32_regs): Likewise.
31707 (struct La_ppc32_retval): Likewise.
31708 (struct La_ppc64_regs): Likewise.
31709 (struct La_ppc64_retval): Likewise.
31710 (struct La_sh_regs): Likewise.
31711 (struct La_sh_retval): Likewise.
31712 (struct La_s390_32_regs): Likewise.
31713 (struct La_s390_32_retval): Likewise.
31714 (struct La_s390_64_regs): Likewise.
31715 (struct La_s390_64_retval): Likewise.
31716 (struct La_sparc32_regs): Likewise.
31717 (struct La_sparc32_retval): Likewise.
31718 (struct La_sparc64_regs): Likewise.
31719 (struct La_sparc64_retval): Likewise.
31720 (struct audit_ifaces): Remove architecture-specific pltenter and
31721 pltexit members.
31722 * sysdeps/i386/ldsodefs.h: New file.
31723 * sysdeps/powerpc/ldsodefs.h: Likewise.
31724 * sysdeps/s390/ldsodefs.h: Likewise.
31725 * sysdeps/sh/ldsodefs.h: Likewise.
31726 * sysdeps/sparc/ldsodefs.h: Likewise.
31727 * sysdeps/x86_64/ldsodefs.h: Likewise.
31728
317292012-07-25 Marek Polacek <polacek@redhat.com>
31730
31731 [BZ #6808]
31732 * math/libm-test.inc (yn_test): Add another test.
31733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31734 to ERANGE when the result is +-Inf.
31735 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31736 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31737 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31738 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31739
317402012-07-24 Joseph Myers <joseph@codesourcery.com>
31741
31742 * conform/data/time.h-data (NULL): Use macro-constant. Require
31743 equal to 0.
31744 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31745 clock_t.
31746 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31747
317482012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31749
31750 * configure.in <sysdeps resolving>: Correct printing
31751 Implies_before.
31752 * configure: Regenerate.
31753
317542012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31755
31756 * math/w_ilogb.c: Include <limits.h>.
31757 * math/w_ilogbl.c: Likewise.
31758
317592012-07-20 Joseph Myers <joseph@codesourcery.com>
31760
31761 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31762 va_copy. Document allowing for unavailable va_copy only as
31763 pre-C99 compatibility.
31764 * manual/string.texi (Copying and Concatenation): Use va_copy
31765 instead of __va_copy in concat example.
31766
317672012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31768
31769 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31770 (__sendto): Use create_address_port. Initialize APORT and deallocate
31771 it if not null.
31772
31773 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31774 with O_NOLINK passed to __file_name_lookup.
31775
31776 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31777 with O_NOLINK passed to __file_name_lookup.
31778
31779 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31780 negative N or less than NGIDS.
31781
31782 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31783 type to string_t. Set ERANGE as errno and return it if NAME is not big
31784 enough. Use memcpy instead of strncpy.
31785
317862012-07-20 Joseph Myers <joseph@codesourcery.com>
31787
31788 * elf/Makefile (check-data): Remove.
31789 (localplt.data): New vpath directive.
31790 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31791 instead of $(check-data).
31792 * scripts/data/localplt-generic.data: Move to ...
31793 * sysdeps/generic/localplt.data: ... here.
31794 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31795 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31796 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31798 ... here.
31799 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31801 ... here.
31802 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31804 ... here.
31805 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31807 ... here.
31808 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31810 ... here.
31811 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31813 ... here.
31814
318152012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31816
31817 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31818 PPC32 and PPC64 files.
31819 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31820 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31821
318222012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31823
31824 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31825 __makecontext_ret to ...
31826 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31827 ... here and call exit if uc_link is NULL. New file.
31828 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31829 __makecontext_ret.S.
31830 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31831 __makecontext_ret to ...
31832 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31833 ... here and call exit if uc_link is NULL. New file.
31834 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31835 __makecontext_ret.S.
31836
318372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31838
31839 * elf/elf.h (R_390_IRELATIVE): New definition.
31840 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31841 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31842 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31843 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31844 (elf_machine_lazy_rel): Likewise.
31845 * sysdeps/s390/dl-irel.h: New file.
31846 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31847 * sysdeps/s390/s390-64/memset.S: New asm code.
31848 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31849 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31850 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31851 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31852 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31853 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31854 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31855 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31856 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31857 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31858 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31859 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31860 * sysdeps/s390/s390-32/memset.S: New asm code.
31861 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31862
318632012-07-17 Marek Polacek <polacek@redhat.com>
31864
31865 [BZ #14349]
31866 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31867 * sysdeps/s390/s390-64/configure.in: Likewise.
31868 * sysdeps/sparc/configure.in: Likewise.
31869 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31870 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31871 * sysdeps/i386/configure.in: Likewise.
31872 * sysdeps/x86_64/configure.in: Likewise.
31873 * sysdeps/sh/configure.in: Likewise.
31874 * sysdeps/s390/s390-32/configure: Regenerated.
31875 * sysdeps/s390/s390-64/configure: Likewise.
31876 * sysdeps/x86_64/configure: Likewise.
31877 * sysdeps/sh/configure: Likewise.
31878 * sysdeps/powerpc/powerpc64/configure: Likewise.
31879 * sysdeps/powerpc/powerpc32/configure: Likewise.
31880 * sysdeps/sparc/configure: Likwise.
31881 * sysdeps/i386/configure: Likewise.
31882
31883 * elf/dl-open.c: Comment fixes.
31884
318852012-07-17 Joseph Myers <joseph@codesourcery.com>
31886
31887 * Makefile [CXX] (check-data): Remove.
31888 [CXX] (c++-types.data): New vpath directive.
31889 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31890 vpath. Do not allow for C++ type data being missing.
31891 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31892 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31893 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31894 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31895 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31896 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31897 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31899 ... here.
31900 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31902 ... here.
31903 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31905 ... here.
31906 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31908 ... here.
31909 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31911 ... here.
31912 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31914 ... here.
31915 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31917 ... here.
31918 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31920
31921 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31922 definitions to architecture-specific files.
31923 (TLS_IE): Likewise.
31924 (TLS_LD): Likewise.
31925 (TLS_GD): Likewise.
31926 * sysdeps/i386/tls-macros.h: New file.
31927 * sysdeps/powerpc/tls-macros.h: Likewise.
31928 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31929 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31930 * sysdeps/sh/tls-macros.h: Likewise.
31931 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31932 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31933 * sysdeps/x86_64/tls-macros.h: Likewise.
31934
319352012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31936
31937 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31938 zero value for regular exit case.
31939
31940 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31941 (__start_context): Preserve zero value for regular exit case.
31942
319432012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31944 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31945
31946 * manual/setjmp.texi (setcontext): Clarify normal process
31947 termination when uc_link is the null pointer.
31948 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31949 exit call.
31950
319512012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31952
31953 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31954 preprocessor. Test for each exception mask separately.
31955
319562012-07-16 Andreas Jaeger <aj@suse.de>
31957
31958 * po/ru.po: Update from translation team.
31959
319602012-07-15 Joseph Myers <joseph@codesourcery.com>
31961
31962 * conform/data/string.h-data (NULL): Use macro-constant. Require
31963 equal to 0.
31964 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31965 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31966 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31967 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31969
319702012-07-13 Andreas Jaeger <aj@suse.de>
31971
31972 * po/fr.po: Update from translation team.
31973
319742012-07-12 Marek Polacek <polacek@redhat.com>
31975
31976 [BZ #14173]
31977 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31979 loop condition.
31980
319812012-07-12 Joseph Myers <joseph@codesourcery.com>
31982
31983 [BZ #13717]
31984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31985 Change to 2.4.1 where previously 2.4.0.
31986 * sysdeps/unix/sysv/linux/configure: Regenerated.
31987 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31988 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31989 version.
31990 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31991 (__ASSUME_AT_CLKTCK): Remove.
31992 (__ASSUME_AT_PAGESIZE): Likewise.
31993 (__ASSUME_AT_XID): Likewise.
31994 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31995 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31996 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31997 unconditionally.
31998 (HAVE_AUX_PAGESIZE): Likewise.
31999 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32000 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32001 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32002
320032012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32004
32005 [BZ #14307]
32006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32007 the temporary buffer used to invoke __gethostbyname2_r,
32008 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32009 host_data / struct gaih_addrtuple.
32010 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32011 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32012 header file nss/nsswitch.h.
32013 * nss/nsswitch.h (global scope): Add definition of implementation
32014 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32015 resolv/nss_dns/dns-host.c).
32016
320172012-07-11 Andreas Jaeger <aj@suse.de>
32018
32019 * po/fr.po: Update from translation team.
32020
32021 * po/sv.po: Update from translation team
32022 * po/fr.po: Another update from translation team.
32023
320242012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32025
32026 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32027 for subnormals or multiply small sinh result by itself.
32028 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32030
320312012-07-11 David S. Miller <davem@davemloft.net>
32032
32033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32034
320352012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32036
32037 [BZ #14347]
32038 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32039 (INTERNAL_MARK): Shift it here.
32040
320412012-07-10 Marek Polacek <polacek@redhat.com>
32042
32043 [BZ #14151]
32044 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32045 libc_cv_asm_global_directive with .globl.
32046 * configure: Regenerated.
32047 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32048 with .globl.
32049 * sysdeps/i386/configure: Regenerated.
32050 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32051 with .globl.
32052 * sysdeps/x86_64/configure: Regenerated.
32053 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32054 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32055 * elf/tst-unique2mod2.c: Likewise.
32056 * elf/tst-unique2mod1.c: Likewise.
32057 * elf/tst-unique1mod2.c: Likewise.
32058 * elf/tst-unique1mod1.c: Likewise.
32059 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32060 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32062 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32063 * sysdeps/mach/sysdep.h: Likewise.
32064 * sysdeps/i386/sysdep.h: Likewise.
32065 * sysdeps/i386/i386-mcount.S: Likewise.
32066 * sysdeps/x86_64/_mcount.S: Likewise.
32067 * sysdeps/x86_64/sysdep.h: Likewise.
32068 * sysdeps/sh/_mcount.S: Likewise.
32069 * sysdeps/sh/sysdep.h: Likewise.
32070 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32071 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32072 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32073 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32074 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32075 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32076 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32077 * locale/localeinfo.h: Likewise.
32078 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32079 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32080
320812012-07-09 Roland McGrath <roland@hack.frob.com>
32082
32083 [BZ #14336]
32084 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32085 system".
32086 * manual/message.texi (The Uniforum approach): Likewise.
32087 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32088 (glibc iconv Implementation): Likewise.
32089
320902012-07-09 Joseph Myers <joseph@codesourcery.com>
32091
32092 [BZ #14337]
32093 * math/s_clog.c (__clog): Avoid scaling a value down where that
32094 could result in underflow.
32095 * math/s_clog10.c (__clog10): Likewise.
32096 * math/s_clog10f.c (__clog10f): Likewise.
32097 * math/s_clog10l.c (__clog10l): Likewise.
32098 * math/s_clogf.c (__clogf): Likewise.
32099 * math/s_clogl.c (__clogl): Likewise.
32100 * math/libm-test.inc (clog_test): Add more tests.
32101 (clog10_test): Likewise.
32102 * sysdeps/i386/fpu/libm-test-ulps: Update.
32103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32104
321052012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32106
32107 [BZ #14283]
32108 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32109 by 7 not 8 to examine high bit of fractional part.
32110
32111 [BZ #14042]
32112 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32113 for call to __mcount_internal.
32114 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32115 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32116 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32117
321182012-07-06 Joseph Myers <joseph@codesourcery.com>
32119
32120 [BZ #14154]
32121 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32122 approximation for values within 0x1p-13f of an odd multiple of
32123 pi/4.
32124 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32125 exception. Add more tests.
32126 * sysdeps/i386/fpu/libm-test-ulps: Update.
32127
32128 [BZ #6778]
32129 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32130 inputs and return -1 for them. Do not check for +Inf in case not
32131 reachable for +Inf.
32132 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32133 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32134 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32135 and return -1 for them. Do not check for +Inf in case not
32136 reachable for +Inf.
32137 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32138 define.
32139 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32140 and return -1 for them. Do not check for +Inf in case not
32141 reachable for +Inf.
32142 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32143 spurious underflow.
32144 * sysdeps/i386/fpu/libm-test-ulps: Update.
32145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32146
321472012-07-06 Mike Frysinger <vapier@gentoo.org>
32148
32149 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32150
321512012-07-05 Joseph Myers <joseph@codesourcery.com>
32152
32153 [BZ #14157]
32154 [BZ #14331]
32155 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32156 could result in spurious underflow. Scale down values above
32157 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32158 * math/s_csqrtf.c (__csqrtf): Likewise.
32159 * math/s_csqrtl.c (__csqrtl): Likewise.
32160 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32161 spurious underflow.
32162 * sysdeps/i386/fpu/libm-test-ulps: Update.
32163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32164
321652012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32166
32167 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32168 xopen-msg.sed.
32169 * catgets/xopen-msg.awk: New file.
32170 * catgets/xopen-msg.sed: Removed.
32171
32172 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32173 po2text.sed.
32174 * intl/po2test.awk: New file.
32175 * intl/po2test.sed: Removed.
32176
321772012-07-04 Joseph Myers <joseph@codesourcery.com>
32178
32179 [BZ #14328]
32180 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32181 or multiply small sinh result by itself.
32182 * math/s_ctanf.c (__ctanf): Likewise.
32183 * math/s_ctanh.c (__ctanh): Likewise.
32184 * math/s_ctanhf.c (__ctanhf): Likewise.
32185 * math/s_ctanhl.c (__ctanhl): Likewise.
32186 * math/s_ctanl.c (__ctanl): Likewise.
32187 * math/libm-test.inc (ctan_test_tonearest): New function.
32188 (ctan_test_towardzero): Likewise.
32189 (ctan_test_downward): Likewise.
32190 (ctan_test_upward): Likewise.
32191 (ctanh_test_tonearest): Likewise.
32192 (ctanh_test_towardzero): Likewise.
32193 (ctanh_test_downward): Likewise.
32194 (ctanh_test_upward): Likewise.
32195 (main): Call these new functions.
32196 * sysdeps/i386/fpu/libm-test-ulps: Update.
32197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32198
321992012-07-03 Mike Frysinger <vapier@gentoo.org>
32200
32201 * .gitignore: Delete /ports entry.
32202
322032012-07-03 Andreas Jaeger <aj@suse.de>
32204
32205 * po/bg.po: Update from translation team.
32206 * po/cs.po: Likewise.
32207 * po/de.po: Likewise.
32208 * po/hr.po: Likewise.
32209 * po/nl.pl: Likewise.
32210 * po/pl.po: Likewise.
32211 * po/vi.po: Likewise.
32212
322132012-07-03 Joseph Myers <joseph@codesourcery.com>
32214
32215 * Makeconfig [!+link] (+link-before-libc): New variable.
32216 [!+link] (+link-after-libc): Likewise.
32217 [!+link] (+link-tests): Likewise.
32218 [!+link] (+link): Define in terms of $(+link-before-libc) and
32219 $(+link-after-libc).
32220 [!+link-static] (+link-static-before-libc): New variable.
32221 [!+link-static] (+link-static-after-libc): Likewise.
32222 [!+link-static] (+link-static-tests): Likewise.
32223 [!+link-static] (+link-static): Define in terms of
32224 $(+link-static-before-libc) and $(+link-static-after-libc).
32225 [build-shared] (link-libc-before-gnulib): New variable.
32226 [build-shared] (link-libc-tests): Likewise.
32227 [build-shared] (link-libc): Define in terms of
32228 $(link-libc-before-gnulib).
32229 [!build-shared] (link-libc-tests): New variable.
32230 (link-libc-static-tests): New variable.
32231 [!gnulib] (gnulib-arch): New variable.
32232 [!gnulib] (gnulib-tests): Likewise.
32233 [!gnulib] (static-gnulib-arch): Likewise.
32234 [!gnulib] (static-gnulib-tests): Likewise.
32235 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32236 Define with "=" instead of ":=".
32237 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32238 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32239 * Rules (binaries-all-notests): New variable.
32240 (binaries-all-tests): Likewise.
32241 (binaries-static-notests): Likewise.
32242 (binaries-static-tests): Likewise.
32243 (binaries-all): Define using $(binaries-all-notests) and
32244 $(binaries-all-tests).
32245 (binaries-static): Define using $(binaries-static-notests) and
32246 $(binaries-static-tests).
32247 (binaries-shared-tests): New variable.
32248 (binaries-shared-notests): Likewise.
32249 (binaries-shared): Remove variable.
32250 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32251 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32252 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32253 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32254 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32255 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32256 * elf/Makefile (sln-modules): New variable.
32257 (extra-objs): Add $(sln-modules:=.o).
32258 (ldconfig-modules): Add static-stubs.
32259 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32260 * elf/static-stubs.c: New file.
32261
32262 [BZ #14283]
32263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32264 by 7 not 8 to examine high bit of fractional part. Use volatile
32265 variables when splitting into final array of floats if
32266 __FLT_EVAL_METHOD__ != 0.
32267 * math/libm-test.inc (cos_test): Add another test.
32268 (sin_test): Likewise.
32269 * sysdeps/i386/fpu/libm-test-ulps: Update.
32270
32271 [BZ #14273]
32272 * math/libm-test.inc (cosh_test): Add more tests.
32273
32274 * version.h (RELEASE): Set to "development".
32275 (VERSION): Set to "2.16.90".
32276
322772012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32278
32279 * NEWS: Update copyright. Remove last-updated date.
32280 Mention math library bug fixes and timezone data changes.
32281 * README: Mention GNU/Hurd, x32, and HPPA support status.
32282
322832012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32284
32285 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32286
322872012-06-27 Andreas Jaeger <aj@suse.de>
32288
32289 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32290
322912012-06-25 Andreas Jaeger <aj@suse.de>
32292
32293 * sysdeps/s390/fpu/libm-test-ulps: Update.
32294
322952012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32296 Thomas Schwinge <thomas@codesourcery.com>
32297
32298 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32299 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32300 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32301 fanotify_mark.
32302
323032012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32304
32305 * sysdeps/mach/start.c: Remove file.
32306 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32307 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32308 * sysdeps/sh/init-first.c: Likewise.
32309
32310 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32311 registers for frame unwinding purposes, add CFI directives.
32312 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32313 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32314 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32315 Likewise.
32316
32317 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32318 __fortify_fail returning.
32319 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32320
32321 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32322 sysdeps/sh/____longjmp_chk.S.
32323 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32324 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32325 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32326 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32327
32328 * sysdeps/sh/abort-instr.h: New file.
32329 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32330 process in case exit returns.
32331
32332 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32333 initialize the GOT register before use.
32334
32335 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32336 calculation of ARGC > 4.
32337
32338 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32339 meaningful names to some local labels.
32340
323412012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32342 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32343
32344 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32345 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32346 (__arch_compare_and_exchange_val_16_acq): Likewise.
32347 (__arch_compare_and_exchange_val_32_acq): Likewise.
32348 (atomic_exchange_and_add): Fix gUSA sequence.
32349 (atomic_add): Likewise.
32350 (atomic_add_negative): Likewise.
32351 (atomic_add_zero): Likewise.
32352 (atomic_bit_test_set): Likewise.
32353
323542012-06-22 Andreas Schwab <schwab@redhat.com>
32355
32356 [BZ #13579]
32357 * include/link.h (struct link_map): Add l_free_initfini.
32358 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32359 l_initfini.
32360 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32361 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32362 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32363 set.
32364
323652012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32366
32367 * configure.in: Use AC_LANG_SOURCE.
32368 * configure: Regenerate.
32369
323702012-06-22 Roland McGrath <roland@hack.frob.com>
32371
32372 * configure.in (libc_cv_localstatedir): New substituted variable.
32373 * configure: Regenerated.
32374 * config.make.in (localstatedir): New variable, substituted from
32375 libc_cv_localstatedir.
32376 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32377 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32378 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32379 * sysdeps/gnu/configure: Regenerated.
32380
323812012-06-21 Jeff Law <law@redhat.com>
32382
32383 [BZ #14277]
32384 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32385 free. Simplify list management for _LIBC case.
32386
323872012-06-21 Joseph Myers <joseph@codesourcery.com>
32388
32389 [BZ #14273]
32390 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32391 Clear sign bit of 64-bit integer value before comparing against
32392 overflow value.
32393
32394 * sysdeps/mach/configure: Regenerated.
32395
323962012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32397
32398 [BZ #14278]
32399 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32400
324012012-06-21 Jeff Law <law@redhat.com>
32402
32403 [BZ #13882]
32404 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32405 uint16_t for elements in the "seen" array to avoid char overflows.
32406 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32407 * elf/dl-open.c (dl_open_worker): Likewise.
32408
324092012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32410
32411 * scripts/list-sources.sh: Scan PORTS for translations.
32412 * po/libc.pot: Regenerated.
32413
324142012-06-21 Andreas Jaeger <aj@suse.de>
32415
32416 [BZ #12194]
32417 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32418 warning.
32419 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32420 * bits/byteswap-16.h (__bswap_16): Likewise.
32421 * bits/byteswap.h (__bswap_constant_16): Likewise.
32422
324232012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32424
32425 [BZ #14117]
32426 * sysdeps/i386/fpu_control.h: Removed.
32427 * sysdeps/x86_64/fpu_control.h: Moved to ...
32428 * sysdeps/x86/fpu_control.h: Here.
32429
32430 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32431 (_FPU_SETCW): Likewise.
32432
324332012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32434
32435 [BZ #14117]
32436 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32437 * sysdeps/x86/fpu/bits/mathinline.h: This.
32438 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32439
32440 [BZ #14050]
32441 [BZ #14117]
32442 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32443 functions if __x86_64__ is defined.
32444
324452012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32446
32447 * string/endian.h: Add !__ASSEMBLER__ condition for including
32448 conversion interfaces.
32449
324502012-06-15 Joseph Myers <joseph@codesourcery.com>
32451
32452 [BZ #14241]
32453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32454 of ABS(x) in calculating zero to negative powers other than odd
32455 integers.
32456 * math/libm-test.inc (pow_test): Add more tests.
32457
324582012-06-15 Andreas Jaeger <aj@suse.de>
32459
32460 * manual/contrib.texi (Contributors): Update entry of Liubov
32461 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32462 Machado Filho.
32463
324642012-06-15 Cyril Hrubis <metan@ucw.cz>
32465
32466 * string/string.h: Add __wur to GNU version of strerror_r.
32467
324682012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32469
32470 [BZ #14229]
32471 * string/Makefile (tests): Add tst-strtok_r.
32472 * string/tst-strtok_r.c: New file.
32473 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32474 RAX_LP/RDX_LP on SAVE_PTR.
32475
324762012-06-14 Roland McGrath <roland@hack.frob.com>
32477
32478 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32479
324802012-06-14 Joseph Myers <joseph@codesourcery.com>
32481
32482 * libm_test.inc (csqrt_test): Allow more spurious underflow
32483 exceptions.
32484 (j0_test): Likewise.
32485 (j1_test): Likewise.
32486 (y0_test): Likewise.
32487 (y1_test): Likewise.
32488
324892012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32490
32491 * po/Makefile (libc.pot): Use UTF-8 charset.
32492
324932012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32494
32495 [BZ #14210]
32496 Suppress sign-conversion warning from FD_SET.
32497 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32498 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32499 not unsigned long int.
32500 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32501
325022012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32503
32504 [BZ #14050]
32505 [BZ #14117]
32506 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32507 __extern_always_inline instead of __extern_inline.
32508 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32509 (__signbit): Likewise.
32510 (__signbitl): Support C++ namespace.
32511 (lrintf): New inline function.
32512 (lrint): Likewise.
32513 (llrintf): Likewise.
32514 (llrint): Likewise.
32515 (fmaxf): Likewise.
32516 (fmax): Likewise.
32517 (fminf): Likewise.
32518 (fmin): Likewise.
32519 (rint): Likewise.
32520 (rintf): Likewise.
32521 (ceil): Likewise.
32522 (ceilf): Likewise.
32523 (floor): Likewise.
32524 (floorf): Likewise.
32525 (nearbyint): Likewise.
32526 (nearbyintf): Likewise.
32527
325282012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32529
32530 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32531 non-default versions.
32532
325332012-06-11 Roland McGrath <roland@hack.frob.com>
32534
32535 [BZ #14218]
32536 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32537
325382012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32539
32540 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32541 (FE_UPWARD, FE_DOWNWARD): Don't define.
32542 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32543 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32544
32545 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32546 reading it.
32547 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32548 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32549
325502012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32551
32552 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32553 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32554 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32555 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32556
325572012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32558
32559 [BZ #14117]
32560 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32561 * sysdeps/i386/fpu/Implies: New file.
32562 * sysdeps/x86_64/fpu/Implies: Likewise.
32563 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32564 * sysdeps/x86/fpu/bits/fenv.h: This.
32565
32566 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32567 __SSE_MATH__.
32568
325692012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32570
32571 [BZ #14134]
32572 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32573 character 0xffff that matches the last element of the
32574 conversion table.
32575
325762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32577
32578 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32579 fmodl commit.
32580
325812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32582
32583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32584 values higher than 25.6283.
32585
325862012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32587
32588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32589 subnormal exponent extraction and add some __builtin_expect.
32590 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32591 Fix for subnormal mantissa calculation.
32592
325932012-06-04 Mike Frysinger <vapier@gentoo.org>
32594
32595 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32596 cpu2 is -1 and errno is not ENOSYS.
32597
325982012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32599
32600 [BZ #14117]
32601 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32602 * sysdeps/x86/bits/string.h: This.
32603 * sysdeps/x86_64/bits/string.h: Removed.
32604
32605 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32606 if not compiling for x86-64, but compiling for >= i486.
32607
32608 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32609 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32610
32611 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32612 New macro from Linux kernel 3.4.0.
32613 (FP_XSTATE_MAGIC2): Likewise.
32614 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32615 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32616 (struct _fpx_sw_bytes): New struct.
32617 (struct _xsave_hdr): Likewise.
32618 (struct _ymmh_state): Likewise.
32619 (struct _xstate): Likewise.
32620
32621 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32622 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32623 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32624 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32625 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32626 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32627
32628 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32629 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32630 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32631 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32632 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32633 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32634
326352012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32636
32637 [BZ #13743]
32638 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32639 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32640 (sysdep_headers): Include sys/platform/ppc.h.
32641 * sysdeps/powerpc/test-gettimebase.c: Test for
32642 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32643 * manual/Makefile (appendices): Include platform.texi.
32644 * manual/contrib.texi (Contributors): Update @node pointers.
32645 * manual/maint.texi (Maintenance): Likewise.
32646 (Platform): New node.
32647 * manual/platform.texi: New file. Document the new features.
32648
326492012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32650 Jakub Jelinek <jakub@redhat.com>
32651
32652 [BZ #14188]
32653 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32654 where __builtin_expect is unavailable.
32655
326562012-06-03 David S. Miller <davem@davemloft.net>
32657
32658 * stdlib/longlong.h: Updated from GCC.
32659
326602012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32661
32662 [BZ #14042]
32663 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32664 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32665 __mcount_internal.
32666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32667 (GLIBC_2.16): Likewise.
32668
326692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32670
32671 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32672
326732012-06-01 Joseph Myers <joseph@codesourcery.com>
32674
32675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32676 (default-abi): New variable.
32677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32678 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32679 variable.
32680 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32681 Likewise.
32682 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32683 Likewise.
32684 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32685 Likewise.
32686
32687 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32688 definition. Document in comment.
32689
326902012-06-01 David S. Miller <davem@davemloft.net>
32691
32692 * stdlib/longlong.h: Updated from GCC.
32693
326942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32695
32696 [BZ #14117]
32697 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32698 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32699 sys/debugreg.h sys/io.h here.
32700 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32701 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32702 sys/io.h.
32703 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32704 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32705 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32706 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32707 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32708 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32709
32710 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32711 Define only if __x86_64__ is defined.
32712
327132012-06-01 Joseph Myers <joseph@codesourcery.com>
32714
32715 [BZ #14048]
32716 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32717 Use int64_t for variable i.
32718 * math/libm-test.inc (fmod_test): Add more tests.
32719
32720 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32721 z computation is not scheduled after fetestexcept.
32722 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32723 Use math_force_eval instead of asm to ensure calculation scheduled
32724 before exception test.
32725 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32726 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32727
327282012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32729
32730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32731 computation is not scheduled after fetestexcept.
32732
327332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32734
32735 [BZ #14117]
32736 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32737 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32738
327392012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32740
32741 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32742 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32743
327442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32745
32746 [BZ #14117]
32747 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32748 <bits/wordsize.h>.
32749 (__WCHAR_MIN): Support __WORDSIZE == 64.
32750 (__WCHAR_MAX): Likewise.
32751
32752 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32753 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32754
32755 [BZ #14183]
32756 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32757 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32758
32759 [BZ #14117]
32760 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32761 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32762
32763 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32764 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32765
32766 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32767 Defined to 1 if __x86_64__ isn't defined.
32768 (_STAT_VER_LINUX_OLD): New.
32769 (st_atime): Remove duplicate.
32770 (st_mtime): Likewise.
32771 (st_ctime): Likewise.
32772
327732012-05-31 David S. Miller <davem@davemloft.net>
32774
32775 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32776 entries.
32777
327782012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32779
32780 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32781 gen-libm-test.pl.
32782
32783 [BZ #14132]
32784 * elf/dl-reloc.c: Include <_itoa.h>.
32785 (_dl_reloc_bad_type): Remove use of INTUSE.
32786 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32787 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32788 * stdio-common/psiginfo.c (psiginfo): Likewise.
32789 * stdio-common/psignal.c (psignal): Likewise.
32790 * string/strsignal.c (strsignal): Likewise.
32791 * include/signal.h (_sys_siglist): Declare hidden proto.
32792 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32793 INTVARDEF with libc_hidden_data_def.
32794 * stdio-common/itoa-udigits.c: Likewise.
32795 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32796 (_itoa_lower_digits_internal): Remove declaration.
32797 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32798 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32799 (_sys_sigabbrev_internal): Remove aliases.
32800 (_sys_siglist): Define hidden alias.
32801
328022012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32803
32804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32805 bits/sysctl.h.
32806
328072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 [BZ #14117]
32810 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32811 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32812
32813 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32814 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32815 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32816 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32817 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32818 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32819
32820 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32821 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32822 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32823
32824 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32825 with __addr.
32826 (insw): Likewise.
32827 (insl): Likewise.
32828 (outsb): Likewise.
32829 (outsw): Likewise.
32830 (outsl): Likewise.
32831
32832 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32833 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32834 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32835
32836 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32837 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32838 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32839 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32840 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32841 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32842
32843 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32844 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32845
32846 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32847 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32848
32849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32852
32853 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32854 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32855 to ...
32856 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32857
32858 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32859 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32860 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32861
32862 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32863 for x86-64.
32864 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32865
328662012-05-31 Joseph Myers <joseph@codesourcery.com>
32867
32868 * math/math.h (M_El): Use two more decimal places.
32869 (M_LOG2El): Likewise.
32870 (M_LOG10El): Likewise.
32871 (M_LN2l): Likewise.
32872 (M_LN10l): Likewise.
32873 (M_PIl): Likewise.
32874 (M_PI_2l): Likewise.
32875 (M_PI_4l): Likewise.
32876 (M_1_PIl): Likewise.
32877 (M_2_PIl): Likewise.
32878 (M_2_SQRTPIl): Likewise.
32879 (M_SQRT2l): Likewise.
32880 (M_SQRT1_2l): Likewise.
32881
328822012-05-31 David S. Miller <davem@davemloft.net>
32883
32884 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32885 values between float registers.
32886 * sysdeps/sparc/sparc64/memset.S: Likewise.
32887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32888
328892012-05-31 Mike Frysinger <vapier@gentoo.org>
32890
32891 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32892 -D_FORTIFY_SOURCE=1.
32893 (CPPFLAGS-tst-longjmp_chk.c): Define.
32894 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32895 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32896 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32897 CFLAGS-tst-wchar-h.c.
32898
328992012-05-31 Marek Polacek <polacek@redhat.com>
32900
32901 [BZ #14132]
32902 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32903 __endmntent_internal): Remove declaration.
32904 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32905 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32906 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32907
329082012-05-30 David S. Miller <davem@davemloft.net>
32909
32910 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32911 (___Q_simulate_exceptions): Use real FP ops rather than writing
32912 into the %fsr.
32913 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32914 Likewise.
32915
329162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32917
32918 [BZ #14117]
32919 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32920 * sysdeps/x86/bits/xtitypes.h: This.
32921
32922 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32923 * sysdeps/x86/bits/wordsize.h: This.
32924
32925 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32926 * sysdeps/x86/bits/huge_vall.h: This.
32927
32928 * sysdeps/i386/bits/select.h: Removed.
32929 * sysdeps/x86_64/bits/select.h: Renamed to ...
32930 * sysdeps/x86/bits/select.h: This.
32931
32932 * sysdeps/i386/bits/setjmp.h: Removed.
32933 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32934 * sysdeps/x86/bits/setjmp.h: This.
32935
32936 * sysdeps/i386/bits/mathdef.h: Removed.
32937 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32938 * sysdeps/x86/bits/mathdef.h: This.
32939
329402012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32941
32942 [BZ #14132]
32943 * include/sys/socket.h (__connect_internal)
32944 (__libc_sa_len_internal): Remove declaration.
32945 (__connect, __libc_sa_len): Declare hidden_proto.
32946 (SA_LEN): Remove use of INTUSE.
32947 * socket/connect.c: Add libc_hidden_def.
32948 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32949 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32950 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32951 alias.
32952 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32953 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32954 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32955 of adding _internal alias.
32956
329572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32958
32959 [BZ #14117]
32960 * sysdeps/i386/bits/link.h: Removed.
32961 * sysdeps/i386/bits/linkmap.h: Likewise.
32962 * sysdeps/x86_64/bits/link.h: Renamed to ...
32963 * sysdeps/x86/bits/link.h: This.
32964 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32965 * sysdeps/x86/bits/linkmap.h: This.
32966
32967 * sysdeps/i386/bits/endian.h: Removed.
32968 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32969 * sysdeps/x86/bits/endian.h: This.
32970
32971 * sysdeps/i386/bits/byteswap.h: Removed.
32972 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32973 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32974 * sysdeps/x86/bits/byteswap.h: This.
32975 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32976 * sysdeps/x86/bits/byteswap-16.h: This.
32977 * sysdeps/i386/Implies: Add x86.
32978 * sysdeps/x86_64/Implies: Likewise.
32979
329802012-05-30 David S. Miller <davem@davemloft.net>
32981
32982 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32983 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32984 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32985 (FP_TRAPPING_EXCEPTIONS): Define.
32986 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32987 (FP_TRAPPING_EXCEPTIONS): Define.
32988 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32989 subnormals only when inexact has been signalled or underflow
32990 exceptions are enabled.
32991 (_FP_PACK_CANONICAL): Likewise.
32992
329932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32994
32995 [BZ #14183]
32996 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32997 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32998
329992012-05-30 Richard Henderson <rth@twiddle.net>
33000
33001 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33002 with #ifndef NOT_IN_libc.
33003
33004 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33005 marked to avoid plt entry.
33006
330072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33008
33009 [BZ #14112]
33010 * Makeconfig (default-abi): New macro.
33011 (abi-includes): Likewise.
33012 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33013 $(abi-$(default-abi)-lib-soname) for soname if defined.
33014 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33015 abi-variants.
33016 * Makefile (installed-stubs): Likewise.
33017 * include/stubs-biarch.h: Removed.
33018 * scripts/lib-names.awk: Only handle one library at a time.
33019 * scripts/soversions.awk: Remove WORDSIZE support.
33020 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33021 entries.
33022 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33023 Removed.
33024 (syscall-list-default-condition): Likewise.
33025 (syscall-list-default-condition): Likewise.
33026 (syscall-list-includes): Likewise.
33027 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33028 syscall-list-* with abi-*. Handle undefined abi-variants.
33029 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33030 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33031 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33032 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33033 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33034 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33035 Removed.
33036 (syscall-list-32-options): Likewise.
33037 (syscall-list-32-condition): Likewise.
33038 (syscall-list-64-options): Likewise.
33039 (syscall-list-64-condition): Likewise.
33040 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33041 macro.
33042 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33043 Renamed to ...
33044 (abi-*): This.
33045 (abi-64-ld-soname): New macro.
33046 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33047 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33048 Renamed to ...
33049 (abi-*): This.
33050 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33051 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33052
330532012-05-30 Joseph Myers <joseph@codesourcery.com>
33054
33055 * sysdeps/unix/sysv/linux/kernel-features.h
33056 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33057 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33058 include <kernel-features.h>.
33059 [!__NR_ftruncate64]: Remove conditional code.
33060 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33061 [__NR_ftruncate64]: Make code unconditional.
33062 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33063 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33064 include <kernel-features.h>.
33065 [!__NR_ftruncate64]: Remove conditional code.
33066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33067 [__NR_ftruncate64]: Make code unconditional.
33068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33070 include <kernel-features.h>.
33071 [!__NR_ftruncate64]: Remove conditional code.
33072 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33073 [__NR_ftruncate64]: Make code unconditional.
33074 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33076 include <kernel-features.h>.
33077 [!__NR_ftruncate64]: Remove conditional code.
33078 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33079 [__NR_ftruncate64]: Make code unconditional.
33080 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33081
33082 * configure.in (libc_cv_fpie): Weaken to a compile test using
33083 LIBC_TRY_CC_OPTION.
33084 * configure: Regenerated.
33085
330862012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33087
33088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33092 Refreshed.
33093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33099 Refreshed.
33100
331012012-05-27 David S. Miller <davem@davemloft.net>
33102
33103 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33104 (___Q_zero): New.
33105 (__Q_simulate_exceptions): Return void. Change to simulate
33106 exceptions by writing into the %fsr.
33107 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33108 (__Qp_handle_exceptions): Likewise.
33109 (numbers): Delete.
33110 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33111 __Qp_handle_exceptions.
33112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33113 __Qp_handle_exceptions.
33114 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33115 as unused and give dummy FP_RND_NEAREST initializer.
33116 (FP_INHIBIT_RESULTS): Define.
33117 (___Q_simulate_exceptions): Update declaration.
33118 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33119 formatting.
33120 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33121 as unused and give dummy FP_RND_NEAREST initializer.
33122 (__Qp_handle_exceptions): Update declaration.
33123 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33124 formatting.
33125
331262012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33127
33128 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33129 the temporary FPU control word.
33130 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33131 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33132 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33133 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33134 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33135 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33136 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33137 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33138 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33139 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33140 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33141
331422012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33143
33144 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33145 fields.
33146
331472012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33148
33149 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33150 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33151 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33152 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33153 Likewise.
33154 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33155 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33156 Likewise.
33157
331582012-05-27 Ulrich Drepper <drepper@gmail.com>
33159
33160 * po/h.po: Update from translation team.
33161
331622012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33163
33164 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33165
33166 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33167 handling of denormals.
33168 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33169 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33170 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33171 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33175 Likewise.
33176
331772012-05-26 Marek Polacek <polacek@redhat.com>
33178
33179 [BZ #14152]
33180 * math/libm-test.inc (fma_test): Don't always expect underflow
33181 exception.
33182
331832012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33184
33185 [BZ #12416]
33186 * elf/tst-execstack.c: Include stackinfo.h.
33187 (do_test): Adjust test case to ensure that pthread_getattr_np
33188 behaviour remains the same after marking stack executable.
33189
331902012-05-25 Joseph Myers <joseph@codesourcery.com>
33191
33192 * sysdeps/unix/sysv/linux/kernel-features.h
33193 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33194 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33195 kernel-features.h.
33196 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33197 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33198 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33199 kernel-features.h.
33200 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33201 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33202
332032012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33204
33205 * configure.in: Define the default includes to being none.
33206 * configure: Regenerated.
33207
332082012-05-25 Roland McGrath <roland@hack.frob.com>
33209
33210 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33211 * sysdeps/x86_64/setjmp.S: Likewise.
33212 * sysdeps/i386/bsd-setjmp.S: Likewise.
33213 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33214 * sysdeps/i386/setjmp.S: Likewise.
33215 * sysdeps/i386/__longjmp.S: Likewise.
33216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33217 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33218
33219 * include/stap-probe.h: New file.
33220 * configure.in: Handle --enable-systemtap.
33221 * configure: Regenerated.
33222 * config.h.in (USE_STAP_PROBE): New #undef.
33223 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33224 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33225 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33226
332272012-05-25 Joseph Myers <joseph@codesourcery.com>
33228
33229 [BZ #13717]
33230 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33231 to 2.4.0 where earlier.
33232 * sysdeps/unix/sysv/linux/configure: Regenerated.
33233 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33234 <kernel-features.h>.
33235 [__ASSUME_32BITUIDS]: Make code unconditional.
33236 [!__ASSUME_32BITUIDS]: Remove conditional code.
33237 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33238 <kernel-features.h>.
33239 [__ASSUME_32BITUIDS]: Make code unconditional.
33240 [!__ASSUME_32BITUIDS]: Remove conditional code.
33241 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33242 [__ASSUME_32BITUIDS]: Make code unconditional.
33243 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33244 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33245 <kernel-features.h>.
33246 [__ASSUME_32BITUIDS]: Make code unconditional.
33247 [!__ASSUME_32BITUIDS]: Remove conditional code.
33248 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33249 <kernel-features.h>.
33250 [__ASSUME_32BITUIDS]: Make code unconditional.
33251 [!__ASSUME_32BITUIDS]: Remove conditional code.
33252 * sysdeps/unix/sysv/linux/i386/getgid.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/i386/getgroups.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/i386/getresgid.c: Do not include
33261 <kernel-features.h>.
33262 [__ASSUME_32BITUIDS]: Make code unconditional.
33263 [!__ASSUME_32BITUIDS]: Remove conditional code.
33264 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33265 <kernel-features.h>.
33266 [__ASSUME_32BITUIDS]: Make code unconditional.
33267 [!__ASSUME_32BITUIDS]: Remove conditional code.
33268 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33269 <kernel-features.h>.
33270 [__ASSUME_32BITUIDS]: Make code unconditional.
33271 [!__ASSUME_32BITUIDS]: Remove conditional code.
33272 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33273 <kernel-features.h>.
33274 [__ASSUME_32BITUIDS]: Make code unconditional.
33275 [!__ASSUME_32BITUIDS]: Remove conditional code.
33276 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33277 <kernel-features.h>.
33278 [__ASSUME_32BITUIDS]: Make code unconditional.
33279 [!__ASSUME_32BITUIDS]: Remove conditional code.
33280 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33281 <kernel-features.h>.
33282 [__ASSUME_32BITUIDS]: Make code unconditional.
33283 [!__ASSUME_32BITUIDS]: Remove conditional code.
33284 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33285 <kernel-features.h>.
33286 [__NR_setresgid] (__setresgid): Do not declare.
33287 [__ASSUME_32BITUIDS]: Make code unconditional.
33288 [!__ASSUME_32BITUIDS]: Remove conditional code.
33289 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33290 <kernel-features.h>.
33291 [__NR_setresuid] (__setresuid): Do not declare.
33292 [__ASSUME_32BITUIDS]: Make code unconditional.
33293 [!__ASSUME_32BITUIDS]: Remove conditional code.
33294 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33295 <kernel-features.h>.
33296 [__ASSUME_32BITUIDS]: Make code unconditional.
33297 [!__ASSUME_32BITUIDS]: Remove conditional code.
33298 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33299 <kernel-features.h>.
33300 [__ASSUME_32BITUIDS]: Make code unconditional.
33301 [!__ASSUME_32BITUIDS]: Remove conditional code.
33302 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33303 <kernel-features.h>.
33304 [__ASSUME_32BITUIDS]: Make code unconditional.
33305 [!__ASSUME_32BITUIDS]: Remove conditional code.
33306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33307 <kernel-features.h>.
33308 [__ASSUME_32BITUIDS]: Make code unconditional.
33309 [!__ASSUME_32BITUIDS]: Remove conditional code.
33310 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33311 <kernel-features.h>.
33312 [__ASSUME_32BITUIDS]: Make code unconditional.
33313 [!__ASSUME_32BITUIDS]: Remove conditional code.
33314 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33315 <kernel-features.h>.
33316 [__ASSUME_32BITUIDS]: Make code unconditional.
33317 [!__ASSUME_32BITUIDS]: Remove conditional code.
33318 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33319 <kernel-features.h>.
33320 [__ASSUME_32BITUIDS]: Make code unconditional.
33321 [!__ASSUME_32BITUIDS]: Remove conditional code.
33322 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33323 <kernel-features.h>.
33324 [__ASSUME_32BITUIDS]: Make code unconditional.
33325 [!__ASSUME_32BITUIDS]: Remove conditional code.
33326 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33327 <kernel-features.h>.
33328 [__ASSUME_32BITUIDS]: Make code unconditional.
33329 [!__ASSUME_32BITUIDS]: Remove conditional code.
33330 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33331 <kernel-features.h>.
33332 [__ASSUME_32BITUIDS]: Make code unconditional.
33333 [!__ASSUME_32BITUIDS]: Remove conditional code.
33334 * sysdeps/unix/sysv/linux/kernel-features.h
33335 (__ASSUME_SETRESUID_SYSCALL): Remove.
33336 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33337 (__ASSUME_32BITUIDS): Likewise.
33338 (__ASSUME_LDT_WORKS): Likewise.
33339 (__ASSUME_O_DIRECTORY): Likewise.
33340 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33341 architecture but not kernel version.
33342 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33343 (__ASSUME_MMAP2_SYSCALL): Likewise.
33344 (__ASSUME_STAT64_SYSCALL): Likewise.
33345 (__ASSUME_IPC64): Likewise.
33346 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33347 <kernel-features.h>.
33348 [__ASSUME_32BITUIDS]: Make code unconditional.
33349 [!__ASSUME_32BITUIDS]: Remove conditional code.
33350 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33351 <kernel-features.h>.
33352 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33353 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33354 132096]: Remove conditional code.
33355 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33356 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33357 <kernel-features.h>.
33358 [__ASSUME_32BITUIDS]: Make code unconditional.
33359 [!__ASSUME_32BITUIDS]: Remove conditional code.
33360 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33361 <kernel-features.h>.
33362 [__ASSUME_32BITUIDS]: Make code unconditional.
33363 [!__ASSUME_32BITUIDS]: Remove conditional code.
33364 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33365 <kernel-features.h>.
33366 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33367 unconditional.
33368 (__setresgid): Do not declare.
33369 [__ASSUME_32BITUIDS]: Make code unconditional.
33370 [!__ASSUME_32BITUIDS]: Remove conditional code.
33371 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33372 <kernel-features.h>.
33373 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33374 unconditional.
33375 (__setresuid): Do not declare.
33376 [__ASSUME_32BITUIDS]: Make code unconditional.
33377 [!__ASSUME_32BITUIDS]: Remove conditional code.
33378 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33379 <kernel-features.h>.
33380 [__ASSUME_32BITUIDS]: Make code unconditional.
33381 [!__ASSUME_32BITUIDS]: Remove conditional code.
33382 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33383 <kernel-features.h>.
33384 [__ASSUME_32BITUIDS]: Make code unconditional.
33385 [!__ASSUME_32BITUIDS]: Remove conditional code.
33386
333872012-05-25 Richard Henderson <rth@twiddle.net>
33388
33389 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33390 dl_hwcap to ifunc resolver.
33391 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33392 elf_ifunc_invoke.
33393 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33394 dl_hwcap to ifunc resolver.
33395 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33396
333972012-05-24 Joseph Myers <joseph@codesourcery.com>
33398
33399 [BZ #14153]
33400 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33401 for |x| <= 2**-26, not 2**-57.
33402 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33403 exception.
33404
334052012-05-24 Jeff Law <law@redhat.com>
33406
33407 * stdio-common/Makefile (tests): Add bug25.
33408 * stdio-common/bug25.c: New test.
33409
334102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33411
33412 [BZ #13576]
33413 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33414 multiple of MALLOC_ALIGNMENT in size.
33415 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33416
334172012-05-24 Joseph Myers <joseph@codesourcery.com>
33418
33419 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33420 Require >= 256.
33421 (FILENAME_MAX): Use macro-int-constant.
33422 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33423 (_IOFBF): Use macro-int-constant.
33424 (_IOLBF): Likewise.
33425 (_IONBF): Likewise.
33426 (SEEK_CUR): Likewise.
33427 (SEEK_END): Likewise.
33428 (SEEK_SET): Likewise.
33429 (TMP_MAX): Likewise.
33430 (EOF): Use macro-int-constant. Require < 0.
33431 (NULL): Use macro-constant. Require == 0.
33432 (stdin): Require type to be FILE *.
33433 (stdout): Likewise.
33434 (stderr): Likewise.
33435 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33436 macro-int-constant.
33437 (EXIT_SUCCESS): Likewise.
33438 (NULL): Use macro-constant. Require == 0.
33439 (RAND_MAX): Use macro-int-constant.
33440 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33441 [C99-based standards] (strtof): Require function.
33442 [C99-based standards] (strtold): Likewise.
33443 [C99-based standards] (strtoll): Likewise.
33444 [C99-based standards] (strtoull): Likewise.
33445 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33446 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33447 [ISO || ISO99 || ISO11] (math.h): Likewise.
33448 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33449 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33451
334522012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33453
33454 [BZ #14132]
33455 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33456 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33457 * intl/dgettext.c (DCGETTEXT): Likewise.
33458 * intl/gettext.c (DCGETTEXT): Likewise.
33459 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33460 * posix/regex_internal.h (gettext): Likewise.
33461 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33462 Remove declaration.
33463 * include/argz.h (__argz_count_internal)
33464 (__argz_stringify_internal): Remove declaration.
33465 (__argz_count, __argz_stringify): Declare hidden proto.
33466 * intl/dcgettext.c: Remove use of INTDEF.
33467 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33468 * string/argz-stringify.c: Likewise.
33469 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33470 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33471 Declare hidden proto.
33472 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33473 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33474 Declare hidden proto.
33475 * include/stdio.h (__asprintf_internal): Don't declare.
33476 (__asprintf): Don't define as macro. Declare hidden proto.
33477 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33478 (__fsetlocking): Declare hidden proto.
33479 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33480 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33481 hidden proto.
33482 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33483 (_IO_setlinebuf): Remove use of INTUSE.
33484 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33485 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33486 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33487 Remove declaration.
33488 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33489 (_IO_do_flush): Remove use of INTUSE.
33490 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33491 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33492 (_IO_adjust_column, _IO_least_wmarker)
33493 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33494 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33495 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33496 (_IO_default_doallocate, _IO_wdefault_doallocate)
33497 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33498 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33499 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33500 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33501 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33502 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33503 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33504 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33505 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33506 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33507 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33508 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33509 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33510 proto.
33511 (_IO_flush_all_internal, _IO_adjust_column_internal)
33512 (_IO_default_uflow_internal, _IO_default_finish_internal)
33513 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33514 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33515 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33516 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33517 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33518 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33519 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33520 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33521 (_IO_file_close_internal, _IO_file_close_it_internal)
33522 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33523 (_IO_file_init_internal, _IO_file_attach_internal)
33524 (_IO_file_fopen_internal, _IO_file_read_internal)
33525 (_IO_file_sync_internal, _IO_file_seek_internal)
33526 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33527 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33528 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33529 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33530 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33531 (_IO_list_all_internal, _IO_link_in_internal)
33532 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33533 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33534 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33535 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33536 (_IO_do_write_internal, _IO_padn_internal)
33537 (_IO_getline_info_internal, _IO_getline_internal)
33538 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33539 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33540 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33541 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33542 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33543 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33544 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33545 with libc_hidden_ver, remove use of INTUSE.
33546 * libio/genops.c: Likewise.
33547 * libio/freopen.c: Likewise.
33548 * libio/freopen64.c: Likewise.
33549 * libio/iofclose.c: Likewise.
33550 * libio/iofdopen.c: Likewise.
33551 * libio/iofflush.c: Likewise.
33552 * libio/iofflush_u.c: Likewise.
33553 * libio/iofgets.c: Likewise.
33554 * libio/iofgets_u.c: Likewise.
33555 * libio/iofopen.c: Likewise.
33556 * libio/iofopncook.c: Likewise.
33557 * libio/iofread.c: Likewise.
33558 * libio/iofread_u.c: Likewise.
33559 * libio/ioftell.c: Likewise.
33560 * libio/iofwrite.c: Likewise.
33561 * libio/iogetline.c: Likewise.
33562 * libio/iogets.c: Likewise.
33563 * libio/iogetwline.c: Likewise.
33564 * libio/iopadn.c: Likewise.
33565 * libio/iopopen.c: Likewise.
33566 * libio/ioseekoff.c: Likewise.
33567 * libio/ioseekpos.c: Likewise.
33568 * libio/iosetbuffer.c: Likewise.
33569 * libio/iosetvbuf.c: Likewise.
33570 * libio/ioungetc.c: Likewise.
33571 * libio/ioungetwc.c: Likewise.
33572 * libio/iovdprintf.c: Likewise.
33573 * libio/iovsprintf.c: Likewise.
33574 * libio/iovsscanf.c: Likewise.
33575 * libio/memstream.c: Likewise.
33576 * libio/obprintf.c: Likewise.
33577 * libio/oldfileops.c: Likewise.
33578 * libio/oldiofclose.c: Likewise.
33579 * libio/oldiofdopen.c: Likewise.
33580 * libio/oldiofopen.c: Likewise.
33581 * libio/oldiopopen.c: Likewise.
33582 * libio/oldstdfiles.c: Likewise.
33583 * libio/putc.c: Likewise.
33584 * libio/setbuf.c: Likewise.
33585 * libio/setlinebuf.c: Likewise.
33586 * libio/stdfiles.c: Likewise.
33587 * libio/strops.c: Likewise.
33588 * libio/vasprintf.c: Likewise.
33589 * libio/vscanf.c: Likewise.
33590 * libio/vsnprintf.c: Likewise.
33591 * libio/vswprintf.c: Likewise.
33592 * libio/wfiledoalloc.c: Likewise.
33593 * libio/wfileops.c: Likewise.
33594 * libio/wgenops.c: Likewise.
33595 * libio/wmemstream.c: Likewise.
33596 * libio/wstrops.c: Likewise.
33597 * libio/__fpurge.c: Likewise.
33598 * libio/__fsetlocking.c: Likewise.
33599 * assert/assert.c: Likewise.
33600 * debug/fgets_chk.c: Likewise.
33601 * debug/fgets_u_chk.c: Likewise.
33602 * debug/fread_chk.c: Likewise.
33603 * debug/fread_u_chk.c: Likewise.
33604 * debug/gets_chk.c: Likewise.
33605 * debug/obprintf_chk.c: Likewise.
33606 * debug/vasprintf_chk.c: Likewise.
33607 * debug/vdprintf_chk.c: Likewise.
33608 * debug/vsnprintf_chk.c: Likewise.
33609 * debug/vsprintf_chk.c: Likewise.
33610 * malloc/mtrace.c: Likewise.
33611 * misc/error.c: Likewise.
33612 * misc/syslog.c: Likewise.
33613 * stdio-common/asprintf.c: Likewise.
33614 * stdio-common/fxprintf.c: Likewise.
33615 * stdio-common/getw.c: Likewise.
33616 * stdio-common/isoc99_fscanf.c: Likewise.
33617 * stdio-common/isoc99_scanf.c: Likewise.
33618 * stdio-common/isoc99_vfscanf.c: Likewise.
33619 * stdio-common/isoc99_vscanf.c: Likewise.
33620 * stdio-common/isoc99_vsscanf.c: Likewise.
33621 * stdio-common/printf-prs.c: Likewise.
33622 * stdio-common/printf_fp.c: Likewise.
33623 * stdio-common/printf_fphex.c: Likewise.
33624 * stdio-common/printf_size.c: Likewise.
33625 * stdio-common/putw.c: Likewise.
33626 * stdio-common/scanf.c: Likewise.
33627 * stdio-common/sprintf.c: Likewise.
33628 * stdio-common/tmpfile.c: Likewise.
33629 * stdio-common/vfprintf.c: Likewise.
33630 * stdio-common/vfscanf.c: Likewise.
33631 * stdlib/strfmon_l.c: Likewise.
33632 * sunrpc/openchild.c: Likewise.
33633 * sunrpc/xdr_stdio.c: Likewise.
33634 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33635 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33636
336372012-05-24 Roland McGrath <roland@hack.frob.com>
33638
33639 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33640
33641 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33642 in the third column, to generate for the shared library an IFUNC
33643 that uses _dl_vdso_vsym.
33644 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33645 * Makeconfig (object-suffixes-noshared): New variable.
33646
33647 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33648 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33649 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33650 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33651
33652 [BZ #14132]
33653 * include/sys/time.h (__gettimeofday): Remove macro.
33654 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33655 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33656 Remove INTDEF.
33657 (__gettimeofday): Add libc_hidden_def.
33658 (gettimeofday): Add libc_hidden_weak.
33659 * sysdeps/mach/gettimeofday.c: Likewise.
33660 * sysdeps/posix/gettimeofday.c: Likewise.
33661 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33662 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33664 (__gettimeofday_internal): Remove strong_alias.
33665 (__gettimeofday): Add libc_hidden_def.
33666 (gettimeofday): Add libc_hidden_weak.
33667 * sysdeps/unix/syscalls.list (gettimeofday):
33668 Remove __gettimeofday_internal alias.
33669
336702012-05-24 Daniel Jacobowitz <drow@false.org>
33671 H.J. Lu <hongjiu.lu@intel.com>
33672
33673 [BZ #12495]
33674 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33675 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33676 (largebin_index_32_big): New.
33677 (largebin_index): Use it for 16-byte alignment.
33678 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33679 correction with front_misalign.
33680
336812012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33682
33683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33685 Likewise.
33686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33687 Likewise.
33688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33689 Likewise.
33690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33691 Likewise.
33692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33693 Likewise.
33694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33695 Likewise.
33696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33697 Likewise.
33698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33699 Likewise.
33700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33701 Likewise.
33702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33703 Likewise.
33704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33705 Likewise.
33706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33707 Likewise.
33708
33709 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33710 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33711
337122012-05-24 Joseph Myers <joseph@codesourcery.com>
33713
33714 [BZ #10846]
33715 [BZ #14036]
33716 * math/libm-test.inc (exp_test): Add test from bug 14036.
33717 (pow_test): Add test from bug 10846.
33718
33719 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33720 and other flags.
33721 (special_function): Do not include flags in test name.
33722 (parse_args): Likewise.
33723 * sysdeps/i386/fpu/libm-test-ulps: Update.
33724 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33725 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33726 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33728
33729 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33730 exceptions.
33731 * math/libm-test.inc ("Philosophy"): Update comment about
33732 exception testing.
33733 (UNDERFLOW_EXCEPTION): New macro.
33734 (UNDERFLOW_EXCEPTION_OK): Likewise.
33735 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33736 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33737 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33738 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33739 (INVALID_EXCEPTION_OK): Update value.
33740 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33741 (OVERFLOW_EXCEPTION_OK): Likewise.
33742 (IGNORE_ZERO_INF_SIGN): Likewise.
33743 (test_exceptions): Handle underflow exceptions.
33744 (acos_test): Update for underflow exception expectations.
33745 (cexp_test): Likewise.
33746 (clog_test): Likewise.
33747 (clog10_test): Likewise.
33748 (csqrt_test): Likewise.
33749 (ctan_test): Likewise.
33750 (ctanh_test): Likewise.
33751 (exp_test): Likewise.
33752 (exp10_test): Likewise.
33753 (exp2_test): Likewise.
33754 (expm1_test): Likewise.
33755 (fma_test): Likewise.
33756 (j0_test): Likewise.
33757 (jn_test): Likewise.
33758 (nexttoward_test): Likewise.
33759 (pow_test): Likewise.
33760 (scalbn_test): Likewise.
33761 (scalbln_test): Likewise.
33762 (tan_test): Likewise.
33763 (y1_test): Likewise.
33764 * sysdeps/i386/fpu/libm-test-ulps: Update.
33765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33766
337672012-05-23 David S. Miller <davem@davemloft.net>
33768
33769 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33770 (__libc_sigaction): Remove unused local variables.
33771
337722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33773
33774 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33775
337762012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33777
33778 mktime: avoid signed integer overflow
33779 * time/mktime.c (__mktime_internal): Do not mishandle the case
33780 where diff == INT_MIN.
33781
33782 mktime: simplify computation of average
33783 * time/mktime.c (ranged_convert): Use new time_t_avg function
33784 instead of rolling our own (probably-slower) code.
33785
33786 mktime: do not assume signed right shift propagates sign bit
33787 * time/mktime.c (isdst_differ): New static function.
33788 (__mktime_internal): No need to normalize tm_isdst now.
33789 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33790 tm_isdst values.
33791
33792 mktime: merge another wrapv change from gnulib
33793 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33794 from some compilers.
33795
33796 mktime: remove incorrect attempt at unusual arithmetics
33797 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33798 The code didn't really work on such machines anyway.
33799 (TYPE_MINIMUM): Assume two's complement.
33800 (twos_complement_arithmetic): Verify that long_int and time_t
33801 are two's complement (or unsigned, in the latter case).
33802
33803 mktime: check signed shifts on long_int and time_t, too
33804 * time/mktime.c (SHR): Check that shifts work as desired
33805 on the types long_int and time_t too, as SHR is used on
33806 such types.
33807
33808 mktime: do not assume 'long' is wide enough
33809 * time/mktime.c (verify): Move decl up.
33810 (long_int): New type.
33811 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33812 to remove assumption in the code that 'long' is wide enough to
33813 store year values. This assumption is not true on x32 and on
33814 some non-glibc platforms.
33815
33816 mktime: merge wrapv change from gnulib
33817 * time/mktime.c (WRAPV): New macro.
33818 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33819 (guess_time_tm, __mktime_internal): Do not assume that signed
33820 integer overflow wraps around; modern compilers generate code
33821 where this assumption is no longer valid.
33822
338232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33824
33825 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33826 Replace "jmp L(pseudo_end)" with "ret".
33827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33828 Likewise.
33829
338302012-05-23 Andreas Jaeger <aj@suse.de>
33831
33832 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33833 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33834
338352012-05-23 Andreas Jaeger <aj@suse.de>
33836 Maximilian Attems <max@stro.at>
33837
33838 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33839 New macros.
33840
338412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33842
33843 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33844 code so that pseudo_end is just ret and the stack pointer is
33845 correct also for static library in error case.
33846
338472012-05-23 Joseph Myers <joseph@codesourcery.com>
33848
33849 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33850 move to syscalls.list.
33851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33855
33856 * manual/install.texi (Running make install): Do not mention Linux
33857 kernel version for which pt_chown is not needed.
33858 (Linux): Do not mention problems with nscd with 2.0 kernels.
33859 * INSTALL: Regenerated.
33860
338612012-05-23 Andreas Jaeger <aj@suse.de>
33862
33863 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33864 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33865 macro.
33866 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33867 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33868 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33870 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33872 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33875 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33876 * sysdeps/unix/sysv/linux/bits/in.h
33877 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33878
338792012-05-22 Roland McGrath <roland@hack.frob.com>
33880
33881 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33882 (PREPARE_VERSION): Just use assert instead, it will be elided
33883 under [NDEBUG] anyway.
33884
338852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33886
33887 * sysdeps/unix/sysv/linux/Makefile: Include
33888 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33889 (sysdep_routines): Remove sysctl.
33890 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33891 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33892 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33893 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33894 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33895
338962012-05-22 Andreas Jaeger <aj@suse.de>
33897
33898 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33899 that pseudo_end is just ret and the stack pointer is correct also
33900 for static library in error case.
33901
339022012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33903
33904 [BZ #14122]
33905 * nss/nsswitch.c (defconfig_entries): New variable.
33906 (__nss_database_lookup): Don't leak defconfig entries.
33907 (nss_parse_service_list): Don't leak on error paths.
33908 (free_database_entries): New function.
33909 (free_defconfig): New function.
33910 (free_mem): Move common code to free_database_entries.
33911
339122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33913
33914 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33915 Add arch_prctl.
33916 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33917
33918 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33919 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33921 New macro.
33922 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33923 (INTERNAL_SYSCALL_TYPES): Likewise.
33924 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33925 (LOAD_REGS_TYPES_[1-6]): Likewise.
33926 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33927 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33928
339292012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33930
33931 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33932 copysignl for GLIBC_2_0.
33933 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33934 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33935 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33936 logbl for GLIBC_2_0.
33937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33938 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33939
339402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33941
33942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33943 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33944
33945 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33946 Use "neg %eax".
33947
33948 * time/mktime.c: Update copyright years.
33949
339502012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33951
33952 mktime: merge comment-quoting-style change from gnulib
33953 * time/mktime.c: Quote 'like this' in comments.
33954 The GNU coding standards suggest that we no longer quote `like this',
33955 as "`" and "'" are typically rendered asymmetrically nowadays.
33956 The typical gnulib style is to quote 'like this' when quoting
33957 code, and "like this" when quoting English.
33958
33959 * time/mktime.c (compile-command): Add "-I.".
33960
33961 mktime: merge mktime-internal.h change from gnulib
33962 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33963
33964 mktime: merge time_r change from gnulib
33965 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33966
33967 mktime: merge DEBUG change from gnulib
33968 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33969 case system <time.h> has a #define.
33970
33971 mktime: merge <sys/types.h> change from gnulib
33972 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33973 since <time.t> is now guaranteed to define time_t.
33974
33975 mktime: merge HAVE_CONFIG_H change from gnulib
33976 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33977
339782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33979
33980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33981 Use "neg %eax".
33982
33983 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33984 __rlim_t cast.
33985 (struct rusage): Use anonymous union to pad each field to
33986 __syscall_slong_t.
33987
339882012-05-21 David S. Miller <davem@davemloft.net>
33989
33990 * Makefules (o-iterator): Remove .s cases.
33991 (compile-command.s): Delete.
33992 (COMPILE.s): Delete.
33993 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33994
339952012-05-21 Joseph Myers <joseph@codesourcery.com>
33996
33997 * configure.in (libc_cv_predef_stack_protector): Only consider
33998 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33999 * configure: Regenerated.
34000
340012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34002
34003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34004 New macro. Use R*LP on int and pointer.
34005 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34006 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34007 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34008 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34009
34010 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34011 [__WORDSIZE_TIME64_COMPAT32] instead of
34012 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34013 (struct utmp): Likewise.
34014 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34015 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34016 Renamed to ...
34017 (__WORDSIZE_TIME64_COMPAT32): This.
34018 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34019 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34020 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34021 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34022 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34023 (__WORDSIZE_TIME64_COMPAT32): New macro.
34024
340252012-05-21 Andreas Jaeger <aj@suse.de>
34026
34027 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34028 only if [SHARED]. Add prototype for __wcschr_ia32.
34029
340302012-05-21 Roland McGrath <roland@hack.frob.com>
34031
34032 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34033 of %rbp unmolested in the jmp_buf while mangling the low bits.
34034 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34035 unmolested high bits of %rbp while demangling the low bits.
34036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34037
340382012-05-21 Andreas Jaeger <aj@suse.de>
34039
34040 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34041 * sunrpc/svc_simple.c: Use it for registerrpc.
34042 * sunrpc/xcrypt.c: Use it for passwd2des.
34043
34044 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34045
340462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34047
34048 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34049 Don't define if [__SYSCALL_WORDSIZE != 32].
34050 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34051 New macro.
34052
340532012-05-21 Bruno Haible <bruno@clisp.org>
34054 Andreas Jaeger <aj@suse.de>
34055
34056 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34057 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34058 inptr and inend for must_buffer_ch.
34059 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34060 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34061 * stdio-common/Makefile (tests): Remove bug15.
34062 (bug15-ENV): Remove macro.
34063 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34064 anymore.
34065
340662012-05-19 Andreas Jaeger <aj@suse.de>
34067 Roland McGrath <roland@hack.frob.com>
34068
34069 * manual/contrib.texi: Completely rewritten. It contains now an
34070 alphabetical list of contributors and their contributions.
34071
340722012-05-21 Richard Henderson <rth@twiddle.net>
34073
34074 * misc/getauxval.c (__getauxval): Use unsigned long int.
34075 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34076 (getauxval): Use unsigned long int.
34077
340782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34079
34080 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34081
340822012-05-21 Roland McGrath <roland@hack.frob.com>
34083
34084 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34085 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34086 __alignof__ (long double).
34087
340882012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34089
34090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34091
340922012-05-20 Richard Henderson <rth@twiddle.net>
34093
34094 * misc/getauxval.c: New file.
34095 * misc/sys/auxv.h: New file.
34096 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34097 (routines): Add getauxval.
34098 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34099 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34100 * elf/dl-sysdep.c (_dl_auxv): Remove.
34101 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34102 * elf/dl-support.c (_dl_auxv): New variable.
34103 (_dl_aux_init): Initialize it.
34104 * manual/startup.texi (Auxiliary Vector): New node.
34105 * sysdeps/generic/bits/hwcap.h: New file.
34106 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34107 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34108 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34109 * sysdeps/sparc/sysdep.h: ... here. Include it.
34110 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34111 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34113 Update.
34114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34122
341232012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34124
34125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34126
341272012-05-19 David S. Miller <davem@davemloft.net>
34128
34129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34130
341312012-05-19 Joseph Myers <joseph@codesourcery.com>
34132
34133 [BZ #14123]
34134 * math/s_ccosh.c: Include <float.h>
34135 (__ccosh): Avoid internal overflow calculating sinh and cosh
34136 values before multiplying by sin and cos values.
34137 * math/s_ccoshf.c: Likewise.
34138 * math/s_ccoshl.c: Likewise.
34139 * math/s_csin.c: Likewise.
34140 * math/s_csinf.c: Likewise.
34141 * math/s_csinl.c: Likewise.
34142 * math/s_csinh.c: Likewise.
34143 * math/s_csinhf.c: Likewise.
34144 * math/s_csinhl.c: Likewise.
34145 * math/libm-test.inc (ccos_test): Add more tests.
34146 (ccosh_test): Likewise.
34147 (csin_test): Likewise.
34148 (csinh_test): Likewise.
34149 * sysdeps/i386/fpu/libm-test-ulps: Update.
34150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34151
341522012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34153
34154 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34155 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34156
34157 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34158
341592012-05-19 Joseph Myers <joseph@codesourcery.com>
34160
34161 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34162 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34163 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34164 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34165 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34166 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34167 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34168 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34169 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34170 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34171 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34172 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34173 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34174 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34175 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34176 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34177 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34178 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34179 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34180 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34181 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34182 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34183 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34184 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34185 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34186 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34187 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34188 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34189 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34190 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34191 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34192
341932012-05-18 Andreas Jaeger <aj@suse.de>
34194
34195 * csu/.gitignore: Delete.
34196
341972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34198
34199 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34200 (timex): Use __syscall_slong_t.
34201
342022012-05-18 Andreas Jaeger <aj@suse.de>
34203 Carlos O'Donell <carlos_odonell@mentor.com>
34204
34205 * manual/install.texi (Configuring and compiling): Update
34206 description about files modified in the source directory.
34207 * INSTALL: Regenerated.
34208
342092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34210
34211 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34212 value. Use "or" to set return value to -1.
34213 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34214 negate return value.
34215
342162012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34217
34218 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34219 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34220 failure if the compiler has Graphite support disabled.
34221 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34222 Likewise.
34223 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34224 (CFLAGS-memmove.c): Likewise.
34225 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34226 Likewise.
34227
342282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34229
34230 * sysdeps/x86_64/x32/_itoa.h: New file.
34231
34232 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34233 getdents system call only if kernel and user dirents have the
34234 same d_ino and d_off.
34235
34236 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34237 LLONG_MAX != LONG_MAX.
34238 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34239 (_fitoa_word): Likewise.
34240
34241 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34242 years.
34243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34244 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34245 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34246
34247 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34248 include <bits/wordsize.h>. Check __x86_64__ instead of
34249 __WORDSIZE.
34250 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34251 if __x86_64__ is defined. Use anonymous union on fpstate.
34252
34253 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34254 anonymous union.
34255
342562012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34257
34258 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34259 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34260 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34261 Refer to _rtld_local_ro instead of _rtld_global_ro.
34262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34263 Likewise.
34264 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34265 Likewise.
34266 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34267 Likewise.
34268 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34269 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34270 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34271
34272 * sysdeps/powerpc/powerpc32/dl-machine.c
34273 (__elf_machine_runtime_setup) [PROF]: Don't reference
34274 _dl_prof_resolve.
34275
342762012-05-18 Andreas Jaeger <aj@suse.de>
34277
34278 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34279 function only available for GCCs before 3.4 since GCC 3.4
34280 introduced a builtin.
34281 (lrint): Likewise.
34282 (llrintf): Likewise.
34283 (llrint): Likewise.
34284 (fmaxf): Likewise.
34285 (fmax): Likewise.
34286 (fminf): Likewise.
34287 (fmin): Likewise.
34288 (rint): Likewise.
34289 (rintf): Likewise.
34290 (nearbyint): Likewise.
34291 (nearbyintf): Likewise.
34292 (ceil): Likewise.
34293 (ceilf): Likewise.
34294 (floor): Likewise.
34295 (floorf): Likewise.
34296
342972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34298
34299 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34300 on both fields and cast pointer to __syscall_ulong_t.
34301
34302 * bits/types.h (__fsword_t): New type.
34303 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34304 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34306 (__FSWORD_T_TYPE): Likewise.
34307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34308 (__FSWORD_T_TYPE): Likewise.
34309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34310 (__FSWORD_T_TYPE): Likewise.
34311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34312 (__FSWORD_T_TYPE): Likewise.
34313 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34314 __SWORD_TYPE with __fsword_t.
34315 (statfs64): Likewise.
34316
343172012-05-17 David S. Miller <davem@davemloft.net>
34318
34319 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34320
343212012-05-17 Andreas Jaeger <aj@suse.de>
34322
34323 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34324 warning.
34325
343262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34327
34328 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34329
343302012-05-17 Andreas Jaeger <aj@suse.de>
34331
34332 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34333 when it is used.
34334
343352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34336
34337 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34338
343392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34340
34341 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34342 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34343
343442012-05-17 Andreas Jaeger <aj@suse.de>
34345 Carlos O'Donell <carlos_odonell@mentor.com>
34346
34347 [BZ #14059]
34348 * sysdeps/x86_64/multiarch/init-arch.h
34349 (bit_YMM_Usable): Rename to...
34350 (bit_AVX_Usable): ... this.
34351 (bit_FMA4_Usable): New macro.
34352 (bit_XMM_state): New macro.
34353 (bit_YMM_state): New macro.
34354 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34355 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34356 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34357 (CPUID_OSXSAVE): New macro.
34358 (CPUID_AVX): New macro.
34359 (CPUID_FMA4): New macro.
34360 (index_YMM_Usable): Rename to...
34361 (index_AVX_Usable): ... this.
34362 (HAS_AVX): Use HAS_ARCH_FEATURE.
34363 (HAS_FMA4): Likewise.
34364 (HAS_YMM_USABLE): Remove.
34365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34366 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34367 are present.
34368 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34369 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34370 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34371 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34372 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34373
343742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34375
34376 * math/libm-test.c: Support platforms without multiple rounding modes.
34377 * math/bug-nextafter.c: Support platforms without FP exceptions.
34378 * math/bug-nexttoward.c: Likewise.
34379 * math/test-fenv.c: Likewise.
34380 * math/test-misc.c: Likewise.
34381 * stdlib/bug-getcontext.c: Likewise.
34382
343832012-05-17 Andreas Jaeger <aj@suse.de>
34384
34385 * manual/examples/search.c (critter_cmp): Change signature to
34386 avoid warnings.
34387 * manual/string.texi (Collation Functions): Likewise.
34388
343892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34390
34391 * bits/types.h: Fold copyright years.
34392 * bits/typesizes.h: Likewise.
34393 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34397 * time/time.h: Likewise.
34398
343992012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34400
34401 [BZ #208]
34402 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34403 in instead of returning them. Return void.
34404 (__libc_mallinfo): Accumulate over all arenas.
34405 (__malloc_stats): Adjust for change in int_mallinfo interface.
34406
344072012-05-16 Roland McGrath <roland@hack.frob.com>
34408
34409 [BZ #10375]
34410 * configure.in (NM): Add AC_CHECK_TOOL for it.
34411 (libc_extra_cflags): New substituted variable.
34412 Check for -fstack-protector being used implicitly.
34413 * configure: Regenerated.
34414 * config.make.in (config-extra-cflags): New variable,
34415 gets @libc_extra_cflags@.
34416 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34417
34418 [BZ #10375]
34419 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34420 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34421 * configure: Regenerated.
34422 * config.make.in (CPPUNDEFS): New substituted variable.
34423 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34424 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34425 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34426
344272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34428
34429 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34430 (mq_attr): Use __syscall_slong_t.
34431
344322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34433
34434 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34435 Check __x86_64__ instead of __WORDSIZE.
34436 (_STAT_VER_LINUX): Likewise.
34437 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34438 __syscall_ulong_t and __syscall_slong_t.
34439 (stat64): Likewise.
34440
344412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34442
34443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34444
344452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34446
34447 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34448
344492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34450
34451 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34452 __syscall_ulong_t.
34453
34454 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34455 include <bits/wordsize.h>. Check __x86_64__ instead of
34456 __WORDSIZE.
34457 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34458 defined.
34459 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34460
34461 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34462 include <bits/wordsize.h>. Check __x86_64__ instead of
34463 __WORDSIZE.
34464 (user_regs_struct): Use "__extension__ unsigned long long"
34465 instead of "unsigned long" if __x86_64__ is defined.
34466 (user): Likewise. Pad after pointer field if __ILP32__ is
34467 defined.
34468
344692012-05-16 Joseph Myers <joseph@codesourcery.com>
34470
34471 * configure.in (makeinfo): Require version 4.5 or later. Allow
34472 versions 5 to 9.
34473 * configure: Regenerated.
34474 * manual/install.texi (texinfo): Increase version requirement to
34475 4.5 or later.
34476 * INSTALL: Regenerated.
34477
34478 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34479
344802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34481
34482 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34483
34484 * sysdeps/x86_64/x32/ffs.c: New file.
34485
34486 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34487 __syscall_ulong_t.
34488 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34489 defined. Use __syscall_ulong_t.
34490 (shminfo): Use __syscall_ulong_t.
34491 (shm_info): Likewise.
34492
34493 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34494 __syscall_ulong_t.
34495
34496 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34497 <bits/wordsize.h>.
34498 (msgqnum_t): Use __syscall_ulong_t.
34499 (msglen_t): Likewise.
34500 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34501 __syscall_ulong_t.
34502
34503 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34504 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34505
34506 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34507
34508 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34509 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34510
34511 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34512 __syscall_slong_t.
34513
34514 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34515 include <bits/wordsize.h>. Check __x86_64__ instead of
34516 __WORDSIZE.
34517
34518 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34519 "unsigned long long int" if __x86_64__ is defined.
34520 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34521
34522 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34524 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34525
34526 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34527 <stdint.h>.
34528 (GET_PC): Cast to uintptr_t first.
34529 (GET_FRAME): Likewise.
34530 (GET_STACK): Likewise.
34531
34532 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34533 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34534 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34535 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34536 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34537 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34538 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34539 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34540 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34541 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34542 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34543 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34544 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34545 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34546 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34547 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34548 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34550 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34552 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34553 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34554 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34555 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34556 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34557 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34558 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34559 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34560 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34561
345622012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34563
34564 * Makerules (+depfiles): Also collect depfiles from .oS in
34565 $(extra-objs).
34566 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34567 .oS, $(libnldbl-routines)).
34568
34569 * Makerules (native-compile-mkdep-flags): Define.
34570 * sunrpc/Makefile (extra-objs): Add $(addprefix
34571 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34572 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34573 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34574 calling $(make-target-directory).
34575
345762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34577
34578 * bits/types.h (__snseconds_t): Removed.
34579 * time/time.h (struct timespec): Replace __snseconds_t with
34580 __syscall_slong_t.
34581 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34582 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34583 Likewise.
34584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34585 (__SNSECONDS_T_TYPE): Likewise.
34586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34587 (__SNSECONDS_T_TYPE): Likewise.
34588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34589 (__SNSECONDS_T_TYPE): Likewise.
34590
345912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34592
34593 * sysdeps/mach/hurd/bits/typesizes.h
34594 (__SYSCALL_SLONG_TYPE): New macro.
34595 (__SYSCALL_ULONG_TYPE): Likewise.
34596
345972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34598
34599 * bits/types.h (__syscall_slong_t): New type.
34600 (__syscall_ulong_t): Likewise.
34601
34602 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34603 (__SYSCALL_ULONG_TYPE): Likewise.
34604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34605 (__SYSCALL_SLONG_TYPE): Likewise.
34606 (__SYSCALL_ULONG_TYPE): Likewise.
34607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34608 (__SYSCALL_SLONG_TYPE): Likewise.
34609 (__SYSCALL_ULONG_TYPE): Likewise.
34610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34611 (__SYSCALL_SLONG_TYPE): Likewise.
34612 (__SYSCALL_ULONG_TYPE): Likewise.
34613
346142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34615
34616 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34617 Add sigaltstack-offsets.sym.
34618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34619 <sigaltstack-offsets.h>.
34620 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34621 longjmp_msg pointer.
34622 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34623 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34624 signal stack.
34625 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34626
346272012-05-15 Joseph Myers <joseph@codesourcery.com>
34628
34629 * elf/stackguard-macros.h: Remove file.
34630 * sysdeps/generic/stackguard-macros.h: New file.
34631 * sysdeps/i386/stackguard-macros.h: Likewise.
34632 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34633 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34634 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34635 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34636 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34637 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34638 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34639 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34640 <elf/stackguard-macros.h>.
34641
34642 [BZ #14109]
34643 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34644 __aligned__ in attribute.
34645 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34646 (gregset_t): Likewise.
34647
346482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34649
34650 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34651 * sysdeps/x86_64/64/Implies-after: Here. New file.
34652 * sysdeps/x86_64/x32/Implies-after: New file.
34653
346542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34655
34656 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34657 and access return value for _dl_profile_fixup. Use R10_LP to
34658 load frame size.
34659
346602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34661
34662 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34663
346642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34665
34666 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34667 * sysdeps/x86_64/x32/sysdep.h: New file.
34668
346692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34670
34671 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34672 * sysdeps/x86_64/setjmp.S: Likewise.
34673
346742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34675
34676 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34677 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34678 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34679 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34680 remove unused global constant.
34681
346822012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34683
34684 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34685 include of <not-cancel.h>.
34686
346872012-05-15 Roland McGrath <roland@hack.frob.com>
34688
34689 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34690
346912012-05-15 Jeff Law <law@redhat.com>
34692 Andreas Jaeger <aj@suse.de>
34693
34694 [BZ #13594]
34695 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34696 out from...
34697 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34698 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34699 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34700 code changing __hst_map_handle.map.
34701
347022012-05-15 Roland McGrath <roland@hack.frob.com>
34703
34704 * configure.in (sysnames): Look for Implies-before and Implies-after
34705 files.
34706 * configure: Regenerated.
34707
347082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34709
34710 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34711 8-byte data alignment with LP_SIZE alignment.
34712
347132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34714
34715 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34716 into R10_LP.
34717
347182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34719
34720 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34721
347222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34723
34724 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34725 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34726 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34727 Likewise.
34728 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34729
347302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34731
34732 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34733 (stackinfo_sub_sp): Likewise.
34734
347352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34736
34737 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34738 RAX_LP.
34739
347402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34741
34742 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34743 into R*_LP.
34744
347452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34746
34747 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34748 sizes into R*_LP.
34749
347502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34751
34752 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34753
347542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34755
34756 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34757 into R11_LP and load __x86_64_shared_cache_size_half into
34758 R8_LP.
34759
347602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34761
34762 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34763 R8_LP.
34764
347652012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34766
34767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34768 logb for POWER7.
34769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34770 logbf for POWER7.
34771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34772 logbl for POWER7.
34773 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34774 powerpc32/power7/fpu/s_logb.c via #include.
34775 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34776 powerpc32/power7/fpu/s_logbf.c via #include.
34777 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34778 powerpc32/power7/fpu/s_logbl.c via #include.
34779
347802012-05-15 Joseph Myers <joseph@codesourcery.com>
34781
34782 * README.libm: Remove file.
34783
347842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34785
34786 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34787 count for x32. Use R*_LP and omit operand-size suffix.
34788
347892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34790
34791 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34792 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34793 * sysdeps/x86_64/x32/shlib-versions: New file.
34794
347952012-05-14 Roland McGrath <roland@hack.frob.com>
34796
34797 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34798 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34799 Use _dl_fatal_printf instead.
34800
348012012-05-14 Joseph Myers <joseph@codesourcery.com>
34802
34803 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34804 set if not set by the user. Do not allow for being unset.
34805 * sysdeps/unix/sysv/linux/configure: Regenerated.
34806
348072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34808
34809 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34810 the `q' suffix from lea and replace .quad with ASM_ADDR.
34811
348122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34813
34814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34815 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34816 instead of $17.
34817 (PTR_DEMANGLE): Likewise.
34818
348192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34820
34821 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34822 (LP_OP): Likewise.
34823 (ASM_ADDR): Likewise.
34824 (RAX_LP): Likewise.
34825 (RBP_LP): Likewise.
34826 (RBX_LP): Likewise.
34827 (RCX_LP): Likewise.
34828 (RDI_LP): Likewise.
34829 (RSI_LP): Likewise.
34830 (RSP_LP): Likewise.
34831 (R8_LP): Likewise.
34832 (R9_LP): Likewise.
34833 (R10_LP): Likewise.
34834 (R10_LP): Likewise.
34835 (R11_LP): Likewise.
34836 (R12_LP): Likewise.
34837 (R13_LP): Likewise.
34838 (R14_LP): Likewise.
34839 (R15_LP): Likewise.
34840
348412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34842
34843 * sysdeps/x86_64/x32/dl-machine.h: New file.
34844
348452012-05-14 Andreas Jaeger <aj@suse.de>
34846
34847 * manual/Makefile (subdir): Remove export of subdir.
34848 (all): Remove target.
34849 (.PHONY): Remove all from list.
34850 (mkinstalldirs): Remove.
34851 (.PHONY): Remove installdirs from list.
34852 ($(inst_infodir)/libc.info): Use make-target-directory.
34853 (installdirs): Remove.
34854 (subdir_%): Remove.
34855 (glibc-targets): Remove.
34856 (lib): Remove.
34857 (stubs): Remove.
34858 ($(objpfx)stubs ../po/manual.pot): Remove.
34859 ($(objpfx)stamp%): Remove.
34860 (make-target-directory): Remove.
34861 (subdir_install): Remove.
34862 (routines): Remove.
34863 (aux): Remove.
34864 (sources): Remove.
34865 (objects): Remove.
34866 (headers): Remove.
34867
34868 [BZ #13750]
34869 * manual/.gitignore: Remove, it's not needed anymore.
34870 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34871 all files in it.
34872 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34873 directory.
34874 (texis): Renamed to $(objpfx)texis.
34875 (texis-path): New, contains path to generated files.
34876 (chapters.%): Use texis-path for complete path, add extra argument
34877 libc-texinfo.sh.
34878 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34879 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34880 (summary,texi, stamp-summary): Use complete path of
34881 files. Generate files in build dir.
34882 (dir-add.texi): Build in build dir.
34883 (libm-err.texi,stamp-libm-err): Likewise.
34884 (version.texi, stamp-version): Likewise.
34885 (.%c.texi): Likewise.
34886 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34887 (mostlyclean): Remove target.
34888 (realclean): Remove target.
34889 (generated): Add new variable with contents from mostlyclean and
34890 realclean, remove entries duplicated in common-mostlyclean, add
34891 stamp-libm-err and stamp-version.
34892 (generated-dirs): Add libc directory.
34893 ($(inst_infodir)/libc.info): Install files from build dir.
34894
34895 * manual/install.texi (Configuring and compiling): Adjust since
34896 the info files are not part of the tar ball anymore.
34897
348982012-05-14 Andreas Jaeger <aj@suse.de>
34899
34900 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34901 variable.
34902
349032012-05-14 Joseph Myers <joseph@codesourcery.com>
34904
34905 [BZ #13717]
34906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34907 to 2.2.0 where earlier.
34908 * sysdeps/unix/sysv/linux/configure: Regenerated.
34909 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34910 Remove conditional code.
34911 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34912 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34913 Remove conditional code.
34914 [!__NR_lchown]: Likewise.
34915 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34916 [__NR_lchown]: Likewise.
34917 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34918 comment referencing __ASSUME_LCHOWN_SYSCALL.
34919 * sysdeps/unix/sysv/linux/i386/sigaction.c
34920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34922 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34923 Remove conditional code.
34924 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34925 (__protocol_available): Remove #if 0 code.
34926 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34927 conditional code.
34928 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34929 * sysdeps/unix/sysv/linux/kernel-features.h
34930 (__ASSUME_GETCWD_SYSCALL): Don't define.
34931 (__ASSUME_REALTIME_SIGNALS): Likewise.
34932 (__ASSUME_PREAD_SYSCALL): Likewise.
34933 (__ASSUME_PWRITE_SYSCALL): Likewise.
34934 (__ASSUME_POLL_SYSCALL): Likewise.
34935 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34936 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34937 non-SPARC.
34938 (__ASSUME_SIOCGIFNAME): Don't define.
34939 (__ASSUME_MSG_NOSIGNAL): Likewise.
34940 (__ASSUME_SENDFILE): Define unconditionally.
34941 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34942 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34943 conditional code.
34944 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34945 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34946 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34947 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34948 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34949 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34950 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34952 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34955 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34958 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34959 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34961 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34962 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34964 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34965 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34967 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34968 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34970 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34971 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34973 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34974 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34975 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34976 Remove conditional code.
34977 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34978 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34979 Remove conditional code.
34980 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34981 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34982 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34983 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34984 Remove conditional code.
34985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34986 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34987 Remove conditional code.
34988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34989 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34990 Remove conditional code.
34991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34992 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34993 Remove conditional code.
34994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34995 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34996 Remove conditional code.
34997 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34998 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35001 * sysdeps/unix/sysv/linux/sigaction.c
35002 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35003 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35004 * sysdeps/unix/sysv/linux/sigpending.c
35005 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35006 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35007 * sysdeps/unix/sysv/linux/sigprocmask.c
35008 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35009 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35010 * sysdeps/unix/sysv/linux/sigsuspend.c
35011 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35012 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35013 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35014 (__libc_missing_rt_sigs): Remove.
35015 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35016 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35017 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35018 Remove conditional code.
35019 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35020 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35021 return 1.
35022 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35023 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35024 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35025 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35026
350272012-05-14 Andreas Jaeger <aj@suse.de>
35028
35029 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35030 it's not used in glibc.
35031 (__coshm1): Likewise.
35032 (__acosh1p): Likewise.
35033 (__sgn): Likewise.
35034
35035 * manual/string.texi (Copying and Concatenation): Add missing
35036 variable in concat example.
35037 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35038
350392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35040
35041 [BZ #14103]
35042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35043 __builtin_clzl with __builtin_clzll.
35044
350452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35046
35047 [BZ #14104]
35048 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35049 libc_freeres_ptr.
35050
350512012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35052
35053 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35054 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35055 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35056 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35057
350582012-05-14 Mike Frysinger <vapier@gentoo.org>
35059
35060 * NEWS: Update ia64 info.
35061
350622012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35063
35064 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35065 used as bcopy.
35066
350672012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35068
35069 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35070 * sysdeps/unix/syscalls.list (dup3): Likewise.
35071 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35072 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35073
350742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35075
35076 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35077 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35078
350792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35080
35081 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35082 thread pointer.
35083 (TLS_IE): Use mov/add instead of movq/addq to load thread
35084 pointer.
35085 (TLS_GD_PREFIX): New.
35086 (TLS_GD): Use it.
35087
350882012-05-11 David S. Miller <davem@davemloft.net>
35089
35090 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35091 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35092 (_FPU_SETCW): Likewise.
35093
350942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35095
35096 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35097 is 32-byte aligned.
35098
350992012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35100
35101 [BZ #11837]
35102 * iconvdata/gb18030.c: Update tables.
35103 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35104 characters specially.
35105 (BODY for TO_LOOP): Add encoding of missing ranges.
35106
351072012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35108
35109 [BZ #13673]
35110 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35111 * sysdeps/mach/hurd/dup3.c: Likewise.
35112 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35113 * sysdeps/powerpc/memmove.c:: Likewise.
35114
351152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35116
35117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35118 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35119
351202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35121
35122 * elf/elf.h (R_X86_64_RELATIVE64): New.
35123 (R_X86_64_NUM): Updated.
35124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35125 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35126 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35127 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35128 tst-quad1pie tst-quad2pie
35129 (modules-names): Add tst-quadmod1 tst-quadmod2.
35130 ($(objpfx)tst-quad1): New dependency.
35131 ($(objpfx)tst-quad2): Likewise.
35132 ($(objpfx)tst-quad1pie): Likewise.
35133 ($(objpfx)tst-quad2pie): Likewise.
35134 * sysdeps/x86_64/tst-quad1.c: New file.
35135 * sysdeps/x86_64/tst-quad1pie.c: New file.
35136 * sysdeps/x86_64/tst-quad2.c: Likewise.
35137 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35138 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35139 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35140 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35141 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35142
351432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35144
35145 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35146 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35147 * streams/stropts.h (t_scalar_t): Define type.
35148
35149 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35150 (_PATH_PRESERVE): Set to "/var/lib".
35151 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35152
35153 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35154 instead of int.
35155
35156 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35157 if __dir_mkfile succeeded.
35158
35159 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35160 checking for _hurd_dtablesize. Unlock it right after having
35161 finished _hurd_dtable allocation.
35162
351632012-05-10 Thomas Schwinge <thomas@schwinge.name>
35164
35165 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35166 * sysdeps/mach/hurd/configure: Regenerated.
35167 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35168 special-casing to...
35169 * sysdeps/gnu/configure.in: ... this new file.
35170 * sysdeps/unix/sysv/linux/configure: Regenerated.
35171 * sysdeps/gnu/configure: New generated file.
35172
35173 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35174 for Linux: use nsec instead of usec, as well as:
35175 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35176 members of type struct timespec.
35177 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35178 New macros.
35179 (struct stat64): Likewise.
35180 (_STATBUF_ST_NSEC): New macro.
35181 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35182
35183 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35184 __strtoul_internal rather than strtoul.
35185
351862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35187
35188 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35189 and reject them.
35190
351912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35192
35193 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35194 which preserves existing values.
35195 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35196
351972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35198
35199 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35200 TIMEOUT values. Return EINVAL for NFDS values either negative or
35201 greater than FD_SETSIZE.
35202
352032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35204
35205 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35206 allocated, call __vm_protect to finish enabling the existing space, and
35207 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35208 allocate the remainder.
35209
352102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35211
35212 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35213 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35214
352152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35216
35217 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35218 sysdeps/mach/hurd/readlink.c.
35219
35220 * posix/tst-sysconf.c (posix_options): Only use
35221 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35222 _POSIX_SYNCHRONIZED_IO when they are defined
35223 * sysdeps/mach/hurd/bits/posix_opt.h:
35224 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35225 (_XOPEN_REALTIME): Undefine macro.
35226 (_XOPEN_REALTIME_THREADS): Undefine macro.
35227 (_XOPEN_SHM): Undefine macro.
35228 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35229 macro to -1.
35230 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35231 macro to -1.
35232 (_POSIX_ASYNC_IO): Undefine macro.
35233 (_POSIX_PRIORITIZED_IO): Undefine macro.
35234 (_POSIX_SPIN_LOCKS): Define macro to -1.
35235
35236 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35237 SA_NODEFER, SA_RESETHAND.
35238 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35239 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35240 F_DUPFD_CLOEXEC.
35241
352422012-05-10 Thomas Schwinge <thomas@schwinge.name>
35243
35244 * elf/Makefile (pldd-modules): Define unconditionally.
35245
352462012-05-10 Thomas Schwinge <thomas@schwinge.name>
35247
35248 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35249
352502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35251
35252 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35253 Return ENOENT when name is empty.
35254 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35255
352562012-05-10 Thomas Schwinge <thomas@schwinge.name>
35257
35258 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35259
35260 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35261
352622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35263
35264 Fix mlock in all cases except non-readable pages.
35265 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35266 instead of VM_PROT_ALL as parameter to __vm_wire function.
35267
35268 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35269 (__mkdir): When path is `/', just fail with EEXIST.
35270 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35271
352722012-05-10 Thomas Schwinge <thomas@schwinge.name>
35273
35274 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35275 <sys/uio.h> (for writev).
35276 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35277 and <sys/param.h> (for MIN).
35278
352792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35280
35281 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35282 REQUESTED_TIME. Properly set the remaining time and return EINTR
35283 if interrupted.
35284
352852012-05-10 Thomas Schwinge <thomas@schwinge.name>
35286
35287 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35288 Depend on against $(link-rpcuserlibs).
35289
352902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35291
35292 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35293 (__libc_stack_end): Do not use attribute_relro.
35294 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35295 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35296 to libthread-provided value.
35297 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35298 attribute_relro.
35299
353002012-05-10 Thomas Schwinge <thomas@schwinge.name>
35301
35302 [BZ #3748]
35303 * bits/libc-lock.h (__libc_once_get): New macro.
35304 * sysdeps/mach/bits/libc-lock.h: Likewise.
35305 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35306 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35307 instead of using implementation details.
35308
35309 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35310 * libio/freopen.c: Likewise.
35311 * libio/freopen64.c: Likewise.
35312 * misc/syslog.c: Likewise.
35313 * nscd/connections.c: Likewise.
35314 * nscd/netgroupcache.c: Likewise.
35315 * sysdeps/posix/getcwd.c: Likewise.
35316
353172012-05-10 Roland McGrath <roland@hack.frob.com>
35318
35319 * math/w_ilogbf.c: Add #include <limits.h>.
35320
353212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35322
35323 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35324 path instead of returning without unlocking.
35325
35326 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35327 immediate-write ioctls.
35328 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35329
353302012-05-10 Thomas Schwinge <thomas@schwinge.name>
35331
35332 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35333 __builtin_frame_address instead of making assumptions about the
35334 location of the return address relative to DATA. Force early load of
35335 the return address.
35336 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35337 __builtin_frame_address.
35338
35339 dup3 for GNU Hurd.
35340 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35341 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35342 implement dup3 and do some further code clean-ups.
35343 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35344 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35345
353462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35347
35348 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35349
35350 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35351 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35352 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35353 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35354 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35355 d->port.lock.
35356
35357 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35358 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35359 when handler == SIG_ERR, not when handler != SIG_ERR.
35360
353612012-05-10 Thomas Schwinge <thomas@schwinge.name>
35362
35363 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35364 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35365 definitions.
35366
35367 accept4 for GNU Hurd.
35368 * include/sys/socket.h (__libc_accept4): New prototype.
35369 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35370 to implement __libc_accept4.
35371 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35372 __libc_accept4.
35373 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35374
35375 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35376 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35377 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35378 signal-defines.sym.
35379
353802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35381
35382 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35383
353842012-05-10 Thomas Schwinge <thomas@schwinge.name>
35385
35386 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35387 assertion on O_CLOEXEC flag.
35388 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35389 * hurd/intern-fd.c: Likewise.
35390 * hurd/port2fd.c: Likewise.
35391
353922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35393
35394 [BZ #3906]
35395 * bits/in.h (IPV6_PKTINFO): Define new macro.
35396 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35397
353982012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35399
35400 [BZ #13954]
35401 [BZ #13955]
35402 [BZ #13956]
35403 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35405 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35406 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35408 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35409 * math/libm-test.inc (logb_test) : Additional logb tests.
35410
354112012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35412 Andreas Jaeger <aj@suse.de>
35413
35414 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35415 * configure: Regenerated.
35416 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35417 * config.make.in (link-obsolete-rpc): New substituted variable.
35418 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35419 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35420 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35421 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35422 so that libc.a contains the symbols.
35423 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35424 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35425 * sunrpc/auth_none.c: Likewise.
35426 * sunrpc/auth_unix.c: Likewise.
35427 * sunrpc/authdes_prot.c: Likewise.
35428 * sunrpc/authuxprot.c: Likewise.
35429 * sunrpc/clnt_gen.c: Likewise.
35430 * sunrpc/clnt_perr.c: Likewise.
35431 * sunrpc/clnt_raw.c: Likewise.
35432 * sunrpc/clnt_simp.c: Likewise.
35433 * sunrpc/clnt_tcp.c: Likewise.
35434 * sunrpc/clnt_udp.c: Likewise.
35435 * sunrpc/clnt_unix.c: Likewise.
35436 * sunrpc/des_crypt.c: Likewise.
35437 * sunrpc/des_soft.c: Likewise.
35438 * sunrpc/get_myaddr.c: Likewise.
35439 * sunrpc/key_call.c: Likewise.
35440 * sunrpc/key_prot.c: Likewise.
35441 * sunrpc/netname.c: Likewise.
35442 * sunrpc/pm_getmaps.c: Likewise.
35443 * sunrpc/pm_getport.c: Likewise.
35444 * sunrpc/pmap_clnt.c: Likewise.
35445 * sunrpc/pmap_prot.c: Likewise.
35446 * sunrpc/pmap_prot2.c: Likewise.
35447 * sunrpc/pmap_rmt.c: Likewise.
35448 * sunrpc/publickey.c: Likewise.
35449 * sunrpc/rpc_cmsg.c: Likewise.
35450 * sunrpc/rpc_common.c: Likewise.
35451 * sunrpc/rpc_dtable.c: Likewise.
35452 * sunrpc/rpc_prot.c: Likewise.
35453 * sunrpc/rpc_thread.c: Likewise.
35454 * sunrpc/rtime.c: Likewise.
35455 * sunrpc/svc.c: Likewise.
35456 * sunrpc/svc_auth.c: Likewise.
35457 * sunrpc/svc_raw.c: Likewise.
35458 * sunrpc/svc_run.c: Likewise.
35459 * sunrpc/svc_tcp.c: Likewise.
35460 * sunrpc/svc_udp.c: Likewise.
35461 * sunrpc/svc_unix.c: Likewise.
35462 * sunrpc/svcauth_des.c: Likewise.
35463 * sunrpc/xcrypt.c: Likewise.
35464 * sunrpc/xdr.c: Likewise.
35465 * sunrpc/xdr_array.c: Likewise.
35466 * sunrpc/xdr_float.c: Likewise.
35467 * sunrpc/xdr_intXX_t.c: Likewise.
35468 * sunrpc/xdr_mem.c: Likewise.
35469 * sunrpc/xdr_rec.c: Likewise.
35470 * sunrpc/xdr_ref.c: Likewise.
35471 * sunrpc/xdr_sizeof.c: Likewise.
35472 * sunrpc/xdr_stdio.c: Likewise.
35473
354742012-05-10 Roland McGrath <roland@hack.frob.com>
35475
35476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35477 change. Update copyright years.
35478
354792012-05-10 Joseph Myers <joseph@codesourcery.com>
35480
35481 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35482
354832012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35484 Joseph Myers <joseph@codesourcery.com>
35485 Paul Pluzhnikov <ppluzhnikov@google.com>
35486
35487 [BZ #14012]
35488 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35489 requiring rpcgen.
35490 [cross-compiling] (extra-libs): Likewise.
35491 [cross-compiling] (extra-libs-others): Likewise.
35492 [cross-compiling] (librpcsvc-routines): Likewise.
35493 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35494 [cross-compiling] (omit-deps): Likewise.
35495 (sunrpc-CPPFLAGS): New variable.
35496 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35497 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35498 (cross-rpcgen-objs): New variable.
35499 (extra-objs): Append $(cross-rpcgen-objs).
35500 ($(cross-rpcgen-objs)): New rule.
35501 ($(objpfx)cross-rpcgen): Likewise.
35502 (rpcgen-cmd): Define to use $(built-program-file). Expand
35503 comment.
35504 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35505 ($(objpfx)x%.stmp): Likewise.
35506 * sunrpc/proto.h [IS_IN_build] (_): Define.
35507 [IS_IN_build] (_libc_intl_domainname): Likewise.
35508
355092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35510
35511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35512 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35513 and R_X86_64_TPOFF64.
35514
355152012-05-10 Joseph Myers <joseph@codesourcery.com>
35516
35517 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35518 sysdeps/unix/sysv/syscalls.list.
35519 (stime): Likewise.
35520 (utime): Likewise.
35521 * sysdeps/unix/sysv/syscalls.list: Remove file.
35522
355232012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35524
35525 [BZ #3440]
35526 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35527 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35528 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35529 (__LC_IDENTIFICATION): Make these macros useful in #if
35530 expressions, as required by C99.
35531
355322012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35533
35534 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35535 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35536 after this.
35537
355382012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35539
35540 * stdlib/longlong.h: Updated from GCC.
35541
355422012-05-09 Andreas Jaeger <aj@suse.de>
35543
35544 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35545 default is first entry.
35546 (run_mode): Set type.
35547 (main): Remove informal message about syslog.
35548 (options): Fix typo.
35549
35550 [BZ #14053]
35551 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35552 to asm.
35553 (lrint): Likewise.
35554 (llrintf): Likewise.
35555 (llrint): Likewise.
35556 (rint): Likewise.
35557 (rintf): Likewise.
35558 (nearbyint): Likewise.
35559 (nearbyintf): Likewise.
35560
355612012-05-09 Andreas Jaeger <aj@suse.de>
35562 Pedro Alves <palves@redhat.com>
35563
35564 * nscd/nscd.c (run_mode): Use enum.
35565 (main): Cleanup coding style issue.
35566
355672012-05-09 Alexandre Oliva <aoliva@redhat.com>
35568 Andreas Jaeger <aj@suse.de>
35569
35570 * nscd/nscd.c (go_background): Replaced with...
35571 (run_mode): ... this.
35572 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35573 (options): Add -F --foreground.
35574 (main): Implement it.
35575 (parse_opt): Parse it.
35576
355772012-05-09 Andreas Jaeger <aj@suse.de>
35578
35579 [BZ #14083]
35580 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35581 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35582 -Wconversion warning.
35583 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35584 Likewise.
35585
355862012-05-09 Joseph Myers <joseph@codesourcery.com>
35587
35588 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35589 == 0.
35590 (LC_ALL): Use macro-int-constant.
35591 (LC_COLLATE): Likewise.
35592 (LC_CTYPE): Likewise.
35593 (LC_MESSAGES): Likewise.
35594 (LC_MONETARY): Likewise.
35595 (LC_NUMERIC): Likewise.
35596 (LC_TIME): Likewise.
35597 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35598 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35600 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35601 Specify type.
35602 [C99-based standards] (float_t): Expect type.
35603 [C99-based standards] (double_t): Expect type.
35604 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35605 type.
35606 [C99-based standards] (HUGE_VALL): Likewise.
35607 [C99-based standards] (INFINITY): Likewise.
35608 [C99-based standards] (NAN): Likewise.
35609 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35610 [C99-based standards] (FP_NAN): Likewise.
35611 [C99-based standards] (FP_NORMAL): Likewise.
35612 [C99-based standards] (FP_SUBNORMAL): Likewise.
35613 [C99-based standards] (FP_ZERO): Likewise.
35614 [C99-based standards] (FP_FAST_FMA): Use
35615 optional-macro-int-constant. Specify type. Require == 1.
35616 [C99-based standards] (FP_FAST_FMAF): Likewise.
35617 [C99-based standards] (FP_FAST_FMAL): Likewise.
35618 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35619 [C99-based standards] (FP_ILOGBNAN): Likewise.
35620 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35621 Specify type.
35622 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35623 [C99-based standards] (math_errhandling): Specify type.
35624 [ISO99 || ISO11] (signgam): Do not allow.
35625 [non-C99-based standards] (copysignf): Do not allow.
35626 [non-C99-based standards] (exp2f): Likewise.
35627 [non-C99-based standards] (log2f): Likewise.
35628 [non-C99-based standards] (modff): Allow.
35629 [non-C99-based standards] (erff): Do not allow.
35630 [non-C99-based standards] (erfcf): Likewise.
35631 [non-C99-based standards] (gammaf): Likewise.
35632 [non-C99-based standards] (hypotf): Likewise.
35633 [non-C99-based standards] (j0f): Likewise.
35634 [non-C99-based standards] (j1f): Likewise.
35635 [non-C99-based standards] (jnf): Likewise.
35636 [non-C99-based standards] (lgammaf): Likewise.
35637 [non-C99-based standards] (tgammaf): Likewise.
35638 [non-C99-based standards] (y0f): Likewise.
35639 [non-C99-based standards] (y1f): Likewise.
35640 [non-C99-based standards] (ynf): Likewise.
35641 [non-C99-based standards] (isnanf): Likewise.
35642 [non-C99-based standards] (acoshf): Likewise.
35643 [non-C99-based standards] (asinhf): Likewise.
35644 [non-C99-based standards] (atanhf): Likewise.
35645 [non-C99-based standards] (cbrtf): Likewise.
35646 [non-C99-based standards] (expm1f): Likewise.
35647 [non-C99-based standards] (ilogbf): Likewise.
35648 [non-C99-based standards] (log1pf): Likewise.
35649 [non-C99-based standards] (logbf): Likewise.
35650 [non-C99-based standards] (nextafterf): Likewise.
35651 [non-C99-based standards] (remainderf): Likewise.
35652 [non-C99-based standards] (rintf): Likewise.
35653 [non-C99-based standards] (scalbf): Likewise.
35654 [non-C99-based standards] (copysignl): Likewise.
35655 [non-C99-based standards] (exp2l): Likewise.
35656 [non-C99-based standards] (log2l): Likewise.
35657 [non-C99-based standards] (modfl): Allow.
35658 [non-C99-based standards] (erfl): Do not allow.
35659 [non-C99-based standards] (erfcl): Likewise.
35660 [non-C99-based standards] (gammal): Likewise.
35661 [non-C99-based standards] (hypotl): Likewise.
35662 [non-C99-based standards] (j0l): Likewise.
35663 [non-C99-based standards] (j1l): Likewise.
35664 [non-C99-based standards] (jnl): Likewise.
35665 [non-C99-based standards] (lgammal): Likewise.
35666 [non-C99-based standards] (tgammal): Likewise.
35667 [non-C99-based standards] (y0l): Likewise.
35668 [non-C99-based standards] (y1l): Likewise.
35669 [non-C99-based standards] (ynl): Likewise.
35670 [non-C99-based standards] (isnanl): Likewise.
35671 [non-C99-based standards] (acoshl): Likewise.
35672 [non-C99-based standards] (asinhl): Likewise.
35673 [non-C99-based standards] (atanhl): Likewise.
35674 [non-C99-based standards] (cbrtl): Likewise.
35675 [non-C99-based standards] (expm1l): Likewise.
35676 [non-C99-based standards] (ilogbl): Likewise.
35677 [non-C99-based standards] (log1pl): Likewise.
35678 [non-C99-based standards] (logbl): Likewise.
35679 [non-C99-based standards] (nextafterl): Likewise.
35680 [non-C99-based standards] (remainderl): Likewise.
35681 [non-C99-based standards] (rintl): Likewise.
35682 [non-C99-based standards] (scalbl): Likewise.
35683 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35684 [non-C99-based standards] (FP_*): Do not allow.
35685 [C99-based standards] (FP_*): Change to
35686 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35687 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35688 allow.
35689 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35690 (SIG_ERR): Likewise.
35691 [X/Open-based standards] (SIG_HOLD): Likewise.
35692 (SIG_IGN): Likewise.
35693 (SIGABRT): Use macro-int-constant. Specify type. Require
35694 positive value.
35695 (SIGFPE): Likewise.
35696 (SIGILL): Likewise.
35697 (SIGINT): Likewise.
35698 (SIGSEGV): Likewise.
35699 (SIGTER): Likewise.
35700 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35701 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35702 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35703 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35704 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35705 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35706 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35707 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35708 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35709 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35710 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35711 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35712 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35713 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35714 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35715 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35716 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35717 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35718 [X/Open-based standards] (SIGTRAP): Likewise.
35719 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35720 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35721 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35722 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35723 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35724 allow.
35725
357262012-05-08 Ian Wienand <ianw@vmware.com>
35727
35728 [BZ #14080]
35729 * time/tzset.c (__tzset_parse_tz): Update default rules for
35730 daylight time changes in the Energy Policy Act of 2005.
35731
357322012-05-09 Andreas Jaeger <aj@suse.de>
35733
35734 [BZ #13983]
35735 * elf/ldconfig.c (parse_conf): Change string to make clear that
35736 ldconfig only issued a warning if ld.so.conf does not exist.
35737
357382012-05-08 David S. Miller <davem@davemloft.net>
35739
35740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35741 movxtod instead of popping the value on the stack.
35742
35743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35744
357452012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35746
35747 * config.h.in: Add HAVE_ARM_PCS_VFP.
35748
357492012-05-08 Roland Mc Grath <roland@hack.frob.com>
35750
35751 [BZ #13979]
35752 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35753 checking but the checks are disabled for any reason.
35754
357552012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35756
35757 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35758 and ELF64_R_TYPE with ELFW(R_TYPE).
35759
357602012-05-08 Joseph Myers <joseph@codesourcery.com>
35761
35762 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35763 (ulimit): Likewise.
35764
35765 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35766 (settimeofday): Likewise.
35767
357682012-05-08 Mike Frysinger <vapier@gentoo.org>
35769
35770 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35771 a struct th_u2 inside the union, and move tu_block/tu_code into
35772 a new th_u3 union of tu_block/tu_code inside of that. Move
35773 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35774 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35775 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35776 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35777 (th_stuff): Change to th_u1.tu_stuff.
35778 (th_data): Define.
35779 (th_msg): Change to th_u1.th_u2.tu_data.
35780
357812012-05-07 David S. Miller <davem@davemloft.net>
35782
35783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35784
35785 [BZ #14074]
35786 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35787 (SETUP_PIC_REG): Use it.
35788 (SETUP_PIC_REG_LEAF): Use it.
35789
357902012-05-07 Joseph Myers <joseph@codesourcery.com>
35791
35792 [BZ #13885]
35793 [BZ #13923]
35794 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35795 USE_AS_EXPM1L.
35796 (EXPL_FINITE): Likewise.
35797 (FLDLOG): Likewise.
35798 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35799 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35800 e_expl.S.
35801 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35802 USE_AS_EXPM1L.
35803 (EXPL_FINITE): Likewise.
35804 (FLDLOG): Likewise.
35805 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35806 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35807 e_expl.S.
35808 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35809 test of -max_value argument for long double.
35810 * sysdeps/i386/fpu/libm-test-ulps: Update.
35811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35812
358132012-05-06 David S. Miller <davem@davemloft.net>
35814
35815 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35816 quad soft-float symbols whose references which are compiler
35817 generated.
35818 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35819
358202012-05-06 Joseph Myers <joseph@codesourcery.com>
35821
35822 [BZ #13884]
35823 [BZ #13914]
35824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35825 USE_AS_EXP10L.
35826 (EXPL_FINITE): Likewise.
35827 (FLDLOG): Likewise.
35828 (c0): Likewise.
35829 (c1): Likewise.
35830 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35831 Adjust comments for base varying.
35832 (__expl_finite): Change alias to EXPL_FINITE.
35833 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35834 e_expl.S.
35835 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35836 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35837 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35838 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35839 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35840 USE_AS_EXP10L.
35841 (EXPL_FINITE): Likewise.
35842 (FLDLOG): Likewise.
35843 (c0): Likewise.
35844 (c1): Likewise.
35845 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35846 Adjust comments for base varying.
35847 (__expl_finite): Change alias to EXPL_FINITE.
35848 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35849 tests for bugs.
35850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35851
35852 [BZ #14064]
35853 * math/libm-test.inc (check_float_internal): Correct ulp
35854 calculation for subnormal expected results.
35855
358562012-05-06 Andreas Jaeger <aj@suse.de>
35857
35858 * Makeconfig (+math-flags): New, set to -frounding-math.
35859 (+cflags): Add +math-flags so that all of glibc gets compiled with
35860 it.
35861
35862 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35863
358642012-05-05 Joseph Myers <joseph@codesourcery.com>
35865
35866 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35867 Disable one test.
35868
35869 [BZ #13787]
35870 [BZ #13922]
35871 [BZ #14036]
35872 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35873 (__ieee754_expl): Allow for and saturate large arguments.
35874 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35875 (u_threshold): Likewise.
35876 (__exp): Call __ieee754_exp before checking for overflow and
35877 underflow.
35878 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35879 (u_threshold): Likewise.
35880 (__expf): Call __ieee754_expf before checking for overflow and
35881 underflow.
35882 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35883 (u_threshold): Likewise.
35884 (__expl): Call __ieee754_expl before checking for overflow and
35885 underflow.
35886 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35887 (__ieee754_expl): Allow for and saturate large arguments.
35888 * math/libm-test.inc (exp_test): Add another test. Do not allow
35889 missing overflow exception on overflow.
35890 (expm1_test): Do not allow missing overflow exception on overflow.
35891
35892 * sysdeps/i386/fpu/e_expl.c: Move to ...
35893 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35894 rather than using inline asm.
35895 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35896 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35897 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35898
35899 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35900 (nice): Likewise.
35901 (poll): Likewise.
35902 (signal): Likewise.
35903 (time): Likewise.
35904 (times): Likewise.
35905
359062012-05-04 Joseph Myers <joseph@codesourcery.com>
35907
35908 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35909 sysdeps/unix/common/syscalls.list.
35910 (fchmod): Likewise.
35911 (fchown): Likewise.
35912 (ftruncate): Likewise.
35913 (getrusage): Likewise.
35914 (gettimeofday): Likewise.
35915 (setpgid): Likewise.
35916 (setregid): Likewise.
35917 (setreuid): Likewise.
35918 (sigaction): Likewise.
35919 (truncate): Likewise.
35920 (vhangup): Likewise.
35921 * sysdeps/unix/common/syscalls.list: Remove file.
35922 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35923 * sysdeps/unix/sysv/linux/Implies: Likewise.
35924
359252012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35926
35927 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35929 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35930 Moved to ...
35931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35932 Here.
35933 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35934 to ...
35935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35936 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35937 to ...
35938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35939 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35940 to ...
35941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35942 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35943 to ...
35944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35945 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35946 to ...
35947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35948 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35949 to ...
35950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35951 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35952 to ...
35953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35954 Here.
35955 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35956 to ...
35957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35958 Here.
35959 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35960 to ...
35961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35962 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35963 Moved to ...
35964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35965 Here.
35966 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35967 to ...
35968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35969
359702012-05-04 Joseph Myers <joseph@codesourcery.com>
35971
35972 * sysdeps/unix/common/bits/dirent.h: Remove file.
35973 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35974
35975 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35976 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35977 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35978 * sysdeps/unix/bsd/isatty.c: Likewise.
35979 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35980 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35981 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35982
359832012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35984
35985 [BZ #13563]
35986 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35987 long double comparison inaccuracies.
35988 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35990
359912012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35992
35993 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35994 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35995
359962012-05-04 Joseph Myers <joseph@codesourcery.com>
35997
35998 [BZ #14049]
35999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36000 nonzero digits before rounding a hex value.
36001 * stdlib/tst-strtod.c (tests): Add another test.
36002
360032012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36004
36005 * sysdeps/s390/fpu/libm-test-ulps: Update.
36006
360072012-05-03 Andreas Jaeger <aj@suse.de>
36008
36009 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36010 does not get optimized out.
36011 (malloc_opt_barrier): New.
36012
360132012-05-03 Andreas Jaeger <aj@suse.de>
36014 Roland McGrath <roland@hack.frob.com>
36015
36016 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36017 intermediate file deletion.
36018 (generated): Add .symlist files.
36019
360202012-05-03 Joseph Myers <joseph@codesourcery.com>
36021
36022 [BZ #13775]
36023 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36024 Redirect under this condition.
36025 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36026 [__USE_GNU] (__dprintf_chk): Not under this condition.
36027 [__USE_GNU] (__vdprintf_chk): Likewise.
36028 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36029 under this condition.
36030 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36031 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36032 [__USE_XOPEN2K8] (vdprintf): Likewise.
36033 [__USE_GNU] (__dprintf_chk): Not under this condition.
36034 [__USE_GNU] (__vdprintf_chk): Likewise.
36035 [__USE_GNU] (dprintf): Likewise.
36036 [__USE_GNU] (vdprintf): Likewise.
36037
360382012-05-03 Roland McGrath <roland@hack.frob.com>
36039
36040 * elf/Makefile (common-generated): Set this instead of generated for
36041 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36042 $(all-built-dso)-derived lists.
36043
360442012-05-03 Andreas Jaeger <aj@suse.de>
36045
36046 * sysdeps/i386/fpu/libm-test-ulps: Update.
36047
36048 * FAQ: Removed.
36049 * FAQ.in: Likewise.
36050 * scripts/gen-FAQ.pl: Likewise.
36051 * manual/install.texi (Installation): Point to online location of
36052 FAQ.
36053 * Makefile (files-for-dist): Remove FAQ.
36054 (FAQ): Remove.
36055
360562012-05-02 Allan McRae <allan@archlinux.org>
36057
36058 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36059 (LDFLAGS-reldepmod5.so): Likewise.
36060 (LDFLAGS-reldep6mod1.so): Likewise.
36061 (LDFLAGS-reldep6mod4.so): Likewise.
36062 (LDFLAGS-reldep8mod3.so): Likewise.
36063 (LDFLAGS-unload4mod1.so): Likewise.
36064 (LDFLAGS-unload4mod2.so): Likewise.
36065 (LDFLAGS-tst-initorder): Likewise.
36066 (LDFLAGS-tst-initordera2.so): Likewise.
36067 (LDFLAGS-tst-initordera3.so): Likewise.
36068 (LDFLAGS-tst-initordera4.so): Likewise.
36069 (LDFLAGS-tst-initorderb2.so): Likewise.
36070 (LDFLAGS-noload): Likewise.
36071 (LDFLAGS-next): Likewise.
36072 (LDFLAGS-order2mod1.so): Likewise.
36073 (LDFLAGS-order2mod2.so): Likewise.
36074 (LDFLAGS-tst-initorder2): Likewise.
36075 (LDFLAGS-tst-initorder2a.so): Likewise.
36076 (LDFLAGS-tst-initorder2b.so): Likewise.
36077 (LDFLAGS-tst-initorder2c.so): Likewise.
36078 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36079
360802012-05-02 David S. Miller <davem@davemloft.net>
36081
36082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36083
360842012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36085
36086 [BZ #14055]
36087 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36088
360892012-05-02 Andreas Jaeger <aj@suse.de>
36090
36091 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36092 since we manipulate rounding mode.
36093 (CPPFLAGS-test-idouble.c): Likewise.
36094 (CPPFLAGS-test-ifloat.c): Likewise.
36095 (CFLAGS-test-ldouble.c): Likewise.
36096 (CFLAGS-test-double.c): Likewise.
36097 (CFLAGS-test-float.c): Likewise.
36098 (CFLAGS-test-misc.c): Likewise.
36099 (CFLAGS-test-test-fenv.c): Likewise.
36100
361012012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36102
36103 [BZ #2550]
36104 [BZ #2570]
36105 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36106 comparisons to determine direction to adjust input.
36107
361082012-05-01 Roland McGrath <roland@hack.frob.com>
36109
36110 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36111 output to the target.
36112
36113 * scripts/localplt.awk: New file.
36114 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36115 (check-localplt-CFLAGS): Variable removed.
36116 ($(all-built-dso:=.jmprel)): New static pattern rule.
36117 (generated): Add those targets.
36118 (localplt-built-dso): New variable.
36119 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36120
36121 * elf/check-localplt.c: File removed.
36122
36123 * scripts/check-execstack.awk: New file.
36124 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36125 (check-execstack-CFLAGS): Variable removed.
36126 ($(objpfx)check-execstack.h): Target removed.
36127 ($(objpfx)execstack-default): New target.
36128 (generated): Add that instead of check-execstack.h.
36129 ($(all-built-dso:=.phdr)): New static pattern rule.
36130 (generated): Add those targets.
36131 * elf/check-execstack.c: File removed.
36132
36133 * scripts/check-textrel.awk: New file.
36134 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36135 (check-textrel-CFLAGS): Variable removed.
36136 (all-built-dso): Use := to define.o
36137 ($(all-built-dso:=.dyn)): New static pattern rule.
36138 (generated): Add those targets.
36139 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36140 * config.make.in (READELF): New substituted variable.
36141 * elf/check-textrel.c: File removed.
36142
361432012-05-01 Joseph Myers <joseph@codesourcery.com>
36144
36145 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36146 allow.
36147 * conform/data/ctype.h-data [C99-based standards] (isblank):
36148 Expect function.
36149 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36150 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36151 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36152 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36153 Specify type. Require positive value.
36154 (EILSEQ): Likewise.
36155 (ERANGE): Likewise.
36156 [ISO || POSIX] (EILSEQ): Do not expect.
36157 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36158 Specify type. Require positive value.
36159 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36160 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36161 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36162 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36163 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36164 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36165 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36166 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36167 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36168 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36169 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36170 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36171 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36172 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36173 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36174 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36175 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36176 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36177 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36178 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36179 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36180 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36181 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36182 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36183 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36184 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36185 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36186 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36187 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36188 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36189 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36190 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36191 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36192 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36193 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36194 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36195 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36196 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36197 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36198 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36199 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36200 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36201 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36202 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36203 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36204 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36205 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36206 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36207 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36208 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36209 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36210 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36211 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36212 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36213 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36214 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36215 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36216 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36217 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36218 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36219 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36220 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36221 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36222 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36223 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36224 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36225 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36226 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36227 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36228 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36229 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36230 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36231 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36232 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36233 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36234 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36235 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36236 Require >= 2.
36237 (FLT_ROUNDS): Expect as macro, not constant.
36238 (FLT_MANT_DIG): Use macro-int-constant.
36239 (DBL_MANT_DIG): Likewise.
36240 (LDBL_MANT_DIG): Likewise.
36241 (FLT_DIG): Likewise.
36242 (DBL_DIG): Likewise.
36243 (LDBL_DIG): Likewise.
36244 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36245 (DBL_MIN_EXP): Likewise.
36246 (LDBL_MIN_EXP): Likewise.
36247 (FLT_MAX_EXP): Use macro-int-constant.
36248 (DBL_MAX_EXP): Likewise.
36249 (LDBL_MAX_EXP): Likewise.
36250 (FLT_MAX_10_EXP): Likewise.
36251 (DBL_MAX_10_EXP): Likewise.
36252 (LDBL_MAX_10_EXP): Likewise.
36253 (FLT_MAX): Use macro-constant.
36254 (DBL_MAX): Likewise.
36255 (LDBL_MAX): Likewise.
36256 (FLT_EPSILON): Use macro-constant. Give upper bound.
36257 (DBL_EPSILON): Likewise.
36258 (LDBL_EPSILON): Likewise.
36259 (FLT_MIN): Likewise.
36260 (DBL_MIN): Likewise.
36261 (LDBL_MIN): Likewise.
36262 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36263 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36264 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36265 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36266 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36267 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36268 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36269 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36270 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36271 [ISO11] (FLT_TRUE_MIN): Likewise.
36272 [ISO11] (LDBL_TRUE_MIN): Likewise.
36273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36274 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36275 (SCHAR_MIN): Use macro-int-constant. Specify type.
36276 (SCHAR_MAX): Likewise.
36277 (UCHAR_MAX): Likewise.
36278 (CHAR_MIN): Likewise.
36279 (CHAR_MAX): Likewise.
36280 (MB_LEN_MAX): Use macro-int-constant.
36281 (SHRT_MIN): Use macro-int-constant. Specify type.
36282 (SHRT_MAX): Likewise.
36283 (USHRT_MAX): Likewise.
36284 (INT_MAX): Likewise.
36285 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36286 bound negative.
36287 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36288 bound with "U".
36289 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36290 bound with "L".
36291 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36292 bound negative. Suffix upper bound with "L".
36293 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36294 bound with "UL".
36295 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36296 Specify type.
36297 [C99-based standards] (LLONG_MAX): Likewise.
36298 [C99-based standards] (ULLONG_MAX): Likewise.
36299 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36300 == 0.
36301 [ISO11] (max_align_t): Require type.
36302 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36303
36304 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36305 from $CFLAGS, without defining away __attribute__ calls.
36306 (checknamespace): Use $CFLAGS_namespace.
36307
36308 * conform/conformtest.pl (@keywords): Only include C99 keywords
36309 for standards based on C99 or C11.
36310
36311 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36312 Disable tests.
36313 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36314 UNIX98]: Likewise.
36315
36316 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36317 usability of symbols in #if.
36318
36319 * conform/conformtest.pl: If macro or constant types start
36320 "promoted:", expect the symbol to be of the following type
36321 promoted by the integer promotions.
36322
36323 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36324 in one place. Also handle "macro-constant".
36325
36326 * conform/conformtest.pl: Only accept expected macro values with
36327 "==". Parse all "macro" lines in one place.
36328 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36329
36330 * conform/conformtest.pl: Handle braced types on "constant" lines
36331 instead of handling "typed-constant".
36332 * conform/data/signal.h-data: Use "constant" instead of
36333 "typed-constant".
36334
36335 * conform/conformtest.pl: Handle "optional-" at start of lines in
36336 one place rather than duplicating several cases. Handle each
36337 format of "macro" line with initial "optional-".
36338
36339 * conform/conformtest.pl: Only accept expected constant or
36340 optional-constant values with "==". Parse all "constant" lines in
36341 one place. Parse all "optional-constant" lines in one place.
36342 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36343 * conform/data/fmtmsg.h-data: Likewise.
36344 * conform/data/netinet/in.h-data: Likewise.
36345 * conform/data/tar.h-data: Likewise.
36346 * conform/data/limits.h-data: Use "==" form on "constant" and
36347 "optional-constant" lines.
36348
36349 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36350 Use -std=c99 for XOPEN2K.
36351 (@knownproblems): Remove.
36352 (newtoken): Don't check %isknown.
36353
36354 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36355 Do not expect macro.
36356 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36357 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36358 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36359 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36360 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36361 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36362 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36363 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36364 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36365 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36366 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36367 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36368 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36369 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36370 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36371 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36372 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36373 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36374 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36375 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36376 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36377 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36378 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36379 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36380 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36381 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36382 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36383 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36384 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36385 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36386 [XPG3] (acosh): Likewise.
36387 [XPG3] (asinh): Likewise.
36388 [XPG3] (atanh): Likewise.
36389 [XPG3] (cbrt): Likewise.
36390 [XPG3] (expm1): Likewise.
36391 [XPG3] (ilogb): Likewise.
36392 [XPG3] (log1p): Likewise.
36393 [XPG3] (logb): Likewise.
36394 [XPG3] (nextafter): Likewise.
36395 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36396 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36397 [XPG3] (remainder): Likewise.
36398 [XPG3] (rint): Likewise.
36399 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36400 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36401 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36402 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36403 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36404 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36405 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36406 [UNIX98 || XOPEN2K] (scalb): Expect.
36407 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36408 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36409 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36410 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36411 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36412 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36413 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36414 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36415 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36416 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36417 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36418 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36419 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36420 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36421 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36422 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36423 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36424 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36425 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36426 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36427 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36428 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36429 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36430 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36431 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36432 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36433 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36434 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36435 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36436 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36437 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36438 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36439 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36440 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36441 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36442 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36443 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36444 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36445 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36446 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36447 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36448 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36449 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36450 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36451 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36452 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36453 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36454 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36455 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36456 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36457 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36458 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36459 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36460 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36461 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36462 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36463 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36464 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36465 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36466 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36467 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36468 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36469 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36470 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36471 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36472 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36473 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36474 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36475 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36476 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36477 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36478 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36479 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36480 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36481 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36482 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36483 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36484 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36485 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36486 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36487 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36488 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36489 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36490 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36491 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36492 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36493 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36494 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36495 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36496 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36497 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36498 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36499 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36500 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36501 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36502 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36503 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36504 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36505 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36513 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36514 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36515 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36516 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36517 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36518 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36523 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36526 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36527 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36534 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36535 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36536 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36537 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36538 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36539 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36540 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36541 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36542 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36543 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36544
36545 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36546 _XOPEN_SOURCE_EXTENDED for XPG4.
36547
36548 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36549
36550 * Makeconfig (localtime): Remove variable.
36551 (inst_localtime-file): Likewise.
36552
365532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36554
36555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36556 Update.
36557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36558 Update.
36559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36560 Update.
36561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36562 Update.
36563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36564 Update.
36565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36566 Update.
36567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36568 Update.
36569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36570 Update.
36571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36572 Update.
36573
365742012-05-01 Joseph Myers <joseph@codesourcery.com>
36575
36576 [BZ #2550]
36577 [BZ #2570]
36578 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36579 comparisons to determine direction to adjust input.
36580 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36581 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36582 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36583 Likewise.
36584 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36585 Likewise.
36586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36587 Likewise.
36588 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36589 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36590 Likewise.
36591 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36592 Likewise.
36593 * math/libm-test.inc (nexttoward_test): Add more tests.
36594
365952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36596
36597 [BZ #14040]
36598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36599 in version GLIBC_2.1, not GLIBC_2.0.
36600 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36601 Likewise.
36602
366032012-04-30 Joseph Myers <joseph@codesourcery.com>
36604
36605 [BZ #13942]
36606 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36607 (1 - x) * (1 + x).
36608 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36609 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36610 * math/libm-test.inc (acos_test): Add more tests.
36611 (asin_test): Likewise.
36612 * sysdeps/i386/fpu/libm-test-ulps: Update.
36613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36614
36615 [BZ #14034]
36616 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36617 of square root.
36618 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36619 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36620 * math/libm-test.inc (acos_test_tonearest): New function.
36621 (acos_test_towardzero): Likewise.
36622 (acos_test_downward): Likewise.
36623 (acos_test_upward): Likewise.
36624 (asin_test_tonearest): Likewise.
36625 (asin_test_towardzero): Likewise.
36626 (asin_test_downward): Likewise.
36627 (asin_test_upward): Likewise.
36628 (main): Call the new functions.
36629 * sysdeps/i386/fpu/libm-test-ulps: Update.
36630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36631
36632 [BZ #13884]
36633 [BZ #13924]
36634 * math/e_exp10.c: Include <float.h>.
36635 (__ieee754_exp10): Handle underflow here rather than multiplying
36636 large negative argument by M_LN10.
36637 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36638 of __ieee754_expf.
36639 * math/e_exp10l.c: Include <float.h>.
36640 (__ieee754_exp10l): Handle underflow here rather than multiplying
36641 large negative argument by M_LN10l.
36642 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36643 spurious overflow exception on underflow.
36644
366452012-04-29 Marek Polacek <polacek@redhat.com>
36646
36647 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36648 (__fortify_function): New macro.
36649 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36650 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36651 __extern_always_inline.
36652 * libio/bits/stdio2.h: Likewise.
36653 * libio/bits/stdio.h: Likewise.
36654 * string/string.h: Likewise.
36655 * string/bits/string3.h: Likewise.
36656 * include/stdio.h: Likewise.
36657 * stdlib/bits/stdlib.h: Likewise.
36658 * stdlib/stdlib.h: Likewise.
36659 * rt/bits/mqueue2.h: Likewise.
36660 * rt/mqueue.h: Likewise.
36661 * posix/bits/unistd.h: Likewise.
36662 * posix/unistd.h: Likewise.
36663 * io/bits/poll2.h: Likewise.
36664 * io/bits/fcntl2.h: Likewise.
36665 * io/fcntl.h: Likewise.
36666 * io/sys/poll.h: Likewise.
36667 * misc/bits/syslog.h: Likewise.
36668 * misc/bits/syslog-ldbl.h: Likewise.
36669 * misc/sys/syslog.h: Likewise.
36670 * socket/bits/socket2.h: Likewise.
36671 * socket/sys/socket.h: Likewise.
36672 * debug/tst-chk1.c: Likewise.
36673 * wcsmbs/bits/wchar2.h: Likewise.
36674 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36675 * wcsmbs/wchar.h: Likewise.
36676
366772012-04-29 Andreas Jaeger <aj@suse.de>
36678
36679 * Makerules (tests): Remove enable-check-abi protection.
36680 (check-abi-warn): Remove.
36681 (check-abi-%): Remove check-abi-warn usage.
36682
36683 * configure.in: Remove check-abi configure option.
36684 * configure: Regenerated.
36685 * config.make.in (enable-check-abi): Remove.
36686
366872012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36688
36689 [BZ #14033]
36690 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36691 double functions to double *_finite functions.
36692
36693 [BZ #13941]
36694 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36695 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36696 LDBL_MIN_EXP.
36697 * stdio-common/Makefile (tests): Add tst-sprintf3.
36698 * stdio-common/tst-sprintf3.c: New file.
36699
36700 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36701 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36702
367032012-04-28 Joseph Myers <joseph@codesourcery.com>
36704
36705 * conform/conformtest.pl: Remove duplicate typed-constant
36706 handling.
36707
367082012-04-28 David S. Miller <davem@davemloft.net>
36709
36710 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36711 (check-abi-%): Remove AWK script prerequisite and explicit
36712 abilist directory.
36713 (check-abi): Rewrite to just diff the symlist with the abilist.
36714 (config-tls, config-abi-config): Delete, no longer used.
36715 (update-abi-%): Remove AWK script and explicit abilist directory.
36716 (update-abi): Rewrite to simply compare and conditionally copy the
36717 symlist and the sysdep abilist file. Remove update-abi-config
36718 checks.
36719 * abilist/ld.abilist: Remove.
36720 * abilist/libBrokenLocale.abilist: Remove.
36721 * abilist/libanl.abilist: Remove.
36722 * abilist/libcrypt.abilist: Remove.
36723 * abilist/libdl.abilist: Remove.
36724 * abilist/librt.abilist: Remove.
36725 * abilist/libthread_db.abilist: Remove.
36726 * abilist/libutil.abilist: Remove.
36727 * scripts/extract-abilist.awk: Remove.
36728 * scripts/merge-abilist.awk: Remove.
36729 * sysdeps/generic/libcidn.abilist: New file.
36730 * sysdeps/generic/libnss_compat.abilist: New file.
36731 * sysdeps/generic/libnss_db.abilist: New file.
36732 * sysdeps/generic/libnss_dns.abilist: New file.
36733 * sysdeps/generic/libnss_files.abilist: New file.
36734 * sysdeps/generic/libnss_hesiod.abilist: New file.
36735 * sysdeps/generic/libnss_nis.abilist: New file.
36736 * sysdeps/generic/libnss_nisplus.abilist: New file.
36737 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36738 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36739 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36740 file.
36741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36742 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36743 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36744 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36745 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36746 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36747 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36748 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36749 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36750 file.
36751 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36752 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36753 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36754 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36755 file.
36756 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36757 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36758 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36759 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36760 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36761 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36762 file.
36763 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36764 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36765 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36766 file.
36767 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36769 New file.
36770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36771 New file.
36772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36773 New file.
36774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36775 New file.
36776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36777 New file.
36778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36779 New file.
36780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36781 New file.
36782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36783 New file.
36784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36785 New file.
36786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36787 New file.
36788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36789 New file.
36790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36791 New file.
36792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36793 New file.
36794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36795 file.
36796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36797 New file.
36798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36799 New file.
36800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36801 file.
36802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36803 New file.
36804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36805 New file.
36806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36807 file.
36808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36809 New file.
36810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36811 New file.
36812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36813 New file.
36814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36815 New file.
36816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36817 New file.
36818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36819 New file.
36820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36822 file.
36823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36824 New file.
36825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36826 file.
36827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36828 file.
36829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36830 file.
36831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36832 file.
36833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36834 file.
36835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36836 New file.
36837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36838 file.
36839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36840 file.
36841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36842 New file.
36843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36844 file.
36845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36847 file.
36848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36849 New file.
36850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36851 file.
36852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36853 file.
36854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36855 file.
36856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36857 file.
36858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36859 file.
36860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36861 New file.
36862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36863 file.
36864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36865 file.
36866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36867 New file.
36868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36869 file.
36870 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36871 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36872 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36873 file.
36874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36875 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36876 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36877 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36878 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36879 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36880 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36881 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36882 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36883 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36886 file.
36887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36888 New file.
36889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36890 file.
36891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36892 file.
36893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36894 file.
36895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36896 file.
36897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36898 file.
36899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36900 New file.
36901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36902 New file.
36903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36904 file.
36905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36906 New file.
36907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36908 file.
36909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36911 file.
36912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36913 New file.
36914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36915 file.
36916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36917 file.
36918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36919 file.
36920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36921 file.
36922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36923 file.
36924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36925 New file.
36926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36927 New file.
36928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36929 file.
36930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36931 New file.
36932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36933 file.
36934
369352012-04-28 Joseph Myers <joseph@codesourcery.com>
36936
36937 * conform/conformtest.pl: Fix typo in handling typed-constant from
36938 allow-header.
36939
369402012-04-27 Joseph Myers <joseph@codesourcery.com>
36941
36942 * README: Cut down references to pre-2.6 Linux kernels and
36943 Linuxthreads. Update lists of configurations in libc and ports
36944 and sort alphabetically. Say "or newer" with Linux kernel version
36945 requirements.
36946
36947 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36948
369492012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36950
36951 [BZ #887]
36952 * math/libm-test.inc (logb_test_downward): New test to expose
36953 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36954 rounding mode.
36955
369562012-04-27 Joseph Myers <joseph@codesourcery.com>
36957
36958 [BZ #14027]
36959 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36960 to be done.
36961 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36962 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36963
369642012-04-26 Joseph Myers <joseph@codesourcery.com>
36965
36966 * sysdeps/unix/i386/brk.S: Remove file.
36967 * sysdeps/unix/i386/dl-brk.S: Likewise.
36968 * sysdeps/unix/i386/pipe.S: Likewise.
36969 * sysdeps/unix/i386/sigreturn.S: Likewise.
36970 * sysdeps/unix/i386/syscall.S: Likewise.
36971 * sysdeps/unix/i386/vfork.S: Likewise.
36972 * sysdeps/unix/i386/wait.S: Likewise.
36973
36974 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36975 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36976
36977 * configure.in (arm*-none*): Do not allow without
36978 --enable-hacker-mode.
36979 (netbsd*): Remove case setting base_os.
36980 (386bsd*): Likewise.
36981 (freebsd*): Likewise.
36982 (bsdi*): Likewise.
36983 (osf*): Likewise.
36984 (sunos*): Likewise.
36985 (ultrix*): Likewise.
36986 (newsos*): Likewise.
36987 (dynix*): Likewise.
36988 (*bsd*): Likewise.
36989 (sysv*): Likewise.
36990 (isc*): Likewise.
36991 (esix*): Likewise.
36992 (sco*): Likewise.
36993 (minix*): Likewise.
36994 (irix4*): Likewise.
36995 (irix6*): Likewise.
36996 (solaris[2-9]*): Likewise.
36997 (none): Likewise.
36998 * configure: Regenerated.
36999
370002012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37001
37002 [BZ #11521]
37003 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37004 overflow or cancellation in calculating denominator.
37005 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37006 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37007 down expression to avoid unexpected rounding in newer GCCs.
37008 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37009
370102012-04-26 David S. Miller <davem@davemloft.net>
37011
37012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37013 long-double compat symbols.
37014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37027
370282012-04-25 David S. Miller <davem@davemloft.net>
37029
37030 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37031 HWCAP_* values only after the memory barriers have been defined.
37032 (atomic_full_barrier): Define.
37033 (atomic_read_barrier): Define.
37034 (atomic_write_barrier): Define.
37035
370362012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37037
37038 * shlib-versions: Add libgcc_s version information.
37039 * sysdeps/generic/libgcc_s.h: Remove.
37040 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37041 libgcc_s.h.
37042 * sysdeps/gnu/unwind-resume.c: Likewise.
37043 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37044
370452012-04-25 David S. Miller <davem@davemloft.net>
37046
37047 * sysdeps/unix/sparc/brk.S: Delete.
37048 * sysdeps/unix/sparc/dl-brk.S: Delete.
37049 * sysdeps/unix/sparc/pipe.S: Delete.
37050 * sysdeps/unix/sparc/sysdep.S: Delete.
37051 * sysdeps/unix/sparc/sysdep.h: Delete.
37052 * sysdeps/unix/sparc/vfork.S: Delete.
37053 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37054 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37055 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37056 (ret_ERRVAL, r0, r1, MOVE): Define.
37057 (JUMPTARGET): Remove.
37058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37059 sysdeps/unix/sparc/sysdep.h
37060 (ENTRY, END): Remove.
37061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37062
370632012-04-25 Joseph Myers <joseph@codesourcery.com>
37064
37065 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37066 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37067 -DIS_IN_build.
37068
37069 * timezone/README: Update upstream location and email address for
37070 tzcode and tzdata.
37071 * timezone/zdump.c: Update from tzcode 2012b.
37072 * timezone/zic.c: Likewise.
37073
37074 * configure.in (libc_cv_as_needed): Remove test.
37075 * configure: Regenerated.
37076 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37077 conditional definition.
37078 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37079 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37080 * config.make.in (have-as-needed): Remove variable.
37081
370822012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37083 Paul Pluzhnikov <ppluzhnikov@google.com>
37084
37085 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37086 strings correctly.
37087
370882012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37089
37090 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37091 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37092 * sysdeps/sh/strlen.S: Likewise.
37093
370942012-04-24 Joseph Myers <joseph@codesourcery.com>
37095
37096 * sysdeps/unix/fork.S: Remove file.
37097 * sysdeps/unix/i386/fork.S: Likewise.
37098 * sysdeps/unix/sparc/fork.S: Likewise.
37099
37100 * sysdeps/unix/system.c: Remove file.
37101 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37102
37103 * sysdeps/unix/getegid.S: Remove file.
37104 * sysdeps/unix/geteuid.S: Likewise.
37105
371062012-04-24 Roland McGrath <roland@hack.frob.com>
37107
37108 * scripts/check-localplt.awk: New file.
37109 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37110 of diff.
37111 * scripts/data/localplt-generic.data: Add a comment.
37112
37113 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37114 NODE when __dir_mkfile failed.
37115 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37116 Reported by Ludovic Courtès <ludo@gnu.org>.
37117
371182012-04-24 Andreas Jaeger <aj@suse.de>
37119
37120 * Makerules (common-clean): Also remove gen-as-const-headers
37121 files.
37122
371232012-04-24 Joseph Myers <joseph@codesourcery.com>
37124
37125 * Makerules (native-compile): Do not change working directory for
37126 build. Use $(OUTPUT_OPTION) in command.
37127 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37128
371292012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37130
37131 [BZ #13886]
37132 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37133 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37134 * math/libm-test.inc (floor_test): Add more tests.
37135 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37136
371372012-04-24 Joseph Myers <joseph@codesourcery.com>
37138
37139 * sysdeps/unix/getdents.c: Remove file.
37140 * sysdeps/unix/sysv/getdents.c: Likewise.
37141 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37142
37143 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37144 sysdeps/unix/mman/syscalls.list.
37145 (mmap): Likewise.
37146 (mprotect): Likewise.
37147 (msync): Likewise.
37148 (munmap): Likewise.
37149 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37150 * sysdeps/unix/mman/syscalls.list: Remove.
37151 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37152
37153 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37154 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37155 * configure: Regenerated.
37156 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37157 $(libgcc_s_suffix).
37158 * config.make.in (libgcc_s_suffix): Remove variable.
37159
371602012-04-23 Joseph Myers <joseph@codesourcery.com>
37161
37162 * sysdeps/unix/sysv/gethostname.c: Move to ...
37163 * sysdeps/posix/gethostname.c: ... here.
37164
37165 * sysdeps/unix/execve.S: Remove file.
37166
37167 * sysdeps/unix/_exit.S: Remove file.
37168
371692012-04-23 Andreas Jaeger <aj@suse.de>
37170
37171 [BZ #13739]
37172 * manual/Makefile: Remove make dist support, there's no
37173 need for a stand-alone documentation tar ball.
37174 (TEXI2DVI): Define always, it's not in Makeconfig.
37175 (dist): Removed.
37176 (tar-it): Removed.
37177 (edition): Removed.
37178 (glibc-doc-$(edition).tar): Removed
37179 (%.Z): Removed.
37180 (%.gz): Removed.
37181 (%.uu): Removed.
37182 (ETAGS): Remove, it's in Makeconfig.
37183 (move-if-change): Remove, it's in Makeconfig.
37184
371852012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37186
37187 [BZ #13970]
37188 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37189 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37190 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37191 (strtod_l, strtof_l, strtold_l): Remove __wur.
37192 It is not necessarily an error to ignore strtol's return value.
37193 One can reliably look at the stored endptr to decide whether
37194 the number had valid syntax.
37195
371962012-04-21 Andreas Jaeger <aj@suse.de>
37197
37198 [BZ #13739]
37199 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37200
372012012-04-21 Joseph Myers <joseph@codesourcery.com>
37202
37203 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37204 * sysdeps/unix/sysv/Versions: Remove file.
37205
372062012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37207
37208 [BZ #13927]
37209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37210
372112012-04-21 Nick Alcock <nick.alcock@oracle.com>
37212
37213 [BZ #7064]
37214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37215 version from __vm86.
37216
372172012-04-20 Joseph Myers <joseph@codesourcery.com>
37218
37219 * sysdeps/unix/common/lxstat.c: Remove file.
37220 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37221
37222 * sysdeps/unix/sysv/Makefile: Remove file.
37223
37224 * sysdeps/unix/sysv/direct.h: Remove file.
37225
37226 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37227 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37228 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37229 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37230 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37231 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37232 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37233
37234 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37235
37236 * sysdeps/unix/xmknod.c: Remove file.
37237 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37238
37239 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37240
37241 * sysdeps/unix/sysv/i386/time.S: Remove file.
37242
37243 * sysdeps/unix/fxstat.c: Remove file.
37244 * sysdeps/unix/xstat.c: Likewise.
37245 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37246
37247 * sysdeps/unix/sysv/sigaction.c: Remove file.
37248
37249 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37250 (sysdep_headers): Remove variable.
37251 [termio.h not in sysdep_headers] (generated): Likewise.
37252 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37253 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37254 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37255 * sysdeps/unix/sysv/tcflow.c: Likewise.
37256 * sysdeps/unix/sysv/tcflush.c: Likewise.
37257 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37258 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37259 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37260 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37261 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37262
37263 * sysdeps/unix/siglist.c: Remove file.
37264
37265 * sysdeps/unix/getppid.S: Remove file.
37266
37267 * sysdeps/unix/mkdir.c: Remove file.
37268 * sysdeps/unix/rmdir.c: Likewise.
37269
372702012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37271
37272 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37273 ERR_MAX value.
37274 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37275 errlist-compat value.
37276
372772012-04-18 David S. Miller <davem@davemloft.net>
37278
37279 * sysdeps/generic/memcopy.h (reg_char): Delete.
37280 * debug/strcat_chk.c: Use char, not reg_char.
37281 * debug/strcpy_chk.c: Likewise.
37282 * debug/strncat_chk.c: Likewise.
37283 * debug/strncpy_chk.c: Likewise.
37284 * string/memchr.c: Likewise.
37285 * string/memrchr.c: Likewise.
37286 * string/rawmemchr.c: Likewise.
37287 * string/strcat.c: Likewise.
37288 * string/strchr.c: Likewise.
37289 * string/strchrnul.c: Likewise.
37290 * string/strcmp.c: Likewise.
37291 * string/strcpy.c: Likewise.
37292 * string/strncat.c: Likewise.
37293 * string/strncmp.c: Likewise.
37294 * string/strncpy.c: Likewise.
37295
372962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37297
37298 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37299 __builtin_memcopy is called when src and dest ranges are known to not
37300 overlap.
37301
373022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37303
37304 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37305 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37306 fwd_align_merge macro call.
37307 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37308 bwd_align_merge macro call.
37309 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37310
373112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37312
37313 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37314 bwd_align_merge macros.
37315 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37316 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37317 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37318
373192012-04-18 David S. Miller <davem@davemloft.net>
37320
37321 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37322
373232012-04-18 Andreas Jaeger <aj@suse.de>
37324
37325 [BZ# 6794]
37326 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37327 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37328 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37329
37330 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37331 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37332 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37333
37334 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37335 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37336 Adjust for changed ldbl-128 files.
37337
37338 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37339 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37340 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37341
373422012-04-17 David S. Miller <davem@davemloft.net>
37343
37344 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37345
373462012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37347
37348 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37349 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37350 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37351 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37352 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37353 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37354
373552012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37356
37357 [BZ #6794]
37358 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37359 * math/libm-test.inc: Add ilogb errno and exception tests.
37360 * math/w_ilogb.c: New file: ilogb wrapper.
37361 * math/w_ilogbf.c: New file: ilogbf wrapper.
37362 * math/w_ilogbl.c: New file: ilogbl wrapper.
37363 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37364 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37365 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37366 exception being thrown with 0.0 as argument.
37367 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37368 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37369 exception being thrown with 0.0 as argument.
37370 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37371 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37372 exception being thrown with 0.0 as argument.
37373 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37374 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37375 exception being thrown with 0.0 as argument.
37376 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37377 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37378 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37379 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37380 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37381 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37382 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37383 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37384 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37385
373862012-04-17 Petr Baudis <pasky@ucw.cz>
37387
37388 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37389 with altivec.
37390
373912012-04-16 Marek Polacek <polacek@redhat.com>
37392
37393 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37394
373952012-04-16 Marek Polacek <polacek@redhat.com>
37396
37397 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37398 operands of fdivp instruction.
37399
374002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37401
37402 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37403 * elf/tst-auditmod3b.c: Likewise.
37404 * elf/tst-auditmod4b.c: Likewise.
37405 * elf/tst-auditmod5b.c: Likewise.
37406 * elf/tst-auditmod6b.c: Likewise.
37407 * elf/tst-auditmod6c.c: Likewise.
37408 * elf/tst-auditmod7b.c: Likewise.
37409 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37410 * sysdeps/x86_64/preconfigure.in: Likewise.
37411 * sysdeps/x86_64/preconfigure: Regenerated.
37412
374132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37414
37415 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37416 __ILP32__.
37417
374182012-04-13 Antoine Balestrat <merkil33@gmail.com>
37419
37420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37421 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37422
374232012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37424
37425 [BZ #13973]
37426 * locale/iso-639.def: Fix gl language name. Spotted by
37427 Yaron Shahrabani.
37428
374292012-04-12 Roland McGrath <roland@hack.frob.com>
37430
37431 [BZ #2074]
37432 * libio/libio.h (__io_write_fn): Update comment.
37433
374342012-04-12 Petr Baudis <pasky@ucw.cz>
37435
37436 [BZ #2074]
37437 * stdio.texi (Hook Functions): The user provided writer function
37438 is not allowed to return -1.
37439
374402012-04-11 David S. Miller <davem@davemloft.net>
37441
37442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37443
374442012-04-11 Mike Frysinger <vapier@gentoo.org>
37445
37446 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37447 Add a leading slash to rtkaio.
37448
374492012-04-11 Jim Meyering <meyering@redhat.com>
37450
37451 [BZ #11959]
37452 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37453 It is not necessarily an error to ignore fwrite's return
37454 value. One can reliably use ferror to test for errors after
37455 the fact.
37456
374572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37458
37459 * bits/types.h (__snseconds_t): New type.
37460 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37461
37462 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37464 (__SNSECONDS_T_TYPE): Likewise.
37465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37466 (__SNSECONDS_T_TYPE): Likewise.
37467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37468 (__SNSECONDS_T_TYPE): Likewise.
37469
374702012-04-10 Andreas Jaeger <aj@suse.de>
37471
37472 [BZ #2636]
37473 * manual/time.texi (Processor Time): Return type of times is
37474 elapsed real time since an arbitrary point in the past.
37475 (CPU Time): Move CLK_TCK from here...
37476 (Processor Time): ...to here. Correct description.
37477 * manual/conf.texi (Constants for Sysconf): Correct description of
37478 _SC_CLK_TCK.
37479
374802012-04-10 David S. Miller <davem@davemloft.net>
37481
37482 [BZ #13967]
37483 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37484 where the is a gap between DT_REL(A) and DT_JMPREL.
37485
374862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37487
37488 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37489 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37490 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37491
374922012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37493
37494 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37495 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37496 (dl_main): Handle --inhibit-cache.
37497 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37498 _dl_inhibit_cache.
37499 * elf/dl-load.c (_dl_map_object): Use it.
37500 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37501
375022012-04-09 Joseph Myers <joseph@codesourcery.com>
37503
37504 [BZ #13872]
37505 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37506 (__ieee754_powl): Saturate large exponents rather than testing for
37507 overflow of y*log2(x).
37508 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37509 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37510 exceptions.
37511
37512 [BZ #11521]
37513 * math/s_ctan.c: Include <float.h>.
37514 (__ctan): Avoid internal overflow or cancellation in calculating
37515 denominator.
37516 * math/s_ctanf.c: Likewise.
37517 * math/s_ctanl.c: Likewise.
37518 * math/s_ctanh.c: Likewise.
37519 * math/s_ctanhf.c: Likewise.
37520 * math/s_ctanhl.c: Likewise.
37521 * math/libm-test.inc (ctan_test): Add more tests.
37522 (ctanh_test): Likewise.
37523 * sysdeps/i386/fpu/libm-test-ulps: Update.
37524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37525
375262012-04-09 Andreas Jaeger <aj@suse.de>
37527
37528 [BZ #6894]
37529 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37530 is an optional BSD extension.
37531
37532 [BZ #10254]
37533 * manual/stdio.texi (Opening Streams): Document additional fopen
37534 parameters.
37535
375362012-04-09 Roland McGrath <roland@hack.frob.com>
37537
37538 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37539 %eax without telling the compiler.
37540
375412012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37542
37543 [BZ # 13963]
37544 * manual/install.texi: Use sourceware.org.
37545
375462012-04-09 Joseph Myers <joseph@codesourcery.com>
37547
37548 [BZ #13873]
37549 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37550 (__ieee754_pow): Generate overflow and underflow using huge*huge
37551 and tiny*tiny rather than just returning constant infinity or zero
37552 for large exponents.
37553 * math/libm-test.inc (pow_test): Require overflow exceptions for
37554 applicable cases of large exponents.
37555
37556 [BZ #706]
37557 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37558 (__ieee754_pow): Use iterative multiplication algorithm only for
37559 integer exponents with absolute value below 1024. Check for odd
37560 integer exponents when using algorithm for real exponents.
37561 * math/libm-test.inc (pow_test): Add more tests.
37562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37563
375642012-04-08 Joseph Myers <joseph@codesourcery.com>
37565
37566 [BZ #13705]
37567 * math/libm-test.inc (exp_test): Do not allow overflow exception
37568 on underflow test.
37569
375702012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37571
37572 [BZ #13705]
37573 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37574 instead of __kernel_standard_f.
37575
375762012-04-08 Mike Frysinger <vapier@gentoo.org>
37577
37578 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37579 * sysdeps/x86_64/memset_chk.S: Likewise.
37580
375812012-04-08 Andreas Jaeger <aj@suse.de>
37582
37583 [BZ #10153]
37584 * manual/startup.texi (Environment Access): Describe return value
37585 for putenv and setenv.
37586
37587 [BZ #6895]
37588 * manual/filesys.texi (Directory Entries): Add description for
37589 DT_LNK.
37590
37591 [BZ #6890]
37592 * manual/filesys.texi (Directory Entries): Clarify that it's file
37593 system not operating system in the description of DT_UNKNOWN.
37594
37595 [BZ #6578]
37596 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37597
375982012-04-08 Stephen Compall <s11@member.fsf.org>
37599
37600 [BZ #6649]
37601 * manual/llio.texi (Opening and Closing Files): Add cross
37602 reference to explain mode argument.
37603
376042012-04-07 Mike Frysinger <vapier@gentoo.org>
37605
37606 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37607 * sysdeps/x86_64/memset_chk.S: Likewise.
37608
376092012-04-07 David S. Miller <davem@davemloft.net>
37610
37611 * elf/elf.h (R_SPARC_WDISP10): Define.
37612 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37613 R_SPARC_SIZE32.
37614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37615 R_SPARC_SIZE64 and R_SPARC_H34.
37616
376172012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37618
37619 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37620 conditions and remove no longer applicable assertion.
37621
376222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37623
37624 * bits/byteswap.h: Include <features.h>.
37625 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37626 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37627
376282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37629
37630 * bits/byteswap.h (__bswap_16): Removed.
37631 Include <bits/byteswap-16.h> to get __bswap_16.
37632 * sysdeps/i386/bits/byteswap.h: Likewise.
37633 * sysdeps/s390/bits/byteswap.h: Likewise.
37634 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37635 * bits/byteswap-16.h: New file.
37636 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37637 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37638 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37639 * string/Makefile (headers): Add bits/byteswap-16.h.
37640
376412012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37642
37643 [BZ #13895]
37644 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37645 extra indirection.
37646 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37647 * nss/tst-nss-static.c: New.
37648
376492012-04-06 Robert Millan <rmh@gnu.org>
37650
37651 [BZ #6486]
37652 * manual/llio.texi (File Position Primitive): lseek
37653 refers to WHENCE when it really means OFFSET.
37654
376552012-04-06 Andreas Jaeger <aj@suse.de>
37656
37657 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37658 strncmp declarations.
37659
37660 * abilist/libc.abilist: Add __poll and __ppoll.
37661
376622012-04-05 David S. Miller <davem@davemloft.net>
37663
37664 * scripts/check-local-headers.sh: Accept a host triplet in the
37665 path matched by the exclude regexp.
37666
37667 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37668 definition.
37669 * sysdeps/powerpc/powerpc32/dl-machine.h
37670 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37671 * sysdeps/s390/s390-32/dl-machine.h
37672 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37673 * sysdeps/sparc/sparc32/dl-machine.h
37674 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37675 * sysdeps/sparc/sparc64/dl-machine.h
37676 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37677
37678 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37679 lazy binding.
37680 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37681 undefined symbol errors.
37682
37683 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37684 DT_NEEDED entries.
37685
376862012-04-05 Michael Matz <matz@suse.de>
37687
37688 [BZ #13592]
37689 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37690
376912012-04-05 Andreas Jaeger <aj@suse.de>
37692
37693 [BZ #13908]
37694 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37695 comment.
37696
376972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37698
37699 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37700 which ROUND is no valid rounding mode.
37701
377022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37703
37704 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37705 read again.
37706 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37707
377082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37709
37710 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37711 an exception using FPU order intentionally.
37712
377132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37714
37715 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37716 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37717 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37718 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37719
377202012-04-05 Simon Josefsson <simon@josefsson.org>
37721
37722 [BZ #12340]
37723 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37724 EINVAL when BUFLEN is too smal.
37725
377262012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37727
37728 [BZ #13553]
37729 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37730 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37731
377322012-04-03 Andreas Jaeger <aj@suse.de>
37733
37734 [BZ #13938]
37735 * manual/setjmp.texi (System V contexts): Fix sentence.
37736
37737 [BZ #13926]
37738 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37739 New macro for this case.
37740 [!__GNUC__] (__bswap_64): New inline function for this case.
37741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37742 * bits/byteswap.h: Likewise.
37743 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37744 ull, guard with __GLIBC_HAVE_LONG_LONG.
37745
37746 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37747 __GLIBC_HAVE_LONG_LONG.
37748
37749 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37750 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37751
377522012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37753
37754 [BZ #13691]
37755 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37756 inptr and inend, rather than using last_ch.
37757
377582012-04-02 David S. Miller <davem@davemloft.net>
37759
37760 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37761 * stdio-common/printf-parse.h (read_int): Change return type to
37762 'int', return -1 on INT_MAX overflow.
37763 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37764 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37765 overflows INT_MAX. Check for overflow of in-format-string precision
37766 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37767 SIZE_MAX not INT_MAX for integer overflow test.
37768 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37769 skip the construct in the format string but do not record anything.
37770 * stdio-common/bug22.c: Adjust to test both width/prevision
37771 INT_MAX overflow as well as total length INT_MAX overflow. Check
37772 explicitly for proper errno values.
37773
377742012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37775
37776 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37777 CHAR_MAX.
37778 * string/test-strcmp.c [! WIDE]: Likewise.
37779 * time/tst-mktime2.c: Likewise for INT_MAX.
37780 * string/test-string.h: #include <sys/param.h> for MIN.
37781
37782 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37783 * sysdeps/i386/init-first.c (init): Likewise.
37784 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37785 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37786 * sysdeps/sh/init-first.c (init): Likewise.
37787
377882012-04-01 Ulrich Drepper <drepper@gmail.com>
37789
37790 * po/ru.po: Update from translation team.
37791 * po/vi.po: Likewise.
37792
377932012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37794
37795 * resolv/nss_dns/dns-host.c: Merge copyright years.
37796
377972012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37798
37799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37800 Optimize memcpy with prefetch if
37801 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37802 src, dst pointers have unequal 16 byte alignments.
37803
378042012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37805
37806 [BZ #13928]
37807 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37808 from a CNAME entry and return the minimum ttl for the query.
37809 (gaih_getanswer_slice): Likewise.
37810
378112012-03-30 Jeff Law <law@redhat.com>
37812
37813 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37814 due to long keys.
37815 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37816 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37817
37818 * resolv/nss_dns/dns-host.c: Update copyright year.
37819
378202012-03-30 Ulrich Drepper <drepper@gmail.com>
37821
37822 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37823 requests to save a system call. Fix check that all bytes are sent.
37824
37825 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37826 comments for sendmmsg.
37827
378282012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37829
37830 [BZ #13691]
37831 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37832 with only 1 character between 0x0041 and 0x01b0.
37833 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37834 * wcsmbs/tst-mbsnrtowcs.c: New file.
37835
378362012-03-29 David S. Miller <davem@davemloft.net>
37837
37838 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37839 small copies by hand.
37840
378412012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37842
37843 [BZ #13761]
37844 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37845 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37846 group memberships.
37847
378482012-03-28 David S. Miller <davem@davemloft.net>
37849
37850 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37851 that branches into memcpy.
37852 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37855 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37857 bits.
37858 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37859 implementation too.
37860 * sysdeps/sparc/mempcpy.S: New file.
37861
37862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37863 the IFUNC routine in the libc case.
37864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37865
37866 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37867 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37868 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37869 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37870 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37871 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37872 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37873 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37874
37875 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37876 loop to 256 bytes instead of 64 bytes and fix test signedness.
37877
37878 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37879 * sysdeps/sparc/sparc32/Makefile: rather than here...
37880 * sysdeps/sparc/sparc64/Makefile: and here.
37881
378822012-03-28 Ulrich Drepper <drepper@gmail.com>
37883
37884 * malloc/mallocbug.c: Avoid warnings about unused variables.
37885
378862012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37887
37888 [BZ #13760]
37889 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37890 in the right place. Discard and retry query if response is
37891 larger than input buffer size.
37892
378932012-03-28 Joseph Myers <joseph@codesourcery.com>
37894
37895 [BZ #369]
37896 [BZ #2678]
37897 [BZ #3866]
37898 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37899 x for large integer exponent.
37900 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37901 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37902 sign of result as needed afterwards.
37903 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37904 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37905 result for underflowing pow the same as for overflow.
37906 (__kernel_standard_l): Handle powl overflow and underflow here
37907 rather than calling __kernel_standard.
37908 * math/libm-test.inc (pow_test): Add more tests.
37909
37910 [BZ #3868]
37911 [BZ #13879]
37912 [BZ #13910]
37913 [BZ #13911]
37914 [BZ #13912]
37915 [BZ #13913]
37916 [BZ #13915]
37917 [BZ #13916]
37918 [BZ #13917]
37919 [BZ #13918]
37920 [BZ #13919]
37921 [BZ #13920]
37922 [BZ #13921]
37923 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37924 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37925 (__kernel_standard_l): New function.
37926 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37927 __kernel_standard.
37928 * math/w_acosl.c (__acosl): Likewise.
37929 * math/w_asinl.c (__asinl): Likewise.
37930 * math/w_atan2l.c (__atan2l): Likewise.
37931 * math/w_atanhl.c (__atanhl): Likewise.
37932 * math/w_coshl.c (__coshl): Likewise.
37933 * math/w_exp10l.c (__exp10l): Likewise.
37934 * math/w_exp2l.c (__exp2l): Likewise.
37935 * math/w_fmodl.c (__fmodl): Likewise.
37936 * math/w_hypotl.c (__hypotl): Likewise.
37937 * math/w_j0l.c (__j0l, __y0l): Likewise.
37938 * math/w_j1l.c (__j1l, __y1l): Likewise.
37939 * math/w_jnl.c (__jnl, __ynl): Likewise.
37940 * math/w_lgammal.c (__lgammal): Likewise.
37941 * math/w_log10l.c (__log10l): Likewise.
37942 * math/w_log2l.c (__log2l): Likewise.
37943 * math/w_logl.c (__logl): Likewise.
37944 * math/w_powl.c (__powl): Likewise.
37945 * math/w_remainderl.c (__remainderl): Likewise.
37946 * math/w_scalbl.c (sysv_scalbl): Likewise.
37947 * math/w_sinhl.c (__sinhl): Likewise.
37948 * math/w_sqrtl.c (__sqrtl): Likewise.
37949 * math/w_tgammal.c (__tgammal): Likewise.
37950 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37951 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37952 * math/libm-test.inc (acos_test): Add more tests.
37953 (acosh_test): Likewise.
37954 (asin_test): Likewise.
37955 (atanh_test): Likewise.
37956 (exp_test): Likewise.
37957 (exp10_test): Likewise.
37958 (exp2_test): Likewise.
37959 (expm1_test): Likewise.
37960 (lgamma_test): Likewise.
37961 (log_test): Likewise.
37962 (log10_test): Likewise.
37963 (log1p_test): Likewise.
37964 (log2_test): Likewise.
37965 (pow_test): Do not allow some spurious overflow exceptions.
37966 (sqrt_test): Add more tests.
37967 (tgamma_test): Likewise.
37968 (y0_test): Likewise.
37969 (y1_test): Likewise.
37970 (yn_test): Likewise.
37971
379722012-03-27 Anton Blanchard <anton@samba.org>
37973
37974 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37975 MAP_HUGETLB.
37976 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37978 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37979
379802012-03-27 David S. Miller <davem@davemloft.net>
37981
37982 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37983
37984 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37985 have-as-vis3 check.
37986
379872012-03-27 Andreas Jaeger <aj@suse.de>
37988
37989 * sysdeps/x86_64/elf/configure.in: Moved to ...
37990 * sysdeps/x86_64/configure.in: ... here.
37991 * sysdeps/x86_64/elf/start.S: Moved to ...
37992 * sysdeps/x86_64/start.S: ... here.
37993 * sysdeps/x86_64/elf/configure: Delete.
37994
37995 * sysdeps/x86_64/configure.in: Merge contents from
37996 sysdeps/i386/configure.in (without i686 check).
37997
37998 * sysdeps/i386/elf/Versions: Merge into ...
37999 * sysdeps/i386/Versions: ... this.
38000 * sysdeps/i386/elf/Versions: Delete file.
38001 * sysdeps/i386/elf/start.S: Moved to ...
38002 * sysdeps/i386/start.S: ...here.
38003 * sysdeps/i386/elf/configure.in: Merge into...
38004 * sysdeps/i386/configure.in: ...here.
38005 * sysdeps/i386/elf/configure.in: Delete file.
38006 * sysdeps/i386/elf/configure: Delete file.
38007
38008 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38009 * debug/backtracesyms.c: ... here.
38010 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38011 * debug/backtracesymsfd.c: ... here.
38012 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38013 * sysdeps/generic/ifunc-sel.h: ... here.
38014
38015 * sysdeps/unix/i386/start.c: Delete file.
38016 * sysdeps/unix/sparc/start.c: Delete file.
38017 * sysdeps/unix/start.c: Delete file.
38018
38019 * sysdeps/sh/elf/configure.in: Moved to ...
38020 * sysdeps/sh/configure.in: ... here.
38021 * sysdeps/sh/elf/start.S: Moved to ...
38022 * sysdeps/sh/start.S: ... here.
38023 * sysdeps/sh/elf/configure: Delete file.
38024
38025 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38026 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38027 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38028 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38029 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38030 * sysdeps/powerpc/powerpc64/start.S: here.
38031 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38032 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38033 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38034 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38035 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38036
38037 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38038 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38039 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38040 * sysdeps/powerpc/powerpc32/start.S: ... here.
38041 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38042 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38043 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38044
38045 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38046 * sysdeps/powerpc/ifunc-sel.h: ... here.
38047 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38048 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38049
38050 * sysdeps/sparc/elf/configure.in: Moved to ...
38051 * sysdeps/sparc/configure.in: ... here.
38052 * sysdeps/sparc/elf/configure: Delete file.
38053 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38054 * sysdeps/sparc/sparc32/start.S: ... here.
38055 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38056 * sysdeps/sparc/sparc64/start.S: ... here.
38057 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38058 * sysdeps/sparc/sparc32/Makefile: ... this.
38059 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38060 * sysdeps/sparc/sparc64/Makefile: ... this.
38061
38062 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38063 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38064 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38065 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38066 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38067 * sysdeps/s390/s390-32/setjmp.S: ... here.
38068 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38069 * sysdeps/s390/s390-32/configure.in: ... here.
38070 * sysdeps/s390/s390-32/elf/configure: Delete file.
38071 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38072 * sysdeps/s390/s390-32/start.S: ... here.
38073
38074 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38075 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38076 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38077 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38078 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38079 * sysdeps/s390/s390-64/setjmp.S: ... here.
38080 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38081 * sysdeps/s390/s390-64/configure.in: ... here
38082 * sysdeps/s390/s390-64/elf/configure: Delete file.
38083 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38084 * sysdeps/s390/s390-64/start.S: ... here.
38085 * sysdeps/s390/s390-64/elf/configure: Delete.
38086
38087 * configure.in: Remove support for elf directories in sysdeps.
38088
38089 * configure: Regenerated.
38090 * sysdeps/i386/configure: Regenerated.
38091 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38092 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38093 * sysdeps/s390/s390-32/configure: Regenerated.
38094 * sysdeps/s390/s390-64/configure: Regenerated.
38095 * sysdeps/sh/configure: Regenerated.
38096 * sysdeps/sparc/configure: Regenerated.
38097 * sysdeps/x86_64/configure: Regenerated.
38098
380992012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38100
38101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38102
38103 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38104 denormal result into account.
38105
381062012-03-25 Roland McGrath <roland@hack.frob.com>
38107
38108 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38109 Reported by Allan McRae <allan@archlinux.org>.
38110
381112012-03-23 Jeff Law <law@redhat.com>
38112
38113 * nss/getnssent.c (__nss_getent): Fix typo.
38114
381152012-03-23 David S. Miller <davem@davemloft.net>
38116
38117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38118
381192012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38120
38121 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38122 to pad to uint64_t for each field.
38123 (dl_tls_index): Replace unsigned long with uint64_t.
38124
381252012-03-23 Daniel Jacobowitz <dmj@google.com>
38126 Paul Pluzhnikov <ppluzhnikov@google.com>
38127
38128 [BZ #6528]
38129 * grp/Makefile (otherlibs): Don't set it.
38130 * inet/Makefile (otherlibs): Likewise.
38131 * login/Makefile (otherlibs): Likewise.
38132 * nscd/Makefile (otherlibs): Likewise.
38133 * posix/Makefile (otherlibs): Likewise.
38134 * pwd/Makefile (otherlibs): Likewise.
38135 * rt/Makefile (otherlibs): Likewise.
38136 * sunrpc/Makefile (otherlibs): Likewise.
38137 * nss/Makefile (otherlibs): Likewise.
38138 Add libnss_files to routines and static-only-routines.
38139 ($(objpfx)getent): Remove rule.
38140 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38141 static-only-routines.
38142
381432012-03-22 Joseph Myers <joseph@codesourcery.com>
38144
38145 [BZ #13892]
38146 * math/s_cexp.c: Include <float.h>.
38147 (__cexp): Handle exp result overflowing not necessarily
38148 overflowing both real and imaginary parts of result.
38149 * math/s_cexpf.c: Likewise.
38150 * math/s_cexpl.c: Likewise.
38151 * math/libm-test.inc (cexp_test): Add more tests.
38152 * sysdeps/i386/fpu/libm-test-ulps: Update.
38153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38154
381552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38156
38157 * include/link.h (ELFW): New macro.
38158 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38159 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38160
381612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38162
38163 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38164 with uint64_t.
38165
381662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38167
38168 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38169 declaration.
38170 (struct La_x32_retval): Likewise.
38171
381722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38173
38174 * sysdeps/x86_64/preconfigure.in: New file.
38175 * sysdeps/x86_64/preconfigure: New generated file.
38176
381772012-03-22 Joseph Myers <joseph@codesourcery.com>
38178
38179 [BZ #13824]
38180 * math/e_exp2l.c: Include <float.h>.
38181 (__ieee754_exp2l): Handle overflow and underflow cases
38182 separately. Only pass fractional part of argument to
38183 __ieee754_expl.
38184 * math/libm-test.inc (exp2_test): Add more tests.
38185
38186 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38187 negating x to take absolute value.
38188 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38189 Likewise.
38190 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38191 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38192 Likewise.
38193 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38194 computing low part if x was negated.
38195 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38196
381972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38198
38199 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38200 la_x32_gnu_pltexit.
38201 (pltexit): Cast int_retval to ptrdiff_t.
38202 * elf/tst-auditmod3b.c: Likewise.
38203 * elf/tst-auditmod4b.c: Likewise.
38204 * elf/tst-auditmod5b.c: Likewise.
38205 * elf/tst-auditmod6b.c: Likewise.
38206 * elf/tst-auditmod6c.c: Likewise.
38207 * elf/tst-auditmod7b.c: Likewise.
38208
38209 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38210 and x32_gnu_pltexit.
38211
38212 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38213 __ELF_NATIVE_CLASS.
38214 (La_x32_regs): New macro.
38215 (La_x32_retval): Likewise.
38216 (la_x32_gnu_pltenter): New function prototype.
38217 (la_x32_gnu_pltexit): Likewise.
38218
382192012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38220
38221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38222 exponent.
38223
38224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38225
38226 * configure.in (libc_cv_cc_nofma): Check for option to disable
38227 generation of FMA instructions.
38228 * configure: Regenerate.
38229 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38230 * sysdeps/ieee754/dbl-64/Makefile: New file.
38231 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38232 Remove brandred-fma4.
38233 (CFLAGS-brandred-fma4.c): Remove.
38234 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38235 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38236 define.
38237 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38238 define.
38239
382402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38241
38242 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38243 LLONG_MAX != LONG_MAX.
38244 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38245 (_fitoa_word): Likewise.
38246 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38247 LLONG_MAX != LONG_MAX.
38248 * stdio-common/_itowa.h: Include <_itoa.h>.
38249 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38250 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38251 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38252 only if not defined.
38253 (_ITOA_WORD_TYPE): Likewise.
38254 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38255 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38256
382572012-03-21 David S. Miller <davem@davemloft.net>
38258
38259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38260
382612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38262
38263 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38264 of x86_64 when setting libc_cv_slibdir, libdir and
38265 libc_cv_localedir.
38266 * sysdeps/unix/sysv/linux/configure: Regenerated.
38267
382682012-03-21 Joseph Myers <joseph@codesourcery.com>
38269
38270 * manual/lang.texi (Old Varargs): Remove section.
38271 (How Variadic): Update menu.
38272 (va_start): Do not mention varargs.h.
38273
382742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38275 Joseph Myers <joseph@codesourcery.com>
38276
38277 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38278 link test.
38279 * configure: Regenerated.
38280
382812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38282
38283 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38284 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38285 conformtest.pl
38286
382872012-03-21 Joseph Myers <joseph@codesourcery.com>
38288
38289 * NOTES: Remove.
38290 * Makefile (files-for-dist): Remove NOTES.
38291 (NOTES): Remove rule.
38292 * README: Don't refer to NOTES.
38293 * manual/creature.texi: Don't include macros.texi.
38294 * manual/intro.texi (creature.texi): Remove comment referring to
38295 NOTES.
38296
38297 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38298 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38299 * configure: Regenerated.
38300 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38301 LIBC_TRY_CC_OPTION.
38302 (libc_cv_as_i686): Likewise.
38303 (libc_cv_cc_avx): Likewise.
38304 (libc_cv_cc_sse2avx): Likewise.
38305 (libc_cv_cc_fma4): Likewise.
38306 (libc_cv_cc_novzeroupper): Likewise.
38307 * sysdeps/i386/configure: Regenerated.
38308
38309 [BZ #13883]
38310 * sysdeps/i386/fpu/s_cexp.S: Remove.
38311 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38312 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38313 * math/libm-test.inc (cexp_test): Add more tests.
38314 * sysdeps/i386/fpu/libm-test-ulps: Update.
38315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38316
383172012-03-21 Allan McRae <allan@archlinux.org>
38318
38319 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38320
383212012-03-21 Joseph Myers <joseph@codesourcery.com>
38322
38323 [BZ #13871]
38324 * math/w_exp2.c: Do not include <float.h>.
38325 (o_threshold, u_threshold): Remove.
38326 (__exp2): Calculate result before checking finiteness and calling
38327 __kernel_standard.
38328 * math/w_exp2f.c: Likewise.
38329 * math/w_exp2l.c: Likewise.
38330 * math/libm-test.inc (exp2_test): Require overflow exception for
38331 1e6 input.
38332
38333 [BZ #3866]
38334 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38335 range of signed 64-bit integers before using fistpll. Remove
38336 checks for whether integers fit in mantissa bits.
38337 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38338 the range of signed 32-bit integers before using fistpl. Remove
38339 checks for whether integers fit in mantissa bits.
38340 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38341 (__ieee754_powl): Test for y outside the range of signed 64-bit
38342 integers before using fistpll. Reduce 64-bit values to 63-bit
38343 ones as needed.
38344 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38345 divide-by-zero is raised for zero to large negative powers.
38346 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38347 (__ieee754_powl): Test for y outside the range of signed 64-bit
38348 integers before using fistpll. Reduce 64-bit values to 63-bit
38349 ones as needed.
38350 * math/libm-test.inc (pow_test): Add more tests.
38351
383522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38353
38354 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38355 <stdio-common/_itoa.h>.
38356 * debug/segfault.c: Likewise.
38357 * elf/dl-cache.c: Likewise.
38358 * elf/dl-minimal.c: Likewise.
38359 * elf/dl-misc.c: Likewise.
38360 * elf/dl-sysdep.c: Likewise.
38361 * elf/dl-version.c: Likewise.
38362 * elf/rtld.c: Likewise.
38363 * hurd/hurdsock.c: Likewise.
38364 * hurd/lookup-retry.c: Likewise.
38365 * malloc/malloc.c: Likewise.
38366 * malloc/mtrace.c: Likewise.
38367 * nscd/nscd_getgr_r.c: Likewise.
38368 * nscd/nscd_getpw_r.c: Likewise.
38369 * nscd/nscd_getserv_r.c: Likewise.
38370 * posix/getopt_init.c: Likewise.
38371 * posix/wordexp.c: Likewise.
38372 * stdio-common/_itoa.c: Likewise.
38373 * stdio-common/printf_fphex.c: Likewise.
38374 * stdio-common/vfprintf.c: Likewise.
38375 * string/_strerror.c: Likewise.
38376 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38377 * sysdeps/i386/i686/hp-timing.h: Likewise.
38378 * sysdeps/mach/_strerror.c: Likewise.
38379 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38380 * sysdeps/mach/hurd/sethostid.c: Likewise.
38381 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38382 * sysdeps/mach/xpg-strerror.c: Likewise.
38383 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38384 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38385 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38386 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38387 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38388 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38389 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38390 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38391 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38392 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38393 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38394 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38395 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38396 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38397 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38398 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38399 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38400 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38401 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38402 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38403 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38404
38405 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38406
38407 * stdio-common/_itoa.h: Moved to ...
38408 * sysdeps/generic/_itoa.h: Here.
38409
38410 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38411
38412 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38413 instead of "_itoa.h" and "_itowa.h".
38414 * stdio-common/vfprintf.: Likewise.
38415
384162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38417
38418 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38419 <bits/wordsize.h>.
38420 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38421 (__signbit): Likwise.
38422 (llrintf): Likwise.
38423 (llrint): Likwise.
38424
384252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38426
38427 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38428 __WORDSIZE != 64.
38429
384302012-03-20 Joseph Myers <joseph@codesourcery.com>
38431
38432 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38433 OVERFLOW_EXCEPTION_OK.
38434 * math/libm-test.inc ("Philosophy"): Update comment about
38435 exception testing.
38436 (OVERFLOW_EXCEPTION): Define.
38437 (OVERFLOW_EXCEPTION_OK): Likewise.
38438 (INVALID_EXCEPTION_OK): Renumber.
38439 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38440 (IGNORE_ZERO_INF_SIGN): Likewise.
38441 (test_exceptions): Handle FE_OVERFLOW.
38442 (exp10_test): Expect overflow exceptions.
38443 (exp2_test): Likewise.
38444 (expm1_test): Likewise.
38445 (nextafter_test): Likewise.
38446 (pow_test): Likewise.
38447 (scalbn_test): Likewise.
38448 (scalbln_test): Likewise.
38449
384502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38451
38452 * sysdeps/x86_64/bits/atomic.h
38453 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38454 64bit integer.
38455 (atomic_exchange_acq): Likewise.
38456 (__arch_exchange_and_add_body): Likewise.
38457 (__arch_add_body): Likewise.
38458 (atomic_add_negative): Likewise.
38459 (atomic_add_zero): Likewise.
38460
384612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38462
38463 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38464 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38465
384662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38467
38468 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38469 Check __x86_64__ instead of __WORDSIZE.
38470
384712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38472
38473 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38474
384752012-03-19 David S. Miller <davem@davemloft.net>
38476
38477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38478
38479 * sysdeps/sparc/fpu/fenv_private.h: New file.
38480 * sysdeps/sparc/fpu/math_private.h: Use it.
38481 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38482 Remove.
38483 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38484 (libc_feholdexcept_setroundl): Remove.
38485 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38486 Remove.
38487 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38488 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38489
384902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38491
38492 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38493 int64_t instead of long int.
38494 (INSERT_WORDS64): Likwise.
38495
384962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38497
38498 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38499 _Unwind_GetCFA return to _Unwind_Ptr first.
38500
385012012-03-19 Joseph Myers <joseph@codesourcery.com>
38502
38503 [BZ #13629]
38504 * math/s_clog.c: Include <float.h>.
38505 (__clog): Scale large or subnormal inputs.
38506 * math/s_clogf.c: Likewise.
38507 * math/s_clogl.c: Likewise.
38508 * math/s_clog10.c: Include <float.h>.
38509 (M_LOG10_2): Define.
38510 (__clog10): Scale large or subnormal inputs.
38511 * math/s_clog10f.c: Likewise.
38512 * math/s_clog10l.c: Likewise.
38513 * math/libm-test.inc (clog_test): Add more tests.
38514 (clog10_test): Likewise.
38515 * sysdeps/i386/fpu/libm-test-ulps: Update.
38516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38517
38518 [BZ #11451]
38519 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38520 x and y.
38521 * math/libm-test.inc (atan2_test): Add another test.
38522
38523 * Makerules (common-objdir-compile): Remove.
38524 * sysdeps/unix/Makefile (config-generated): Do not add
38525 $(unix-generated) to variable.
38526 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38527 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38528 Remove rule.
38529 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38530 Likewise.
38531 [generic bits/local_lim.h] (before-compile): Do not append to
38532 variable.
38533 [generic bits/local_lim.h] (common-generated): Likewise.
38534 [generic sys/param.h] (before-compile): Do not append to variable.
38535 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38536 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38537 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38538 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38539 include.
38540 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38541 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38542 [generic sys/param.h] ($(addprefix
38543 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38544 [generic sys/param.h] (common-generated): Do not append to
38545 variable.
38546 [generic sys/param.h] (sysdep_headers): Likewise.
38547 [generic bits/errno.h] (before-compile): Do not append to
38548 variable.
38549 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38550 rule.
38551 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38552 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38553 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38554 [generic bits/errno.h] (common-generated): Do not append to
38555 variable.
38556 [generic bits/ioctls.h] (before-compile): Do not append to
38557 variable.
38558 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38559 rule.
38560 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38561 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38562 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38563 rule.
38564 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38565 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38566 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38567 [generic bits/ioctls.h] (common-generated): Do not append to
38568 variable.
38569 [generic sys/syscall.h] (syscall.h): Remove variable.
38570 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38571 rule.
38572 [generic sys/syscall.h] (before-compile): Do not append to
38573 variable.
38574 [generic sys/syscall.h] (common-generated): Likewise.
38575 * sysdeps/unix/errnos-tmpl.c: Remove file.
38576 * sysdeps/unix/errnos.awk: Likewise.
38577 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38578 * sysdeps/unix/ioctls.awk: Likewise.
38579 * sysdeps/unix/mk-local_lim.c: Likewise.
38580 * sysdeps/unix/snarf-ioctls: Likewise.
38581
385822012-03-19 Richard Henderson <rth@twiddle.net>
38583
38584 * sysdeps/i386/fpu/fenv_private.h: New file.
38585 * sysdeps/i386/fpu/math_private.h: Use it.
38586 (math_opt_barrier, math_force_eval): Remove.
38587 (libc_feholdexcept_setround_53bit): Remove.
38588 (libc_feupdateenv_53bit): Remove.
38589 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38590 (math_opt_barrier, math_force_eval): Remove.
38591 (libc_feholdexcept): Remove.
38592 (libc_feholdexcept_setround): Remove.
38593 (libc_fetestexcept, libc_fesetenv): Remove.
38594 (libc_feupdateenv_test): Remove.
38595 (libc_feupdateenv, libc_feholdsetround): Remove.
38596 (libc_feresetround): Remove.
38597
38598 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38599 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38600
38601 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38602 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38603 (libc_feupdateenv_testl): New.
38604 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38605 (libc_feupdateenv_testf): New.
38606 (libc_feupdateenv): Use libc_feupdateenv_test.
38607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38608 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38609
38610 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38611 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38612 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38613 (libc_feresetround_noex): New.
38614 (libc_feresetround_noexf): New.
38615 (libc_feresetround_noexl): New.
38616 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38617 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38618 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38619 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38620 SET_RESTORE_ROUND.
38621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38622 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38623 (__cos): Likewise.
38624 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38626 SET_RESTORE_ROUND_NOEX.
38627 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38628 SET_RESTORE_ROUND_NOEXF.
38629 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38630 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38631 (libc_feholdsetroundf): New.
38632 (libc_feresetround, libc_feresetroundf): New.
38633
38634 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38635 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38636 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38637
38638 * sysdeps/generic/math_private.h: Include <fenv.h>.
38639 (default_libc_feholdexcept): New.
38640 (default_libc_feholdexcept_setround): New.
38641 (default_libc_fesetenv, default_libc_feupdateenv): New.
38642 (libc_feholdexcept): Only define if undefined.
38643 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38644 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38645 (libc_feholdexcept_setroundl): Likewise.
38646 (libc_feholdexcept_setround_53bit): Likewise.
38647 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38648 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38649 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38650 (libc_feupdateenv_53bit): Likewise.
38651 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38652 (libc_feholdexcept): Convert from macro to inline function.
38653 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38654 (libc_fesetenv, libc_feupdateenv): Likewise.
38655
38656 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38657 not previously defined.
38658 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38659 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38660 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38661 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38662 * sysdeps/ieee754/flt-32/math_private.h: New file.
38663 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38664 math_private.h below SET_FLOAT_WORD.
38665 (__isnan, __isinf_ns, __finite): Remove.
38666 (__isnanf, __isinf_nsf, __finitef): Remove.
38667
386682012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38669
38670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38671
386722012-03-17 David S. Miller <davem@davemloft.net>
38673
38674 [BZ #6471]
38675 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38676 for 2.16.
38677
386782012-03-16 David S. Miller <davem@davemloft.net>
38679
38680 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38681 warnings.
38682
38683 [BZ #6471]
38684 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38685 properly.
38686 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38687 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38688 sysdep_routines when subdir is sysvipc.
38689 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38690 __getshmlba helper.
38691
38692 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38693
386942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38695
38696 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38697 [__LP64__].
38698
386992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38700
38701 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38702 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38703 (__lround): Renamed to ...
38704 (__llround): This. Replace long int with long long int.
38705 Define lround functions as aliases of llround functions.
38706 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38707
387082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38709
38710 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38711 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38712 adresses to uintptr_t. Replace "long int" and "unsigned long
38713 int" with "greg_t" on va_arg.
38714
387152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38716
38717 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38718 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38719
38720 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38721 Move e_machine check before EI_CLASS check. Handle x32
38722 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38723 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38724 SKIP_EM_IA_64 and include
38725 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38726
38727 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38728 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38729 (add_system_dir): New macro.
38730
38731 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38732 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38733
387342012-03-16 Joseph Myers <joseph@codesourcery.com>
38735
38736 [BZ #2551]
38737 [BZ #2552]
38738 [BZ #2553]
38739 [BZ #2554]
38740 [BZ #2562]
38741 [BZ #2563]
38742 [BZ #2565]
38743 [BZ #2566]
38744 [BZ #2576]
38745 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38746 (y0): Likewise.
38747 * math/w_j0f.c (j0f): Likewise.
38748 (y0f): Likewise.
38749 * math/w_j0l.c (__j0l): Likewise.
38750 (__y0l): Likewise.
38751 * math/w_j1.c (j1): Likewise.
38752 (y1): Likewise.
38753 * math/w_j1f.c (j1f): Likewise.
38754 (y1f): Likewise.
38755 * math/w_j1l.c (__j1l): Likewise.
38756 (__y1l): Likewise.
38757 * math/w_jn.c (jn): Likewise.
38758 (yn): Likewise.
38759 * math/w_jnf.c (jnf): Likewise.
38760 (ynf): Likewise.
38761 * math/w_jnl.c (__jnl): Likewise.
38762 (__ynl): Likewise.
38763 * math/libm-test.inc (j0_test): Add more tests.
38764 (j1_test): Likewise.
38765 (jn_test): Likewise. Add trailing semicolon to existing test.
38766 (y0_test): Likewise.
38767 (y1_test): Likewise.
38768 * sysdeps/i386/fpu/libm-test-ulps: Update.
38769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38770
38771 [BZ #13851]
38772 [BZ #13854]
38773 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38774 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38775 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38776 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38777 (__tanl): Set errno for infinite argument.
38778 * sysdeps/i386/fpu/mptan.c: Remove.
38779 * sysdeps/i386/fpu/s_tan.S: Likewise.
38780 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38781 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38782 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38783 * math/libm-test.inc (tan_test): Add more tests and enable more
38784 tests for double and long double.
38785 * sysdeps/i386/fpu/libm-test-ulps: Update.
38786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38787
387882012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38789
38790 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38791 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38792
387932012-03-16 Roland McGrath <roland@hack.frob.com>
38794
38795 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38796 * configure.in: Use it for both main tree and add-ons.
38797 * configure: Regenerated.
38798
387992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38800
38801 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38802
388032012-03-16 Joseph Myers <joseph@codesourcery.com>
38804
38805 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38806 in comment.
38807
38808 [BZ #13851]
38809 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38810 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38814 infinite argument.
38815 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38816 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38817 != 0 for prec == 2.
38818 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38819 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38820 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38821 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38822 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38823 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38824 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38825 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38826 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38827 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38828 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38829 * math/libm-test.inc (cos_test): Add more tests and enable more
38830 tests for long double.
38831 (sin_test): Likewise.
38832 (sincos_test): Likewise.
38833 * sysdeps/i386/fpu/libm-test-ulps: Update.
38834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38835
388362012-03-16 David S. Miller <davem@davemloft.net>
38837
38838 * sysdeps/sparc/fpu/math_private.h: New file.
38839
388402012-03-15 David S. Miller <davem@davemloft.net>
38841
38842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38843 file.
38844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38846 file.
38847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38852 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38853 sysdep routines.
38854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38855
38856 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38857 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38858
38859 * sysdeps/sparc/sparc-ifunc.h: New file.
38860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38861 sparc-ifunc.h
38862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38864 Likewise.
38865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38866 Likewise.
38867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38871 Likewise.
38872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38877 Likewise.
38878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38879 Likewise.
38880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38898 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38899 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38901 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38904
389052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38906
38907 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38908 scaling.
38909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38910
389112012-03-15 Andreas Jaeger <aj@suse.de>
38912
38913 [BZ #13852]
38914 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38915 ieee754/flt-32 implementation for sin, cos and sincos.
38916 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38917 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38918 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38919 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38920 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38921 ieee754/flt-32 implementation for tan.
38922
38923 * math/libm-test.inc (cos_test): Enable some large input tests for
38924 float as well
38925 (sin_test): Likewise.
38926 (sincos_test): Likewise.
38927 (tan_test): Add tests for large input.
38928
38929 * sysdeps/i386/fpu/libm-test-ulps: Update.
38930
389312012-03-15 Andreas Jaeger <aj@suse.de>
38932
38933 [BZ #13658]
38934 * math/libm-test.inc (cos_test): Add more test cases.
38935 (sin_test): Likewise.
38936 (sincos_test): Likewise.
38937
389382012-03-15 Andreas Jaeger <aj@suse.de>
38939
38940 [BZ #13837]
38941 * math/libm-test.inc (cos_test): Add a test case for large input
38942 value.
38943 (sin_test): Likewise.
38944 (sincos_test): Likewise.
38945
389462012-03-15 Andreas Jaeger <aj@suse.de>
38947 Joseph Myers <joseph@codesourcery.com>
38948
38949 [BZ #13658]
38950 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38951 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38952 * sysdeps/i386/fpu/branred.c: Likewise.
38953 * sysdeps/i386/fpu/dosincos.c: Likewise.
38954 * sysdeps/i386/fpu/mpa.c: Likewise.
38955 * sysdeps/i386/fpu/s_cos.S: Likewise.
38956 * sysdeps/i386/fpu/s_sin.S: Likewise.
38957 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38958 * sysdeps/i386/fpu/sincos32.c: Likewise.
38959
38960 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38961 Define.
38962 (libc_feupdateenv_53bit): Define.
38963 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38964 Define.
38965 (libc_feupdateenv_53bit): Define.
38966
38967 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38968 53 bit (without extend i386 double precision).
38969
38970 * math/libm-test.inc (sincos_test): Add tests for large input.
38971 (sin): Likewise.
38972 (cos): Likewise.
38973
38974 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38975
389762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38977
38978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38979
389802012-03-15 David S. Miller <davem@davemloft.net>
38981
38982 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38983 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38984 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38985 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38998 file.
38999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39001 file.
39002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39004 file.
39005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39007 file.
39008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39010 fmin/fmax sysdep routines.
39011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39012
390132012-03-14 David S. Miller <davem@davemloft.net>
39014
39015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39044 routines.
39045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39046 file.
39047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39049 file.
39050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39052 file.
39053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39055 file.
39056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39058 file.
39059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39061 file.
39062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39063 file.
39064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39065 file.
39066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39067 file.
39068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39069 New file.
39070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39071 file.
39072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39073 file.
39074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39076 file.
39077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39079 file.
39080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39082 file.
39083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39085 VIS3 routines.
39086
39087 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39088 New file.
39089
39090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39091
39092 * sysdeps/sparc/configure.in: New file.
39093 * sysdeps/sparc/configure: Generate.
39094 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39095 * configure: Regenerate.
39096 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39097 * config.make.in (have-as-vis3): New.
39098 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39099 available use -Av9d instead of -Av9a.
39100 * sysdeps/sparc/sparc64/Makefile: Likewise.
39101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39103 New file.
39104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39105 file.
39106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39107 New file.
39108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39109 file.
39110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39115
39116 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39117 fzeros/fnegs to load 0x80000000 into a float register instead of
39118 using the stack.
39119 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39120
391212012-03-14 Joseph Myers <joseph@codesourcery.com>
39122
39123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39124 bits/syscall.h.
39125 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39126 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39127 ($(inst_includedir)/bits/syscall.h): Remove rule.
39128 ($(objpfx)bits/syscall.d): Include instead of
39129 $(objpfx)syscall-list.d.
39130 (generated): Change syscall-list.h and syscall-list.d to
39131 bits/syscall.h and bits/syscall.d.
39132
391332012-03-14 Roland McGrath <roland@hack.frob.com>
39134
39135 [BZ #13846]
39136 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39137
391382012-03-14 Joseph Myers <joseph@codesourcery.com>
39139
39140 [BZ #13841]
39141 * math/s_csqrt.c: Include <float.h>.
39142 (__csqrt): Scale large or subnormal inputs.
39143 * math/s_csqrtf.c: Likewise.
39144 * math/s_csqrtl.c: Likewise.
39145 * math/libm-test.inc (csqrt_test): Add more tests.
39146 * sysdeps/i386/fpu/libm-test-ulps: Update.
39147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39148
39149 [BZ #13840]
39150 * math/libm-test.inc (hypot_test): Add more tests.
39151
391522012-03-13 David S. Miller <davem@davemloft.net>
39153
39154 [BZ #13840]
39155 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39156 double-precision for the calculation instead of scaling.
39157
391582012-03-13 Joseph Myers <joseph@codesourcery.com>
39159
39160 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39161 manipulate bits before adding and subtracting TWO52[sx].
39162 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39164 Likewise.
39165 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39166
391672012-03-13 David S. Miller <davem@davemloft.net>
39168
39169 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39170 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39172 rtld-global-offsets.h
39173 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39174
39175 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39176 large parameters.
39177
39178 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39179
39180 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39181 'err' in the ifdef scope in which it is actually used.
39182
39183 * nss/nss_db/db-init.c: Include string.h
39184
391852012-03-12 David S. Miller <davem@davemloft.net>
39186
39187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39188 masking out of the most significant byte of random value used.
39189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39190 Fix coding style in previous change.
39191
39192 * sysdeps/unix/sysv/linux/kernel-features.h
39193 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39194 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39195 expression.
39196 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39197 later.
39198
391992012-03-11 David S. Miller <davem@davemloft.net>
39200
39201 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39202 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39204 for 'resultvar' otherwise things get truncated on 64-bit.
39205
39206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39207 Fix masking out of the most significant byte of random value used.
39208
39209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39210
392112012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39212
39213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39214
392152012-03-09 David S. Miller <davem@davemloft.net>
39216
39217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39218 variables with appropriate CPP guards.
39219 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39220 from the frame pointer, not the stack pointer. Correct layout
39221 comments. Fix test on resulting framesize and the management of
39222 the outregs buffer for pltexit. Preserve floating point return
39223 values across _dl_call_pltexit call.
39224 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39225 framesize and the management of the outregs buffer for pltexit.
39226 Preserve floating point return values across _dl_call_pltexit
39227 call.
39228 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39229 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39230 (la_sparc64_gnu_pltexit): New functions.
39231 (print_exit): Fix format string for return register value.
39232
392332012-03-10 Joseph Myers <joseph@codesourcery.com>
39234
39235 * sunrpc/Makefile (others): Add rpcgen.
39236 ($(objpfx)rpcgen): Remove special build rule and dependency on
39237 libc.
39238 * sunrpc/rpcgen.c: New file.
39239
392402012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39241
39242 [BZ #13673]
39243 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39244 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39245 * sysdeps/i386/crti.S: Likewise.
39246 * sysdeps/i386/crtn.S: Likewise.
39247 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39248 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39249 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39250 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39251 * sysdeps/sh/crti.S: Likewise.
39252 * sysdeps/sh/crtn.S: Likewise.
39253 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39254
39255 [BZ #13673]
39256 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39257 with URL.
39258 * locale/programs/locfile-kw.gperf: Likewise.
39259 * locale/programs/charmap-kw.h: Regenerated.
39260 * locale/programs/locfile-kw.h: Likewise.
39261
39262 [BZ #13673]
39263 * intl/plural.y: Replace FSF snail mail address with URL.
39264 * intl/plural.c: Regenerated.
39265
392662012-03-09 Richard Henderson <rth@twiddle.net>
39267
39268 * include/math_private.h: Remove file.
39269 * math/math_private.h: Move file ...
39270 * sysdeps/generic/math_private.h: ... here.
39271
39272 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39273 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39274 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39275
39276 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39277 and <math_private.h>.
39278 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39279 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39280 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39281 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39282 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39283 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39284 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39285 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39286 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39289 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39290 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39292 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39294 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39295 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39296 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39297 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39300 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39302 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39303 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39304 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39305 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39308 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39309 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39310 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39311 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39312 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39314 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39315 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39316 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39318 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39319 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39320 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39321 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39324 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39325 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39326 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39327 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39328 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39329 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39330 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39331 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39332 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39333 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39334 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39335 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39336 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39337 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39339 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39340 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39341 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39342 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39347 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39348 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39351 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39352 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39356 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39357 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39358 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39359 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39360 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39362 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39365 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39366 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39367 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39368 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39369 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39371 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39372 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39373 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39375 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39376 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39377 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39378 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39379 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39380 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39381 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39382 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39383 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39384 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39385 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39390 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39391 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39392 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39393 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39394 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39395 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39397 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39398 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39399 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39401 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39402 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39403 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39405 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39406 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39407 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39408 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39409 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39410 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39411 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39412 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39413 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39415 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39416 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39417 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39418 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39419 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39420 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39421 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39422 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39423 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39424 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39425 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39426 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39427 * sysdeps/ieee754/k_standard.c: Likewise.
39428 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39429 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39431 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39433 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39434 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39435 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39436 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39440 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39441 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39442 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39443 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39444 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39445 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39447 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39448 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39449 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39451 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39452 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39453 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39454 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39455 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39456 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39457 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39458 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39459 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39460 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39461 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39462 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39463 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39464 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39465 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39466 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39467 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39468 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39469 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39470 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39471 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39472 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39473 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39474 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39476 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39477 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39479 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39480 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39481 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39484 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39485 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39486 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39487 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39488 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39489 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39491 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39493 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39494 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39495 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39496 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39498 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39500 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39501 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39502 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39504 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39507 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39508 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39512 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39513 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39514 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39515 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39516 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39518 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39519 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39520 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39521 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39524 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39525 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39526 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39527 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39528 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39532 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39541 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39543 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39547 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39548 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39549 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39550 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39552 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39555 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39560 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39562 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39564 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39565 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39566 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39568 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39569 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39571 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39572 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39573 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39574 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39576 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39577 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39578 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39584 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39585 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39586 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39588 * sysdeps/ieee754/s_lib_version.c: Likewise.
39589 * sysdeps/ieee754/s_matherr.c: Likewise.
39590 * sysdeps/ieee754/s_signgam.c: Likewise.
39591 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39592 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39593 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39594 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39595 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39596 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39597 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39598 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39599 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39600 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39601 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39602 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39603 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39604 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39605 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39606 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39607 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39608 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39609 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39612
396132012-03-09 Joseph Myers <joseph@codesourcery.com>
39614
39615 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39616 * sunrpc/rpc_main.c: Likewise.
39617 * sunrpc/rpc_svcout.c: Likewise.
39618
396192012-03-09 David S. Miller <davem@davemloft.net>
39620
39621 * include/math_private.h: New file.
39622
396232012-03-09 Joseph Myers <joseph@codesourcery.com>
39624
39625 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39626 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39627 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39628 from <bits/socket_type.h>.
39629 (enum __socket_type): Don't define here.
39630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39632 bits/socket_type.h.
39633
39634 [BZ #13566]
39635 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39636 checking __USE_GNU.
39637
39638 * Makerules ($(inst_includedir)/%.h): New rule.
39639 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39640 (install-others): Remove variable setting.
39641 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39642
396432012-03-08 Richard Henderson <rth@twiddle.net>
39644
39645 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39646 from macro to inline function; merge with the
39647 !__LIBC_INTERNAL_MATH_INLINES version.
39648 (__ieee754_sqrtf): Likewise.
39649
39650 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39651 to inline function.
39652 (__rintf, __floor, __floorf): Likewise.
39653
39654 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39655 macro to inline function.
39656 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39657
39658 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39659 not <math/math_private.h>.
39660
396612012-03-08 David S. Miller <davem@davemloft.net>
39662
39663 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39664 copyright year.
39665 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39666
396672012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39668
39669 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39670 normalization.
39671 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39672 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39673
396742012-03-08 Ulrich Drepper <drepper@gmail.com>
39675
39676 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39677 be defined individually, they must be defined as a block. Define
39678 S for printing a string instead of hidint the different by using a
39679 macro for adding the 'l'.
39680 * stdio-common/tst-fphex-wide.c: Adjust.
39681
396822012-03-07 Marek Polacek <polacek@redhat.com>
39683
39684 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39685
396862012-03-08 Marek Polacek <polacek@redhat.com>
39687
39688 [BZ #13806]
39689 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39690 * stdio-common/tst-fphex.c: Define a few macros to make the
39691 test reusable. Use them.
39692 * stdio-common/tst-fphex-wide.c: New file.
39693
396942012-03-08 Joseph Myers <joseph@codesourcery.com>
39695
39696 [BZ #6911]
39697 * manual/macros.texi (gnusystems): New macro.
39698 (nongnusystems): Likewise.
39699 (gnulinuxhurdsystems): Likewise.
39700 (gnuhurdsystems): Likewise..
39701 (gnulinuxsystems): Likewise.
39702 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39703 variants of the GNU system, not "GNU system".
39704 * manual/conf.texi: Likewise.
39705 * manual/errno.texi: Likewise. Update example of errno macro
39706 expansion.
39707 * manual/filesys.texi: Likewise.
39708 (getumask): Document as specific to GNU/Hurd.
39709 * manual/install.texi: Likewise. Reword some references to
39710 GNU/Linux.
39711 * manual/intro.texi: Likewise.
39712 * manual/io.texi: Likewise.
39713 (File Name Portability): Detail which constraints are inapplicable
39714 to all GNU systems and which are only inapplicable to GNU/Hurd.
39715 * manual/job.texi: Likewise.
39716 * manual/llio.texi: Likewise.
39717 (O_NOCTTY): Document as present on GNU/Linux.
39718 * manual/maint.texi: Likewise.
39719 * manual/memory.texi: Likewise.
39720 * manual/pattern.texi: Likewise.
39721 * manual/pipe.texi: Likewise.
39722 * manual/process.texi: Likewise.
39723 * manual/resource.texi: Likewise.
39724 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39725 child on GNU/Hurd.
39726 * manual/setjmp.texi: Likewise.
39727 * manual/signal.texi: Likewise.
39728 * manual/startup.texi: Likewise.
39729 * manual/stdio.texi: Likewise.
39730 * manual/terminal.texi: Likewise.
39731 (ONLCR): Document as POSIX.
39732 (OXTABS): Document availability on GNU/Linux as XTABS.
39733 (ONOEOT): Document availability separately from other bits.
39734 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39735 * manual/time.texi: Likewise.
39736 * manual/users.texi: Likewise.
39737 * INSTALL: Regenerated.
39738 * sysdeps/gnu/errlist.c: Regenerated.
39739
39740 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39741 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39742 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39743 puts.
39744 * configure: Regenerated.
39745
397462012-03-07 Joseph Myers <joseph@codesourcery.com>
39747
39748 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39749 default includes instead of AC_HEADER_CHECK.
39750 * sysdeps/i386/configure: Regenerated.
39751
39752 [BZ #10716]
39753 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39754 * math/s_cacoshf.c (__cacoshf): Likewise.
39755 * math/s_cacoshl.c (__cacoshl): Likewise.
39756 * math/s_casinh.c (__casinh): Set signs of result from argument.
39757 * math/s_casinhf.c (__casinhf): Likewise.
39758 * math/s_casinhl.c (__casinhl): Likewise.
39759 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39760 (casinh_test): Add more tests.
39761 * sysdeps/i386/fpu/libm-test-ulps: Update.
39762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39763
397642012-03-07 Ulrich Drepper <drepper@gmail.com>
39765
39766 * po/zh_TW.po: Update from translation team.
39767
39768 * login/Makefile (distribute): Remove variable.
39769 * catgets/Makefile: Likewise.
39770 * mach/Makefile: Likewise.
39771 * malloc/Makefile: Likewise.
39772 * misc/Makefile: Likewise.
39773 * iconv/Makefile: Likewise.
39774 * nscd/Makefile: Likewise.
39775 * hurd/Makefile: Likewise.
39776 * manual/Makefile: Likewise.
39777 * locale/Makefile: Likewise.
39778 * intl/Makefile: Likewise.
39779 * conform/Makefile: Likewise.
39780 * nss/Makefile: Likewise.
39781 * time/Makefile: Likewise.
39782 * soft-fp/Makefile: Likewise.
39783 * dirent/Makefile: Likewise.
39784 * gmon/Makefile: Likewise.
39785 * po/Makefile: Likewise.
39786 * rt/Makefile: Likewise.
39787 * socket/Makefile: Likewise.
39788 * math/Makefile: Likewise.
39789 * signal/Makefile: Likewise.
39790 * debug/Makefile: Likewise.
39791 * elf/Makefile: Likewise.
39792 * timezone/Makefile: Likewise.
39793 * stdlib/Makefile: Likewise.
39794 * iconvdata/Makefile: Likewise.
39795 * sunrpc/Makefile: Likewise.
39796 * io/Makefile: Likewise.
39797 * argp/Makefile: Likewise.
39798 * inet/Makefile: Likewise.
39799 * hesiod/Makefile: Likewise.
39800 * grp/Makefile: Likewise.
39801 * csu/Makefile: Likewise.
39802 * wctype/Makefile: Likewise.
39803 * crypt/Makefile: Likewise.
39804 * libio/Makefile: Likewise.
39805 * string/Makefile: Likewise.
39806 * nis/Makefile: Likewise.
39807 * resolv/Makefile: Likewise.
39808 * stdio-common/Makefile: Likewise.
39809 * wcsmbs/Makefile: Likewise.
39810 * dlfcn/Makefile: Likewise.
39811 * posix/Makefile: Likewise.
39812
39813 [BZ #6959]
39814 * timezone/Makefile: Don't install timezone files, just the programs
39815 and scripts.
39816
398172012-03-06 Ulrich Drepper <drepper@gmail.com>
39818
39819 * nss/databases.def: Add missing gshadow entry.
39820
39821 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39822
398232012-03-06 Marek Polacek <polacek@redhat.com>
39824
39825 [BZ #13726]
39826 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39827 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39828 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39829 * stdio-common/tst-long-dbl-fphex.c: New file.
39830
398312012-03-06 David S. Miller <davem@davemloft.net>
39832
39833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39834 (set_obp_int): New function.
39835 (get_obp_int): New function.
39836 (__get_clockfreq_via_dev_openprom): Likewise.
39837 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39838 Avoid unused variable warnings on 'val' and use builtin_expect.
39839 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39840 __builtin_expect.
39841 (INLINE_CLONE_SYSCALL): Likewise.
39842
398432012-03-05 David S. Miller <davem@davemloft.net>
39844
39845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39846
398472012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39848
39849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39850
39851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39852 only for |x| >= 40.
39853 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39854
398552012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39856
39857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39858 Replace gettimeofday with __vdso_gettimeofday.
39859
39860 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39861 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39862 __vdso_clock_gettime and __vdso_getcpu.
39863
39864 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39865 time with __vdso_time.
39866
398672012-03-05 Joseph Myers <joseph@codesourcery.com>
39868
39869 * manual/lang.texi (size_t): Note types to which size_t may be
39870 equivalent with the GNU C Library, but do not describe when
39871 differences between them are significant.
39872
398732012-03-05 Andreas Jaeger <aj@suse.de>
39874
39875 * sysdeps/i386/fpu/libm-test-ulps: Update.
39876
398772012-03-05 Joseph Myers <joseph@codesourcery.com>
39878
39879 [BZ #3976]
39880 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39881 (__ieee754_pow): Save and restore rounding mode and use
39882 round-to-nearest for main computations.
39883 * math/libm-test.inc (pow_test_tonearest): New function.
39884 (pow_test_towardzero): Likewise.
39885 (pow_test_downward): Likewise.
39886 (pow_test_upward): Likewise.
39887 (main): Call the new functions.
39888 * sysdeps/i386/fpu/libm-test-ulps: Update.
39889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39890
39891 [BZ #3976]
39892 * math/libm-test.inc (cosh_test_tonearest): New function.
39893 (cosh_test_towardzero): Likewise.
39894 (cosh_test_downward): Likewise.
39895 (cosh_test_upward): Likewise.
39896 (sinh_test_tonearest): Likewise.
39897 (sinh_test_towardzero): Likewise.
39898 (sinh_test_downward): Likewise.
39899 (sinh_test_upward): Likewise.
39900 (main): Call the new functions.
39901 * sysdeps/i386/fpu/libm-test-ulps: Update.
39902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39903
399042012-03-05 Tom de Vries <tom@codesourcery.com>
39905
39906 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39907 default stack guard is set in last bytes.
39908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39909
399102012-03-05 Kees Cook <keescook@chromium.org>
39911
39912 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39913
39914 [BZ #13656]
39915 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39916 possibly allocate from heap instead of stack.
39917 * stdio-common/bug-vfprintf-nargs.c: New file.
39918 * stdio-common/Makefile (tests): Add nargs overflow test.
39919
399202012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39921
39922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39923
399242012-03-03 Marek Polacek <polacek@redhat.com>
39925
39926 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39927 * math/math_private.h: Likewise.
39928 * stdlib/tst-strtod.c: Likewise.
39929 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39930 * sysdeps/x86_64/bits/atomic.h: Likewise.
39931
399322012-03-02 David S. Miller <davem@davemloft.net>
39933
39934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39938 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39939 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39940 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39941 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39942
399432012-03-02 Roland McGrath <roland@hack.frob.com>
39944
39945 [BZ #13792]
39946 * manual/examples/README: New file, says the example source files
39947 can be used under GPL>=2.
39948 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39949 line containing just "*/".
39950 * manual/examples/add.c: Add copyright header (GPL>=2).
39951 * manual/examples/argp-ex1.c: Likewise.
39952 * manual/examples/argp-ex2.c: Likewise.
39953 * manual/examples/argp-ex3.c: Likewise.
39954 * manual/examples/argp-ex4.c: Likewise.
39955 * manual/examples/atexit.c: Likewise.
39956 * manual/examples/db.c: Likewise.
39957 * manual/examples/dir.c: Likewise.
39958 * manual/examples/dir2.c: Likewise.
39959 * manual/examples/execinfo.c: Likewise.
39960 * manual/examples/filecli.c: Likewise.
39961 * manual/examples/filesrv.c: Likewise.
39962 * manual/examples/fmtmsgexpl.c: Likewise.
39963 * manual/examples/genpass.c: Likewise.
39964 * manual/examples/inetcli.c: Likewise.
39965 * manual/examples/inetsrv.c: Likewise.
39966 * manual/examples/isockad.c: Likewise.
39967 * manual/examples/longopt.c: Likewise.
39968 * manual/examples/memopen.c: Likewise.
39969 * manual/examples/memstrm.c: Likewise.
39970 * manual/examples/mkfsock.c: Likewise.
39971 * manual/examples/mkisock.c: Likewise.
39972 * manual/examples/mygetpass.c: Likewise.
39973 * manual/examples/pipe.c: Likewise.
39974 * manual/examples/popen.c: Likewise.
39975 * manual/examples/rprintf.c: Likewise.
39976 * manual/examples/search.c: Likewise.
39977 * manual/examples/select.c: Likewise.
39978 * manual/examples/setjmp.c: Likewise.
39979 * manual/examples/sigh1.c: Likewise.
39980 * manual/examples/sigusr.c: Likewise.
39981 * manual/examples/stpcpy.c: Likewise.
39982 * manual/examples/strdupa.c: Likewise.
39983 * manual/examples/strftim.c: Likewise.
39984 * manual/examples/strncat.c: Likewise.
39985 * manual/examples/subopt.c: Likewise.
39986 * manual/examples/swapcontext.c: Likewise.
39987 * manual/examples/termios.c: Likewise.
39988 * manual/examples/testopt.c: Likewise.
39989 * manual/examples/testpass.c: Likewise.
39990 * manual/examples/timeval_subtract.c: Likewise.
39991
39992 [BZ #13792]
39993 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39994 function to ...
39995 * manual/timeval_subtract.c.texi: ... here, new file.
39996
399972012-03-02 David S. Miller <davem@davemloft.net>
39998
39999 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40000
400012012-03-02 Joseph Myers <joseph@codesourcery.com>
40002
40003 [BZ #3976]
40004 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40005 (__sin): Save and restore rounding mode and use round-to-nearest
40006 for all computations.
40007 (__cos): Save and restore rounding mode and use round-to-nearest
40008 for all computations.
40009 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40010 <fenv.h>.
40011 (tan): Save and restore rounding mode and use round-to-nearest for
40012 all computations.
40013 * math/libm-test.inc (cos_test_tonearest): New function.
40014 (cos_test_towardzero): Likewise.
40015 (cos_test_downward): Likewise.
40016 (cos_test_upward): Likewise.
40017 (sin_test_tonearest): Likewise.
40018 (sin_test_towardzero): Likewise.
40019 (sin_test_downward): Likewise.
40020 (sin_test_upward): Likewise.
40021 (tan_test_tonearest): Likewise.
40022 (tan_test_towardzero): Likewise.
40023 (tan_test_downward): Likewise.
40024 (tan_test_upward): Likewise.
40025 (main): Call the new functions.
40026 * sysdeps/i386/fpu/libm-test-ulps: Update.
40027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40028
40029 [BZ #10135]
40030 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40031 small n, then large n, before computing and testing k+n.
40032 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40034 Likewise.
40035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40036 Likewise.
40037 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40038 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40041 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40042 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40045 * math/libm-test.inc (scalbn_test): Add more tests.
40046 (scalbln_test): Likewise.
40047
40048 * manual/filesys.texi (mode_t): Describe constraints on size and
40049 signedness, not exact equivalence to a particular type.
40050 (ino_t): Likewise.
40051 (ino64_t): Likewise.
40052 (dev_t): Likewise.
40053 (nlink_t): Likewise.
40054 (blkcnt_t): Likewise.
40055 (blkcnt64_t): Likewise.
40056 * manual/llio.texi (off_t): Likewise.
40057
40058 [BZ #3976]
40059 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40060 (__ieee754_exp): Save and restore rounding mode and use
40061 round-to-nearest for all computations.
40062 * math/libm-test.inc (exp_test_tonearest): New function.
40063 (exp_test_towardzero): Likewise.
40064 (exp_test_downward): Likewise.
40065 (exp_test_upward): Likewise.
40066 (main): Call the new functions.
40067 * sysdeps/i386/fpu/libm-test-ulps: Update.
40068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40069
400702012-03-01 Chris Demetriou <cgd@google.com>
40071
40072 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40073 have predictable order.
40074
400752012-03-01 David S. Miller <davem@davemloft.net>
40076
40077 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40078
40079 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40080 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40081 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40082 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40083
40084 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40085 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40086 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40088 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40089 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40090 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40091 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40092 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40093
40094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40095
40096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40097 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40098 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40099
40100 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40101 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40102 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40103 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40104 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40106 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40107 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40109 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40110 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40113 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40114 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40116 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40117 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40118 * sysdeps/sparc/elf/configure: Regenerated.
40119
401202012-03-01 Joseph Myers <joseph@codesourcery.com>
40121
40122 * configure.in (AS, LD): Require binutils 2.20 or later.
40123 * configure: Regenerated.
40124 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40125 as required minimum version.
40126 * INSTALL: Regenerated.
40127
40128 [BZ #2541]
40129 [BZ #4108]
40130 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40131 before squaring exponent.
40132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40133 bottom long double and 27 bits of top long double before squaring
40134 exponent.
40135 * math/libm-test.inc (erfc_test): Add more tests.
40136 * sysdeps/i386/fpu/libm-test-ulps: Update.
40137 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40139
401402012-03-01 Kai Tietz <ktietz@redhat.com>
40141
40142 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40143 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40144 containing bit-fields.
40145 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40146 * soft-fp/single.h (_FP_UNION_S): Likewise.
40147 * soft-fp/double.h (_FP_UNION_D): Likewise.
40148
401492012-02-29 Joseph Myers <joseph@codesourcery.com>
40150
40151 [BZ #13786]
40152 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40153 not include ../strcmp.S.
40154 [USE_AS_STRNCASECMP_L]: Likewise.
40155 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40156 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40157 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40158 (__strncasecmp_l_ia32): Define as alias to
40159 __strncasecmp_l_nonascii.
40160
40161 [BZ #5794]
40162 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40163 * sysdeps/i386/fpu/libm-test-ulps: Update.
40164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40165
40166 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40168
401692012-02-29 Jeff Law <law@redhat.com>
40170
40171 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40172 out of bounds read.
40173
401742012-02-29 Marek Polacek <polacek@redhat.com>
40175
40176 [BZ #13706]
40177 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40178 * elf/Makefile: Add rules to run tst-unused-dep.out.
40179
401802012-02-28 David S. Miller <davem@davemloft.net>
40181
40182 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40183 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40185 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40186 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40187 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40188
401892012-02-29 Joseph Myers <joseph@codesourcery.com>
40190
40191 * math/libm-test.inc (llround_test): Move one test from
40192 lround_test. Use TEST_f_L in moved test.
40193 (lround_test): Move misplaced test to llround_test. Add testcase
40194 from bug 2561.
40195
401962012-02-28 Ulrich Drepper <drepper@gmail.com>
40197
40198 * sysdeps/x86_64/fpu/e_expf.S: New file.
40199 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40200
402012012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40202
40203 [BZ #13637]
40204 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40205 of remain_len that may cause incomplete multi-byte character and
40206 false match.
40207 * posix/bug-regex33.c: New file.
40208 * posix/Makefile (tests): Add bug-regex33.
40209
402102012-02-28 Joseph Myers <joseph@codesourcery.com>
40211
40212 * manual/macros.texi: New file.
40213 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40214 * manual/libc.texinfo: Include macros.texi.
40215 * manual/creatute.texi: Likewise.
40216 * manual/install.texi: Likewise.
40217 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40218 @glibcadj{} in references to the GNU C Library.
40219 * manual/charset.texi: Likewise.
40220 * manual/conf.texi: Likewise.
40221 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40222 when not using those macros.
40223 * manual/creature.texi: Likewise.
40224 * manual/crypt.texi: Likewise.
40225 * manual/errno.texi: Likewise.
40226 * manual/filesys.texi: Likewise.
40227 * manual/header.texi: Likewise.
40228 * manual/install.texi: Likewise.
40229 * manual/intro.texi: Likewise.
40230 * manual/io.texi: Likewise.
40231 * manual/job.texi: Likewise.
40232 * manual/lang.texi: Likewise.
40233 * manual/libc.texiinfo: Likewise.
40234 * manual/llio.texi: Likewise.
40235 * manual/locale.texi: Likewise.
40236 * manual/maint.texi: Likewise.
40237 * manual/math.texi: Likewise.
40238 * manual/memory.texi: Likewise.
40239 * manual/message.texi: Likewise.
40240 * manual/nss.texi: Likewise.
40241 * manual/pattern.texi: Likewise.
40242 * manual/process.texi: Likewise.
40243 * manual/resource.texi: Likewise.
40244 * manual/search.texi: Likewise.
40245 * manual/setjmp.texi: Likewise.
40246 * manual/signal.texi: Likewise.
40247 * manual/socket.texi: Likewise.
40248 * manual/startup.texi: Likewise.
40249 * manual/stdio.texi: Likewise.
40250 * manual/string.texi: Likewise.
40251 * manual/sysinfo.texi: Likewise.
40252 * manual/syslog.texi: Likewise.
40253 * manual/terminal.texi: Likewise.
40254 * manual/time.texi: Likewise.
40255 * manual/users.texi: Likewise.
40256 * INSTALL: Regenerated.
40257 * NOTES: Regenerated.
40258 * sysdeps/gnu/errlist.c: Regenerated.
40259
402602012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40261
40262 * include/dirent.h: Include <dirstream.h> before
40263 <dirent/dirent.h>.
40264
402652012-02-28 David S. Miller <davem@davemloft.net>
40266
40267 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40268 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40269 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40270 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40271
402722012-02-27 David S. Miller <davem@davemloft.net>
40273
40274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40276 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40277 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40278
40279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40280 frame pointer instead of stack pointer relative arg slot.
40281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40284
402852012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40286
40287 [BZ #3992]
40288 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40289
402902012-02-27 David S. Miller <davem@davemloft.net>
40291
40292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40296 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40297 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40298 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40299 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40300
403012012-02-27 Joseph Myers <joseph@codesourcery.com>
40302
40303 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40304 later. Allow versions 5-9.
40305 * configure: Regenerated.
40306 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40307 required minimum version and 4.6 as recommended version. Do not
40308 mention bugs in GCC 2.7 and 2.8.
40309 * INSTALL: Regenerated.
40310
403112012-02-27 David S. Miller <davem@davemloft.net>
40312
40313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40317 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40318 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40319 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40320 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40321
40322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40323 manipulate bits before adding and subtracting TWO112[sx].
40324 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40325
403262012-02-27 Roland McGrath <roland@hack.frob.com>
40327
40328 [BZ #13775]
40329 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40330 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40331 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40332 being in POSIX, because they are in 1003.1-2008.
40333
40334 * rt/tst-aio.c: Include <fcntl.h>.
40335 * rt/tst-aio7.c: Likewise.
40336 * rt/tst-aio64.c: Likewise.
40337
40338 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40339
403402012-02-27 Joseph Myers <joseph@codesourcery.com>
40341
40342 * manual/install.texi (--with-headers): Describe headers as
40343 interface headers, not private headers.
40344 (Specific advice for GNU/Linux systems): Describe use of headers
40345 from "make headers_install", not private headers from older
40346 kernels.
40347 * INSTALL: Regenerated.
40348 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40349 Change to 2.6.19.
40350 * sysdeps/unix/sysv/linux/configure: Regenerated.
40351
40352 * manual/llio.texi (fclean): Remove documentation.
40353
40354 * manual/Makefile (libc-texi-generated): New variable. Include
40355 version.texi.
40356 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40357 $(libc-texi-generated), not duplicated list of files.
40358 (version.texi, stamp-version): New rules.
40359 (realclean): Remove $(libc-texi-generated), not individual files
40360 from that list. Do not remove dir-add.texinfo.
40361 * manual/libc.texinfo: Comment out uses of edition numbers and
40362 references to printed manual. Remove last-updated dates.
40363 (EDITION): Comment out.
40364 (ISBN): Likewise.
40365 (VERSION, UPDATED): Remove.
40366 (version.texi): Include.
40367
403682012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40369
40370 * sysdeps/posix/spawni.c: Include <signal.h>.
40371 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40372 * sysdeps/pthread/aio_fsync.c: Likewise.
40373
403742012-02-26 Ulrich Drepper <drepper@gmail.com>
40375
40376 * conform/Makefile (tests): Run only when not cross-compiling and
40377 when fast-check is not defined.
40378
40379 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40380 * conform/data/limits.h-data: Fixes for POSIX2008.
40381 * conform/run-conformtest.sh: Run all tests.
40382 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40383 headers.
40384 * include/bits/dlfcn.h: Likewise.
40385 * include/langinfo.h: Likewise.
40386 * include/monetary.h: Likewise.
40387 * include/sys/poll.h: Likewise.
40388
40389 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40390 for __USE_GNU.
40391 * posix/spawn.h: Define __need_sigset_t.
40392 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40393 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40394 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40395 to get sigevent_t only.
40396 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40397 only for __USE_GNU.
40398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40400 process_vm_writev only for __USE_GNU.
40401 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40402
40403 * conform/Makefile: For now ignore errors from run-conformtest.
40404 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40405 POSIX to avoid namespace pollution. Don't prepend headers.
40406 * conform/data/aio.h-data: Fixes for POSIX testing.
40407 * conform/data/fcntl.h-data: Likewise.
40408 * conform/data/glob.h-data: Likewise.
40409 * conform/data/grp.h-data: Likewise.
40410 * conform/data/pthread.h-data: Likewise.
40411 * conform/data/pwd.h-data: Likewise.
40412 * conform/data/signal.h-data: Likewise.
40413 * conform/data/spawn.h-data: Likewise.
40414 * conform/data/stdio.h-data: Likewise.
40415 * conform/data/stdlib.h-data: Likewise.
40416 * conform/data/stropts.h-data: Likewise.
40417 * conform/data/sys/mman.h-data: Likewise.
40418 * conform/data/sys/stat.h-data: Likewise.
40419 * conform/data/sys/types.h-data: Likewise.
40420 * conform/data/sys/wait.h-data: Likewise.
40421 * conform/data/time.h-data: Likewise.
40422 * conform/data/unistd.h-data: Likewise.
40423 * conform/data/utime.h-data: Likewise.
40424
40425 * io/sys/stat.h: fchmod was always in POSIX.
40426 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40427 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40428 * rt/aio.h: Define __need_timespec before including <time.h>.
40429 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40430 struct. Add forward declaration of pthread_attr_t and use it in
40431 sigevent.
40432 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40434 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40435 always remove CLK_TCK definition.
40436
404372012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40438
40439 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40440
404412012-02-25 Ulrich Drepper <drepper@gmail.com>
40442
40443 * conform/run-conformtest.sh: New file.
40444 * conform/Makefile: Run run-conformtest for tests.
40445 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40446 support.
40447
40448 * conform/data/uchar.h-data: New file.
40449 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40450 * conform/data/arpa/inet.h-data: Likewise.
40451 * conform/data/assert.h-data: Likewise.
40452 * conform/data/complex.h-data: Likewise.
40453 * conform/data/cpio.h-data: Likewise.
40454 * conform/data/ctype.h-data: Likewise.
40455 * conform/data/dirent.h-data: Likewise.
40456 * conform/data/dlfcn.h-data: Likewise.
40457 * conform/data/errno.h-data: Likewise.
40458 * conform/data/fcntl.h-data: Likewise.
40459 * conform/data/float.h-data: Likewise.
40460 * conform/data/fmtmsg.h-data: Likewise.
40461 * conform/data/fnmatch.h-data: Likewise.
40462 * conform/data/ftw.h-data: Likewise.
40463 * conform/data/glob.h-data: Likewise.
40464 * conform/data/grp.h-data: Likewise.
40465 * conform/data/iconv.h-data: Likewise.
40466 * conform/data/inttypes.h-data: Likewise.
40467 * conform/data/langinfo.h-data: Likewise.
40468 * conform/data/libgen.h-data: Likewise.
40469 * conform/data/limits.h-data: Likewise.
40470 * conform/data/locale.h-data: Likewise.
40471 * conform/data/math.h-data: Likewise.
40472 * conform/data/monetary.h-data: Likewise.
40473 * conform/data/mqueue.h-data: Likewise.
40474 * conform/data/ndbm.h-data: Likewise.
40475 * conform/data/net/if.h-data: Likewise.
40476 * conform/data/netdb.h-data: Likewise.
40477 * conform/data/netinet/in.h-data: Likewise.
40478 * conform/data/nl_types.h-data: Likewise.
40479 * conform/data/poll.h-data: Likewise.
40480 * conform/data/pthread.h-data: Likewise.
40481 * conform/data/pwd.h-data: Likewise.
40482 * conform/data/regex.h-data: Likewise.
40483 * conform/data/sched.h-data: Likewise.
40484 * conform/data/search.h-data: Likewise.
40485 * conform/data/semaphore.h-data: Likewise.
40486 * conform/data/setjmp.h-data: Likewise.
40487 * conform/data/signal.h-data: Likewise.
40488 * conform/data/spawn.h-data: Likewise.
40489 * conform/data/stdarg.h-data: Likewise.
40490 * conform/data/stdio.h-data: Likewise.
40491 * conform/data/stdlib.h-data: Likewise.
40492 * conform/data/string.h-data: Likewise.
40493 * conform/data/strings.h-data: Likewise.
40494 * conform/data/stropts.h-data: Likewise.
40495 * conform/data/sys/ipc.h-data: Likewise.
40496 * conform/data/sys/mman.h-data: Likewise.
40497 * conform/data/sys/msg.h-data: Likewise.
40498 * conform/data/sys/resource.h-data: Likewise.
40499 * conform/data/sys/select.h-data: Likewise.
40500 * conform/data/sys/sem.h-data: Likewise.
40501 * conform/data/sys/shm.h-data: Likewise.
40502 * conform/data/sys/socket.h-data: Likewise.
40503 * conform/data/sys/stat.h-data: Likewise.
40504 * conform/data/sys/statvfs.h-data: Likewise.
40505 * conform/data/sys/time.h-data: Likewise.
40506 * conform/data/sys/timeb.h-data: Likewise.
40507 * conform/data/sys/times.h-data: Likewise.
40508 * conform/data/sys/types.h-data: Likewise.
40509 * conform/data/sys/uio.h-data: Likewise.
40510 * conform/data/sys/un.h-data: Likewise.
40511 * conform/data/sys/utsname.h-data: Likewise.
40512 * conform/data/sys/wait.h-data: Likewise.
40513 * conform/data/syslog.h-data: Likewise.
40514 * conform/data/tar.h-data: Likewise.
40515 * conform/data/termios.h-data: Likewise.
40516 * conform/data/utime.h-data: Likewise.
40517 * conform/data/utmpx.h-data: Likewise.
40518 * conform/data/varargs.h-data: Likewise.
40519 * conform/data/wchar.h-data: Likewise.
40520 * conform/data/wctype.h-data: Likewise.
40521 * conform/data/wordexp.h-data: Likewise.
40522
40523 * include/stropts.h: New file.
40524 * include/uchar.h: New file.
40525 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40526 * include/assert.h: Likewise.
40527 * include/ctype.h: Likewise.
40528 * include/dirent.h: Likewise.
40529 * include/dlfcn.h: Likewise.
40530 * include/fcntl.h: Likewise.
40531 * include/fnmatch.h: Likewise.
40532 * include/glob.h: Likewise.
40533 * include/grp.h: Likewise.
40534 * include/libio.h: Likewise.
40535 * include/locale.h: Likewise.
40536 * include/math.h: Likewise.
40537 * include/net/if.h: Likewise.
40538 * include/netdb.h: Likewise.
40539 * include/netinet/in.h: Likewise.
40540 * include/pthread.h: Likewise.
40541 * include/pwd.h: Likewise.
40542 * include/regex.h: Likewise.
40543 * include/sched.h: Likewise.
40544 * include/search.h: Likewise.
40545 * include/setjmp.h: Likewise.
40546 * include/signal.h: Likewise.
40547 * include/stdio.h: Likewise.
40548 * include/stdlib.h: Likewise.
40549 * include/string.h: Likewise.
40550 * include/sys/cdefs.h: Likewise.
40551 * include/sys/mman.h: Likewise.
40552 * include/sys/msg.h: Likewise.
40553 * include/sys/resource.h: Likewise.
40554 * include/sys/select.h: Likewise.
40555 * include/sys/socket.h: Likewise.
40556 * include/sys/stat.h: Likewise.
40557 * include/sys/statvfs.h: Likewise.
40558 * include/sys/time.h: Likewise.
40559 * include/sys/times.h: Likewise.
40560 * include/sys/uio.h: Likewise.
40561 * include/sys/utsname.h: Likewise.
40562 * include/sys/wait.h: Likewise.
40563 * include/termios.h: Likewise.
40564 * include/time.h: Likewise.
40565 * include/ulimit.h: Likewise.
40566 * include/unistd.h: Likewise.
40567 * include/utime.h: Likewise.
40568 * include/wchar.h: Likewise.
40569 * include/wctype.h: Likewise.
40570 * include/wordexp.h: Likewise.
40571
40572 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40573
40574 * time/time.h: TIME_UTC must be a macro.
40575 Make timespec_get available for ISO C11 only as well.
40576
405772012-02-24 Ulrich Drepper <drepper@gmail.com>
40578
40579 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40580 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40581
405822012-02-24 Joseph Myers <joseph@codesourcery.com>
40583
40584 * configure.in: Use -o not -a in test for unsupported multi-arch.
40585
405862012-02-24 Joseph Myers <joseph@codesourcery.com>
40587
40588 * manual/texinfo.tex: Update to version 2012-01-19.16.
40589
405902012-02-24 Joseph Myers <joseph@codesourcery.com>
40591
40592 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40593
405942012-02-24 Roland McGrath <roland@hack.frob.com>
40595
40596 [BZ #13738]
40597 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40598 * manual/fdl-1.3.texi: New file.
40599 * manual/fdl-1.1.texi: File removed.
40600
40601 [BZ #13738]
40602 * manual/libc.texinfo (FDL_VERSION): New @set.
40603 Use it for mention of FDL in cover text.
40604 (Documentation License): Use it in @include file name.
40605
406062012-02-22 Joseph Myers <joseph@codesourcery.com>
40607 Roland McGrath <roland@hack.frob.com>
40608
40609 [BZ #5461]
40610 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40611 (not LONG_LONG_MAX and LONG_LONG_MIN.
40612 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40613 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40614 name.
40615 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40616
406172012-02-22 Joseph Myers <joseph@codesourcery.com>
40618
40619 [BZ #2547]
40620 [BZ #11365]
40621 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40622 manipulate bits before adding and subtracting TWO23[sx].
40623 * math/libm-test.inc (nearbyint_test): Add more tests.
40624
406252012-02-22 Joseph Myers <joseph@codesourcery.com>
40626
40627 [BZ #2548]
40628 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40629 bits before adding and subtracting TWO23[sx].
40630 * math/libm-test.inc (rint_test): Add more tests.
40631 (rint_test_tonearest): Likewise.
40632 (rint_test_towardzero): Likewise.
40633 (rint_test_downward): Likewise.
40634 (rint_test_upward: Likewise.
40635
406362012-02-22 Joseph Myers <joseph@codesourcery.com>
40637
40638 [BZ #10110]
40639 * include/stdc-predef.h: New file. Extracted from features.h.
40640 * include/features.h: Include stdc-predef.h.
40641 * Makefile (headers): Add stdc-predef.h.
40642 * CONFORMANCE (Compiler limitations): Update.
40643
406442012-02-22 Joseph Myers <joseph@codesourcery.com>
40645
40646 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40647
406482012-02-21 David S. Miller <davem@davemloft.net>
40649
40650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40651 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40652
406532012-02-20 David S. Miller <davem@davemloft.net>
40654
40655 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40656 using a normal save/restore sequence, rather than allocating a
40657 dummy stack frame just to store a frame pointer and restore.
40658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40659
406602012-02-21 Joseph Myers <joseph@codesourcery.com>
40661
40662 * manual/install.texi: Fix stray word in line-wrapped comment.
40663
406642012-02-20 David S. Miller <davem@davemloft.net>
40665
40666 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40667 both binutils and gcc support GOTDATA.
40668
40669 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40670 "rd %pc" in the PIC register setup sequences.
40671
40672 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40673 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40674 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40675 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40676 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40679 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40681 (SYSCALL_ERROR_HANDLER): Likewise.
40682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40683 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40685 (SYSCALL_ERROR_HANDLER): Likewise.
40686
40687 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40688 (HAVE_GCC_GOTDATA): New.
40689 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40690 relocation support in both binutils and gcc.
40691 * sysdeps/sparc/elf/configure: Regenerate.
40692
40693 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40694 * sysdeps/sparc/sparc32/elf/configure: Delete.
40695 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40696 * sysdeps/sparc/sparc64/elf/configure: Delete.
40697 * sysdeps/sparc/elf/configure.in: New file.
40698 * sysdeps/sparc/elf/configure: Generate.
40699
40700 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40701 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40702 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40703 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40704 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40705
407062012-02-21 Joseph Myers <joseph@codesourcery.com>
40707
40708 * manual/install.texi: Do not mention specific glibc version
40709 numbers.
40710 * manual/libc.texinfo (VERSION, UPDATED): Update.
40711 (@copying): Use @copyright{} and range of years.
40712
407132012-02-21 Joseph Myers <joseph@codesourcery.com>
40714
40715 [BZ #13695]
40716 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40717 [crti.S not in sysdirs] (generated): Do not append.
40718 [crti.S not in sysdirs] (omit-deps): Likewise.
40719 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40720 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40721 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40722 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40723 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40724 Likewise.
40725 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40726 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40727 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40728 * csu/defs.awk: Remove file.
40729 * sysdeps/generic/initfini.c: Likewise.
40730 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40731 variable.
40732 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40733 Likewise.
40734
407352012-02-20 Joseph Myers <joseph@codesourcery.com>
40736
40737 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40738 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40739 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40740 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40741 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40742 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40743 <bits/epoll.h>.
40744 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40745 (__EPOLL_PACKED): Define to empty if not defined by
40746 <bits/epoll.h>.
40747 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40749 bits/epoll.h.
40750
407512012-02-20 Joseph Myers <joseph@codesourcery.com>
40752
40753 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40754 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40755 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40756 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40757 <bits/timerfd.h>.
40758 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40760 bits/timerfd.h.
40761
407622012-02-20 Joseph Myers <joseph@codesourcery.com>
40763
40764 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40765 in C locale.
40766 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40767 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40768 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40770
407712012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40772
40773 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40774 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40775
407762012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40777
40778 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40779 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40780 defined.
40781 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40782 Likewise.
40783 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40784 entry for 2.16.
40785
407862012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40787
40788 * math/w_acos.c: Use non-signaling floating-point comparisons.
40789 * math/w_acosf.c: Likewise.
40790 * math/w_acosh.c: Likewise.
40791 * math/w_acoshf.c: Likewise.
40792 * math/w_acoshl.c: Likewise.
40793 * math/w_acosl.c: Likewise.
40794 * math/w_asin.c: Likewise.
40795 * math/w_asinf.c: Likewise.
40796 * math/w_asinl.c: Likewise.
40797 * math/w_atanh.c: Likewise.
40798 * math/w_atanhf.c: Likewise.
40799 * math/w_atanhl.c: Likewise.
40800 * math/w_exp2.c: Likewise.
40801 * math/w_exp2f.c: Likewise.
40802 * math/w_exp2l.c: Likewise.
40803 * math/w_j0.c: Likewise.
40804 * math/w_j0f.c: Likewise.
40805 * math/w_j0l.c: Likewise.
40806 * math/w_j1.c: Likewise.
40807 * math/w_j1f.c: Likewise.
40808 * math/w_j1l.c: Likewise.
40809 * math/w_jn.c: Likewise.
40810 * math/w_jnf.c: Likewise.
40811 * math/w_log.c: Likewise.
40812 * math/w_log10.c: Likewise.
40813 * math/w_log10f.c: Likewise.
40814 * math/w_log10l.c: Likewise.
40815 * math/w_log2.c: Likewise.
40816 * math/w_log2f.c: Likewise.
40817 * math/w_log2l.c: Likewise.
40818 * math/w_logf.c: Likewise.
40819 * math/w_logl.c: Likewise.
40820 * math/w_sqrt.c: Likewise.
40821 * math/w_sqrtf.c: Likewise.
40822 * math/w_sqrtl.c: Likewise.
40823 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40824 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40825 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40826 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40827 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40828
408292012-02-19 Joseph Myers <joseph@codesourcery.com>
40830
40831 [BZ #9739]
40832 * manual/string.texi (strnlen): Use correct parameter name in
40833 equivalent expression.
40834
408352012-02-19 Joseph Myers <joseph@codesourcery.com>
40836
40837 [BZ #11174]
40838 * manual/users.texi (seteuid): Consistently use neweuid for
40839 argument name.
40840
408412012-02-19 Joseph Myers <joseph@codesourcery.com>
40842
40843 [BZ #13704]
40844 * manual/nss.texi (Services in the NSS configuration): Correct
40845 list of services in example configuration file.
40846
408472012-02-19 Nick Bowler <nbowler@draconx.ca>
40848
40849 [BZ #11322]
40850 * manual/arith.texi: Remove statements about negative zero
40851 behaving identically to zero.
40852
408532012-02-18 Joseph Myers <joseph@codesourcery.com>
40854
40855 [BZ #5993]
40856 * manual/install.texi: Do not document upgrading from libc5.
40857
408582012-02-18 Joseph Myers <joseph@codesourcery.com>
40859
40860 [BZ #4596]
40861 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40862
408632012-02-18 David S. Miller <davem@davemloft.net>
40864
40865 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40866 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40867 %o7 across the call.
40868 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40869 instead.
40870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40871 SETUP_PIC_REG_LEAF.
40872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40873 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40874 * sysdeps/sparc/crtn.S: Likewise.
40875
408762012-02-17 Ulrich Drepper <drepper@gmail.com>
40877
40878 * aout/Makefile: Remove.
40879
408802012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40881
40882 [BZ #13058]
40883 * manual/examples/argp-ex1.c (main): Format definition in GNU
40884 style.
40885 * manual/examples/argp-ex2.c (main): Likewise.
40886 * manual/examples/argp-ex3.c (main): Likewise.
40887 * manual/examples/argp-ex4.c (main): Likewise.
40888 * manual/examples/longopt.c (main): Use new-style prototype
40889 definition.
40890 * manual/examples/strncat.c (main): Specify return type and use
40891 (void) for arguments.
40892 * manual/examples/subopt.c (main): Use char **argv argument.
40893
408942012-02-17 Joseph Myers <joseph@codesourcery.com>
40895
40896 [BZ #5077]
40897 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40898 rounding modes.
40899
409002012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40901
40902 [BZ #6907]
40903 * manual/string.texi (strchr): Change when strchrnul is
40904 recommended.
40905
409062012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40907
40908 [BZ #174]
40909 * manual/locale.texi (setlocale): Document LOCPATH.
40910
409112012-02-17 Joseph Myers <joseph@codesourcery.com>
40912
40913 [BZ #10210]
40914 * manual/process.texi (execle): Move @dots{} before last argument.
40915
409162012-02-17 Paul Bolle <pebolle@tiscali.nl>
40917
40918 [BZ #12047]
40919 * manual/charset.texi (Generic Charset Conversion): Fix typo
40920 (LC_TYPE -> LC_CTYPE).
40921
409222012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40923
40924 [BZ #5805]
40925 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40926 (scalbnf): Likewise.
40927 (scalbnl): Likewise.
40928 (scalbln): Likewise.
40929 (scalblnf): Likewise.
40930 (scalblnl): Likewise.
40931 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40932 (vwarnx): Likewise.
40933 (verr): Likewise.
40934 (verrx): Likewise.
40935 * manual/filesys.texi (telldir): Use braces around return type.
40936 * manual/llio.texi (mmap): Add space after comma.
40937 (mmap64): Likewise.
40938 * manual/math.texi (jn): Use @var{} on parameter names.
40939 (jnf): Likewise.
40940 (jnl): Likewise.
40941 (yn): Likewise.
40942 (ynf): Likewise.
40943 (ynl): Likewise.
40944 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40945 line.
40946 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40947 "...".
40948 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40949 (sched_get_priority_max): Likewise.
40950 * manual/signal.texi (sigvec): Add space after comma.
40951 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40952 names.
40953 (if_indextoname): Likewise.
40954 (if_freenameindex): Likewise.
40955 (sendto): Use ',' instead of '.' in prototype.
40956 * manual/startup.texi (syscall): Use @dots{} instead of literal
40957 "...".
40958 * manual/stdio.texi (__fpending): Separate initial words of
40959 paragraph from @deftypefun line.
40960 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40961 "...".
40962 (vsyslog): Use @var{} on parameter names.
40963 * manual/terminal.texi (stty): Use @var{} on parameter names.
40964 * manual/users.texi (getutmp): Use @var{} on parameter names.
40965 (getutmpx): Likewise.
40966
409672012-02-17 Joseph Myers <joseph@codesourcery.com>
40968
40969 [BZ #6884]
40970 * manual/stdio.texi (fopen): Fix typos in description of
40971 ",ccs=STRING".
40972
409732012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40974
40975 [BZ #4026]
40976 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40977 get clock_id definition.
40978
409792012-02-17 Thomas Schwinge <thomas@schwinge.name>
40980
40981 [BZ #4822]
40982 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40983 (madvise): Cast every argument to void on its own.
40984
409852012-02-17 Joseph Myers <joseph@codesourcery.com>
40986
40987 [BZ #9902]
40988 * manual/startup.texi (Exit Status): Fix typo.
40989
409902012-02-17 Joseph Myers <joseph@codesourcery.com>
40991
40992 [BZ #10140]
40993 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40994 * manual/examples/argp-ex2.c: Likewise.
40995 * manual/examples/argp-ex3.c: Likewise.
40996
409972012-02-16 Richard Henderson <rth@redhat.com>
40998
40999 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41000 * sysdeps/s390/s390-32/initfini.c: Remove.
41001 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41002 * sysdeps/s390/s390-64/initfini.c: Remove.
41003
410042012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41005
41006 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41007 compiler output for sysdeps/generic/initfini.c.
41008 * sysdeps/sh/elf/initfini.c: Remove file.
41009
410102012-02-16 David S. Miller <davem@davemloft.net>
41011
41012 [BZ #11494]
41013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41014
41015 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41016 * sysdeps/sparc/crti.S: New file.
41017 * sysdeps/sparc/crtn.S: New file.
41018 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41019 * sysdeps/sparc/sparc64/Makefile: Likewise.
41020
410212012-02-15 Mike Frysinger <vapier@gentoo.org>
41022
41023 [BZ #3335]
41024 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41025
410262012-02-15 Roland McGrath <roland@hack.frob.com>
41027
41028 [BZ #4822]
41029 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41030
41031 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41032 (write, read, close): Likewise.
41033 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41034
410352012-02-15 Joseph Myers <joseph@codesourcery.com>
41036
41037 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41038 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41039 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41040 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41041 <bits/signalfd.h>.
41042 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41044 bits/signalfd.h.
41045
410462012-02-14 Marek Polacek <polacek@redhat.com>
41047
41048 * sysdeps/x86_64/crti.S: New file.
41049 * sysdeps/x86_64/crtn.S: New file.
41050 * sysdeps/x86_64/elf/initfini.c: Remove file.
41051
410522012-02-13 Joseph Myers <joseph@codesourcery.com>
41053
41054 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41055 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41056 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41057 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41058 <bits/inotify.h>.
41059 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41061 bits/inotify.h.
41062
410632012-02-13 Joseph Myers <joseph@codesourcery.com>
41064
41065 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41066 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41067 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41068 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41069 <bits/eventfd.h>.
41070 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41072 bits/eventfd.h.
41073
410742012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41075
41076 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41077 __feraiseexcept instead of feraiseexcept.
41078
41079 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41080 nanosleep invocations.
41081 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41082 strings, and add error checking for a nanosleep invocations.
41083
410842012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41085
41086 Replace FSF snail mail address with URLs, as per GNU coding standards.
41087 Most of the snail mail addresses were wrong anyway, and omitting
41088 them makes the source code easier to maintain. Almost all of the
41089 changes are to license notices and to locale LC_IDENTIFICATION
41090 addresses, except for this one:
41091 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41092 not its snail mail address.
41093
410942012-02-09 Richard Henderson <rth@twiddle.net>
41095
41096 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41097 of kernel-features.h.
41098
41099 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41100
411012012-02-08 Marek Polacek <polacek@redhat.com>
41102
41103 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41104 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41105 * sysdeps/gnu/_G_config.h: Likewise.
41106 * sysdeps/generic/_G_config.h: Likewise.
41107
411082012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41109
41110 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41111 tests.
41112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41113
41114 * sysdeps/powerpc/powerpc32/crti.S: New file.
41115 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41116 * sysdeps/powerpc/powerpc64/crti.S: New file.
41117 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41118
41119 * Makeconfig (have-initfini): Don't set.
41120 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41121 * configure.in (nopic_initfini): Don't substitute.
41122 * config.h.in (HAVE_INITFINI): Don't #undef.
41123 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41124 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41125
411262012-02-08 Joseph Myers <joseph@codesourcery.com>
41127
41128 Support crti.S and crtn.S provided directly by architectures.
41129 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41130 [crti.S in sysdirs] (omit-deps): Likewise.
41131 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41132 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41133 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41134 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41135 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41136 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41137 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41138 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41139 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41140 compiler output for sysdeps/generic/initfini.c.
41141 * sysdeps/i386/elf/Makefile: Remove file.
41142 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41143
411442012-02-07 Marek Polacek <polacek@redhat.com>
41145
41146 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41147 * sysdeps/gnu/_G_config.h: Likewise.
41148 * sysdeps/mach/hurd/_G_config.h: Likewise.
41149
411502012-02-07 Marek Polacek <polacek@redhat.com>
41151
41152 * math/Makefile (tests): Add tst-CMPLX2.
41153 * math/tst-CMPLX2.c: New file.
41154
411552012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41156
41157 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41158
41159 * math/libm-test.inc (jn_test): Add missing L suffix.
41160
411612012-02-06 Marek Polacek <polacek@redhat.com>
41162
41163 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41164 * sysdeps/i386/fpu/e_powf.S: Likewise.
41165 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41166 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41167 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41168 * sysdeps/i386/fpu/e_pow.S: Likewise.
41169 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41170 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41171 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41172 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41173 * sysdeps/i386/fpu/e_log2.S: Likewise.
41174 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41175 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41176 * sysdeps/i386/fpu/e_powl.S: Likewise.
41177 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41179 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41180 * sysdeps/i386/fpu/e_logl.S: Likewise.
41181 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41182 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41183 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41184 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41185 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41186 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41187 * sysdeps/i386/fpu/e_log.S: Likewise.
41188 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41189 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41190 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41191 * sysdeps/i386/fpu/e_logf.S: Likewise.
41192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41193 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41194 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41195 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41196 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41197 * sysdeps/i386/fpu/e_log10.S: Likewise.
41198 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41200 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41201 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41202 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41203 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41204 * sysdeps/i386/asm-syntax.h: Likewise.
41205 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41207 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41208 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41209 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41210 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41211 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41212 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41214 * sysdeps/powerpc/sysdep.h: Likewise.
41215 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41216 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41217
412182012-02-06 Joseph Myers <joseph@codesourcery.com>
41219
41220 [BZ #411]
41221 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41222
412232012-02-06 Joseph Myers <joseph@codesourcery.com>
41224
41225 * sysdeps/i386/sysdep.h: Include <features.h>.
41226 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41227 version.
41228
412292012-02-05 Joseph Myers <joseph@codesourcery.com>
41230
41231 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41232 Define.
41233 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41234 LOAD_PIC_REG_STR.
41235
412362012-02-03 Joseph Myers <joseph@codesourcery.com>
41237
41238 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41239 (SETUP_PIC_REG): Use GET_PC_THUNK.
41240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41241 macro.
41242
412432012-02-03 Joseph Myers <joseph@codesourcery.com>
41244
41245 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41246 for non-PIC compilation.
41247 (SETUP_PIC_REG): Add .p2align directive.
41248 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41249 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41250 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41251 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41252 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41253 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41256 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41257 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41258 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41259 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41260 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41261 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41262 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41263 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41264 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41265 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41266 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41267 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41268 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41270 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41271 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41274 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41275 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41276 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41277 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41278 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41279 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41280 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41281 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41282 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41283 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41284 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41285 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41286 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41287 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41288 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41289
412902012-02-03 Joseph Myers <joseph@codesourcery.com>
41291
41292 * math/tst-CMPLX.c: Include <stdio.h>.
41293
412942012-01-31 Joseph Myers <joseph@codesourcery.com>
41295
41296 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41297 float.
41298 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41299 * sysdeps/sparc/bits/mathdef.h: Likewise.
41300
413012012-01-31 Marek Polacek <polacek@redhat.com>
41302
41303 * libio/libio.h: Don't define _PARAMS.
41304 * locale/programs/config.h: Don't define PARAMS.
41305 * stdlib/strtol_l.c: Likewise.
41306 (__strtol_l): Remove PARAMS from the prototype.
41307
413082012-01-31 Ulrich Drepper <drepper@gmail.com>
41309
41310 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41311 names. Just use the correct names. Remove unnecessary wrapper
41312 functions.
41313 * malloc/arena.c: Likewise.
41314 * malloc/hooks.c: Likewise.
41315
41316 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41317 ARENA_TEST says not to. Simplify test for creation of a new arena.
41318 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41319
413202012-01-30 Ulrich Drepper <drepper@gmail.com>
41321
41322 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41323 into tail calls.
41324 (update_get_addr): New function.
41325 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41326 GET_ADDR_MODULE parameter.
41327
413282012-01-30 Joseph Myers <joseph@codesourcery.com>
41329
41330 * crypt/cert.c: Remove __STDC__ conditionals.
41331 * crypt/crypt-entry.c: Likewise.
41332 * crypt/crypt_util.c: Likewise.
41333 * libio/filedoalloc.c: Likewise.
41334 * libio/fileops.c: Likewise.
41335 * libio/genops.c: Likewise.
41336 * libio/iofclose.c: Likewise.
41337 * libio/iofdopen.c: Likewise.
41338 * libio/iofopen.c: Likewise.
41339 * libio/iofopen64.c: Likewise.
41340 * libio/iogetdelim.c: Likewise.
41341 * libio/iopopen.c: Likewise.
41342 * libio/obprintf.c: Likewise.
41343 * libio/oldfileops.c: Likewise.
41344 * libio/oldiofclose.c: Likewise.
41345 * libio/oldiofdopen.c: Likewise.
41346 * libio/oldiofopen.c: Likewise.
41347 * libio/oldiopopen.c: Likewise.
41348 * libio/wfiledoalloc.c: Likewise.
41349 * libio/wgenops.c: Likewise.
41350 * locale/programs/xmalloc.c: Likewise.
41351 * misc/syslog.c: Likewise.
41352 * stdio-common/xbug.c: Likewise.
41353 * string/memchr.c: Likewise.
41354 * string/memcmp.c: Likewise.
41355 * string/memrchr.c: Likewise.
41356 * string/rawmemchr.c: Likewise.
41357 * sysdeps/posix/getcwd.c: Likewise.
41358 * time/strftime_l.c: Likewise.
41359
413602012-01-30 Joseph Myers <joseph@codesourcery.com>
41361
41362 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41363 * config.make.in (config-cflags-sse2avx): Define.
41364 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41365 Fix typo.
41366
413672012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41368
41369 * scripts/config.guess: Update from upstream config git repository.
41370 * scripts/config.sub: Likewise.
41371
413722012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41373
41374 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41375 (EM_NUM): Update.
41376 (R_TILEPRO_*, R_TILEGX_*): New macros.
41377
41378 * scripts/firstversions.awk: Fix bug in version range handling.
41379
41380 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41381
41382 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41383
41384 * include/sys/epoll.h: New file.
41385 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41386 libc_hidden_def.
41387
413882012-01-28 Ulrich Drepper <drepper@gmail.com>
41389
41390 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41391 Avoid unnecessary __WORDSIZE == 64 test.
41392 (fmaxf): Use VEX format if possible.
41393 (fmax): Likewise.
41394 (fminf): Likewise.
41395 (fmin): Likewise.
41396
41397 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41398 * math/math_private.h: Remove libc_fegetround* and
41399 libc_fesetround*.
41400 * sysdeps/i386/configure.in: Check for -msse2avx.
41401 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41402 also if SSE2AVX is defined.
41403 Remove libc_fegetround* and libc_fesetround*.
41404 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41405 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41406 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41407 of HAS_YMM_USABLE.
41408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41409 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41411 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41412 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41413
41414 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41415
414162012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41417
41418 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41419 size is not set.
41420 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41421
414222012-01-27 Ulrich Drepper <drepper@gmail.com>
41423
41424 [BZ #13618]
41425 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41426 relocation.
41427 * Makeconfig (libm): Define.
41428 * elf/Makefile: Add rules to build and run tst-relsort1.
41429 * elf/tst-relsort1.c: New file.
41430 * elf/tst-relsort1mod1.c: New file.
41431 * elf/tst-relsort1mod2.c: New file.
41432
414332012-01-27 Joseph Myers <joseph@codesourcery.com>
41434
41435 * math/s_ldexp.c: Remove __STDC__ conditionals.
41436 * math/s_ldexpf.c: Likewise.
41437 * math/s_ldexpl.c: Likewise.
41438 * math/s_nextafter.c: Likewise.
41439 * math/s_nexttowardf.c: Likewise.
41440 * math/s_significand.c: Likewise.
41441 * math/s_significandf.c: Likewise.
41442 * math/s_significandl.c: Likewise.
41443 * math/w_jnl.c: Likewise.
41444 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41445 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41446 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41447 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41448 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41450 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41451 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41452 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41453 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41454 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41456 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41457 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41458 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41459 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41460 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41461 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41463 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41464 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41465 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41466 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41467 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41468 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41469 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41470 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41471 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41472 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41473 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41474 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41475 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41477 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41478 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41479 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41480 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41484 * sysdeps/ieee754/k_standard.c: Likewise.
41485 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41486 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41487 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41488 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41489 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41490 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41491 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41492 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41493 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41494 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41495 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41496 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41497 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41498 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41499 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41501 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41502 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41503 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41504 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41505 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41506 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41507 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41508 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41509 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41510 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41514 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41515 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41516 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41517 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41518 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41520 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41521 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41524 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41525 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41527 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41528 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41530 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41533 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41534 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41535 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41537 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41538 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41539 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41540 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41541 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41542 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41543 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41544 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41545 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41546 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41547 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41548 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41549 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41550 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41551 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41552 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41553 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41554 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41555 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41556 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41557 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41558 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41559 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41560 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41561 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41562 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41563 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41564 * sysdeps/ieee754/s_matherr.c: Likewise.
41565 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41566 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41567 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41568 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41569
415702012-01-26 Joseph Myers <joseph@codesourcery.com>
41571
41572 * crypt/md5.h: Remove __STDC__ conditionals.
41573 * libio/libioP.h: Likewise.
41574 * locale/programs/config.h: Likewise.
41575 * sysdeps/generic/sysdep.h: Likewise.
41576 * sysdeps/i386/asm-syntax.h: Likewise.
41577 * sysdeps/s390/asm-syntax.h: Likewise.
41578 * sysdeps/unix/sysdep.h: Likewise.
41579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41581
415822012-01-26 Joseph Myers <joseph@codesourcery.com>
41583
41584 * libio/libio.h: Remove __STDC__ conditionals.
41585 * malloc/obstack.h: Likewise.
41586 * math/complex.h: Likewise.
41587 * math/math.h: Likewise.
41588 * sysdeps/generic/_G_config.h: Likewise.
41589 * sysdeps/gnu/_G_config.h: Likewise.
41590 * sysdeps/mach/hurd/_G_config.h: Likewise.
41591 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41592 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41593 * sysdeps/sparc/bits/mathdef.h: Likewise.
41594
415952012-01-26 Ulrich Drepper <drepper@gmail.com>
41596
41597 [BZ #13583]
41598 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41599 Clean up HAS_* macros.
41600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41601 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41602 possible.
41603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41604 HAS_AVX.
41605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41610
416112012-01-25 Joseph Myers <joseph@codesourcery.com>
41612
41613 * elf/tst-unique3.cc (gets): Remove declaration.
41614 * elf/tst-unique3lib.cc (gets): Likewise.
41615 * elf/tst-unique3lib2.cc (gets): Likewise.
41616 * elf/tst-unique4.cc (gets): Likewise.
41617
416182012-01-24 Ulrich Drepper <drepper@gmail.com>
41619
41620 * include/stdio.h: Add C++ protection. Add gets declarations and
41621 definitions.
41622 * debug/tst-chk1.c: Don't declare gets here.
41623 * stdio-common/tst-gets.c: Likewise.
41624
416252012-01-24 Joseph Myers <joseph@codesourcery.com>
41626
41627 * posix/glob: Remove directory.
41628
416292012-01-24 Joseph Myers <joseph@codesourcery.com>
41630
41631 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41632
416332012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41634
41635 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41636 of the non-standard EPFNOSUPPORT.
41637
416382011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41639
41640 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41641 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41642 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41643
416442012-01-21 Ulrich Drepper <drepper@gmail.com>
41645
41646 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41647
416482012-01-20 Ulrich Drepper <drepper@gmail.com>
41649
41650 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41651 transient errors.
41652 * nscd/grpcache.c (cache_addgr): Likewise.
41653 * nscd/hstcache.c (cache_addhst): Likewise.
41654 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41655 * nscd/pwdcache.c (cache_addpw): Likewise.
41656 * nscd/servicescache.c (cache_addserv): Likewise.
41657
416582012-01-16 Ulrich Drepper <drepper@gmail.com>
41659
41660 * malloc/malloc.c: Various cleanups.
41661 * malloc/hooks.c: Likewise.
41662
41663 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41664 * stdlib/bug-fmtmsg1.c: New file.
41665
41666 * stdlib/fmtmsg.c (init): Add missing unlock.
41667 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41668
416692012-01-12 Marek Polacek <polacek@redhat.com>
41670
41671 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41672 and _GNU_SOURCE.
41673
416742012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41675
41676 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41677 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41678 macro to ensure uniqueness of label name.
41679 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41680 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41681
416822012-01-11 Ulrich Drepper <drepper@gmail.com>
41683
41684 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41685
41686 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41687 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41688 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41690
416912012-01-10 Ulrich Drepper <drepper@gmail.com>
41692
41693 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41694
41695 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41696 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41697 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41698
41699 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41700
41701 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41702 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41703 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41705
41706 * math/bits/math-finite.h: Add ldexp support.
41707
417082012-01-10 Marek Polacek <polacek@redhat.com>
41709
41710 * locale/programs/localedef.h (show_archive_content): Add noreturn
41711 attribute.
41712
417132012-01-09 Ulrich Drepper <drepper@gmail.com>
41714
41715 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41716
417172012-01-08 Ulrich Drepper <drepper@gmail.com>
41718
41719 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41720
41721 * io/Makefile (headers): Add bits/poll2.h.
41722
417232011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41724
41725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41726 typo #include statement.
41727
417282012-01-08 Ulrich Drepper <drepper@gmail.com>
41729
41730 * include/sys/cdefs.h: Define __attribute_alloc_size.
41731 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41732 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41733 * elf/pldd.c: Likewise.
41734 * iconv/iconv_charmap.c: Likewise.
41735 * iconv/iconvconfig.c: Likewise.
41736 * iconv/strtab.c: Likewise.
41737 * locale/programs/locale.c: Likewise.
41738 * locale/programs/localedef.h: Likewise.
41739 * locale/programs/simple-hash.c: Likewise.
41740 * nscd/nscd.h: Likewise.
41741 * nss/makedb.c: Likewise.
41742 * sysdeps/generic/ldconfig.h: Likewise.
41743 * locale/programs/localedef.c: Remove xmalloc prototype.
41744 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41745
417462012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41747
41748 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41749 appropriate.
41750
417512012-01-08 Ulrich Drepper <drepper@gmail.com>
41752
41753 * math/Makefile (tests): Add tst-CMPLX.
41754 * math/tst-CMPLX.c: New file.
41755
41756 * math/complex.h (CMPLXL): Fix typo.
41757
41758 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41759 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41760 GLIBC_2.16.
41761 * debug/tst-chk1.c: Add poll and ppoll tests.
41762 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41763 * include/sys/poll.h: Add hidden proto for ppoll.
41764 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41765 * sysdeps/mach/hurd/ppoll.c: Likewise.
41766 * io/ppoll.c: Likewise.
41767 * debug/poll_chk.c: New file.
41768 * debug/ppoll_chk.c: New file.
41769 * include/bits/poll2.h: New file.
41770 * io/bits/poll2.h: New file.
41771
41772 [BZ #1350]
41773 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41774
41775 * configure.in: static is always set to yes. Remove.
41776 * config.make.in: Don't set build-static.
41777 * Makeconfig: Remove use of build-static.
41778 * dlfcn/Makefile: Likewise.
41779 * elf/Makefile: Likewise.
41780 * math/Makefile: Likewise.
41781 * misc/Makefile: Likewise.
41782 * nptl/Makefile: Likewise.
41783 * sysdeps/mach/hurd/Makefile: Likewise.
41784
41785 * configure.in: PWD_P is not used anymore.
41786 * config.make.in: Remove PWD_P entry.
41787
41788 * configure.in: Remove last remnants of RANLIB.
41789 No need to check for signed size_t anymore.
41790 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41791 and IA-64.
41792 Remove __builtin_expect test because we require at least gcc 3.4.
41793 * aclocal.m4: Likewise.
41794
41795 * wcsmbs/mbrtoc16.c: Implement using towc function.
41796 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41797 * wcsmbs/wcsmbsload.c: Likewise.
41798 * iconv/gconv_simple.c: Likewise.
41799 * iconv/gconv_int.h: Likewise.
41800 * iconv/gconv_builtin.h: Likewise.
41801 * iconv/iconv_prog.c: Remove CHAR16 handling.
41802
41803 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41804
41805 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41806
41807 * configure.in: Remove --with-elf and --enable-bounded options.
41808 Dont set base_machine for ia64. More non-ELF conditions removed.
41809 Remove testing and setting of leading underscore information.
41810 * config.make.in (build-bounded): Set to no.
41811 * config.h.in: Remove NO_UNDERSCORES entry.
41812 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41813 them.
41814 * csu/start.c: Remove !NO_UNDERSCORE code.
41815 * locale/localeinfo.h: Likewise.
41816 * sysdeps/generic/machine-gmon.h: Likewise.
41817 * sysdeps/generic/sysdep.h: Likewise.
41818 * sysdeps/i386/sysdep.h: Likewise.
41819 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41820 * sysdeps/mach/sysdep.h: Likewise.
41821 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41822 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41823 * sysdeps/sh/sysdep.h: Likewise.
41824 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41825 * sysdeps/unix/i386/sysdep.S: Likewise.
41826 * sysdeps/unix/sparc/start.c: Likewise.
41827 * sysdeps/unix/sparc/sysdep.S: Likewise.
41828 * sysdeps/unix/sparc/sysdep.h: Likewise.
41829 * sysdeps/unix/start.c: Likewise.
41830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41831 * sysdeps/x86_64/sysdep.h: Likewise.
41832
418332012-01-07 Ulrich Drepper <drepper@gmail.com>
41834
41835 [BZ #13553]
41836 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41837 for non-gcc.
41838 * argp/argp-fmtstream.h: Use const instead __const.
41839 * argp/argp.h: Likewise.
41840 * assert/assert.h: Likewise.
41841 * bits/fenv.h: Likewise.
41842 * bits/sched.h: Likewise.
41843 * bits/sigset.h: Likewise.
41844 * bits/sigthread.h: Likewise.
41845 * catgets/nl_types.h: Likewise.
41846 * conform/data/pthread.h-data: Likewise.
41847 * crypt/crypt-private.h: Likewise.
41848 * crypt/crypt.h: Likewise.
41849 * crypt/crypt_util.c: Likewise.
41850 * ctype/ctype.h: Likewise.
41851 * debug/execinfo.h: Likewise.
41852 * debug/mbsnrtowcs_chk.c: Likewise.
41853 * debug/mbsrtowcs_chk.c: Likewise.
41854 * debug/wcsnrtombs_chk.c: Likewise.
41855 * debug/wcsrtombs_chk.c: Likewise.
41856 * debug/wcstombs_chk.c: Likewise.
41857 * dirent/dirent.h: Likewise.
41858 * dlfcn/dlfcn.h: Likewise.
41859 * elf/neededtest4.c: Likewise.
41860 * grp/grp.h: Likewise.
41861 * gshadow/gshadow.h: Likewise.
41862 * iconv/gconv.h: Likewise.
41863 * iconv/gconv_int.h: Likewise.
41864 * iconv/gconv_simple.c: Likewise.
41865 * iconv/iconv.h: Likewise.
41866 * iconv/loop.c: Likewise.
41867 * iconv/skeleton.c: Likewise.
41868 * include/aio.h: Likewise.
41869 * include/aliases.h: Likewise.
41870 * include/argz.h: Likewise.
41871 * include/arpa/inet.h: Likewise.
41872 * include/assert.h: Likewise.
41873 * include/dirent.h: Likewise.
41874 * include/dlfcn.h: Likewise.
41875 * include/execinfo.h: Likewise.
41876 * include/fcntl.h: Likewise.
41877 * include/fenv.h: Likewise.
41878 * include/glob.h: Likewise.
41879 * include/grp.h: Likewise.
41880 * include/libintl.h: Likewise.
41881 * include/mntent.h: Likewise.
41882 * include/netdb.h: Likewise.
41883 * include/pwd.h: Likewise.
41884 * include/rpc/netdb.h: Likewise.
41885 * include/sched.h: Likewise.
41886 * include/search.h: Likewise.
41887 * include/shadow.h: Likewise.
41888 * include/signal.h: Likewise.
41889 * include/stdio.h: Likewise.
41890 * include/stdlib.h: Likewise.
41891 * include/string.h: Likewise.
41892 * include/sys/socket.h: Likewise.
41893 * include/sys/stat.h: Likewise.
41894 * include/sys/statfs.h: Likewise.
41895 * include/sys/statvfs.h: Likewise.
41896 * include/sys/syslog.h: Likewise.
41897 * include/sys/time.h: Likewise.
41898 * include/sys/uio.h: Likewise.
41899 * include/time.h: Likewise.
41900 * include/unistd.h: Likewise.
41901 * include/utmp.h: Likewise.
41902 * include/wchar.h: Likewise.
41903 * include/wctype.h: Likewise.
41904 * inet/aliases.h: Likewise.
41905 * inet/arpa/inet.h: Likewise.
41906 * inet/netinet/ether.h: Likewise.
41907 * inet/netinet/in.h: Likewise.
41908 * intl/libintl.h: Likewise.
41909 * io/bits/fcntl2.h: Likewise.
41910 * io/fcntl.h: Likewise.
41911 * io/ftw.h: Likewise.
41912 * io/sys/poll.h: Likewise.
41913 * io/sys/stat.h: Likewise.
41914 * io/sys/statfs.h: Likewise.
41915 * io/sys/statvfs.h: Likewise.
41916 * io/utime.h: Likewise.
41917 * libio/bits/stdio.h: Likewise.
41918 * libio/bits/stdio2.h: Likewise.
41919 * libio/libio.h: Likewise.
41920 * libio/libioP.h: Likewise.
41921 * libio/stdio.h: Likewise.
41922 * locale/lc-ctype.c: Likewise.
41923 * locale/locale.h: Likewise.
41924 * login/utmp.h: Likewise.
41925 * malloc/arena.c: Likewise.
41926 * malloc/malloc.c: Likewise.
41927 * malloc/malloc.h: Likewise.
41928 * malloc/mcheck.c: Likewise.
41929 * malloc/mtrace.c: Likewise.
41930 * math/bits/mathcalls.h: Likewise.
41931 * math/fenv.h: Likewise.
41932 * math/math_private.h: Likewise.
41933 * misc/bits/error.h: Likewise.
41934 * misc/bits/syslog.h: Likewise.
41935 * misc/err.h: Likewise.
41936 * misc/error.h: Likewise.
41937 * misc/fstab.h: Likewise.
41938 * misc/mntent.h: Likewise.
41939 * misc/regexp.h: Likewise.
41940 * misc/search.h: Likewise.
41941 * misc/sgtty.h: Likewise.
41942 * misc/sys/mman.h: Likewise.
41943 * misc/sys/syslog.h: Likewise.
41944 * misc/sys/uio.h: Likewise.
41945 * misc/sys/xattr.h: Likewise.
41946 * misc/ttyent.h: Likewise.
41947 * nis/rpcsvc/ypclnt.h: Likewise.
41948 * nss/nss.h: Likewise.
41949 * posix/bits/unistd.h: Likewise.
41950 * posix/fnmatch.h: Likewise.
41951 * posix/glob.h: Likewise.
41952 * posix/sched.h: Likewise.
41953 * posix/spawn.h: Likewise.
41954 * posix/sys/wait.h: Likewise.
41955 * posix/unistd.h: Likewise.
41956 * posix/wordexp.h: Likewise.
41957 * pwd/pwd.h: Likewise.
41958 * resolv/netdb.h: Likewise.
41959 * resource/sys/resource.h: Likewise.
41960 * rt/aio.h: Likewise.
41961 * rt/bits/mqueue2.h: Likewise.
41962 * rt/mqueue.h: Likewise.
41963 * shadow/shadow.h: Likewise.
41964 * signal/signal.h: Likewise.
41965 * socket/send.c: Likewise.
41966 * socket/sendto.c: Likewise.
41967 * socket/sys/socket.h: Likewise.
41968 * stdio-common/printf.h: Likewise.
41969 * stdlib/bits/stdlib.h: Likewise.
41970 * stdlib/fmtmsg.h: Likewise.
41971 * stdlib/monetary.h: Likewise.
41972 * stdlib/stdlib.h: Likewise.
41973 * stdlib/ucontext.h: Likewise.
41974 * streams/stropts.h: Likewise.
41975 * string/argz.h: Likewise.
41976 * string/bits/string2.h: Likewise.
41977 * string/string.h: Likewise.
41978 * string/strings.h: Likewise.
41979 * sunrpc/rpc/auth.h: Likewise.
41980 * sunrpc/rpc/auth_des.h: Likewise.
41981 * sunrpc/rpc/clnt.h: Likewise.
41982 * sunrpc/rpc/netdb.h: Likewise.
41983 * sunrpc/rpc/pmap_clnt.h: Likewise.
41984 * sunrpc/rpc/xdr.h: Likewise.
41985 * sysdeps/generic/inttypes.h: Likewise.
41986 * sysdeps/generic/net/if.h: Likewise.
41987 * sysdeps/generic/sys/swap.h: Likewise.
41988 * sysdeps/gnu/net/if.h: Likewise.
41989 * sysdeps/gnu/utmpx.h: Likewise.
41990 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41991 * sysdeps/i386/i486/bits/string.h: Likewise.
41992 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41993 * sysdeps/s390/bits/string.h: Likewise.
41994 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41995 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41996 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41997 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41998 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41999 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42000 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42001 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42002 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42003 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42004 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42005 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42006 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42007 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42008 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42009 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42010 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42012 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42014 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42015 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42016 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42017 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42018 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42019 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42020 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42022 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42023 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42024 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42025 * sysvipc/sys/ipc.h: Likewise.
42026 * sysvipc/sys/msg.h: Likewise.
42027 * sysvipc/sys/sem.h: Likewise.
42028 * sysvipc/sys/shm.h: Likewise.
42029 * termios/termios.h: Likewise.
42030 * time/sys/time.h: Likewise.
42031 * time/time.h: Likewise.
42032 * wcsmbs/bits/wchar2.h: Likewise.
42033 * wcsmbs/uchar.h: Likewise.
42034 * wcsmbs/wchar.h: Likewise.
42035 * wctype/wctype.h: Likewise.
42036
42037 [BZ #13551]
42038 * Makeconfig: Remove all but ELF support including AIX support.
42039 * Makerules: Likewise.
42040 * config.h.in: Likewise.
42041 * config.make.in: Likewise.
42042 * configure: Likewise.
42043 * configure.in: Likewise.
42044 * csu/Makefile: Likewise.
42045 * csu/version.c: Likewise.
42046 * debug/Makefile: Likewise.
42047 * dlfcn/Makefile: Likewise.
42048 * elf/Makefile: Likewise.
42049 * extra-lib.mk: Likewise.
42050 * iconv/Makefile: Likewise.
42051 * include/libc-symbols.h: Likewise.
42052 * include/shlib-compat.h: Likewise.
42053 * resolv/Makefile: Likewise.
42054 * resolv/res_libc.c: Likewise.
42055 * rt/Makefile: Likewise.
42056 * sysdeps/i386/asm-syntax.h: Likewise.
42057 * sysdeps/i386/sysdep.h: Likewise.
42058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42059 * sysdeps/mach/sysdep.h: Likewise.
42060 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42061 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42062 * sysdeps/s390/asm-syntax.h: Likewise.
42063 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42064 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42065 * sysdeps/sh/sysdep.h: Likewise.
42066 * sysdeps/unix/sparc/sysdep.h: Likewise.
42067 * sysdeps/wordsize-32/divdi3.c: Likewise.
42068 * sysdeps/x86_64/sysdep.h: Likewise.
42069
42070 * argp/Versions: Remove _argp_unlock_xxx.
42071
42072 [BZ #13559]
42073 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42074 * abilist/libBrokenLocale.abilist: Likewise.
42075 * abilist/libanl.abilist: Likewise.
42076 * abilist/libc.abilist: Likewise.
42077 * abilist/libcrypt.abilist: Likewise.
42078 * abilist/libdl.abilist: Likewise.
42079 * abilist/libm.abilist: Likewise.
42080 * abilist/libnsl.abilist: Likewise.
42081 * abilist/libpthread.abilist: Likewise.
42082 * abilist/libresolv.abilist: Likewise.
42083 * abilist/librt.abilist: Likewise.
42084 * abilist/libthread_db.abilist: Likewise.
42085 * abilist/libutil.abilist: Likewise.
42086 * abilist/libnss_db.abilist: New file.
42087
42088 * scripts/abilist.awk: Add support for indirect functions.
42089
42090 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42091
42092 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42093
42094 * shlib-versions: Remove entries for ports architectures.
42095
42096 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42097 files in ports.
42098 * elf/stackguard-macros.h: Remove support for IA-64.
42099 * elf/tst-auditmod1.c: Likewise.
42100 * sysdeps/generic/ldsodefs.h: Likewise.
42101
42102 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42103 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42104 configure files.
42105
42106 [BZ #13552]
42107 * configure.in: Remove --enable-omitfp support.
42108 * FAQ.in: Adjust.
42109 * config.make.in: Likewise.
42110 * Makeconfig: Likewise.
42111 * manual/install.texi: Likewise.
42112
42113 In case anyone cares, the IA-64 architecture could move to ports.
42114 * sysdeps/ia64/*: Removed.
42115 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42116 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42117
42118 [BZ #13555]
42119 * configure.in: Remove entries for unsupported architectures.
42120
42121 [BZ #13533]
42122 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42123 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42124 routines.
42125 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42126 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42127 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42128 fall back to using wcrtomb.
42129 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42130 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42131 renaming.
42132 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42133 * wcsmbs/tst-c16c32-1.c: New file.
42134
42135 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42136 local variable.
42137
42138 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42139
42140 * elf/tst-unique3.cc: Add explicit declaration of gets.
42141 * elf/tst-unique3lib.cc: Likewise.
42142 * elf/tst-unique3lib2.cc: Likewise.
42143 * elf/tst-unique4.cc: Likewise.
42144
42145 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42146
421472012-01-06 Joseph Myers <joseph@codesourcery.com>
42148
42149 [BZ #13566]
42150 * assert/assert.h (static_assert): Don't define for C++.
42151 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42152 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42153
421542012-01-03 Ulrich Drepper <drepper@gmail.com>
42155
42156 * iconv/loop.c (single loop): Fix assertion in storing of
42157 remaining bytes.
42158
42159 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42160
421612012-01-01 Ulrich Drepper <drepper@gmail.com>
42162
42163 * posix/getconf.c: Update copyright year.
42164 * nss/getent.c: Likewise.
42165 * nss/makedb.c: Likewise.
42166 * iconv/iconvconfig.c: Likewise.
42167 * iconv/iconv_prog.c: Likewise.
42168 * elf/ldconfig.c: Likewise.
42169 * elf/pldd.c: Likewise.
42170 * elf/sotruss.ksh: Likewise.
42171 * catgets/gencat.c: Likewise.
42172 * csu/version.c: Likewise.
42173 * elf/ldd.bash.in: Likewise.
42174 * elf/sprof.c (print_version): Likewise.
42175 * locale/programs/locale.c: Likewise.
42176 * locale/programs/localedef.c: Likewise.
42177 * login/programs/pt_chown.c: Likewise.
42178 * nscd/nscd.c (print_version): Likewise.
42179 * debug/xtrace.sh: Likewise.
42180 * malloc/memusage.sh: Likewise.
42181 * malloc/mtrace.pl: Likewise.
42182 * debug/catchsegv.sh: Likewise.
42183
421842011-12-30 Jakub Jelinek <jakub@redhat.com>
42185
42186 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42187 pure attribute.
42188
421892011-12-24 Ulrich Drepper <drepper@gmail.com>
42190
42191 [BZ #13533]
42192 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42193 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42194 transformations.
42195 * iconv/gconv_int.h: Likewise.
42196 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42197 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42198 from libc for GLIBC_2.16.
42199 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42200 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42201 * wcsmbs/uchar.h: Really define mbstate_t.
42202 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42203 * wcsmbs/c16rtomb.c: New file.
42204 * wcsmbs/mbrtoc16.c: New file.
42205 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42206 for C/POSIX locale.
42207 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42208 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42209
42210 * wcsmbs/wchar.h: Add missing __restrict.
42211
422122011-12-23 Ulrich Drepper <drepper@gmail.com>
42213
42214 [BZ #13532]
42215 * time/Makefile (routines): Add timespec_get.
42216 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42217 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42218 timespec for ISO C11.
42219 * time/timespec_get.c: New file.
42220 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42221 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42222
42223 [BZ #13531]
42224 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42225 * stdlib/stdlib.h: Declare aligned_alloc.
42226 * Versions.def: Add GLIBC_2.16 for libc.
42227 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42228
42229 [BZ 13527]
42230 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42231 ISO C11.
42232
42233 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42234 code.
42235
42236 [BZ #13528]
42237 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42238
42239 [BZ #13529]
42240 * assert/assert.h (static_assert): Define.
42241
42242 * version.h: Update for 2.16 development version.
42243
42244 [BZ #13526]
42245 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42246 _ISOC11_SOURCE.
42247
42248 * version.h (RELEASE): Bump for 2.15 release.
42249 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42250
42251 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42252 Patch by Marek Polacek <mpolacek@redhat.com>.
42253
42254 * bits/byteswap.h: Protect long long constants with __extension__.
42255 * sysdeps/i386/bits/byteswap.h: Likewise.
42256 * sysdeps/ia64/bits/byteswap.h: Likewise.
42257 * sysdeps/s390/bits/byteswap.h: Likewise.
42258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42259
422602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42261
42262 [BZ #13540]
42263 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42264 destination buffer.
42265 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42266
422672011-12-23 Marek Polacek <polacek@redhat.com>
42268
42269 * elf/dl-addr.c (determine_info): Add inline keyword.
42270 * elf/tst-auditmod4b.c (check_avx): Likewise.
42271 * elf/tst-auditmod6b.c (check_avx): Likewise.
42272 * elf/tst-auditmod6c.c (check_avx): Likewise.
42273 * elf/tst-auditmod7b.c (check_avx): Likewise.
42274
422752011-12-23 Ulrich Drepper <drepper@gmail.com>
42276
42277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42278 !__SSE_MATH__.
42279
422802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42281
42282 [BZ #13540]
42283 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42284 processing for last bytes.
42285
422862011-08-06 Bruno Haible <bruno@clisp.org>
42287
42288 [BZ #13061]
42289 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42290 U+0385, not to U+1FEE.
42291
42292 [BZ #13062]
42293 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42294 entry for U+00A5 U+0301.
42295
422962011-12-22 Ulrich Drepper <drepper@gmail.com>
42297
42298 [BZ #13166]
42299 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42300 buffer for the output is too small.
42301
42302 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42303 optimization.
42304
42305 [BZ #13185]
42306 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42307 SSE flags if possible.
42308
423092011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42310
42311 [BZ #13540]
42312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42313 processing for last bytes.
42314
423152011-12-22 Joseph Myers <joseph@codesourcery.com>
42316
42317 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42318 (syscall-list-default-options, syscall-list-default-condition)
42319 (syscall-list-includes): Define.
42320 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42321 list of ABIs and options and #if conditions for each ABI. Do not
42322 handle common syscalls between ABIs specially.
42323 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42324 Remove.
42325 (syscall-list-variants, syscall-list-32bit-options)
42326 (syscall-list-32bit-condition, syscall-list-64bit-options)
42327 (syscall-list-64bit-condition): Define.
42328 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42329 (syscall-list-variants, syscall-list-32bit-options)
42330 (syscall-list-32bit-condition, syscall-list-64bit-options)
42331 (syscall-list-64bit-condition): Define.
42332 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42333 Remove.
42334 (syscall-list-variants, syscall-list-32bit-options)
42335 (syscall-list-32bit-condition, syscall-list-64bit-options)
42336 (syscall-list-64bit-condition): Define.
42337 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42338 Remove.
42339 (syscall-list-variants, syscall-list-32bit-options)
42340 (syscall-list-32bit-condition, syscall-list-64bit-options)
42341 (syscall-list-64bit-condition): Define.
42342
423432011-12-22 Ulrich Drepper <drepper@gmail.com>
42344
42345 * locale/iso-639.def: Add brx entry.
42346
42347 [BZ #13328]
42348 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42349 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42350
42351 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42352 __feraiseexcept_renamed.
42353
423542011-12-21 Ulrich Drepper <drepper@gmail.com>
42355
42356 [BZ #13538]
42357 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42358 EPOLLET with unsigned values.
42359 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42361
42362 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42363 to large cancellation.
42364 * math/s_cacoshf.c: Likewise.
42365 * math/s_cacoshl.c: Likewise.
42366
423672011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42368
42369 [BZ #13305]
42370 [BZ #12786]
42371 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42372 * math/s_cacoshf.c: Likewise.
42373 * math/s_cacoshl.c: Likewise.
42374
423752011-12-21 Ulrich Drepper <drepper@gmail.com>
42376
42377 [BZ #13439]
42378 * iconv/gconv.h: Define __GCONV_SWAP.
42379 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42380 * iconvdata/utf-16.c: Likewise.
42381 * iconvdata/utf-32.c: Likewise.
42382
423832011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42384
42385 [BZ #13524]
42386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42387 numerator after shifting it by one limb.
42388
423892011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42390
42391 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42392 under [__USE_EXTERN_INLINES].
42393
423942011-12-17 Ulrich Drepper <drepper@gmail.com>
42395
42396 [BZ #13446]
42397 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42398
423992011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42400
42401 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42402 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42403 optimized code.
42404 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42405 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42406 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42407 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42408 for strncasecmp/strncasecmp_l compilation.
42409 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42410 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42411
424122011-12-08 Marek Polacek <mpolacek@redhat.com>
42413
42414 [BZ #13484]
42415 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42416 of __asm__.
42417
424182011-12-17 Ulrich Drepper <drepper@gmail.com>
42419
42420 [BZ #13506]
42421 * time/tzfile.c (__tzfile_read): Check values from file header.
42422
424232011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42424
42425 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42426 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42427 * powerpc/powerpc32/dl-start.S: Likewise.
42428 * powerpc/powerpc32/elf/start.S: Likewise.
42429 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42430 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42431 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42432 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42433 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42434 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42435 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42436 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42437 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42438 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42439 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42440 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42441 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42442 * powerpc/powerpc32/memset.S: Likewise.
42443 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42444 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42445 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42446 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42447 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42448 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42449 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42450 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42451 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42452 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42453 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42454 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42455 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42456
424572011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42458
42459 * math/libm-test.inc: Added more nearbyint tests.
42460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42461 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42463 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42464
424652011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42466
42467 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42468 FD_CLOEXEC.
42469
424702011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42471
42472 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42473 Add wcscpy-ssse3 wcscpy-c.
42474 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42475 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42476 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42477 * sysdeps/x86_64/wcschr.S: New file.
42478 * sysdeps/x86_64/wcsrchr.S: New file.
42479 * string/test-strcmp.c: Remove checking of wcscmp function for
42480 wrong alignments.
42481 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42482 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42483 wcsrchr-sse2 wcsrchr-c.
42484 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42485 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42486 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42487 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42488 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42489 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42490 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42491 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42492 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42493 * wcsmbc/wcschr.c (WCSCHR): New macro.
42494
424952011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42496
42497 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42498 * wcsmbs/test-wcsrchr.c: New file.
42499 * string/test-strrchr.c: Add wcsrchr support.
42500 (WIDE): New macro.
42501 * wcsmbs/test-wcscpy.c: New file.
42502 * string/test-strcpy.c: Add wcscpy support.
42503 (WIDE): New macro.
42504
425052011-12-10 Ulrich Drepper <drepper@gmail.com>
42506
42507 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42508 the inner loop.
42509
425102011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42511
42512 [BZ #13472]
42513 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42514
425152011-12-04 Ulrich Drepper <drepper@gmail.com>
42516
42517 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42518 Minor optimizations.
42519
42520 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42521 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42522 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42523
425242011-12-03 Ulrich Drepper <drepper@gmail.com>
42525
42526 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42527 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42528 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42529 for gcc to avoid warnings.
42530 * inet/Makefile (tests): Add tst-checks.
42531 * inet/tst-checks.c: New file.
42532
42533 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42534 warning.
42535
42536 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42537 __wmemcmp_sse2.
42538
42539 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42540 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42541
42542 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42543
425442011-12-02 Ulrich Drepper <drepper@gmail.com>
42545
42546 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42547 problem.
42548
42549 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42550
425512011-11-29 Joseph Myers <joseph@codesourcery.com>
42552
42553 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42554 conditional on GCC version.
42555 (__arch_compare_and_exchange_val_8_acq)
42556 (__arch_compare_and_exchange_val_16_acq)
42557 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42558 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42559 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42560
425612011-12-02 Joseph Myers <joseph@codesourcery.com>
42562
42563 * sysdeps/sh/backtrace.c: New file.
42564
425652011-12-02 Andreas Schwab <schwab@redhat.com>
42566
42567 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42568 parenthesis.
42569
425702011-12-01 Andreas Schwab <schwab@redhat.com>
42571
42572 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42573 falling back to utime.
42574
425752011-11-30 Andreas Schwab <schwab@redhat.com>
42576
42577 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42578 expectations for float.
42579
425802011-11-29 Andreas Schwab <schwab@redhat.com>
42581
42582 * locale/weight.h (findidx): Add parameter len.
42583 * locale/weightwc.h (findidx): Likewise.
42584 * posix/fnmatch_loop.c (FCT): Adjust caller.
42585 * posix/regcomp.c (build_equiv_class): Likewise.
42586 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42587 * posix/regexec.c (check_node_accept_bytes): Likewise.
42588 * string/strcoll_l.c (STRCOLL): Likewise.
42589 * string/strxfrm_l.c (STRXFRM): Likewise.
42590
425912011-11-17 Ulrich Drepper <drepper@gmail.com>
42592
42593 * Makefile.in: Remove CVSOPT handling.
42594 * configure.in: Remove use of AC_REVISION.
42595 * iconvdata/Makefile (distribute): No need to filter out CVS.
42596 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42597 handling.
42598
425992011-11-16 Andreas Schwab <schwab@redhat.com>
42600
42601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42602 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42603 [USE_AS_STRNCASECMP_L]: Likewise.
42604 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42605 NO_TLS_DIRECT_SEG_REFS.
42606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42607 Fix argument offsets for non-PIC.
42608 [USE_AS_STRNCASECMP_L]: Likewise.
42609 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42610 NO_TLS_DIRECT_SEG_REFS.
42611
426122011-11-15 Ulrich Drepper <drepper@gmail.com>
42613
42614 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42615 O_CLOEXEC.
42616 * locale/loadlocale.c (_nl_load_locale): Likewise.
42617
426182011-11-15 Andreas Schwab <schwab@redhat.com>
42619
42620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42621 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42622 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42623 (SYSCALL_GETTIME): Set errno on error.
42624
42625 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42626 count references to noai6ai_cached.
42627
426282011-11-15 Ulrich Drepper <drepper@gmail.com>
42629
42630 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42631
42632 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42633 FD_CLOEXEC for /proc/self/maps.
42634
42635 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42636 FD_CLOEXEC for /proc/meminfo.
42637
42638 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42639 gai.conf.
42640
42641 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42642 FD_CLOEXEC for given file.
42643
42644 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42645
42646 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42647 FD_CLOEXEC for /etc/hosts.
42648 (_gethtent): Likewise.
42649
42650 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42651
42652 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42653 cancellation and set FD_CLOEXEC for /etc/netgroup.
42654
42655 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42656 reading /etc/publickey.
42657
42658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42659 allow cancellation when reading /etc/group.
42660
42661 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42662 cancellation.
42663 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42664
42665 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42666 when using data file.
42667
42668 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42669
42670 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42671 (write_nis_obj): Use "c" and "e" in fopen.
42672
42673 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42674
42675 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42676
42677 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42678
42679 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42680
42681 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42682 locale.alias.
42683
42684 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42685
42686 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42687
42688 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42689
42690 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42691 file parsing and set FD_CLOEXEC.
42692
426932011-11-14 Ulrich Drepper <drepper@gmail.com>
42694
42695 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42696
426972011-11-14 Andreas Schwab <schwab@redhat.com>
42698
42699 * malloc/arena.c (arena_get2): Don't call reused_arena when
42700 _int_new_arena failed.
42701
427022011-11-14 Ulrich Drepper <drepper@gmail.com>
42703
42704 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42705 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42707 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42708 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42709 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42710 to compile strcasecmp and strncasecmp.
42711 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42712 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42713
42714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42715
427162011-11-13 Ulrich Drepper <drepper@gmail.com>
42717
42718 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42719 locale-defines.sym to gen-as-const-headers.
42720 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42721 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42723 to compile strcasecmp and strncasecmp.
42724 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42725 strcasecmp_l and strncasecmp_l.
42726 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42727 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42728 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42729 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42730 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42731 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42732 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42733 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42734 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42735 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42736 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42737
427382011-11-12 Ulrich Drepper <drepper@gmail.com>
42739
42740 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42741 result of SYSDEP_GETTIME_CPU to retval.
42742 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42743 parameter list to macro. Remove trailing semicolon. Adjust users.
42744
42745 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42746 variable.
42747
42748 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42749 mantissa words.
42750 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42751
42752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42753 from unused variable.
42754
42755 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42756 DWARF definitions.
42757 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42758 for assembling.
42759
42760 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42761 over namespaces.
42762
42763 * sunrpc/rpc_prot.c (rejected): Fix case value.
42764
42765 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42766 unsigned long long int to avoid warnings in shift.
42767
42768 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42769 of use of trans.
42770 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42771 variable tmp.
42772
42773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42774 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42775 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42776
42777 * nis/nis_table.c (nis_list): Use variable of correct type for
42778 result of __follow_path call.
42779
427802011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42781
42782 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42783 of math functions ceil, trunc, floor, round, and sqrt, when
42784 avaliable on the platform.
42785 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42786 name clash.
42787 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42788 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42789 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42790
427912011-10-30 Marek Polacek <mpolacek@redhat.com>
42792
42793 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42794 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42795
427962011-11-11 Roland McGrath <roland@hack.frob.com>
42797
42798 * include/unistd.h: Fix __readlink return type.
42799 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42800
428012011-11-11 Ulrich Drepper <drepper@gmail.com>
42802
42803 * stdlib/ucontext.h: Undo last change for makecontext.
42804
428052011-11-11 Andreas Schwab <schwab@redhat.com>
42806
42807 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42808
42809 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42810 * setjmp/setjmp.h: Mark functions as non-leaf.
42811 * setjmp/bits/setjmp2.h: Likewise.
42812 * stdlib/ucontext.h: Likewise.
42813
428142011-11-10 Andreas Schwab <schwab@redhat.com>
42815
42816 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42817 (reused_arena): Don't check arena limit.
42818 (arena_get2): Atomically check arena limit.
42819
428202011-11-08 Ulrich Drepper <drepper@gmail.com>
42821
42822 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42823 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42824
42825 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42826 instructions.
42827
428282011-11-07 Andreas Schwab <schwab@redhat.com>
42829
42830 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42831 handler when locking.
42832
42833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42834 Fix size of allocated buffer.
42835
428362011-11-04 Andreas Schwab <schwab@redhat.com>
42837
42838 [BZ #10103]
42839 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42840 declarations for long double functions.
42841 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42842
42843 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42844
428452011-11-03 Andreas Schwab <schwab@redhat.com>
42846
42847 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42848 installed.
42849
42850 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42851 is disabled.
42852
428532011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42854
42855 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42856
428572011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42858
42859 * include/alloca.h (stackinfo_alloca_round): Define.
42860 (extend_alloca): Use it.
42861 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42862 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42863 here.
42864
42865 * scripts/check-local-headers.sh: Ignore libaudit.h.
42866
42867 * nscd/Makefile (extra-objs): Make recursively expanded.
42868
428692011-11-01 Ulrich Drepper <drepper@gmail.com>
42870
42871 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42872 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42873
42874 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42875 * posix/tst-rfc3484-2.c: Likewise.
42876 * posix/tst-rfc3484-3.c: Likewise.
42877
42878 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42879 process_vm_writev.
42880 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42881 process_vm_writev.
42882 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42883 process_vm_writev from libc using GLIBC_2.15 version.
42884
42885 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42886
428872011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42888
42889 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42890 stack usage.
42891
428922011-10-31 Ulrich Drepper <drepper@gmail.com>
42893
42894 [BZ #13367]
42895 * nss/getent.c (initgroups_keys): Show error message in case no group
42896 names are given.
42897
42898 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42899 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42900 __bump_nl_timestamp.
42901 * nscd/connections (nscd_init): When host database is served open
42902 netlink socket and request notification about configuration changes.
42903 (main_loop_poll): Track netlink file descriptor and bump timestamp
42904 in case data becomes available.
42905 (main_loop_epoll): Likewise.
42906 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42907 (database_pers_head): Add extra_data fileds.
42908 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42909 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42910 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42911 Adjust caller.
42912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42913 in6ai data, call __free_in6ai.
42914 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42915 Add -DHAVE_NETLINK.
42916 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42917 interface information. Reuse previous data if netlink timestamp
42918 is not changed.
42919 (__bump_nl_timestamp): New function.
42920 (__free_in6ai): New function.
42921
429222011-10-30 Ulrich Drepper <drepper@gmail.com>
42923
42924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42925 close_not_cancel_no_status here.
42926 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42927
429282011-10-29 Ulrich Drepper <drepper@gmail.com>
42929
42930 [BZ #13276]
42931 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42932 return value.
42933
42934 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42935 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42936 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42937
429382011-07-03 Andreas Jaeger <aj@suse.de>
42939
42940 [BZ #10709]
42941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42942 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42943 * math/libm-test.inc (sin_test): Add test case.
42944
429452011-10-29 Ulrich Drepper <drepper@gmail.com>
42946
42947 [BZ #13337]
42948 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42949 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42950
42951 * elf/chroot_canon.c (chroot_canon): Cleanups.
42952
42953 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42954
42955 [BZ #13335]
42956 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42957 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42958
42959 * string/test-strchr.c: Make usable for strchrnul testing.
42960 * string/test-strchrnul.c: New file.
42961 * string/Makefile (strop-tests): Add strchrnul.
42962
42963 * po/it.po: Update from translation team.
42964 * po/es.po: Likewise.
42965
429662011-10-28 Ulrich Drepper <drepper@gmail.com>
42967
42968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42969 the three constants needed as parameters. Drop the others.
42970 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42971 __m128i_strloadu_tolower.
42972 Create and initialize variable zero and use it in all the places
42973 where _mm_setzero_si128 was used.
42974
42975 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42976 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42977 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42978 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42979 anymore.
42980 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42981 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42982 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42983 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42984 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42985 __mpranred, __mptan.
42986 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42987 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42988 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42989 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42990 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42991 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42993 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42994 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42995
429962011-10-28 Andreas Schwab <schwab@redhat.com>
42997
42998 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42999 redefine if SHARED.
43000 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43001
43002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43003 wide char related routines to wcsmbs subdir.
43004
430052011-10-27 Andreas Schwab <schwab@redhat.com>
43006
43007 [BZ #13344]
43008 * misc/sys/cdefs.h (__THROWNL): Define.
43009 * posix/unistd.h: Use __THREADNL instead of __THREAD
43010 for memory synchronization functions.
43011
430122011-10-26 Roland McGrath <roland@hack.frob.com>
43013
43014 [BZ #13349]
43015 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43016 doesn't exist.
43017 * manual/stdio.texi (Obstack Streams): Node removed.
43018
430192011-10-26 Andreas Schwab <schwab@redhat.com>
43020
43021 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43023 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43024
43025 * math/math_private.h (math_force_eval): Allow non-addressable
43026 arguments.
43027 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43028
430292011-10-25 Ulrich Drepper <drepper@gmail.com>
43030
43031 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43032 file is not needed.
43033
43034 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43037 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43039 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43041 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43042 Add AVX variants.
43043 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43044 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43045 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43046 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43047 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43048 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43049 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43050 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43051 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43052 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43053 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43054 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43055 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43056 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43057 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43058 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43059 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43060 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43061 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43062
43063 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43064 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43065
43066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43067 place. Use VEX encoding when compiling for AVX.
43068
430692011-10-25 Andreas Schwab <schwab@redhat.com>
43070
43071 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43072 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43073
43074 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43075
430762011-10-25 Ulrich Drepper <drepper@gmail.com>
43077
43078 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43079 useless if() expression.
43080 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43081 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43082 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43083 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43085 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43088 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43092 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43093 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43094 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43095 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43097 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43098 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43099
43100 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43101
431022011-10-25 Andreas Schwab <schwab@redhat.com>
43103
43104 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43105 condition.
43106 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43107
431082011-10-25 Ulrich Drepper <drepper@gmail.com>
43109
43110 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43111 .text section. Avoid duplicate constants.
43112 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43114 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43120 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43121 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43122 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43123 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43124 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43125 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43126 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43127 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43128 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43129 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43130 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43132 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43133 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43134 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43135 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43136 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43137 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43138 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43139 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43140 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43141 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43142 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43143 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43144 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43145 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43146 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43147 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43148 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43149 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43150 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43151 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43153 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43154 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43155 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43156 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43157
431582011-10-24 Ulrich Drepper <drepper@gmail.com>
43159
43160 * sysdeps/x86_64/dla.h: Move to ...
43161 * sysdeps/x86_64/fpu/dla.h: ...here.
43162 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43163 situations. Use __builtin_fma only for gcc 4.6 and up.
43164
43165 * config.make.in: Add have-mfma4 entry.
43166 * configure.in: Substitute libc_cv_cc_fma4.
43167 * math/Makefile (dbl-only-routines): Add sincostab.
43168 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43169 Use __sincostab not sincos.
43170 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43171 name is a macro.
43172 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43176 using __copysign.
43177 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43178 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43179 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43180 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43181 and __inv.
43182 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43183 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43184 __copysign.
43185 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43186 define aliases when function name is a macro.
43187 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43188 sysdeps/ieee754/dbl-64/sincos.tbl.
43189 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43190 fma4-enabled routines.
43191 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43192 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43193 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43194 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43196 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43200 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43201 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43202 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43203 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43204 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43205 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43206 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43207 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43208 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43209 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43210 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43211 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43212 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43214 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43217 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43218 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43219 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43220 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43221
43222 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43223 rename.
43224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43232
432332011-10-24 Andreas Schwab <schwab@redhat.com>
43234
43235 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43236
432372011-10-23 Ulrich Drepper <drepper@gmail.com>
43238
43239 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43240
43241 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43242 prediction.
43243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43244
43245 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43246 Remove unused variable magic_bits.
43247 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43248
43249 * string/strnlen.c: Define and use STRNLEN macro.
43250 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43251 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43253 * wcsmbs/wcslen.c: Define and use WCSLEN.
43254 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43255 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43256 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43257 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43258 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43259 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43260 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43261
432622011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43263
43264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43265 strnlen-sse2-no-bsf.
43266 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43268 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43269 Add strnlen support.
43270 (USE_AS_STRNLEN): New macro.
43271 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43272 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43273 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43274 * sysdeps/x86_64/wcslen.S: New file.
43275
432762011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43277
43278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43279 XMM-moves are used for copying on small sizes.
43280
432812011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43282
43283 * wcsmbs/Makefile (strop-tests): Add wcschr.
43284 * wcsmbs/test-wcschr.c: New file.
43285 * string/test-strchr.c: Update.
43286 Add wcschr support.
43287 (WIDE): New macro.
43288
432892011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43290
43291 * wcsmbs/Makefile (strop-tests): Add wcslen.
43292 * wcsmbs/test-wcslen.c: New file.
43293 * string/test-strlen.c: Update.
43294 Add wcslen support.
43295 (WIDE): New macro.
43296
432972011-10-23 Ulrich Drepper <drepper@gmail.com>
43298
43299 * po/it.po: Update from translation team.
43300
433012011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43302
43303 * sysdeps/x86_64/wcscmp.S: Update.
43304 Fix wrong comparison semantics.
43305 wcscmp shall use signed comparison not unsigned.
43306 Don't use substraction to avoid overflow bug.
43307 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43308 * wcsmbc/wcscmp.c: Likewise.
43309 * string/test-strcmp.c: Likewise.
43310 Add new tests to check cases with negative values.
43311
433122011-10-23 Ulrich Drepper <drepper@gmail.com>
43313
43314 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43315 * sysdeps/x86_64/dla.h: ...here. New file.
43316 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43321 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43324 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43325
433262011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43327
43328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43329 __ynl_finite aliases.
43330
433312011-10-22 Ulrich Drepper <drepper@gmail.com>
43332
43333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43334
43335 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43336 define DLA_FMA.
43337 [DLA_FMA] (EMULV): Use DLA_FMA.
43338 [DLA_FMA] (MUL12): Use EMULV.
43339 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43340 that are not needed.
43341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43348
433492011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43350
43351 * math/s_nan.c: Undef __nan.
43352 * math/s_nanf.c: Undef __nanf.
43353 * math/s_nanl.c: Undef __nanl.
43354 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43355 "math_private.h".
43356
433572011-10-22 Ulrich Drepper <drepper@gmail.com>
43358
43359 * math/s_catan.c: Add branch predictions.
43360 * math/s_catanf.c: Likewise.
43361 * math/s_catanh.c: Likewise.
43362 * math/s_catanhf.c: Likewise.
43363 * math/s_catanhl.c: Likewise.
43364 * math/s_catanl.c: Likewise.
43365 * math/s_cexp.c: Likewise.
43366 * math/s_cexpf.c: Likewise.
43367 * math/s_cexpl.c: Likewise.
43368 * math/s_clog.c: Likewise.
43369 * math/s_clog10.c: Likewise.
43370 * math/s_clog10f.c: Likewise.
43371 * math/s_clog10l.c: Likewise.
43372 * math/s_clogf.c: Likewise.
43373 * math/s_clogl.c: Likewise.
43374 * math/s_csqrt.c: Likewise.
43375 * math/s_csqrtf.c: Likewise.
43376 * math/s_csqrtl.c: Likewise.
43377 * math/s_ctanf.c: Likewise.
43378 * math/s_ctanh.c: Likewise.
43379 * math/s_ctanhf.c: Likewise.
43380 * math/s_ctanhl.c: Likewise.
43381 * math/s_ctanl.c: Likewise.
43382
43383 * math/math_private.h: Define __nan, __nanf, __nanl.
43384 * math/s_cacosh.c: Include <math_private.h>.
43385 * math/s_cacoshl.c: Likewise.
43386 * math/s_casinh.c: Likewise.
43387 * math/s_casinhf.c: Likewise.
43388 * math/s_casinhl.c: Likewise.
43389 * math/s_ccos.c: Rely entire on ccosh.
43390 * math/s_ccosf.c: Rely entire on ccoshf.
43391 * math/s_ccosl.c: Rely entirely on ccoshl.
43392 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43393 Remove tests for FE_INVALID.
43394 * math/s_ccoshf.c: Likewise.
43395 * math/s_ccoshl.c: Likewise.
43396 * math/s_csin.c: Likewise.
43397 * math/s_csinf.c: Likewise.
43398 * math/s_csinh.c Likewise.
43399 * math/s_csinhf.c: Likewise.
43400 * math/s_csinhl.c: Likewise.
43401 * math/s_csinl.c: Likewise.
43402 * math/s_ctan.c: Likewise.
43403 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43404 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43405 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43406
434072011-10-21 Ulrich Drepper <drepper@gmail.com>
43408
43409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43410 compilation problems.
43411
43412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43413 __builtin_expect.
43414
434152011-10-20 Ulrich Drepper <drepper@gmail.com>
43416
43417 * sysdeps/i386/configure.in: Test for -mfma4 option.
43418 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43419 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43420 COMMON_CPUID_INDEX_80000001.
43421 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43422 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43423 use it if FMA3 is not supported.
43424 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43425
43426 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43427 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43428
434292011-10-20 Andreas Schwab <schwab@redhat.com>
43430
43431 [BZ #12892]
43432 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43433 it would create a cycle with a link time dependency.
43434
434352011-10-19 Ulrich Drepper <drepper@gmail.com>
43436
43437 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43438 instruction.
43439 * string/Makefile (strop-tests): Add rawmemchr.
43440 * string/test-rawmemchr.c: New file.
43441
43442 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43443 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43444 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43445 when compiling str{,n}casecmp and when AVX is available. Hook up
43446 new optimized code in initializers.
43447
434482011-10-19 Andreas Schwab <schwab@redhat.com>
43449
43450 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43451 __feraiseexcept instead of feraiseexcept.
43452
434532011-10-18 Ulrich Drepper <drepper@gmail.com>
43454
43455 * math/math_private.h: Define defaults for libc_fetestexcept and
43456 libc_feupdateenv.
43457 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43458 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43459 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43460 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43461 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43462 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43463 libc_fetestexcept and libc_feupdateenv.
43464
43465 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43466 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43467 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43468 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43469 libc_feholdexcept_setround.
43470
43471 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43472 Add s_nearbyint-c and s_nearbyintf-c.
43473 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43474 nearbyintf inlines.
43475 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43476 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43477 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43478 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43479
43480 * math/math_private.h: Define defaults for libc_fegetround,
43481 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43482 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43483 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43485 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43486 standard functions.
43487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43488 Remove comments and hacks for old compiler versions.
43489 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43490 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43491 libc_feholdexceptl.
43492
434932011-10-18 Andreas Schwab <schwab@redhat.com>
43494
43495 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43496 (__feraiseexcept_renamed): Add __NTH.
43497 (feraiseexcept): Add __NTH. Rename local variables to fix
43498 namespace violations.
43499
435002011-10-17 Ulrich Drepper <drepper@gmail.com>
43501
43502 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43503
43504 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43505
43506 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43507 recently added interfaces.
43508 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43509
43510 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43511 about macro parameter expansion.
43512
43513 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43514 __NO_MATH_INLINES is defined. Cleanups.
43515
43516 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43517 and __floorf is target has SSE4.1.
43518 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43519 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43520 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43521 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43522
43523 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43524 name.
43525 (floorf): Likewise.
43526
43527 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43528
435292011-10-17 Andreas Schwab <schwab@redhat.com>
43530
43531 * misc/sys/cdefs.h: Fix last change.
43532
43533 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43534 database lookup.
43535
435362011-10-16 Ulrich Drepper <drepper@gmail.com>
43537
43538 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43539
43540 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43541 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43542 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43545 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43546 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43547 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43548 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43549 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43550 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43551 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43552 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43553 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43554 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43555 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43557 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43558 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43559 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43560 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43561 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43562
43563 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43564 ceil, ceilf, floor, floorf.
43565
43566 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43567 Perform IRELATIVE relocations last.
43568
43569 * elf/do-rel.h: Add another parameter nrelative, replacing the
43570 local variable with the same name. Change name of the function
43571 to end in Rel or Rela (uppercase).
43572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43573 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43574 elf_dynamic_do_##reloc function.
43575
435762011-10-15 Ulrich Drepper <drepper@gmail.com>
43577
43578 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43579 is sufficient, at least on modern CPUs.
43580
43581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43582
43583 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43584 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43585
43586 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43587 __expl_finite.
43588 * math/bits/math-finite.h: Add entries for exp.
43589 * math/e_expl.c: Add __*_finite alias.
43590 * sysdeps/i386/fpu/e_exp.S: Likewise.
43591 * sysdeps/i386/fpu/e_expf.S: Likewise.
43592 * sysdeps/i386/fpu/e_expl.c: Likewise.
43593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43594 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43595 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43597 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43598 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43599 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43600
43601 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43602 is sufficient, at least on modern CPUs.
43603
43604 * ctype/ctype-info.c (__ctype_init): Define.
43605 * include/ctype.h (__ctype_init): Declare.
43606 (__ctype_b_loc): The variable is always initialized.
43607 (__ctype_toupper_loc): Likewise.
43608 (__ctype_tolower_loc): Likewise.
43609 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43610 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43611
436122011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43613
43614 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43615
43616 * configure.in: Also look in $cxxmachine/include for C++ system
43617 headers.
43618
436192011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43620
43621 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43622 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43623 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43624 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43625 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43626 (USE_AS_WMEMCMP): New macro.
43627 Fixing indents.
43628 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43629 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43630 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43631 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43633 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43634 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43635 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43636 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43637 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43638 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43639 (USE_AS_WMEMCMP): New macro.
43640 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43641 * sysdeps/string/test-memcmp.c: Update.
43642 Fix simple_wmemcmp.
43643 Add new tests.
43644 * wcsmbs/wmemcmp.c: Update.
43645 (WMEMCMP): New macro.
43646 Fix overflow bug.
43647
436482011-10-12 Andreas Jaeger <aj@suse.de>
43649
43650 [BZ #13268]
43651 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43652
436532011-10-15 Ulrich Drepper <drepper@gmail.com>
43654
43655 * libio/iofwide.c (do_length): Avoid warning.
43656
43657 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43658
436592011-10-14 Ulrich Drepper <drepper@gmail.com>
43660
43661 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43662
43663 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43664 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43665 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43666 * sysdeps/i386/i686/fpu/e_log.S: New file.
43667 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43668 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43669
43670 * ctype/ctype.h: Add support for inlined isXXX functions when
43671 compiling C++ code.
43672
436732011-10-14 Andreas Schwab <schwab@redhat.com>
43674
43675 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43676
43677 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43678
436792011-10-13 Roland McGrath <roland@hack.frob.com>
43680
43681 [BZ #13291]
43682 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43683
436842011-10-13 Andreas Schwab <schwab@redhat.com>
43685
43686 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43687 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43688 feraiseexcept.
43689
43690 * sysdeps/x86_64/memrchr.S: Check for zero size.
43691
43692 * string/stratcliff.c: Add memrchr tests.
43693
436942011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43695
43696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43697 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43698 rawmemchr-sse2 rawmemchr-sse2-bsf.
43699 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43700 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43701 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43702 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43703 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43704 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43705 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43706 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43707 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43708 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43709 * string/memrchr.c (MEMRCHR): New macro.
43710
437112011-10-12 Ulrich Drepper <drepper@gmail.com>
43712
43713 Add integration with gcc's -ffinite-math-only and optimize wrapper
43714 functions in libm.
43715 * Versions.def: Define GLIBC_2.15 version for libm.
43716 * math/Makefile (headers): Add bits/math-finite.h.
43717 * math/bits/math-finite.h: New file.
43718 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43719 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43720 * math/e_acoshl.c: Add __*_finite alias.
43721 * math/e_acosl.c: Likewise.
43722 * math/e_asinl.c: Likewise.
43723 * math/e_atan2l.c: Likewise.
43724 * math/e_atanhl.c: Likewise.
43725 * math/e_coshl.c: Likewise.
43726 * math/e_exp10.c: Likewise.
43727 * math/e_exp10f.c: Likewise.
43728 * math/e_exp10l.c: Likewise.
43729 * math/e_exp2l.c: Likewise.
43730 * math/e_fmodl.c: Likewise.
43731 * math/e_gammal_r.c: Likewise.
43732 * math/e_hypotl.c: Likewise.
43733 * math/e_j0l.c: Likewise.
43734 * math/e_j1l.c: Likewise.
43735 * math/e_jnl.c: Likewise.
43736 * math/e_lgammal_r.c: Likewise.
43737 * math/e_log10l.c: Likewise.
43738 * math/e_log2l.c: Likewise.
43739 * math/e_logl.c: Likewise.
43740 * math/e_powl.c: Likewise.
43741 * math/e_sinhl.c: Likewise.
43742 * math/e_sqrtl.c: Likewise.
43743 * math/e_scalb.c: Completely rewritten and optimized.
43744 * math/e_scalbf.c: Likewise.
43745 * math/e_scalbl.c: Likewise.
43746 * math/w_acos.c: Likewise.
43747 * math/w_acosf.c: Likewise.
43748 * math/w_acosl.c: Likewise.
43749 * math/w_acosh.c: Likewise.
43750 * math/w_acoshf.c: Likewise.
43751 * math/w_acoshl.c: Likewise.
43752 * math/w_asin.c: Likewise.
43753 * math/w_asinf.c: Likewise.
43754 * math/w_asinl.c: Likewise.
43755 * math/w_atan2.c: Likewise.
43756 * math/w_atan2f.c: Likewise.
43757 * math/w_atan2l.c: Likewise.
43758 * math/w_atanh.c: Likewise.
43759 * math/w_atanhf.c: Likewise.
43760 * math/w_atanhl.c: Likewise.
43761 * math/w_exp10.c: Likewise.
43762 * math/w_exp10f.c: Likewise.
43763 * math/w_exp10l.c: Likewise.
43764 * math/w_fmod.c: Likewise.
43765 * math/w_fmodf.c: Likewise.
43766 * math/w_fmodl.c: Likewise.
43767 * math/w_j0.c: Likewise.
43768 * math/w_j0f.c: Likewise.
43769 * math/w_j0l.c: Likewise.
43770 * math/w_j1.c: Likewise.
43771 * math/w_j1f.c: Likewise.
43772 * math/w_j1l.c: Likewise.
43773 * math/w_jn.c: Likewise.
43774 * math/w_jnf.c: Likewise.
43775 * math/w_log.c: Likewise.
43776 * math/w_logf.c: Likewise.
43777 * math/w_logl.c: Likewise.
43778 * math/w_log10.c: Likewise.
43779 * math/w_log10f.c: Likewise.
43780 * math/w_log10l.c: Likewise.
43781 * math/w_log2.c: Likewise.
43782 * math/w_log2f.c: Likewise.
43783 * math/w_log2l.c: Likewise.
43784 * math/w_pow.c: Likewise.
43785 * math/w_powf.c: Likewise.
43786 * math/w_powl.c: Likewise.
43787 * math/w_remainder.c: Likewise.
43788 * math/w_remainderf.c: Likewise.
43789 * math/w_remainderl.c: Likewise.
43790 * math/w_scalb.c: Likewise.
43791 * math/w_scalbf.c: Likewise.
43792 * math/w_scalbl.c: Likewise.
43793 * math/w_sqrt.c: Likewise.
43794 * math/w_sqrtf.c: Likewise.
43795 * math/w_sqrtl.c: Likewise.
43796 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43797 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43798 used.
43799 * math/math_private.h: Declare __kernel_standard_f.
43800 * math/w_cosh.c: Remove cruft and optimize a bit.
43801 * math/w_coshf.c: Likewise.
43802 * math/w_coshl.c: Likewise.
43803 * math/w_exp2.c: Likewise.
43804 * math/w_exp2f.c: Likewise.
43805 * math/w_exp2l.c: Likewise.
43806 * math/w_hypot.c: Likewise.
43807 * math/w_hypotf.c: Likewise.
43808 * math/w_hypotl.c: Likewise.
43809 * math/w_lgamma.c: Likewise.
43810 * math/w_lgamma_r.c: Likewise.
43811 * math/w_lgammaf.c: Likewise.
43812 * math/w_lgammaf_r.c: Likewise.
43813 * math/w_lgammal.c: Likewise.
43814 * math/w_lgammal_r.c: Likewise.
43815 * math/w_sinh.c: Likewise.
43816 * math/w_sinhf.c: Likewise.
43817 * math/w_sinhl.c: Likewise.
43818 * math/w_tgamma.c: Likewise.
43819 * math/w_tgammaf.c: Likewise.
43820 * math/w_tgammal.c: Likewise.
43821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43823 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43824 Minor optimizations. Pretty printing. Remove cruft.
43825 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43826 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43827 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43829 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43830 * sysdeps/i386/fpu/e_asin.S: Likewise.
43831 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43832 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43833 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43834 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43835 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43836 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43837 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43838 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43839 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43840 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43841 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43842 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43843 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43844 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43845 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43846 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43847 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43848 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43849 * sysdeps/i386/fpu/e_log.S: Likewise.
43850 * sysdeps/i386/fpu/e_log10.S: Likewise.
43851 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43852 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43853 * sysdeps/i386/fpu/e_log2.S: Likewise.
43854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43855 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43856 * sysdeps/i386/fpu/e_logf.S: Likewise.
43857 * sysdeps/i386/fpu/e_logl.S: Likewise.
43858 * sysdeps/i386/fpu/e_pow.S: Likewise.
43859 * sysdeps/i386/fpu/e_powf.S: Likewise.
43860 * sysdeps/i386/fpu/e_powl.S: Likewise.
43861 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43862 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43863 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43865 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43866 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43867 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43868 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43869 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43870 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43873 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43874 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43875 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43876 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43877 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43879 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43880 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43881 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43883 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43884 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43886 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43887 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43888 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43890 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43891 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43892 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43893 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43894 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43895 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43896 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43897 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43898 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43899 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43900 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43901 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43902 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43903 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43904 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43905 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43906 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43907 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43908 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43909 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43910 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43912 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43913 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43914 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43915 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43916 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43917 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43918 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43919 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43920 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43925 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43926 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43927 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43928 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43929 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43930 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43931 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43932 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43934 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43936 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43938 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43939 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43940 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43941 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43944 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43946 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43951 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43952 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43953 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43954 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43955 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43957 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43958 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43959 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43960 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43961 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43962 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43963 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43964 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43965 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43966 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43967 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43968 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43969 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43970 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43971 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43972 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43973 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43974 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43975 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43976 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43978 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43979 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43980 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43981 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43982 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43983 (__isnanf): Likewise.
43984 (__isinf_ns): Likewise.
43985 (__isinf_nsf): Likewise.
43986 (__finite): Likewise.
43987 (__finitef): Likewise.
43988 (__ieee754_sqrt): Define as macro.
43989 (__ieee754_sqrtf): Define as macro.
43990 (__ieee754_sqrtl): Define as macro.
43991 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43992 inlined copy.
43993 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43994 __FINITE_MATH_ONLY__ consistent.
43995 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43996
439972011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43998
43999 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44000 of rawmemchr.
44001
44002 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44003
440042011-10-09 Ulrich Drepper <drepper@gmail.com>
44005
44006 * po/ja.po: Update from translation team.
44007
440082011-10-08 Roland McGrath <roland@hack.frob.com>
44009
44010 * locale/programs/locarchive.c (prepare_address_space): New function.
44011 (create_archive, enlarge_archive, open_archive): Use it.
44012
44013 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44014 inside [SHARED], where it is used.
44015
44016 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44017
44018 * nss/getent.c (netgroup_keys): Remove unused variable.
44019 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44020
440212011-10-08 Ulrich Drepper <drepper@gmail.com>
44022
44023 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44024 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44026 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44027 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44028 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44029 * math/Makefile (libm-calls): Add s_isinf_ns.
44030 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44031 * math/multc3.c: Likewise.
44032 * math/s_casin.c: Likewise.
44033 * math/s_casinf.c: Likewise.
44034 * math/s_casinl.c: Likewise.
44035 * math/s_ccos.c: Likewise.
44036 * math/s_ccosf.c: Likewise.
44037 * math/s_ccosl.c: Likewise.
44038 * math/s_ctan.c: Likewise.
44039 * math/s_ctanf.c: Likewise.
44040 * math/s_ctanh.c: Likewise.
44041 * math/s_ctanhf.c: Likewise.
44042 * math/s_ctanhl.c: Likewise.
44043 * math/s_ctanl.c: Likewise.
44044 * math/w_fmod.c: Likewise.
44045 * math/w_fmodf.c: Likewise.
44046 * math/w_fmodl.c: Likewise.
44047 * math/w_remainder.c: Likewise.
44048 * math/w_remainderf.c: Likewise.
44049 * math/w_remainderl.c: Likewise.
44050 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44051 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44052 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44054 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44055 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44056 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44057 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44058
44059 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44060 of the number.
44061 * stdio-common/printf_fphex.c: Likewise.
44062 * stdio-common/printf_size.c: Likewise.
44063
44064 * math/e_exp10.c: Include math_private.h using <...> not "...".
44065 * math/e_exp10f.c: Likewise.
44066 * math/e_exp10l.c: Likewise.
44067 * math/e_exp2l.c: Likewise.
44068 * math/e_j0l.c: Likewise.
44069 * math/e_j1l.c: Likewise.
44070 * math/e_jnl.c: Likewise.
44071 * math/e_lgammal_r.c: Likewise.
44072 * math/e_rem_pio2l.c: Likewise.
44073 * math/e_scalb.c: Likewise.
44074 * math/e_scalbf.c: Likewise.
44075 * math/e_scalbl.c: Likewise.
44076 * math/k_cosl.c: Likewise.
44077 * math/k_sinl.c: Likewise.
44078 * math/k_tanl.c: Likewise.
44079 * math/s_cacoshf.c: Likewise.
44080 * math/s_catan.c: Likewise.
44081 * math/s_catanf.c: Likewise.
44082 * math/s_catanh.c: Likewise.
44083 * math/s_catanhf.c: Likewise.
44084 * math/s_catanhl.c: Likewise.
44085 * math/s_catanl.c: Likewise.
44086 * math/s_ccosh.c: Likewise.
44087 * math/s_ccoshf.c: Likewise.
44088 * math/s_ccoshl.c: Likewise.
44089 * math/s_cexp.c: Likewise.
44090 * math/s_cexpf.c: Likewise.
44091 * math/s_cexpl.c: Likewise.
44092 * math/s_clog.c: Likewise.
44093 * math/s_clog10.c: Likewise.
44094 * math/s_clog10f.c: Likewise.
44095 * math/s_clog10l.c: Likewise.
44096 * math/s_clogf.c: Likewise.
44097 * math/s_clogl.c: Likewise.
44098 * math/s_csin.c: Likewise.
44099 * math/s_csinf.c: Likewise.
44100 * math/s_csinh.c: Likewise.
44101 * math/s_csinhf.c: Likewise.
44102 * math/s_csinhl.c: Likewise.
44103 * math/s_csinl.c: Likewise.
44104 * math/s_csqrt.c: Likewise.
44105 * math/s_csqrtf.c: Likewise.
44106 * math/s_csqrtl.c: Likewise.
44107 * math/s_ctan.c: Likewise.
44108 * math/s_ctanf.c: Likewise.
44109 * math/s_ctanh.c: Likewise.
44110 * math/s_ctanhf.c: Likewise.
44111 * math/s_ctanhl.c: Likewise.
44112 * math/s_ctanl.c: Likewise.
44113 * math/s_ldexp.c: Likewise.
44114 * math/s_ldexpf.c: Likewise.
44115 * math/s_ldexpl.c: Likewise.
44116 * math/s_significand.c: Likewise.
44117 * math/s_significandf.c: Likewise.
44118 * math/s_significandl.c: Likewise.
44119 * math/w_acos.c: Likewise.
44120 * math/w_acosf.c: Likewise.
44121 * math/w_acosh.c: Likewise.
44122 * math/w_acoshf.c: Likewise.
44123 * math/w_acoshl.c: Likewise.
44124 * math/w_acosl.c: Likewise.
44125 * math/w_asin.c: Likewise.
44126 * math/w_asinf.c: Likewise.
44127 * math/w_asinl.c: Likewise.
44128 * math/w_atan2.c: Likewise.
44129 * math/w_atan2f.c: Likewise.
44130 * math/w_atan2l.c: Likewise.
44131 * math/w_atanh.c: Likewise.
44132 * math/w_atanhf.c: Likewise.
44133 * math/w_atanhl.c: Likewise.
44134 * math/w_cosh.c: Likewise.
44135 * math/w_coshf.c: Likewise.
44136 * math/w_coshl.c: Likewise.
44137 * math/w_dremf.c: Likewise.
44138 * math/w_exp10.c: Likewise.
44139 * math/w_exp10f.c: Likewise.
44140 * math/w_exp10l.c: Likewise.
44141 * math/w_exp2.c: Likewise.
44142 * math/w_exp2f.c: Likewise.
44143 * math/w_fmod.c: Likewise.
44144 * math/w_fmodf.c: Likewise.
44145 * math/w_fmodl.c: Likewise.
44146 * math/w_hypot.c: Likewise.
44147 * math/w_hypotf.c: Likewise.
44148 * math/w_hypotl.c: Likewise.
44149 * math/w_j0.c: Likewise.
44150 * math/w_j0f.c: Likewise.
44151 * math/w_j0l.c: Likewise.
44152 * math/w_j1.c: Likewise.
44153 * math/w_j1f.c: Likewise.
44154 * math/w_j1l.c: Likewise.
44155 * math/w_jn.c: Likewise.
44156 * math/w_jnf.c: Likewise.
44157 * math/w_jnl.c: Likewise.
44158 * math/w_lgamma.c: Likewise.
44159 * math/w_lgamma_r.c: Likewise.
44160 * math/w_lgammaf.c: Likewise.
44161 * math/w_lgammaf_r.c: Likewise.
44162 * math/w_lgammal.c: Likewise.
44163 * math/w_lgammal_r.c: Likewise.
44164 * math/w_log.c: Likewise.
44165 * math/w_log10.c: Likewise.
44166 * math/w_log10f.c: Likewise.
44167 * math/w_log10l.c: Likewise.
44168 * math/w_log2.c: Likewise.
44169 * math/w_log2f.c: Likewise.
44170 * math/w_log2l.c: Likewise.
44171 * math/w_logf.c: Likewise.
44172 * math/w_logl.c: Likewise.
44173 * math/w_pow.c: Likewise.
44174 * math/w_powf.c: Likewise.
44175 * math/w_powl.c: Likewise.
44176 * math/w_remainder.c: Likewise.
44177 * math/w_remainderf.c: Likewise.
44178 * math/w_remainderl.c: Likewise.
44179 * math/w_scalb.c: Likewise.
44180 * math/w_scalbf.c: Likewise.
44181 * math/w_scalbl.c: Likewise.
44182 * math/w_sinh.c: Likewise.
44183 * math/w_sinhf.c: Likewise.
44184 * math/w_sinhl.c: Likewise.
44185 * math/w_sqrt.c: Likewise.
44186 * math/w_sqrtf.c: Likewise.
44187 * math/w_sqrtl.c: Likewise.
44188 * math/w_tgamma.c: Likewise.
44189 * math/w_tgammaf.c: Likewise.
44190 * math/w_tgammal.c: Likewise.
44191
44192 * po/ja.po: Update from translation team.
44193
441942011-09-29 Andreas Jaeger <aj@suse.de>
44195
44196 [BZ #13179]
44197 * sunrpc/netname.c (netname2host): Fix logic.
44198
44199 [BZ #6779]
44200 [BZ #6783]
44201 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44202 correctly.
44203 * math/w_remainder.c (__remainder): Likewise.
44204 * math/w_remainderf.c (__remainderf): Likewise.
44205 * math/libm-test.inc (remainder_test): Add test cases.
44206
442072011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44208
44209 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44210 sdiv_qrnnd.
44211
442122011-10-07 Ulrich Drepper <drepper@gmail.com>
44213
44214 * string/test-memcmp.c: Avoid unncessary #defines.
44215 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44216
442172011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44218
44219 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44220 Use new sse2 version for core i3 - i7 as it's faster
44221 than sse42 version.
44222 (bit_Prefer_PMINUB_for_stringop): New.
44223 * sysdeps/x86_64/rawmemchr.S: Update.
44224 Replace with faster SSE2 version.
44225 * sysdeps/x86_64/memrchr.S: New file.
44226 * sysdeps/x86_64/memchr.S: Update.
44227 Replace with faster SSE2 version.
44228
442292011-09-12 Marek Polacek <mpolacek@redhat.com>
44230
44231 * elf/dl-load.c (lose): Add cast to avoid warning.
44232
442332011-10-07 Ulrich Drepper <drepper@gmail.com>
44234
44235 * po/ca.po: Update from translation team.
44236
44237 * inet/getnetgrent_r.c: Hook up nscd.
44238 * nscd/Makefile (routines): Add nscd_netgroup.
44239 (nscd-modules): Add netgroupcache.
44240 (CFLAGS-netgroupcache.c): Define.
44241 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44242 (cache_search): Add const to second parameter.
44243 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44244 INNETGR.
44245 (dbs): Add netgrdb entry.
44246 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44247 (verify_persistent_db): Handle netgrdb.
44248 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44249 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44250 GETFDNETGR.
44251 (netgroup_response_header): Define.
44252 (innetgroup_response_header): Define.
44253 (datahead): Add netgroup_response_header and innetgroup_response_header
44254 elements.
44255 * nscd/nscd.conf: Add entries for netgroup cache.
44256 * nscd/nscd.h (dbtype): Add netgrdb.
44257 (_PATH_NSCD_NETGROUP_DB): Define.
44258 (netgroup_iov_disabled): Declare.
44259 (xmalloc, xcalloc, xrealloc): Move declarations here.
44260 (cache_search): Adjust prototype.
44261 Add netgroup-related prototypes.
44262 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44263 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44264 (__nscd_innetgr): Declare.
44265 * nscd/selinux.c (perms): Use access_vector_t as element type and
44266 add netgroup-related initializers.
44267 * nscd/netgroupcache.c: New file.
44268 * nscd/nscd_netgroup.c: New file.
44269 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44270 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44271 For four parameters use innetgr.
44272 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44273 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44274 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44275 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44276
44277 * nscd/connections.c (register_traced_file): Don't register file
44278 for disabled databases.
44279
442802011-10-06 Ulrich Drepper <drepper@gmail.com>
44281
44282 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44283
44284 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44285 from tree and freeing node.
44286
442872011-09-25 Jiri Olsa <jolsa@redhat.com>
44288
44289 * nss/nsswitch.c (__nss_database_lookup): Handle
44290 nss_parse_service_list out of memory case.
44291
442922011-09-15 Jiri Olsa <jolsa@redhat.com>
44293
44294 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44295 out of memory case.
44296
442972011-10-04 Andreas Schwab <schwab@redhat.com>
44298
44299 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44300 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44301 pass it down.
44302 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44303 elf_machine_rela, elf_machine_lazy_rel.
44304 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44305 (ELF_DYNAMIC_DO_REL): Likewise.
44306 (ELF_DYNAMIC_DO_RELA): Likewise.
44307 (ELF_DYNAMIC_RELOCATE): Likewise.
44308 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44309 to ELF_DYNAMIC_DO_REL.
44310 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44311 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44312 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44313 elf_machine_rela.
44314 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44315 skip_ifunc, don't call ifunc function if non-zero.
44316 (elf_machine_rela): Likewise.
44317 (elf_machine_lazy_rel): Likewise.
44318 (elf_machine_lazy_rela): Likewise.
44319 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44320 (elf_machine_lazy_rel): Likewise.
44321 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44322 Likewise.
44323 (elf_machine_lazy_rel): Likewise.
44324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44325 Likewise.
44326 (elf_machine_lazy_rel): Likewise.
44327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44328 (elf_machine_lazy_rel): Likewise.
44329 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44330 (elf_machine_lazy_rel): Likewise.
44331 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44332 (elf_machine_lazy_rel): Likewise.
44333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44334 (elf_machine_lazy_rel): Likewise.
44335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44336 (elf_machine_lazy_rel): Likewise.
44337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44338 (elf_machine_lazy_rel): Likewise.
44339
443402011-09-28 Ulrich Drepper <drepper@gmail.com>
44341
44342 * nss/nss_files/files-init.c (_nss_files_init): Use static
44343 initialization for all the *_traced_file variables.
44344
443452011-09-28 Andreas Schwab <schwab@redhat.com>
44346
44347 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44348
443492011-09-27 Roland McGrath <roland@hack.frob.com>
44350
44351 [BZ #13226]
44352 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44353
443542011-09-27 Andreas Schwab <schwab@redhat.com>
44355
44356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44357 Reread the line before reparsing it.
44358
443592011-09-26 Andreas Schwab <schwab@redhat.com>
44360
44361 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44362
443632011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44364 Maxim Kuvyrkov <maxim@codesourcery.com>
44365 Joseph Myers <joseph@codesourcery.com>
44366
44367 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44368 if needed for __stack_chk_guard.
44369
443702011-09-19 Roland McGrath <roland@hack.frob.com>
44371
44372 * sysdeps/posix/spawni.c (script_execute): Always define it.
44373 It will be optimized away if unused.
44374 (maybe_script_execute): New function.
44375 (__spawni): Call it.
44376
44377 * Makerules: Don't include tls.make.
44378 (config-tls): Always set to thread.
44379 * tls.make.c: File removed.
44380
443812011-09-19 Mike Frysinger <vapier@gentoo.org>
44382
44383 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44384 * config.make.in (CPPFLAGS-config): New substituted variable.
44385
443862011-09-15 Ulrich Drepper <drepper@gmail.com>
44387
44388 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44389
44390 [BZ #13192]
44391 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44392 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44393
443942011-09-15 Roland McGrath <roland@hack.frob.com>
44395
44396 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44397 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44399 (CALL_FAIL): Likewise.
44400 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44401 (CALL_FAIL): Macro removed.
44402 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44403
444042011-09-15 Ulrich Drepper <drepper@gmail.com>
44405
44406 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44407 for __FINITE_MATH_ONLY__ == 1.
44408
444092011-09-15 Andreas Schwab <schwab@redhat.com>
44410
44411 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44412 __ieee754_sqrt instead of sqrt.
44413 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44414 __ieee754_sqrtf instead of sqrtf.
44415 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44416 __floorf instead of floorf.
44417 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44418 __floorf, __truncf instead of floorf, truncf.
44419
444202011-09-14 Ulrich Drepper <drepper@gmail.com>
44421
44422 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44423
44424 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44425 __extern_always_inline.
44426 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44427 32-bit.
44428
444292011-09-14 Andreas Schwab <schwab@redhat.com>
44430
44431 * elf/rtld.c (dl_main): Also relocate in dependency order when
44432 doing symbol dependency testing.
44433
444342011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44435
44436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44437 Always define `refsym'.
44438
444392011-09-13 Andreas Schwab <schwab@redhat.com>
44440
44441 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44442 (__FD_ELT): Renamed from __FDELT.
44443 * misc/bits/select2.h (__FD_ELT): Likewise.
44444 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44445 __FD_MASK instead of __FDELT, __FDMASK.
44446 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44447 Likewise.
44448 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44449 Likewise.
44450
44451 * elf/Makefile (gen-ldd): Fix pattern.
44452
44453 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44454 (init_tls): Likewise.
44455
444562011-09-12 Ulrich Drepper <drepper@gmail.com>
44457
44458 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44459
444602011-09-12 Andreas Schwab <schwab@redhat.com>
44461
44462 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44463 `struct cmsghdr *' instead of `void *'.
44464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44465 Likewise.
44466
444672011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44468
44469 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44470 if non-absolute.
44471 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44472 ldd_rewrite_script.
44473
444742011-09-11 Ulrich Drepper <drepper@gmail.com>
44475
44476 * configure.in: Remove --with-tls option.
44477 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44478 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44479 out in case it is missing.
44480 * sysdeps/ia64/elf/configure.in: Likewise.
44481 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44482 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44483 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44484 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44485 * sysdeps/sh/elf/configure.in: Likewise.
44486 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44487 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44488 * sysdeps/x86_64/elf/configure.in: Likewise.
44489 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44490 * sysdeps/mach/hurd/tls.h: Likewise.
44491
44492 [BZ #13067]
44493 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44494
44495 [BZ #13090]
44496 * configure.in: Fix use of AC_INIT.
44497
44498 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44499
445002011-09-10 Ulrich Drepper <drepper@gmail.com>
44501
44502 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44503 __set_errno.
44504 * malloc/hooks.c: Likewise.
44505
44506 [BZ #11929]
44507 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44508 variables statically.
44509 (narenas): Initialize.
44510 (list_lock): Initialize.
44511 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44512 initializtion of main_arena and list_lock. Small cleanups.
44513 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44514 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44515 Add initializers to main_arena and mp_.
44516 (malloc_state): Remove pagesize member. Change all users to use
44517 GLRO(dl_pagesize).
44518
44519 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44520 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44521 is always initialized.
44522
44523 * malloc/malloc.c: Removed unused configurations and dead code.
44524 * malloc/arena.c: Likewise.
44525 * malloc/hooks.c: Likewise.
44526 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44527
44528 * include/tls.h: Removed. USE___THREAD must always be defined.
44529 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44530 * elf/dl-libc.c: Likewise.
44531 * elf/dl-tsd.c: Likewise.
44532 * include/errno.h: Likewise.
44533 * include/netdb.h: Likewise.
44534 * include/resolv.h: Likewise.
44535 * inet/herrno-loc.c: Likewise.
44536 * inet/herrno.c: Likewise.
44537 * malloc/arena.c: Likewise.
44538 * malloc/hooks.c: Likewise.
44539 * malloc/malloc.c: Likewise.
44540 * resolv/res-state.c: Likewise.
44541 * resolv/res_libc.c: Likewise.
44542 * sysdeps/i386/dl-machine.h: Likewise.
44543 * sysdeps/ia64/dl-machine.h: Likewise.
44544 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44545 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44546 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44547 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44548 * sysdeps/sh/dl-machine.h: Likewise.
44549 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44550 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44551 * sysdeps/unix/i386/sysdep.S: Likewise.
44552 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44553 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44555 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44557 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44558 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44562 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44563 * sysdeps/x86_64/dl-machine.h: Likewise.
44564 * tls.make.c: Likewise.
44565
44566 * configure.in: Remove --with-__thread option. Make tests for
44567 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44568 tls_model attribute fail if no support is available. Remove
44569 USE_IN_LIBIO.
44570 * Makeconfig: Adjust for dropped configure option. All features are
44571 now mandatory.
44572 * Makerules: Likewise.
44573 * Versions.def: Likewise.
44574 * argp/argp-fmtstream.c: Likewise.
44575 * argp/argp-fmtstream.h: Likewise.
44576 * argp/argp-help.c: Likewise.
44577 * assert/assert.c: Likewise.
44578 * config.h.in: Likewise.
44579 * config.make.in: Likewise.
44580 * configure: Likewise.
44581 * configure.in: Likewise.
44582 * csu/Versions: Likewise.
44583 * csu/init.c: Likewise.
44584 * elf/tst-audit2.c: Likewise.
44585 * elf/tst-tls10.c: Likewise.
44586 * elf/tst-tls10.h: Likewise.
44587 * elf/tst-tls11.c: Likewise.
44588 * elf/tst-tls12.c: Likewise.
44589 * elf/tst-tls14.c: Likewise.
44590 * elf/tst-tlsmod11.c: Likewise.
44591 * elf/tst-tlsmod12.c: Likewise.
44592 * elf/tst-tlsmod13.c: Likewise.
44593 * elf/tst-tlsmod13a.c: Likewise.
44594 * elf/tst-tlsmod14a.c: Likewise.
44595 * elf/tst-tlsmod15b.c: Likewise.
44596 * elf/tst-tlsmod16a.c: Likewise.
44597 * elf/tst-tlsmod16b.c: Likewise.
44598 * elf/tst-tlsmod7.c: Likewise.
44599 * elf/tst-tlsmod8.c: Likewise.
44600 * elf/tst-tlsmod9.c: Likewise.
44601 * gmon/gmon.c: Likewise.
44602 * grp/fgetgrent_r.c: Likewise.
44603 * grp/putgrent.c: Likewise.
44604 * hurd/fopenport.c: Likewise.
44605 * include/libc-symbols.h: Likewise.
44606 * include/tls.h: Likewise.
44607 * intl/gettextP.h: Likewise.
44608 * intl/loadinfo.h: Likewise.
44609 * locale/global-locale.c: Likewise.
44610 * locale/localeinfo.h: Likewise.
44611 * mach/devstream.c: Likewise.
44612 * malloc/arena.c: Likewise.
44613 * malloc/set-freeres.c: Likewise.
44614 * misc/err.c: Likewise.
44615 * misc/getttyent.c: Likewise.
44616 * misc/mntent_r.c: Likewise.
44617 * posix/getopt.c: Likewise.
44618 * posix/wordexp.c: Likewise.
44619 * pwd/fgetpwent_r.c: Likewise.
44620 * resolv/Versions: Likewise.
44621 * resolv/res_hconf.c: Likewise.
44622 * shadow/fgetspent_r.c: Likewise.
44623 * shadow/putspent.c: Likewise.
44624 * stdio-common/printf_fphex.c: Likewise.
44625 * stdio-common/tmpfile.c: Likewise.
44626 * stdlib/abort.c: Likewise.
44627 * stdlib/fmtmsg.c: Likewise.
44628 * sunrpc/auth_unix.c: Likewise.
44629 * sunrpc/clnt_perr.c: Likewise.
44630 * sunrpc/clnt_tcp.c: Likewise.
44631 * sunrpc/clnt_udp.c: Likewise.
44632 * sunrpc/clnt_unix.c: Likewise.
44633 * sunrpc/openchild.c: Likewise.
44634 * sunrpc/svc_simple.c: Likewise.
44635 * sunrpc/svc_tcp.c: Likewise.
44636 * sunrpc/svc_udp.c: Likewise.
44637 * sunrpc/svc_unix.c: Likewise.
44638 * sunrpc/xdr.c: Likewise.
44639 * sunrpc/xdr_array.c: Likewise.
44640 * sunrpc/xdr_rec.c: Likewise.
44641 * sunrpc/xdr_ref.c: Likewise.
44642 * sunrpc/xdr_stdio.c: Likewise.
44643
446442011-09-09 Ulrich Drepper <drepper@gmail.com>
44645
44646 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44647
446482011-07-03 Andreas Jaeger <aj@suse.de>
44649
44650 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44651 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44652 regenerate with gen-libm-tests.pl.
44653
446542010-05-12 Petr Baudis <pasky@suse.cz>
44655
44656 [BZ #11589]
44657 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44658 around j0() zero points by switching to j1().
44659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44663
446642011-09-09 Ulrich Drepper <drepper@gmail.com>
44665
44666 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44667 instead of 0.
44668 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44669 instead of 0.
44670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44671 Patch in part by Pavel Roskin <proski@gnu.org>.
44672
44673 [BZ #13138]
44674 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44675 realloc.
44676 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44677 Free memory block if necessary.
44678
44679 [BZ #12847]
44680 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44681 be NULL. Don't lock in this case.
44682
446832011-09-09 Roland McGrath <roland@hack.frob.com>
44684
44685 * elf/elf.h (ELFOSABI_GNU): New macro.
44686 (ELFOSABI_LINUX): Define to that.
44687
446882011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44689
44690 * string/strncat.c (strncat): Undef the symbol in case it has been
44691 defined in bits/string.h.
44692
446932011-09-09 Ulrich Drepper <drepper@gmail.com>
44694
44695 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44696
44697 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44698 link map.
44699
447002011-08-17 Andreas Jaeger <aj@suse.de>
44701
44702 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44703
447042011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44705 Ian Lance Taylor <iant@google.com>
44706
44707 * math/libm-test.inc (lround_test): New testcase.
44708 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44709
447102011-09-08 Ulrich Drepper <drepper@gmail.com>
44711
44712 * Makefile: Remove support for automatic cvs check-ins.
44713 * Makerules: Likewise.
44714 * config.make.in: Likewise.
44715 * configure.in: Likewise.
44716 * intl/Makefile: Likewise.
44717 * locale/Makefile: Likewise.
44718 * po/Makefile: Likewise.
44719 * posix/Makefile: Likewise.
44720 * sysdeps/gnu/Makefile: Likewise.
44721 * sysdeps/mach/hurd/Makefile: Likewise.
44722 * sysdeps/sparc/sparc32/Makefile: Likewise.
44723
44724 [BZ #13118]
44725 * posix/Makefile (bug-regex32-ENV): Define.
44726 Patch by John Stanley <jpsinthemix@verizon.net>.
44727
44728 * misc/Makefile (headers): Add bits/select2.h.
44729 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44730 * misc/bits/select2.h: New file.
44731 * include/bits/select2.h: New file.
44732 * debug/Makefile (routines): Add fdelt_chk.
44733 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44734 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44735 FD_ISSET.
44736 * debug/fdelt_chk.c: New file.
44737
44738 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44739 * wcsmbs/test-wmemcmp.c: Likewise.
44740 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44741 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44742
447432011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44744
44745 * string/Makefile (strop-tests): Add memcmp.
44746 * string/test-wmemcmp.c: New file.
44747 * string/test-memcmp.c: Add wmemcmp support.
44748
447492011-09-08 Roland McGrath <roland@hack.frob.com>
44750
44751 [BZ #13153]
44752 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44753 2011-07-19 change.
44754
44755 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44756 garbage value in a __mach_port_mod_refs call in the cases of the
44757 task-self and thread-self ports.
44758
447592011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44760
44761 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44762
447632011-09-08 Andreas Schwab <schwab@redhat.com>
44764
44765 * elf/dl-load.c (lose): Check for non-null L.
44766
447672011-09-07 Ulrich Drepper <drepper@gmail.com>
44768
44769 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44770
44771 * elf/dl-libc.c (dlerror_run): Pass back error code from
44772 dl_catch_error.
44773
44774 [BZ #13123]
44775 * elf/dl-load.c (lose): Free l_origin if it is valid.
44776
44777 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44778 names.
44779 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44780 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44781 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44782 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44783 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44784 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44785
447862011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44787
44788 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44789 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44791 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44792 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44793 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44794 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44795 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44796 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44797 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44798
447992011-08-15 Alan Modra <amodra@gmail.com>
44800
44801 [BZ #13092]
44802 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44803 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44804 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44805 ppc_mcount to static-only-routines.
44806 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44807 __mcount_internal.
44808 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44809 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44810
448112011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44812
44813 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44814 for finite and infinity parameters.
44815
448162011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44817
44818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44819 and add nop instructions for throughput optimization.
44820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44821
448222011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44823
44824 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44825 aligned copy for power7 with vector-scalar instructions.
44826 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44827
448282011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44829
44830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44831 AVX check.
44832
448332011-09-07 Andreas Schwab <schwab@redhat.com>
44834
44835 [BZ #13144]
44836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44837 last change.
44838
448392011-09-07 Ulrich Drepper <drepper@gmail.com>
44840
44841 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44842 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44843 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44844 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44845 clock_gettime.
44846
448472011-09-06 Ulrich Drepper <drepper@gmail.com>
44848
44849 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44850 Forgot to demangle the pointer.
44851
44852 * sysdeps/i386/sysdep.h: Define atom_text_section.
44853 * sysdeps/x86_64/sysdep.h: Likewise.
44854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44855 section with atom_text_section.
44856 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44858 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44861
44862 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44863 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44864 already be defined. Change to take two parameters and don't assign
44865 result to variable. Adjust all users.
44866 Define INTERNAL_GETTIME if not already defined.
44867 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44868 call.
44869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44870 HAVE_CLOCK_GETTIME_VSYSCALL.
44871 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44872
44873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44874 gettimeofday vsyscall, just use time.
44875
448762011-09-06 Andreas Schwab <schwab@redhat.com>
44877
44878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44879 <errno.h>.
44880
448812011-09-06 Ulrich Drepper <drepper@gmail.com>
44882
44883 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44884 syscall on x86-64.
44885 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44886 syscall.
44887 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44889 syscall if possible.
44890
448912011-09-05 Ulrich Drepper <drepper@gmail.com>
44892
44893 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44894 e_ident. Don't pass to find_mapsXX.
44895 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44896
448972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44898
44899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44900 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44901 * sysdeps/x86_64/multiarch/strchr.S: Update.
44902 Check bit_slow_BSF bit.
44903 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44904 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44906
449072011-09-05 Ulrich Drepper <drepper@gmail.com>
44908
44909 [BZ #13134]
44910 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44911 before glibc 2.15.
44912 (tryshell): Define.
44913 (__spawni): Change last parameter to be flag. Test
44914 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44915 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44916 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44917 * posix/spawni.c: Likewise.
44918 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44919 * posix/spawnp.c: Likewise. Change normal version to use
44920 SPAWN_XFLAGS_USE_PATH.
44921 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44922 SPAWN_XFLAGS_TRY_SHELL.
44923
44924 [BZ #13150]
44925 * posix/glob.h: Remove gcc 1.x support.
44926
44927 [BZ #13068]
44928 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44929
449302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44931
44932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44933 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44934 strrchr-sse2-bsf
44935 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44936 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44937 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44939 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44940 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44941
449422011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44943
44944 * sysdeps/x86_64/wcscmp.S: New file.
44945
44946 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44947 wcscmp-c wcscmp-sse2
44948 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44949 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44950 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44951 * wcsmbs/wcscmp.c: Allow renaming.
44952
449532011-09-05 David S. Miller <davem@davemloft.net>
44954
44955 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44956 stack slot, rather than the struct return pointer slot.
44957 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44958 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44960 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44961
449622011-09-05 Ulrich Drepper <drepper@gmail.com>
44963
44964 * po/ja.po: Update from translation team.
44965
44966 [BZ #13144]
44967 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44968 kernel in 64-bit binaries.
44969
449702011-09-01 David S. Miller <davem@davemloft.net>
44971
44972 * elf/elf.h (HWCAP_SPARC_*): Move to..
44973 * sysdeps/sparc/sysdep.h: this new file and add new values.
44974 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44975 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44976 _DL_HWCAP_COUNT to 24.
44977 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44978 entries.
44979 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44980 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44981 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44983 instead of magic constants.
44984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44985
449862011-08-31 David S. Miller <davem@davemloft.net>
44987
44988 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44990 Reimplement to do errno handling inline.
44991 (SYSCALL_ERROR_HANDLER): New macro.
44992 (__SYSCALL_STRING): Do not do errno handling in asm.
44993 (__CLONE_SYSCALL_STRING): Delete.
44994 (__INTERNAL_SYSCALL_STRING): Delete.
44995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44996 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44997 (PSEUDO): Reimplement to do errno handling inline.
44998 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44999 (SYSCALL_ERROR_HANDLER): New macro.
45000 (__SYSCALL_STRING): Do not do errno handling in asm.
45001 (__CLONE_SYSCALL_STRING): Delete.
45002 (__INTERNAL_SYSCALL_STRING): Delete.
45003 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45004 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45005 i386.
45006 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45007 (inline_syscall*): Add 'err' argument.
45008 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45009 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45010 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45011 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45012
45013 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45014 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45015
450162011-08-30 Andreas Schwab <schwab@redhat.com>
45017
45018 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45019
450202011-08-29 Jiri Olsa <jolsa@redhat.com>
45021
45022 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45023 directive.
45024
450252011-08-24 David S. Miller <davem@davemloft.net>
45026
45027 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45028
450292011-08-24 Andreas Schwab <schwab@redhat.com>
45030
45031 * elf/Makefile: Add rules to build and run unload8 test.
45032 * elf/unload8.c: New file.
45033 * elf/unload8mod1.c: New file.
45034 * elf/unload8mod1x.c: New file.
45035 * elf/unload8mod2.c: New file.
45036 * elf/unload8mod3.c: New file.
45037
45038 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45039 it wasn't used.
45040
450412011-08-23 David S. Miller <davem@davemloft.net>
45042
45043 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45044 subtract stack bias.
45045 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45046 %sp not %fp in calculations.
45047 (_JMPBUF_UNWINDS_ADJ): Likewise.
45048
45049 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45050 (aio_suspend): Call it to force an exception region around the
45051 AIO_MISC_WAIT() invocation.
45052
450532011-08-23 Andreas Schwab <schwab@redhat.com>
45054
45055 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45056 backslash.
45057
450582011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45059
45060 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45061 protection macro.
45062 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45063 and <dl-machine.h>.
45064 (Elf64_FuncDesc): Remove.
45065
450662011-08-22 David S. Miller <davem@davemloft.net>
45067
45068 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45069 sigaltstack check, add missing cfi directives.
45070 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45071 missing cfi directives, and sigaltstack handling.
45072
450732011-08-16 Andreas Schwab <schwab@redhat.com>
45074
45075 [BZ #11724]
45076 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45077 object is seen twice.
45078 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45079
45080 * elf/Makefile (distribute): Add tst-initorder2.c.
45081 (tests): Add tst-initorder2.
45082 (modules-names): Add tst-initorder2a tst-initorder2b
45083 tst-initorder2c tst-initorder2d. Add rules to build them.
45084 ($(objpfx)tst-initorder2.out): New rule.
45085 * elf/tst-initorder2.c: New file.
45086 * elf/tst-initorder2.exp: New file.
45087
450882011-08-22 Andreas Schwab <schwab@redhat.com>
45089
45090 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45091
45092 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45093 dependencies back to end of function.
45094
45095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45096 $(elfobjdir)/ld.so.
45097
450982011-08-21 Ulrich Drepper <drepper@gmail.com>
45099
45100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45101 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45103 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45104 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45105 of __vdso_gettimeofday.
45106 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45107 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45108 attribute_hidden.
45109 (_libc_vdso_platform_setup): Remove initialization of
45110 __vdso_gettimeofday and __vdso_time.
45111
451122011-08-20 Ulrich Drepper <drepper@gmail.com>
45113
45114 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45115 and fgetc_unlocked.
45116 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45117 getc_unlocked.
45118
45119 * elf/dl-open.c (add_to_global): Report additions to the global scope
45120 for LD_DEBUG=scopes.
45121 (dl_open_worker): Also print scope of newly loaded dependencies.
45122 (_dl_show_scope): Indicate if there is no scope.
45123
45124 [BZ #13114]
45125 * stdio-common/Makefile (tests): Add bug24.
45126 * stdio-common/bug24.c: New file.
45127
451282011-08-19 Andreas Jaeger <aj@suse.de>
45129
45130 [BZ #13114]
45131 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45132 non-existant file when using close-on-exec mode.
45133
451342011-08-20 Ulrich Drepper <drepper@gmail.com>
45135
45136 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45137 the very first instruction.
45138
45139 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45140 the CFI state in the end.
45141 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45142 inclusion of dl-trampoline.h.
45143 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45144
451452011-08-19 Andreas Schwab <schwab@redhat.com>
45146
45147 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45148 expectations for long double.
45149
45150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45151 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45152
451532011-08-14 David S. Miller <davem@davemloft.net>
45154
45155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45156 artificual limit depends upon the system page size.
45157
451582011-08-17 Ulrich Drepper <drepper@gmail.com>
45159
45160 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45161 * resolv/Makefile: Define CFLAGS-libresolv.
45162
451632011-08-17 Andreas Schwab <schwab@redhat.com>
45164
45165 * nss/makedb.c (compute_tables): Make variables used in nested
45166 function static.
45167
451682011-08-17 Ulrich Drepper <drepper@gmail.com>
45169
45170 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45171 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45172 if buffer was too small.
45173
45174 * elf/pldd.c (main): Attach to all threads in the process.
45175 Rewrite /proc handling to use *at functions.
45176
451772011-08-16 Ulrich Drepper <drepper@gmail.com>
45178
45179 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45180 specifies first scope to show.
45181 (dl_open_worker): Update callers. Move printing scope of new
45182 object to before the relocation.
45183 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45184 * sysdeps/generic/ldsodefs.h: Update declaration.
45185
45186 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45187 string for the scope number.
45188
451892011-08-14 Ulrich Drepper <drepper@gmail.com>
45190
45191 * nscd/servicescache.c (cache_addserv): Make sure written is always
45192 initialized.
45193
451942011-08-14 Roland McGrath <roland@hack.frob.com>
45195
45196 * sysdeps/i386/i486/bits/atomic.h
45197 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45198 statement expression, so as to suppress "set but not used" warning.
45199 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45200
45201 * string/strncat.c (STRNCAT): Use prototype definition.
45202
45203 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45204 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45205 -Iprograms here.
45206 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45207 (localedef-modules): Add localedef.
45208 (locale-modules): Add locale.
45209
45210 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45211 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45212 to avoid a warning.
45213
452142011-08-14 David S. Miller <davem@davemloft.net>
45215
45216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45217 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45218
452192011-08-13 Ulrich Drepper <drepper@gmail.com>
45220
45221 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45222 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45223 * elf/rtld.c (dl_main): Set l_name of vDSO.
45224 Call _dl_show_scope when DL_DEBUG_SCOPES.
45225 (process_dl_debug): Recognize scopes flag and also set it for all.
45226 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45227 Declare _dl_show_scope.
45228
45229 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45230 (do_dlopen): Pass caller_dlopen to dl_open.
45231 (__libc_dlopen_mode): Initialize caller_dlopen.
45232
45233 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45234 of libc. Make tolower call locale-independent. Optimize a bit by
45235 using isdigit instead of isalnum.
45236 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45237
452382011-08-12 Ulrich Drepper <drepper@gmail.com>
45239
45240 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45241 was a dependency or dynamically loaded.
45242
452432011-08-11 Ulrich Drepper <drepper@gmail.com>
45244
45245 * intl/l10nflist.c: Allow architecture-specific pop function.
45246 * sysdeps/x86_64/l10nflist.c: New file.
45247
45248 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45249 classification.
45250
452512011-08-10 Andreas Schwab <schwab@redhat.com>
45252
45253 * include/dirent.h: Add libc_hidden_proto for scandirat and
45254 scandirat64. Don't declare __scandirat64.
45255 * dirent/scandirat.c: Add libc_hidden_def.
45256 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45257 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45258
452592011-08-10 David S. Miller <davem@davemloft.net>
45260
45261 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45262 enum.
45263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45266
452672011-08-09 Ulrich Drepper <drepper@gmail.com>
45268
45269 * Versions.def [libc]: Add GLIBC_2.15.
45270 * dirent/Makefile (routines): Add scandirat and scandirat64.
45271 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45272 GLIBC_2.15.
45273 * dirent/dirent.h: Declare scandirat and scandirat64.
45274 * dirent/scandirat.c: New file.
45275 * dirent/scandirat64.c: New file.
45276 * sysdeps/wordsize-64/scandirat.c: New file.
45277 * sysdeps/wordsize-64/scandirat64.c: New file.
45278 * dirent/opendir.c: Define opendirat.
45279 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45280 using scandirat.
45281 * dirent/scandir64.c: Adjust for scandir.c change.
45282 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45283 __scandirat64, and __scandir_cancel_handler.
45284 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45285 additional parameter and use openat instead of open (outside of ld.so).
45286 Add new __opendir as wrapper around __opendirat.
45287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45288 here without requiring old scandirat implementation.
45289
452902011-08-08 Ulrich Drepper <drepper@gmail.com>
45291
45292 * dirent/scandir.c (cancel_handler): Renamed to
45293 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45294 defined. Adjust users.
45295 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45296 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45297
452982011-08-04 Ulrich Drepper <drepper@gmail.com>
45299
45300 * string/test-string.h (IMPL): Use __STRING to expand name and then
45301 stringify it.
45302
45303 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45304 of cleanups.
45305
453062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45307
45308 * string/Makefile: Update.
45309 (strop-tests): Append strncat.
45310 * string/test-wcscmp.c: New file.
45311 New comprehensive test for wcscmp.
45312 * string/test-strcmp.c: Update.
45313 (WIDE): New define.
45314
453152011-07-22 Andreas Schwab <schwab@redhat.com>
45316
45317 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45318 line.
45319
453202011-07-26 Andreas Schwab <schwab@redhat.com>
45321
45322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45323 encoding to ACE if AI_IDN.
45324
453252011-08-01 Jakub Jelinek <jakub@redhat.com>
45326
45327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45328 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45329
453302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45331
45332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45333 Fix overflow bug in strncat.
45334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45335
45336 * string/test-strncat.c: Update.
45337 Add new tests for checking overflow bugs.
45338
453392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45340
45341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45342 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45343 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45344 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45345 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45346 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45347 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45348 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45349 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45350
45351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45352 (USE_AS_STRCAT): Define.
45353 Add strcat and strncat support.
45354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45355
453562011-07-25 Andreas Schwab <schwab@redhat.com>
45357
45358 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45359 __n bigger than INT_MAX+1.
45360 (__strncmp_g): Likewise.
45361
453622011-07-23 Ulrich Drepper <drepper@gmail.com>
45363
45364 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45365 * libio/stido.h: Likewise.
45366
45367 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45368 (AF_NFC): Define.
45369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45370 (AF_NFC): Define.
45371
45372 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45374 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45375 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45377
45378 [BZ #13021]
45379 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45380 installed.
45381
45382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45383 typo.
45384 (_dl_x86_64_save_sse): Likewise.
45385
453862011-07-22 Ulrich Drepper <drepper@gmail.com>
45387
45388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45389 OSXSAVE.
45390 (_dl_x86_64_save_sse): Likewise.
45391
45392 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45393
45394 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45395
453962011-07-21 Andreas Schwab <schwab@redhat.com>
45397
45398 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45399 change.
45400 (_dl_x86_64_save_sse): Use correct AVX check.
45401
454022011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45403
45404 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45405 bug in strncpy/strncat.
45406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45407
454082011-07-21 Ulrich Drepper <drepper@gmail.com>
45409
45410 * string/tester.c (test_strcat): Add tests for different alignments
45411 of source and destination.
45412 (test_strncat): Likewise.
45413
454142011-07-20 Ulrich Drepper <drepper@gmail.com>
45415
45416 [BZ #12852]
45417 * posix/glob.c (glob): Check passed in values before using them in
45418 expressions to avoid some overflows.
45419 (glob_in_dir): Likewise.
45420
45421 [BZ #13007]
45422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45423 check for AVX enablement so that we don't crash with old kernels and
45424 new hardware.
45425 * elf/tst-audit4.c: Add same checks here.
45426 * elf/tst-audit6.c: Likewise.
45427
45428 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45429
454302011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45431
45432 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45433
454342011-07-20 Ulrich Drepper <drepper@gmail.com>
45435
45436 * po/cs.po: Update from translation team.
45437 * po/bg.po: Likewise.
45438
454392011-07-12 Marek Polacek <mpolacek@redhat.com>
45440
45441 * misc/sys/cdefs.h: Add support for const attribute.
45442 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45443 to gnu_dev_{major,minor,makedev} functions.
45444
454452011-07-20 Marek Polacek <mpolacek@redhat.com>
45446
45447 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45448
454492011-07-20 Andreas Schwab <schwab@redhat.com>
45450
45451 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45452 strlen results.
45453
454542011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45455
45456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45457 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45458 register in order to avoid conflicts with the soft frame pointer
45459 being held in r11 when necessary.
45460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45461 (INTERNAL_VSYSCALL_NCS): Likewise.
45462
454632011-07-14 Marek Polacek <mpolacek@redhat.com>
45464
45465 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45466 * elf/dl-fini.c (_dl_fini): Adjust caller.
45467 * elf/dl-close.c (_dl_close_worker): Likewise.
45468 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45469
454702011-07-15 Marek Polacek <mpolacek@redhat.com>
45471
45472 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45473 "aux_cache->nlibs < 0".
45474
45475 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45476 in the reload-count case.
45477
454782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45479
45480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45481 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45482 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45483 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45484 * sysdeps/x86_64/multiarch/strcat.S: New file.
45485 * sysdeps/x86_64/multiarch/strncat.S: New file.
45486 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45487 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45488 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45489 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45491 (USE_AS_STRCAT): Define.
45492 Add strcat and strncat support.
45493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45495 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45496 * string/strncat.c: Update.
45497 (USE_AS_STRNCAT): Define.
45498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45499 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45500 and i7.
45501 * sysdeps/x86_64/multiarch/init-arch.h
45502 (bit_Prefer_PMINUB_for_stringop): New.
45503 (index_Prefer_PMINUB_for_stringop): Likewise.
45504 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45505 bit_Prefer_PMINUB_for_stringop.
45506
455072011-07-19 Ulrich Drepper <drepper@gmail.com>
45508
45509 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45510 buffer64.
45511 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45512 of casting of buffer.
45513 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45514 buffer32 and buffer64.
45515 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45516 writes instead of casting of buffer.
45517 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45518 buffer32.
45519 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45520 casting of buffer.
45521
455222011-07-19 Andreas Schwab <schwab@redhat.com>
45523
45524 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45525
455262011-07-19 Ulrich Drepper <drepper@gmail.com>
45527
45528 * nscd/nscd.c (termination_handler): Don't do anything for a database
45529 if it has not yet been initialized.
45530
455312011-07-18 Ulrich Drepper <drepper@gmail.com>
45532
45533 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45534
455352011-07-15 Marek Polacek <mpolacek@redhat.com>
45536
45537 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45538
455392011-07-18 Ulrich Drepper <drepper@gmail.com>
45540
45541 * po/nl.po: Update from translation team.
45542 * po/sv.po: Likewise.
45543
455442011-07-16 Roland McGrath <roland@hack.frob.com>
45545
45546 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45547 now disallowed by GCC.
45548
45549 * configure.in (use-default-link): Default to yes if a test -shared
45550 link meets our qualifications.
45551 * configure: Regenerated.
45552
45553 * config.make.in (output-format): New variable.
45554 * configure.in: Check for ld --print-output-format support.
45555 * configure: Regenerated.
45556 * Makerules ($(common-objpfx)format.lds)
45557 [$(output-format) != unknown]: Just use $(output-format),
45558 instead of the linker-script munging.
45559
455602011-07-14 Roland McGrath <roland@hack.frob.com>
45561
45562 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45563 of $(common-objpfx)shlib.lds.
45564 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45565
45566 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45567 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45568
45569 * configure.in (-z relro check): Adjust test code to add a large
45570 writable data section after it.
45571 * configure: Regenerated.
45572
455732011-07-11 Roland McGrath <roland@hack.frob.com>
45574
45575 * configure.in (-z relro check): Fix test code to make the variable
45576 truly const.
45577 * configure: Regenerated.
45578
455792011-07-11 Ulrich Drepper <drepper@gmail.com>
45580
45581 * nscd/nscd.h (struct traced_file): Define.
45582 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45583 elements. Add traced_files.
45584 (inotify_fd): Declare.
45585 (register_traced_file): Declare.
45586 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45587 (inotify_fd): Export.
45588 (resolv_conf_descr): Remove.
45589 (nscd_init): Move inotify descriptor creation to main.
45590 Don't register files for notification here.
45591 (register_traced_file): New function.
45592 (invalidate_cache): Don't use reset_res to determine whether to call
45593 res_init, go through the list of registered files.
45594 (main_loop_poll): The inotify descriptors are now stored in the
45595 structures for the traced files.
45596 (main_loop_epoll): Likewise
45597 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45598 to __nss_disable_nscd.
45599 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45600 for a database anymore. Check the records for all the registered
45601 files instead.
45602 * nss/Makefile (libnss_files-routines): Add files-init.
45603 (libnss_db-routines): Add db-init.
45604 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45605 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45606 * nss/nss_db/db-init.c: New file.
45607 * nss/nss_files/files-init.c: New file.
45608 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45609 __nss_lookup_function.
45610 (__nss_lookup_function): Call nss_load_library.
45611 (nss_load_all_libraries): New function.
45612 (__nss_disable_nscd): Take parameter with callback function for files
45613 to register. Set is_nscd. Load all the DSOs for the NSS modules
45614 used for the cached services.
45615 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45616 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45617 options for features to all the files in nscd.
45618
45619 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45620
456212011-07-10 Roland McGrath <roland@hack.frob.com>
45622
45623 * csu/elf-init.c (__libc_csu_init): Comment typo.
45624
456252011-07-09 Ulrich Drepper <drepper@gmail.com>
45626
45627 * po/pl.po: Update from translation team.
45628 * po/ja.po: Likewise.
45629 * po/ru.po: Likewise.
45630 * po/ko.po: Likewise.
45631 * po/fr.po: Likewise.
45632
456332011-07-09 Roland McGrath <roland@hack.frob.com>
45634
45635 * configure.in (.ctors/.dtors header and trailer check):
45636 Use an empirical test on a built program.
45637 * configure: Regenerated.
45638
45639 * configure.in (-z relro check): Use an empirical test on a built DSO.
45640 Detect, but do not require, on ia64.
45641 * configure: Regenerated.
45642
45643 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45644 Update tests that use readelf to use $READELF instead.
45645 * configure: Regenerated.
45646
456472011-07-08 Ulrich Drepper <drepper@gmail.com>
45648
45649 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45650 if the result is not used.
45651
456522011-07-05 Andreas Jaeger <aj@suse.de>
45653
45654 [BZ#9696]
45655 * stdlib/tst-strtod.c: Add testcase.
45656
456572011-07-07 Ulrich Drepper <drepper@gmail.com>
45658
45659 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45660 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45661 The latter has a higher limit. Take additional parameter to pass to
45662 the new function.
45663 (__pathconf): Pass file to __statfs_link_max.
45664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45665 __statfs_link_max.
45666 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45667 __statfs_link_max.
45668
45669 [BZ #12868]
45670 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45671 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45672 Handle Lustre.
45673 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45674 (__statfs_filesize_max): Likewise.
45675 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45676
456772011-07-05 Andreas Jaeger <aj@suse.de>
45678
45679 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45680
456812011-07-06 Marek Polacek <mpolacek@redhat.com>
45682
45683 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45684 `status' variable.
45685 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45686 Likewise.
45687
456882011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45689
45690 * Makefile (strop-tests): Add strncat.
45691 * string/test-strncat.c: New file.
45692
456932011-06-30 Marek Polacek <mpolacek@redhat.com>
45694
45695 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45696
456972011-06-21 Andreas Jaeger <aj@suse.de>
45698
45699 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45700 Copy rule from iconvdata/Makefile.
45701
457022011-07-06 Ulrich Drepper <drepper@gmail.com>
45703
45704 [BZ #12922]
45705 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45706 but no long options are defined, just return 'W'.
45707
457082011-06-22 Marek Polacek <mpolacek@redhat.com>
45709
45710 [BZ #9696]
45711 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45712
457132011-07-06 Ulrich Drepper <drepper@gmail.com>
45714
45715 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45716 netgroups to read.
45717 (innetgr): Likewise.
45718
457192011-07-05 Roland McGrath <roland@hack.frob.com>
45720
45721 * config.make.in (install_root): Default to $(DESTDIR).
45722
457232011-07-05 Ulrich Drepper <drepper@gmail.com>
45724
45725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45726
457272011-07-02 Roland McGrath <roland@hack.frob.com>
45728
45729 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45730
45731 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45732 containing directory rather than embedding absolute directory names.
45733
45734 * scripts/check-local-headers.sh: Rewritten using awk.
45735 Match by word, not by line. Print error messages for matches.
45736 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45737
45738 * Makerules [shlib-lds-flags empty]:
45739 ($(common-objpfx)libc_pic.opts): New target.
45740 ($(common-objpfx)libc_pic.os.clean): New target.
45741 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45742
45743 * config.make.in (OBJCOPY): New variable.
45744 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45745 * configure: Regenerated.
45746
45747 * config.make.in (use-default-link): New variable.
45748 * configure.in (use_default_link): Grok --with-default-link to set it.
45749 * configure: Regenerated.
45750 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45751 (shlib-lds, shlib-lds-flags): Define to empty.
45752
45753 * Makerules (shlib-lds): New variable.
45754 (shlib-lds-flags): New variable.
45755 (build-shlib, build-moduile, build-module-asneeded): Use it.
45756 ($(common-objpfx)libc.so): Use $(shlib-lds).
45757 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45758 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45759
45760 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45761 DT_FLAGS/DT_FLAGS_1 with zero flags.
45762
45763 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45764 linker script munging.
45765
457662011-07-02 Ulrich Drepper <drepper@gmail.com>
45767
45768 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45769 as 128-bit value.
45770 * crypt/sha512.c (sha512_process_block): Perform total addition using
45771 128-bit if possible.
45772 (__sha512_finish_ctx): Likewise.
45773 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45774 as 64-bit value.
45775 * crypt/sha256.c (SWAP64): Define.
45776 (sha256_process_block): Perform total addition using 64-bit if
45777 possible.
45778 (__sha256_finish_ctx): Likewise.
45779
457802011-07-01 Ulrich Drepper <drepper@gmail.com>
45781
45782 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45784 * nscd/hstcache.c (cache_addhst): Likewise.
45785 * nscd/grpcache.c (cache_addgr): Likewise.
45786 * nscd/aicache.c (addhstaiX): Likewise
45787 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45788
457892011-07-01 Thorsten Kukuk <kukuk@suse.de>
45790
45791 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45793 * nscd/hstcache.c (cache_addhst): Likewise.
45794 * nscd/grpcache.c (cache_addgr): Likewise.
45795 * nscd/aicache.c (addhstaiX): Likewise
45796
457972011-07-01 Andreas Schwab <schwab@redhat.com>
45798
45799 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45800 domain only when needed.
45801
458022011-06-30 Andreas Schwab <schwab@redhat.com>
45803
45804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45805 is always restored.
45806
458072011-06-29 Ulrich Drepper <drepper@gmail.com>
45808
45809 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45810 are re-adding the entry.
45811 * nscd/servicescache.c (cache_addserv): Likewise.
45812
458132011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45814
45815 * sysdeps/generic/dl-irel.h: fix protection against multiple
45816 inclusions.
45817 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45818
458192011-06-28 Ulrich Drepper <drepper@gmail.com>
45820
45821 [BZ #12935]
45822 * malloc/memusage.sh: Fix quoting in message.
45823 * debug/xtrace.sh: Likewise.
45824
45825 * configure.in: Remove support for --experimental-malloc option, make
45826 it the default.
45827 * config.make.in: Likewise.
45828 * malloc/Makefile: Likewise.
45829
458302011-06-27 Andreas Schwab <schwab@redhat.com>
45831
45832 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45833 two-byte characters.
45834
458352011-06-27 Roland McGrath <roland@hack.frob.com>
45836
45837 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45838 AC_CACHE_CHECK invocation.
45839 * configure: Regenerated.
45840
45841 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45842
458432011-06-27 Ulrich Drepper <drepper@gmail.com>
45844
45845 [BZ #12350]
45846 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45847 bit from old_res_options.
45848
45849 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45850
45851 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45852 value type for setfct.
45853
458542011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45855
45856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45857 __gettimeofday instead of gettimeofday.
45858
458592011-06-26 Ulrich Drepper <drepper@gmail.com>
45860
45861 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45862
458632011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45864
45865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45866
45867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45868 info.
45869
458702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45871
45872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45873 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45874 strcpy-sse2-unaligned strncpy-sse2-unaligned
45875 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45876 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45877 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45878 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45879 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45881 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45882 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45883 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45884 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45885 (STRCPY): Support SSE2 and SSSE3 versions.
45886
458872011-06-24 Ulrich Drepper <drepper@gmail.com>
45888
45889 [BZ #12874]
45890 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45891 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45892 kernels which artificially limit size of requests.
45893
458942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45895
45896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45897 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45898 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45899 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45900 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45901 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45902 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45903 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45906 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45907 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45908 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45909 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45910 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45912 Enable unaligned load optimization for Intel Core i3, i5 and i7
45913 processors.
45914 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45915 Define.
45916 (index_Fast_Unaligned_Load): Define.
45917 (HAS_FAST_UNALIGNED_LOAD): Define.
45918
459192011-06-23 Marek Polacek <mpolacek@redhat.com>
45920
45921 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45922
459232011-06-22 Ulrich Drepper <drepper@gmail.com>
45924
45925 [BZ #12907]
45926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45927 until it is clear that the information is realy needed.
45928 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45929
459302011-06-22 Andreas Schwab <schwab@redhat.com>
45931
45932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45933
459342011-06-22 Ulrich Drepper <drepper@gmail.com>
45935
45936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45937 /sys/devices/system/cpu/online if it is usable.
45938
45939 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45940 reading the information from the /proc filesystem to once a second.
45941
459422011-06-21 Andreas Jaeger <aj@suse.de>
45943
45944 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45945 NULL after inclusion of kernel headers.
45946
459472011-06-21 Ulrich Drepper <drepper@gmail.com>
45948
45949 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45950 calls to internal_setent.
45951
45952 [BZ #12885]
45953 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45954 addresses using gethostbyname4_r ignore IPv4 addresses.
45955
45956 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45957 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45958
45959 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45960
459612011-06-20 David S. Miller <davem@davemloft.net>
45962
45963 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45964 inclusions.
45965 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45966
45967 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45968 (elf_irel): Use it.
45969 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45970 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45971 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45972 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45973 * sysdeps/x86_64/dl-irel.h: Likewise.
45974
45975 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45976 * elf/dl-sym.c: Likewise.
45977
459782011-06-15 Ulrich Drepper <drepper@gmail.com>
45979
45980 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45981 need to dereference resplen2.
45982
459832011-06-14 Andreas Schwab <schwab@redhat.com>
45984
45985 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45986
459872011-06-15 Ulrich Drepper <drepper@gmail.com>
45988
45989 * Makeconfig: Define vardbdir and inst_vardbdir.
45990 * nss/Makefile: Add rules to install db-Makefile.
45991
45992 * nss/nss_db/db-XXX.c: Cleanup.
45993
45994 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45995 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45996 GLIBC_PRIVATE.
45997 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45998 * nss/makedb.c: Implement -g option to specify that value strings
45999 are generated and should not be added to table iterated over for
46000 get*ent calls.
46001 * nss/nss_db/db-initgroups.c: New file.
46002
46003 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46004 interface.
46005
46006 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46007 (internal_getgrouplist): Adjust to name change.
46008 Update use_initgroups_entry if this is not the first call.
46009 * nss/databases.def: Add initgroups entry.
46010
46011 * nss/makedb.c (compute_tables): Check result of multiple hash table
46012 sizes to minimize maximum chain length.
46013
460142011-06-14 Ulrich Drepper <drepper@gmail.com>
46015
46016 * Versions.def: Add entry for libnss_db.
46017 * shlib-versions: Likewise.
46018 * nss/Makefile: Add rules to build libnss_db.
46019 * nss/Versions: Add libnss_db information. Organize libnss_files
46020 entries better.
46021 * nss/db-Makefile: Add gshadow support. Change rules for the new
46022 makedb progra. Some minor improvements to generate smaller files.
46023 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46024 here from...
46025 * nss/makedb.c: ...here.
46026 Improve database format to be smaller and require less memory at
46027 runtime.
46028 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46029 db anymore.
46030 * nss/nss_db/db-netgrp.c: Likewise.
46031 * nss/nss_db/db-open.c: Likewise.
46032 * nss/nss_files/flies-XXX.x: Adjust comments.
46033 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46034 * nss/nss_files/files-grp.c: Likewise.
46035 * nss/nss_files/files-hosts.c: Likewise.
46036 * nss/nss_files/files-network.c: Likewise.
46037 * nss/nss_files/files-proto.c: Likewise.
46038 * nss/nss_files/files-pwd.c: Likewise.
46039 * nss/nss_files/files-rpc.c: Likewise.
46040 * nss/nss_files/files-service.c: Likewise.
46041 * nss/nss_files/files-sgrp.c: Likewise.
46042 * nss/nss_files/files-spwd.c: Likewise.
46043 * nss/nss_db/db-alias.c: Removed.
46044 * nss/nss_db/dummy-db.h: Removed.
46045
460462011-06-02 Ulrich Drepper <drepper@gmail.com>
46047
46048 * nss/makedb.c: Rewritten to not use database library.
46049 * nss/Makefile: Update to build new makedb program.
46050
460512011-06-14 Andreas Jaeger <aj@suse.de>
46052
46053 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46054 memset declaration.
46055
460562011-06-10 Andreas Schwab <schwab@redhat.com>
46057
46058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46059 tmpbuf.
46060
460612011-06-10 Roland McGrath <roland@hack.frob.com>
46062
46063 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46064 * elf/Makefile ($(objpfx)ld.so): Likewise.
46065
46066 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46067 Don't list ld.so twice in dependencies.
46068
46069 * posix/bug-regex31.c: Include <stdlib.h>.
46070
46071 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46072
46073 * nis/nss_compat/compat-spwd.c
46074 (getspent_next_nss_netgr): Remove unused variable.
46075 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46076
46077 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46078 nonmembers" output to use the right array.
46079
46080 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46081
46082 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46083
46084 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46085 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46086 * catgets/gencat.c (read_input_file): Likewise.
46087 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46088
46089 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46090 variable definition inside #if's controlling its use.
46091
46092 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46093
46094 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46095
46096 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46097
46098 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46099 unreachable code.
46100
46101 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46102
46103 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46104 * configure: Regenerated.
46105
46106 * Makerules: Revert last change.
46107 * elf/Makefile: Likewise.
46108
461092011-06-09 Roland McGrath <roland@hack.frob.com>
46110
46111 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46112 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46113 (reloc-link): Likewise.
46114
461152011-06-09 Ulrich Drepper <drepper@gmail.com>
46116
46117 * elf/Makefile: Add rules to build pldd.
46118 * elf/pldd.c: New file.
46119 * elf/pldd-xx.c: New file.
46120
461212011-06-07 Ulrich Drepper <drepper@gmail.com>
46122
46123 * version.h: Update for 2.15 development version.
46124
461252011-06-07 David S. Miller <davem@davemloft.net>
46126
46127 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46128 ifuncs.
46129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46130 elf_machine_lazy_rel): Likewise.
46131 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46133 elf_machine_lazy_rel): Likewise.
46134 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46135 dl_hwcap via passed in argument.
46136 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46137 Likewise.
46138
461392011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46140
46141 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46142
461432011-06-06 Roland McGrath <roland@hack.frob.com>
46144
46145 [BZ #12849]
46146 * manual/fdl-1.1.texi: New file, verbatim from:
46147 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46148 * manual/lgpl-2.1.texi: New file, verbatim from:
46149 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46150 * manual/Makefile (licenses): New variable, list those new file names.
46151 (texis): Use it.
46152 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46153
46154 * manual/fdl.texi: File removed.
46155 * manual/lesser.texi: File removed.
46156 * manual/libc.texinfo (Copying, Documentation License):
46157 Use new @include file names, put @appendix directive before @include.
46158
461592011-06-04 Jakub Jelinek <jakub@redhat.com>
46160
46161 [BZ #12841]
46162 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46163 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46164 (mq_open): Add __NTH.
46165
461662011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46167
46168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46169 Assume Intel Core i3/i5/i7 processor if AVX is available.
46170
461712011-05-31 Ulrich Drepper <drepper@gmail.com>
46172
46173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46174 typo.
46175
461762011-05-31 Andreas Schwab <schwab@redhat.com>
46177
46178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46179 memory. Use alloca_account. Fix memory leak when retrying.
46180
461812011-05-31 Ulrich Drepper <drepper@gmail.com>
46182
46183 * version.h (RELEASE): Bump for 2.14 release.
46184 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46185
46186 * config.make.in (RANLIB): Remove entry.
46187
461882011-05-30 Ulrich Drepper <drepper@gmail.com>
46189
46190 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46191 (libc.pot): Work around missing support for .ksh extension in xgettext.
46192
46193 [BZ #12684]
46194 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46195 if both request failed.
46196 (send_dg): In case of server errors clear resplen or *resplen2.
46197
46198 [BZ #12454]
46199 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46200 when there are multiple maps.
46201 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46202 (_dl_fini): Remove test here.
46203
46204 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46205
462062011-05-29 Ulrich Drepper <drepper@gmail.com>
46207
46208 [BZ #12350]
46209 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46210 bit from old_res_options.
46211 (gaih_inet): Likewise.
46212
46213 [BZ #11099]
46214 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46215 as signed.
46216
46217 * resolv/res_init.c (res_setoptions): Make the code more compact.
46218
46219 [BZ #11558]
46220 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46221 set RES_USEVC.
46222
46223 [BZ #11634]
46224 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46225
46226 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46227
46228 [BZ #11781]
46229 * malloc/malloc.h: Declare malloc hook variables as volatile.
46230
46231 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46232 in last patch.
46233
46234 [BZ #11799]
46235 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46236 raise in the comment.
46237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46239 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46240
462412011-05-28 Ulrich Drepper <drepper@gmail.com>
46242
46243 [BZ #12811]
46244 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46245 grow the buffers more if it already has to be sufficient.
46246 (build_wcs_upper_buffer): Likewise.
46247 * posix/regexec.c (check_matching): Likewise.
46248 (clean_state_log_if_needed): Likewise.
46249 (extend_buffers): Don't enlarge buffers beyond size of the input
46250 buffer.
46251 Patches mostly by Emil Wojak <emil@wojak.eu>.
46252 * posix/bug-regex32.c: New file.
46253 * posix/Makefile (tests): Add bug-regex32.
46254
46255 * locale/findlocale.c (_nl_find_locale): Return right away if
46256 _nl_explode_name failed.
46257 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46258
46259 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46260
46261 * debug/xtrace.sh: Unify messages.
46262 * malloc/memusage.sh: Likewise.
46263
46264 [BZ #12813]
46265 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46266 time symbol from vDSO. Substitute with vsyscall if not available.
46267 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46268 __vdso_time.
46269
46270 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46271 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46272 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46273 Add sendmmsg and internal_sendmmsg.
46274 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46275 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46276 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46277
46278 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46279 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46280 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46281
462822011-05-27 Ulrich Drepper <drepper@gmail.com>
46283
46284 [BZ #12813]
46285 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46286 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46287 available.
46288 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46289 __vdso_getcpu.
46290
46291 [BZ #12814]
46292 * iconvdata/Makefile (tests): Add bug-iconv9.
46293 * iconvdata/bug-iconv9.c: New file.
46294
462952011-05-27 Andreas Schwab <schwab@redhat.com>
46296
46297 [BZ #12814]
46298 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46299
463002011-05-25 Jakub Jelinek <jakub@redhat.com>
46301
46302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46303 (struct user_regs_struct): Change intcs field back to cs.
46304
463052011-05-25 Ulrich Drepper <drepper@gmail.com>
46306
46307 * po/ja.po: Update from translation team.
46308
463092011-05-23 Ulrich Drepper <drepper@gmail.com>
46310
46311 [BZ #12795]
46312 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46313 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46314
463152011-05-20 Andreas Schwab <schwab@redhat.com>
46316
46317 * stdlib/longlong.h: Update from GCC.
46318
463192011-05-23 Andreas Schwab <schwab@redhat.com>
46320
46321 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46322 parameter name.
46323 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46324 Add parameter name.
46325 (__sysconf): Pass it down.
46326
463272011-05-22 Ulrich Drepper <drepper@gmail.com>
46328
46329 [BZ #12671]
46330 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46331 some situations.
46332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46333 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46334 add in in __libc_use_alloca calls. Adjust callers.
46335 (glob): Use malloc in some situations.
46336
46337 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46338 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46339 pltexit.
46340
463412011-05-21 Ulrich Drepper <drepper@gmail.com>
46342
46343 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46344 and CLOCK_BOOTTIME_ALARM.
46345
46346 [BZ #12782]
46347 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46348 is returned.
46349
46350 * string/_strerror.c (__strerror_r): Print negative errors as signed
46351 numbers.
46352
46353 [BZ #12777]
46354 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46355 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46356 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46357
46358 * configure.in: Fix typo in redirection and correct removal of test
46359 files in two cases.
46360
46361 [BZ #12788]
46362 * locale/setlocale.c (new_composite_name): Fix test to check for
46363 identical name of all categories.
46364
46365 [BZ #12792]
46366 * libio/filedoalloc.c (local_isatty): New function.
46367 (_IO_file_doallocate): Use local_isatty.
46368 * stdio-common/perror.c (perror): In case a new stream is used
46369 forward the stream error.
46370 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46371 error flag.
46372
463732011-05-20 Ulrich Drepper <drepper@gmail.com>
46374
46375 [BZ #11869]
46376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46377 alloca.
46378 * include/alloca.h (extend_alloca_account): Define.
46379
46380 [BZ #11857]
46381 * posix/regex.h: Fix comments with documentation of user-accessible
46382 fields after compilation and describe correct free'ing of pattern
46383 after re_compile_pattern.
46384 Patch by Reuben Thomas <rrt@sc3d.org>.
46385
463862011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46387
46388 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46389 and -mno-altivec to prevent the compiler from using Altivec and/or
46390 VSX instructions when the corresponding registers are not available.
46391
463922011-05-19 Andreas Schwab <schwab@redhat.com>
46393
46394 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46395
463962011-05-19 Ulrich Drepper <drepper@gmail.com>
46397
46398 * libio/freopen.c (freopen): Use __dup2, not dup2.
46399 * libio/freopen64.c (freopen64): Likewise.
46400
464012011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46402
46403 [BZ #12775]
46404 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46405 * math/Makefile (tests): Add test-powl.
46406 (CFLAGS-test-powl.c): Define.
46407 * math/test-powl.c: New file.
46408
464092011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46410
46411 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46412
464132011-05-17 Ulrich Drepper <drepper@gmail.com>
46414
46415 [BZ #11837]
46416 * iconvdata/gb18030.c: Update to GB18020-2005.
46417
464182011-05-16 Ulrich Drepper <drepper@gmail.com>
46419
46420 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46421 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46422 Patch by Aharon Robbins <arnold@skeeve.com>.
46423
46424 [BZ #11892]
46425 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46426 on the stack.
46427
46428 [BZ #11895]
46429 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46430 through underflows.
46431
46432 [BZ #12766]
46433 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46434 point to strings before performing equality test for error_one_per_line
46435 mode.
46436
46437 [BZ #11697]
46438 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46439
46440 [BZ #11820]
46441 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46442 (struct user_fpregs_struct): Avoid __uint*_t types.
46443
46444 [BZ #6420]
46445 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46446 symbol info. Use it instead of calling _dl_addr locally.
46447 (lock_and_info): New function.
46448 (tr_freehook): Call lock_and_info and pass symbol info as additional
46449 parameter to tr_where.
46450 (tr_mallochook): Likewise.
46451 (tr_reallochook): Likewise.
46452 (tr_memalignhook): Likewise.
46453
46454 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46455 used and couldn't be at all thread-safe.
46456
464572011-05-15 Ulrich Drepper <drepper@gmail.com>
46458
46459 * libio/freopen.c (freopen): Don't close old file descriptor
46460 before the new one is opened. Instead dup the new file descriptor
46461 to the old one after the new stream is created.
46462 * libio/freopen64.c (freopen64): Likewise.
46463 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46464 * libio/fileops.c (_IO_new_file_close_it): Handle new
46465 _IO_FLAGS2_NOCLOSE flag.
46466 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46467 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46468 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46469 _IO_FLAGS2_NOCLOSE flag.
46470 * include/unistd.h: Add hidden_proto for dup3.
46471 Define __have_dup3.
46472 * io/dup3.c: Define hidden symbol.
46473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46474
46475 [BZ #7101]
46476 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46477 when an incomplete long option is used.
46478 * posix/tst-getopt_long1.c: New file.
46479 * posix/Makefile (tests): Add tst-getopt_long1.
46480
46481 [BZ #10138]
46482 * scripts/config.guess: Update from autoconf-2.68.
46483 * scripts/config.sub: Likewise.
46484
46485 [BZ #10157]
46486 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46487 tests into ...
46488 (has_cpuclock): ...this. New function.
46489 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46490 macro here based on has_cpuclock code.
46491
46492 [BZ #10149]
46493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46494 First byte (not low byte) is now always NUL.
46495 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46496
46497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46498 Use non-cancelable interfaces.
46499
46500 [BZ #9809]
46501 * locale/iso-639.def: Add entry for Sorani.
46502
46503 [BZ #11901]
46504 * include/stdlib.h: Move include protection to the right place.
46505 Define abort_msg_s. Declare __abort_msg with it.
46506 * stdlib/abort.c (__abort_msg): Adjust type.
46507 * assert/assert.c (__assert_fail_base): New function. Majority
46508 of code from __assert_fail. Allocate memory for __abort_msg with
46509 mmap.
46510 (__assert_fail): Now call __assert_fail_base.
46511 * assert/assert-perr.c: Remove bulk of implementation. Use
46512 __assert_fail_base.
46513 * include/assert.hL Declare __assert_fail_base.
46514 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46515 mmap.
46516 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46517
465182011-05-14 Ulrich Drepper <drepper@gmail.com>
46519
46520 [BZ #11952]
46521 [BZ #12453]
46522 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46523 until all modules are registered in the DTV.
46524 * elf/Makefile: Add rules to build and run tst-tls19.
46525 * elf/tst-tls19.c: New file.
46526 * elf/tst-tls19mod1.c: New file.
46527 * elf/tst-tls19mod2.c: New file.
46528 * elf/tst-tls19mod3.c: New file.
46529 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46530
46531 [BZ #12083]
46532 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46533 correctly.
46534
46535 [BZ #12601]
46536 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46537 two-byte sequence errors.
46538 * iconvdata/Makefile (tests): Add bug-iconv8.
46539 * iconvdata/bug-iconv8.c: New file.
46540
46541 [BZ #12626]
46542 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46543 buf2 definition.
46544
46545 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46546
46547 [BZ #12432]
46548 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46549 (dummy_getcfa): New function.
46550 (init): Get _Unwind_GetCFA address, use dummy if not found.
46551 (backtrace_helper): In recursion check, also check whether CFA changes.
46552 (__backtrace): Completely initialize arg.
46553
46554 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46555 storing incomplete byte sequence in state object. Avoid testing for
46556 guaranteed too small input if we know there is enough data available.
46557
465582011-05-11 Andreas Schwab <schwab@redhat.com>
46559
46560 * Makeconfig (+link-pie): Indent.
46561 * Rules (binaries-pie): Define if $(have-fpie) and
46562 $(build-shared).
46563 (binaries-shared): Also filter out $(binaries-pie).
46564 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46565 * nscd/Makefile (others-pie): Add nscd.
46566 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46567 ($(objpfx)nscd): Remove command override.
46568 * login/Makefile (others-pie): Add pt_chown.
46569 ($(objpfx)pt_chown): Remove command override.
46570 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46571 remove command overrides.
46572
465732011-05-13 Ulrich Drepper <drepper@gmail.com>
46574
46575 * libio/tst_putwc.c: Fix error messages.
46576
46577 [BZ #12724]
46578 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46579 currently writing and seek to current position when not.
46580 * libio/Makefile (tests): Add bug-fclose1.
46581 * libio/bug-fclose1.c: New file.
46582
465832011-05-12 Ulrich Drepper <drepper@gmail.com>
46584
46585 [BZ #12511]
46586 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46587 don't set DF_1_NODELETE here.
46588 (do_lookup_x): When entering new entry test for copy relocation
46589 and if necessary set DF_1_NODELETE flag.
46590 * elf/tst-unique4.cc: New file.
46591 * elf/tst-unique4.h: New file.
46592 * elf/tst-unique4lib.cc: New file.
46593 * elf/Makefile: Add rules to build and run tst-unique4.
46594 Patch by Piotr Bury <pbury@goahead.com>.
46595
465962011-05-11 Ulrich Drepper <drepper@gmail.com>
46597
46598 [BZ #12052]
46599 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46600
46601 [BZ #12625]
46602 * misc/mntent_r.c (addmntent): Flush the stream after the output
46603
46604 [BZ #12393]
46605 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46606 (is_trusted_path_normalize): Skip initial colon. Append slash
46607 to empty buffer. Duplicate is_trusted_path code but allow
46608 constructed patch to be prefix.
46609 (is_dst): Allow $ORIGIN followed by /.
46610 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46611 Correct testing of result of is_trusted_path_normalize
46612 (decompose_rpath): Fix warning.
46613
466142011-05-10 Ulrich Drepper <drepper@gmail.com>
46615
46616 [BZ #11257]
46617 * grp/initgroups.c (internal_getgrouplist): When we found the service
46618 list through the initgroups entry in nsswitch.conf do not always
46619 continue on a successful lookup. Don't always use the
46620 __nss_group_database value if it is set.
46621 * nss/nsswitch.conf (initgroups): Change action for successful db
46622 lookup to continue for compatibility.
46623
466242011-05-09 Ulrich Drepper <drepper@gmail.com>
46625
46626 [BZ #11532]
46627 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46628 and CP774 modules.
46629 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46630 and CP774 modules.
46631 * iconvdata/tst-tables.sh: Likewise.
46632 * iconvdata/cp770.c: New file.
46633 * iconvdata/cp771.c: New file.
46634 * iconvdata/cp772.c: New file.
46635 * iconvdata/cp773.c: New file.
46636 * iconvdata/cp774.c: New file.
46637 * iconvdata/testdata/CP770: New file.
46638 * iconvdata/testdata/CP770..UTF8: New file.
46639 * iconvdata/testdata/CP771: New file.
46640 * iconvdata/testdata/CP771..UTF8: New file.
46641 * iconvdata/testdata/CP772: New file.
46642 * iconvdata/testdata/CP772..UTF8: New file.
46643 * iconvdata/testdata/CP773: New file.
46644 * iconvdata/testdata/CP773..UTF8: New file.
46645 * iconvdata/testdata/CP774: New file.
46646 * iconvdata/testdata/CP774..UTF8: New file.
46647
46648 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46649 END CHARMAP line.
46650 * iconvdata/gen-8bit-gap.sh: Likewise.
46651 * iconvdata/gen-8bit.sh: Likewise.
46652
46653 * locale/iso-639.def: Add ary entry.
46654
46655 [BZ #11258]
46656 * locale/C-translit.h.in: Add U20A1 transliteration.
46657
46658 [BZ #12178]
46659 * locale/iso-639.def: Add wae entry.
46660 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46661
46662 [BZ #12545]
46663 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46664 for n.
46665
46666 [BZ #12711]
46667 * locale/C-translit.h.in: Add entry for U20B9.
46668 Patch by pravin.d.s@gmail.com.
46669
466702011-05-08 Ulrich Drepper <drepper@gmail.com>
46671
46672 [BZ #12713]
46673 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46674 ENAMETOOLONG use generic getcwd.
46675 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46676 in rtld. Use *stat64.
46677 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46678 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46679 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46680 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46681 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46682 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46683 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46684 __fstatat64 macros.
46685 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46686 * dirent/rewinddir.c: Add libc_hidden_def.
46687 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46688 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46689
46690 * include/dirent.h (__alloc_dir): Add flags parameter.
46691 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46692 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46693 __alloc_dir.
46694 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46695 from fdopendir if O_CLOEXEC is already set.
46696
466972011-03-15 Alan Modra <amodra@gmail.com>
46698
46699 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46700 l_tls_firstbyte_offset non-zero. Save padding offset in
46701 l_tls_firstbyte_offset for later use.
46702 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46703 freeing static tls block.
46704
467052011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46706
46707 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46708 where #ifdef was intended. The intent is to prevent ARG_MAX from
46709 being defined by the kernel headers.
46710
467112011-05-07 Ulrich Drepper <drepper@gmail.com>
46712
46713 [BZ #12734]
46714 * resolv/resolv.h: Define RES_NOTLDQUERY.
46715 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46716 no-tld-query and set RES_NOTLDQUERY.
46717 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46718 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46719 modern BIND to search name as TLD unless forbidden.
46720
467212011-05-07 Petr Baudis <pasky@suse.cz>
46722 Ulrich Drepper <drepper@gmail.com>
46723
46724 [BZ #12393]
46725 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46726 (is_trusted_path): ...to here.
46727 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46728 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46729 using is_trusted_path_normalize() in setuid scripts.
46730
467312011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46732
46733 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46734 __BEGIN/__END_DECLS.
46735
467362011-05-06 Ulrich Drepper <drepper@gmail.com>
46737
46738 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46739 NSS_STATUS_NOTFOUND if no record was found.
46740
467412011-05-05 Andreas Schwab <schwab@redhat.com>
46742
46743 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46744 (headers-not-in-tirpc): Remove rpc/netdb.h
46745 * resolv/netdb.h: Revert last change.
46746
467472011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46748
46749 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46750 circular dependency between libgcc.a and libc.a.
46751
467522011-05-05 Andreas Schwab <schwab@redhat.com>
46753
46754 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46755 * nis/Makefile: Don't install rpcsvc/*.
46756 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46757 instead of <rpc/types.h>.
46758 (MAXHOSTNAMELEN): Define.
46759
467602011-05-03 Andreas Schwab <schwab@redhat.com>
46761
46762 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46763
467642011-04-28 Maciej Babinski <mbabinski@google.com>
46765
46766 [BZ #12714]
46767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46768 gethostbyname4_r when IPv6 results are possible.
46769
467702011-05-02 Ulrich Drepper <drepper@gmail.com>
46771
46772 [BZ #12723]
46773 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46774 _PC_PIPE_BUF handling.
46775
467762011-04-30 Bruno Haible <bruno@clisp.org>
46777
46778 [BZ #12717]
46779 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46780 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46781 to 'int'.
46782 * inet/getnameinfo.c (getnameinfo): Likewise.
46783
467842011-04-29 Ulrich Drepper <drepper@gmail.com>
46785
46786 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46787 to groups setting in database lookup.
46788 * nss/nsswitch.conf: Add initgroups entry.
46789
467902011-04-22 Ulrich Drepper <drepper@gmail.com>
46791
46792 [BZ #12685]
46793 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46794 mode string.
46795 Patch by Eric Blake <eblake@redhat.com>.
46796
467972011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46798
46799 * sunrpc/Makefile (need-export-routines): Add svc_run.
46800 (routines): Remove svc_run.
46801 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46802 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46803 * sunrpc/svc_run.c (svc_run): Likewise.
46804 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46805
468062011-04-21 Ulrich Drepper <drepper@gmail.com>
46807
46808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46809 problem in reallocation in last patch.
46810
468112011-04-20 Ulrich Drepper <drepper@gmail.com>
46812
46813 * sunrpc/Makefile: Move inclusion of Rules.
46814
468152011-04-19 Ulrich Drepper <drepper@gmail.com>
46816
46817 * nss/nss_files/files-initgroups.c: New file.
46818 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46819 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46820 _nss_files_initgroups_dyn.
46821
468222011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46823
46824 * elf/elf.h (R_ARM_IRELATIVE): Define.
46825
468262011-04-19 Ulrich Drepper <drepper@gmail.com>
46827
46828 * po/ru.po: Update from translation team.
46829
468302011-04-17 Ulrich Drepper <drepper@gmail.com>
46831
46832 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46833 dependencies.
46834
468352011-02-06 Mike Frysinger <vapier@gentoo.org>
46836
46837 [BZ #12653]
46838 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46839 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46841 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46842 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46843
468442011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46845
46846 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46847 differing bytes.
46848 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46851
468522011-04-17 Ulrich Drepper <drepper@gmail.com>
46853
46854 [BZ #12420]
46855 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46856 storing it.
46857 * stdlib/bug-getcontext.c: New file.
46858 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46859
468602011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46861
46862 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46863 instructions into .machine "z9-109".
46864 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46865 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46866
468672011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46868
46869 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46870 between environment variables and auxiliary vector.
46871
468722011-04-16 Ulrich Drepper <drepper@gmail.com>
46873
46874 * Makefile: Add rules to build linkobj/libc.so.
46875 * include/libc-symbols.h: Define libc_hidden_nolink.
46876 * include/rpc/auth.h: Mark functions which are to be hidden.
46877 * include/rpc/auth_des.h: Likewise.
46878 * include/rpc/auth_unix.h: Likewise.
46879 * include/rpc/clnt.h: Likewise.
46880 * include/rpc/des_crypt.h: Likewise.
46881 * include/rpc/key_prot.h: Likewise.
46882 * include/rpc/pmap_clnt.h: Likewise.
46883 * include/rpc/pmap_prot.h: Likewise.
46884 * include/rpc/pmap_rmt.h: Likewise.
46885 * include/rpc/rpc_msg.h: Likewise.
46886 * include/rpc/svc.h: Likewise.
46887 * include/rpc/svc_auth.h: Likewise.
46888 * include/rpc/xdr.h: Likewise.
46889 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46890 * nss/Makefile: Likewise.
46891 * sunrpc/Makefile: Don't install headers. Build library with normal
46892 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46893 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46894 for the compat linking library. Remove use of INTDEF/INTUSE.
46895 * sunrpc/auth_none.c: Likewise.
46896 * sunrpc/auth_unix.c: Likewise.
46897 * sunrpc/authdes_prot.c: Likewise.
46898 * sunrpc/authuxprot.c: Likewise.
46899 * sunrpc/clnt_gen.c: Likewise.
46900 * sunrpc/clnt_perr.c: Likewise.
46901 * sunrpc/clnt_raw.c: Likewise.
46902 * sunrpc/clnt_simp.c: Likewise.
46903 * sunrpc/clnt_tcp.c: Likewise.
46904 * sunrpc/clnt_udp.c: Likewise.
46905 * sunrpc/clnt_unix.c: Likewise.
46906 * sunrpc/des_crypt.c: Likewise.
46907 * sunrpc/des_soft.c: Likewise.
46908 * sunrpc/get_myaddr.c: Likewise.
46909 * sunrpc/key_call.c: Likewise.
46910 * sunrpc/key_prot.c: Likewise.
46911 * sunrpc/netname.c: Likewise.
46912 * sunrpc/pm_getmaps.c: Likewise.
46913 * sunrpc/pm_getport.c: Likewise.
46914 * sunrpc/pmap_clnt.c: Likewise.
46915 * sunrpc/pmap_prot.c: Likewise.
46916 * sunrpc/pmap_prot2.c: Likewise.
46917 * sunrpc/pmap_rmt.c: Likewise.
46918 * sunrpc/publickey.c: Likewise.
46919 * sunrpc/rpc_cmsg.c: Likewise.
46920 * sunrpc/rpc_common.c: Likewise.
46921 * sunrpc/rpc_dtable.c: Likewise.
46922 * sunrpc/rpc_prot.c: Likewise.
46923 * sunrpc/rpc_thread.c: Likewise.
46924 * sunrpc/rtime.c: Likewise.
46925 * sunrpc/svc.c: Likewise.
46926 * sunrpc/svc_auth.c: Likewise.
46927 * sunrpc/svc_authux.c: Likewise.
46928 * sunrpc/svc_raw.c: Likewise.
46929 * sunrpc/svc_run.c: Likewise.
46930 * sunrpc/svc_simple.c: Likewise.
46931 * sunrpc/svc_tcp.c: Likewise.
46932 * sunrpc/svc_udp.c: Likewise.
46933 * sunrpc/svc_unix.c: Likewise.
46934 * sunrpc/svcauth_des.c: Likewise.
46935 * sunrpc/xcrypt.c: Likewise.
46936 * sunrpc/xdr.c: Likewise.
46937 * sunrpc/xdr_array.c: Likewise.
46938 * sunrpc/xdr_float.c: Likewise.
46939 * sunrpc/xdr_intXX_t.c: Likewise.
46940 * sunrpc/xdr_mem.c: Likewise.
46941 * sunrpc/xdr_rec.c: Likewise.
46942 * sunrpc/xdr_ref.c: Likewise.
46943 * sunrpc/xdr_sizeof.c: Likewise.
46944 * sunrpc/xdr_stdio.c: Likewise.
46945
469462011-04-10 Ulrich Drepper <drepper@gmail.com>
46947
46948 [BZ #12650]
46949 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46950 * sysdeps/ia64/dl-tls.h: Likewise.
46951 * sysdeps/powerpc/dl-tls.h: Likewise.
46952 * sysdeps/s390/dl-tls.h: Likewise.
46953 * sysdeps/sh/dl-tls.h: Likewise.
46954 * sysdeps/sparc/dl-tls.h: Likewise.
46955 * sysdeps/x86_64/dl-tls.h: Likewise.
46956 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46957
469582011-03-14 Andreas Schwab <schwab@redhat.com>
46959
46960 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46961 rpath element also skip the following colon.
46962 (expand_dynamic_string_token): Add is_path parameter and pass
46963 down to DL_DST_REQUIRED and _dl_dst_substitute.
46964 (decompose_rpath): Call expand_dynamic_string_token with
46965 non-zero is_path. Ignore empty rpaths.
46966 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46967 with zero is_path.
46968
469692011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46970
46971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46972 Make cancelable.
46973
469742011-04-09 Ulrich Drepper <drepper@gmail.com>
46975
46976 [BZ #12655]
46977 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46978 Patch by Filipe David Manana <fdmanana@apache.org>.
46979
469802011-04-07 Andreas Schwab <schwab@redhat.com>
46981
46982 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46983 Maintain aligned stack.
46984 (CHECK_RSP): Remove unused macro.
46985
469862011-04-03 Ulrich Drepper <drepper@gmail.com>
46987
46988 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46989 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46990
469912011-04-02 Ulrich Drepper <drepper@gmail.com>
46992
46993 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46994
46995 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46996
469972011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46998
46999 [BZ #12518]
47000 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47001 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47002 * sysdeps/x86_64/memmove.c: New file.
47003 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47004 (memcpy): Renamed to ...
47005 (__new_memcpy): This.
47006 (memcpy): Provide GLIBC_2_14 memcpy.
47007 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47008 (memcpy): Provide GLIBC_2_2_5 memcpy.
47009
470102011-04-01 Ulrich Drepper <drepper@gmail.com>
47011
47012 [BZ #12631]
47013 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47014
470152011-03-30 Andreas Schwab <schwab@redhat.com>
47016
47017 * misc/syncfs.c: New file.
47018 * misc/Makefile (routines): Add syncfs.
47019 * posix/unistd.h: Declare syncfs.
47020 * sysdeps/unix/syscalls.list: Add syncfs.
47021
470222011-04-01 Andreas Schwab <schwab@redhat.com>
47023
47024 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47025 open_by_handle_at.
47026 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47029 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47031 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47033
470342011-04-01 Ulrich Drepper <drepper@gmail.com>
47035
47036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47037 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47038 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47043
47044 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47045 sync_file_range.c with -fexceptions.
47046 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47047 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47048 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47049 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47050 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47051 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47053 sync_file_range as cancellation point
47054 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47055 now a wrapper around __call_sync_file_range with cancellation handling.
47056 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47057 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47058 function name to __call_sync_file_range.
47059 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47060 Add call_sync_file_range.
47061
470622011-04-01 Andreas Schwab <schwab@redhat.com>
47063
47064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47065 bits/timex.h.
47066
470672011-04-01 Ulrich Drepper <drepper@gmail.com>
47068
47069 * iconv/iconv.h: Fix typo in comment.
47070 * io/fcntl.h: Likewise.
47071 * libio/stdio.h: Likewise.
47072 * posix/spawn.h: Likewise.
47073 * posix/unistd.h: Likewise.
47074 * stdlib/stdlib.h: Likewise.
47075 * time/time.h: Likewise.
47076 * wcsmbs/wchar.h: Likewise.
47077
47078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47079 open_by_handle): Add.
47080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47081 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47082 Augment a few comments.
47083 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47088 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47089 open_by_handle.
47090
47091 * io/fcntl.h (AT_EMPTY_PATH): Define.
47092
470932011-03-30 Ulrich Drepper <drepper@gmail.com>
47094
47095 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47096 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47097 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47098 to...
47099 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47100 * Versions.def: Add GLIBC_2.14.
47101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47102 Export.
47103
471042011-03-22 Ulrich Drepper <drepper@gmail.com>
47105
47106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47107 round counter.
47108 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47109
471102011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47111
47112 [BZ #12597]
47113 * string/test-strncmp.c (do_page_test): New function.
47114 (check2): Likewise.
47115 (test_main): Call check2.
47116 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47117
471182011-03-20 Ulrich Drepper <drepper@gmail.com>
47119
47120 [BZ #12587]
47121 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47122 Handle cache information in CPU leaf 4.
47123 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47124
471252011-03-18 Ulrich Drepper <drepper@gmail.com>
47126
47127 [BZ #12583]
47128 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47129 character representation.
47130 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47131
471322011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47133
47134 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47135 END(__isnan) to END(__isnanf) to match function entry point/label
47136 EALIGN(__isnanf,...).
47137
471382011-03-10 Jakub Jelinek <jakub@redhat.com>
47139
47140 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47141
471422011-03-10 Ulrich Drepper <drepper@gmail.com>
47143
47144 [BZ #12510]
47145 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47146 copy from the symbol referenced in the relocation to initialize the
47147 used variable.
47148 Patch by Piotr Bury <pbury@goahead.com>.
47149 * elf/Makefile: Add rules to build and tst-unique3.
47150 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47151 * elf/tst-unique3.cc: New file.
47152 * elf/tst-unique3.h: New file.
47153 * elf/tst-unique3lib.cc: New file.
47154 * elf/tst-unique3lib2.cc: New file.
47155
47156 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47157
471582011-03-10 Mike Frysinger <vapier@gentoo.org>
47159
47160 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47161 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47162 to _start.
47163
471642011-03-06 Ulrich Drepper <drepper@gmail.com>
47165
47166 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47167 to-be-loaded object along a path to loader is ld.so.
47168
471692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47170 Ulrich Drepper <drepper@gmail.com>
47171
47172 * sysdeps/x86_64/memset.S: After aligning destination, code
47173 branches to different locations depending on the value of
47174 misalignment, when multiarch is enabled. Fix this.
47175
471762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47177
47178 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47179 Set _x86_64_preferred_memory_instruction for AMD processsors.
47180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47181 Set bit_Prefer_SSE_for_memop for AMD processors.
47182
471832011-03-04 Ulrich Drepper <drepper@gmail.com>
47184
47185 * libio/fmemopen.c (fmemopen): Optimize a bit.
47186
471872011-03-03 Andreas Schwab <schwab@redhat.com>
47188
47189 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47190
471912011-03-03 Roland McGrath <roland@redhat.com>
47192
47193 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47194
471952011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47196
47197 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47198 __bzero_ultra1 instead of __memset_ultra1.
47199
472002011-02-23 Andreas Schwab <schwab@redhat.com>
47201 Ulrich Drepper <drepper@gmail.com>
47202
47203 [BZ #12509]
47204 * include/link.h (struct link_map): Add l_orig_initfini.
47205 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47206 returning unsuccessfully.
47207 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47208 close of a file loaded at startup, restore the original l_initfini
47209 list.
47210 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47211 list, store the pointer.
47212 * elf/Makefile ($(objpfx)noload-mem): New rule.
47213 (noload-ENV): Define.
47214 (tests): Add $(objpfx)noload-mem.
47215 * elf/noload.c: Include <memcheck.h>.
47216 (main): Call mtrace. Close all opened handles.
47217
472182011-02-17 Andreas Schwab <schwab@redhat.com>
47219
47220 [BZ #12454]
47221 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47222 dependencies are missing.
47223
472242011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47225
47226 Fix __if_freereq crash: Unlike the generic version which uses free,
47227 Hurd needs munmap.
47228 * sysdeps/mach/hurd/ifreq.h: New file.
47229
472302011-01-27 Petr Baudis <pasky@suse.cz>
47231 Ulrich Drepper <drepper@gmail.com>
47232
47233 [BZ 12445]#
47234 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47235 to extend_alloca().
47236 * stdio-common/bug23.c: New file.
47237 * stdio-common/Makefile (tests): Add bug23.
47238
472392010-09-28 Andreas Schwab <schwab@redhat.com>
47240 Ulrich Drepper <drepper@gmail.com>
47241
47242 [BZ #12489]
47243 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47244 before performing relro protection. At old place add assertion
47245 to make sure nothing changed.
47246
472472011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47248 Glauber de Oliveira Costa <glommer@gmail.com>
47249
47250 * elf/elf.h: Add new ARM TLS relocs.
47251
472522011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47253
47254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47255 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47256 cast from r3.
47257 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47258 'tests' variable.
47259 * sysdeps/wordsize-64/tst-writev.c: New file.
47260
472612011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47262
47263 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47264 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47265 insns in _dl_start to prevent a TOC reference before relocs are
47266 resolved.
47267
472682011-02-15 Ulrich Drepper <drepper@gmail.com>
47269
47270 [BZ #12469]
47271 * Makeconfig: Remove RANLIB definition.
47272 * Makerules: Don't use RANLIB.
47273 * aclocal.m4: Remove ranlib test.
47274 * configure.in: No need to check for ranlib.
47275 * elf/rtld-Rules: Don't use RANLIB.
47276
472772011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47278
47279 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47280 protection macro.
47281 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47282 inclusion protection macro.
47283
47284 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47285 SIGRTMIN and SIGRTMAX and print information in that case only when
47286 SIGRTMIN is defined.
47287
472882011-02-11 Jakub Jelinek <jakub@redhat.com>
47289
47290 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47291 arginfo fn returning -1.
47292
47293 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47294 and thousands string is zero terminated.
47295
472962011-02-03 Andreas Schwab <schwab@redhat.com>
47297
47298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47299 sysdeps/unix/sysv/linux/bits/socket.h.
47300
473012011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47302
47303 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47304 (__CPU_COUNT): Remove old macros.
47305 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47306 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47307 (__CPU_ALLOC, __CPU_FREE): Add macros.
47308 (__sched_cpualloc, __sched_cpufree): Add declarations.
47309
473102011-02-05 Ulrich Drepper <drepper@gmail.com>
47311
47312 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47313 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47314 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47315 (readdhstai): Return value of addhstaiX call.
47316 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47317 (addgrbyX): Return value returned by cache_addgr.
47318 (readdgrbyname): Return value returned by addgrbyX.
47319 (readdgrbygid): Likewise.
47320 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47321 (addpwbyX): Return value returned by cache_addpw.
47322 (readdpwbyname): Return value returned by addhstbyX.
47323 (readdpwbyuid): Likewise.
47324 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47325 (addservbyX): Return value returned by cache_addserv.
47326 (readdservbyname): Return value returned by addservbyX:
47327 (readdservbyport): Likewise.
47328 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47329 (addhstbyX): Return value returned by cache_addhst.
47330 (readdhstbyname): Return value returned by addhstbyX.
47331 (readdhstbyaddr): Likewise.
47332 (readdhstbynamev6): Likewise.
47333 (readdhstbyaddrv6): Likewise.
47334 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47335 (readdinitgroups): Return value returned by addinitgroupsX.
47336 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47337 (prune_cache): Keep track of timeout value of re-added entries.
47338 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47339 * nscd/nscd.h: Adjust prototypes of readd* functions.
47340
473412011-02-04 Roland McGrath <roland@redhat.com>
47342
47343 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47344 (nis_stats): Likewise.
47345 * nis/nis_modify.c (nis_modify): Likewise.
47346 * nis/nis_remove.c (nis_remove): Likewise.
47347 * nis/nis_add.c (nis_add): Likewise.
47348
47349 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47350
47351 * posix/fnmatch_loop.c: Add some consts.
47352
47353 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47354
473552011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47356
47357 [BZ #12460]
47358 * config.make.in (config-cflags-novzeroupper): Define.
47359 * configure.in: Substitute libc_cv_cc_novzeroupper.
47360 * elf/Makefile (AVX-CFLAGS): Define.
47361 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47362 (CFLAGS-tst-auditmod4a.c): Likewise.
47363 (CFLAGS-tst-auditmod4b.c): Likewise.
47364 (CFLAGS-tst-auditmod6b.c): Likewise.
47365 (CFLAGS-tst-auditmod6c.c): Likewise.
47366 (CFLAGS-tst-auditmod7b.c): Likewise.
47367 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47368
473692011-02-02 Ulrich Drepper <drepper@gmail.com>
47370
47371 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47372 function to the callback.
47373 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47374
473752011-02-02 Andreas Schwab <schwab@redhat.com>
47376
47377 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47378 of errno.
47379
473802011-01-19 Ulrich Drepper <drepper@gmail.com>
47381
47382 [BZ #11724]
47383 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47384 of constructors.
47385 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47386 of destructors.
47387 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47388
47389 [BZ #11724]
47390 * elf/Makefile: Add rules to build and run new test.
47391 * elf/tst-initorder.c: New file.
47392 * elf/tst-initorder.exp: New file.
47393 * elf/tst-initordera1.c: New file.
47394 * elf/tst-initordera2.c: New file.
47395 * elf/tst-initordera3.c: New file.
47396 * elf/tst-initordera4.c: New file.
47397 * elf/tst-initorderb1.c: New file.
47398 * elf/tst-initorderb2.c: New file.
47399 * elf/tst-order-a1.c: New file.
47400 * elf/tst-order-a2.c: New file.
47401 * elf/tst-order-a3.c: New file.
47402 * elf/tst-order-a4.c: New file.
47403 * elf/tst-order-b1.c: New file.
47404 * elf/tst-order-b2.c: New file.
47405 * elf/tst-order-main.c: New file.
47406 New test case by George Gensure <werkt0@gmail.com>.
47407
474082010-10-01 Andreas Schwab <schwab@redhat.com>
47409
47410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47411 decoding ACE if AI_CANONIDN.
47412
474132011-01-18 Ulrich Drepper <drepper@gmail.com>
47414
47415 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47416
474172011-01-17 Ulrich Drepper <drepper@gmail.com>
47418
47419 * version.h (RELEASE): Bump for 2.13 release.
47420 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47421
47422 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47423
47424 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47425 MADV_NOHUGEPAGE.
47426 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47427 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47428 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47429 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47430 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47432
47433 * posix/getconf.c: Update copyright year.
47434 * catgets/gencat.c: Likewise.
47435 * csu/version.c: Likewise.
47436 * debug/catchsegv.sh: Likewise.
47437 * debug/xtrace.sh: Likewise.
47438 * elf/ldconfig.c: Likewise.
47439 * elf/ldd.bash.in: Likewise.
47440 * elf/sprof.c (print_version): Likewise.
47441 * iconv/iconv_prog.c: Likewise.
47442 * iconv/iconvconfig.c: Likewise.
47443 * locale/programs/locale.c: Likewise.
47444 * locale/programs/localedef.c: Likewise.
47445 * malloc/memusage.sh: Likewise.
47446 * malloc/mtrace.pl: Likewise.
47447 * nscd/nscd.c (print_version): Likewise.
47448 * nss/getent.c: Likewise.
47449
47450 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47451 PF_CAIF, and PF_ALG.
47452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47453
474542011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47455
47456 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47457 (modules-names): Use them.
47458 (ifunc-test-modules, ifunc-pie-tests): Define.
47459 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47460 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47461 (test-extras): Likewise.
47462 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47463 $(compile-command.c).
47464 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47465 (all-built-dso): Define.
47466 (check-textrel.out, check-execstack.out): Depend on it.
47467
47468 * configure.in: Don't override --enable-multi-arch.
47469
474702011-01-15 Ulrich Drepper <drepper@gmail.com>
47471
47472 [BZ #6812]
47473 * nscd/hstcache.c (tryagain): Define.
47474 (cache_addhst): Return tryagain not notfound for temporary errors.
47475 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47476 failed.
47477
474782011-01-14 Ulrich Drepper <drepper@gmail.com>
47479
47480 [BZ #10563]
47481 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47482 to make the syscall.
47483 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47484
47485 [BZ #12378]
47486 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47487 and fall back to matching as normal character if the string ends before
47488 the matching ']' is found. This is what POSIX requires.
47489 * posix/testfnm.c: Adjust test result.
47490 * posix/globtest.sh: Adjust test result. Add new test.
47491 * posix/tst-fnmatch.input: Likewise.
47492 * posix/tst-fnmatch2.c: Add new test.
47493
474942010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47495
47496 * elf/Makefile (check-execstack): Revert last change. Depend on
47497 check-execstack.h.
47498 (check-execstack.h): New target.
47499 (generated): Add check-execstack.h.
47500 * elf/check-execstack.c: Include "check-execstack.h".
47501 (main): Revert last change.
47502 (handle_file): Return zero if GNU_STACK is absent and
47503 DEFAULT_STACK_PERMS doesn't include PF_X.
47504
475052011-01-13 Ulrich Drepper <drepper@gmail.com>
47506
47507 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47508 in child fails because the descriptor is already closed.
47509 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47510 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47511 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47512
47513 [BZ #12397]
47514 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47515 syscall.
47516
47517 [BZ #10484]
47518 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47519 temporary buffer used to handle multi lookups locally.
47520 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47521
475222011-01-12 Ulrich Drepper <drepper@gmail.com>
47523
47524 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47525 loader is ld.so.
47526
475272011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47528
47529 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47530 alignment for SSE2.
47531
475322011-01-12 Ulrich Drepper <drepper@gmail.com>
47533
47534 [BZ #12394]
47535 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47536 characters. When rounding increased number of integer digits recompute
47537 number of groups.
47538 * stdio-common/tst-grouping.c: New file.
47539 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47540
475412011-01-09 Ulrich Drepper <drepper@gmail.com>
47542
47543 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47544 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47545
47546 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47547 void.
47548 * bits/select.h: Likewise.
47549
475502011-01-08 Ulrich Drepper <drepper@gmail.com>
47551
47552 * po/ja.po: Update from translation team.
47553
475542011-01-04 David S. Miller <davem@sunset.davemloft.net>
47555
47556 [BZ #11155]
47557 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47558 implementation just like for lxstat, fxstatat, et al.
47559
475602010-12-27 Jim Meyering <meyering@redhat.com>
47561
47562 [BZ #12348]
47563 * posix/regexec.c (build_trtable): Return failure indication upon
47564 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47565
475662010-12-25 Ulrich Drepper <drepper@gmail.com>
47567
47568 [BZ #12201]
47569 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47570 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47571 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47572 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47573
47574 [BZ #12207]
47575 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47576
47577 [BZ #12204]
47578 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47579 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47580
475812010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47582
47583 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47584 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47585 script has SORT_BY_INIT_PRIORITY.
47586 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47587 NO_CTORS_DTORS_SECTIONS is defined.
47588 * elf/soinit.c: Likewise.
47589 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47590 NO_CTORS_DTORS_SECTIONS is defined.
47591 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47592 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47593 * sysdeps/sh/init-first.c: Likewise.
47594 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47595
475962010-12-24 Ulrich Drepper <drepper@gmail.com>
47597
47598 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47599 always use the slow path.
47600
476012010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47602
47603 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47604 similar rule which adds the sysdep directories to the header search in
47605 order to pick up the correct platform stackinfo.h.
47606 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47607 perform test if it is, otherwise return successfully without testing.
47608 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47609 DEFAULT_STACK_PERMS define in stackinfo.h.
47610 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47611 defined in stackinfo.h.
47612 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47613 DEFAULT_STACK_PERMS defined in stackinfo.h.
47614 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47615 * sysdeps/ia64/stackinfo.h: Likewise.
47616 * sysdeps/s390/stackinfo.h: Likewise.
47617 * sysdeps/sh/stackinfo.h: Likewise.
47618 * sysdeps/sparc/stackinfo.h: Likewise.
47619 * sysdeps/x86_64/stackinfo.h: Likewise.
47620 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47621 PF_X for powerpc64. Retain PF_X for powerpc32.
47622
476232010-12-19 Ulrich Drepper <drepper@gmail.com>
47624
47625 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47626 accurately.
47627 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47628 GETDENTS_64BIT_ALIGNED.
47629
476302010-12-14 Ulrich Drepper <dreper@gmail.com>
47631
47632 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47633
476342010-12-10 Andreas Schwab <schwab@redhat.com>
47635
47636 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47637 _GNU_SOURCE.
47638
47639 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47640 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47641 Remove __restrict.
47642 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47643 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47644
476452010-12-09 Ulrich Drepper <drepper@gmail.com>
47646
47647 [BZ #11655]
47648 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47649 are initialized.
47650
476512010-12-09 Jakub Jelinek <jakub@redhat.com>
47652
47653 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47654
476552010-12-03 Ulrich Drepper <drepper@gmail.com>
47656
47657 * po/it.po: Update from translation team.
47658
476592010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47660
47661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47662 unused codes.
47663
476642010-11-30 Ulrich Drepper <drepper@gmail.com>
47665
47666 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47667
476682010-11-24 Andreas Schwab <schwab@redhat.com>
47669
47670 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47671 specially.
47672 (gaih_getanswer_slice): Likewise.
47673
476742010-10-20 Jakub Jelinek <jakub@redhat.com>
47675
47676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47677
476782010-05-31 Petr Baudis <pasky@suse.cz>
47679
47680 [BZ #11149]
47681 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47682 silently even in the chroot mode.
47683
476842010-11-22 Ulrich Drepper <drepper@gmail.com>
47685
47686 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47687 last patch a bit. Pretty printing
47688
476892010-05-31 Petr Baudis <pasky@suse.cz>
47690
47691 [BZ #10085]
47692 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47693 initialization of skip_initgroups_dyn.
47694
476952010-11-19 Ulrich Drepper <drepper@gmail.com>
47696
47697 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47699
477002010-11-16 Ulrich Drepper <drepper@gmail.com>
47701
47702 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47703
477042010-11-11 Andreas Schwab <schwab@redhat.com>
47705
47706 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47707 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47708 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47709 ($(objpfx)tst-fnmatch-mem): New rule.
47710 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47711 * posix/tst-fnmatch.c (main): Call mtrace.
47712
477132010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47714
47715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47716 Support Intel processor model 6 and model 0x2c.
47717
477182010-11-10 Luis Machado <luisgpm@br.ibm.com>
47719
47720 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47721 signed comparison.
47722
477232010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47724
47725 [BZ #12205]
47726 * string/test-strncasecmp.c (check_result): New function.
47727 (do_one_test): Use it.
47728 (check1): New function.
47729 (test_main): Use it.
47730 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47731 Support strcasecmp and strncasecmp.
47732
477332010-11-08 Ulrich Drepper <drepper@gmail.com>
47734
47735 [BZ #12194]
47736 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47737 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47738
477392010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47740
47741 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47742 IFUNC support.
47743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47744 memset-x86-64.
47745 * sysdeps/x86_64/multiarch/bzero.S: New file.
47746 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47747 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47748 * sysdeps/x86_64/multiarch/memset.S: New file.
47749 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47751 Set bit_Prefer_SSE_for_memop for Intel processors.
47752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47753 Define.
47754 (index_Prefer_SSE_for_memop): Define.
47755 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47756
477572010-11-04 Luis Machado <luisgpm@br.ibm.com>
47758
47759 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47760 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47761
477622010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47763
47764 [BZ #12191]
47765 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47766 (__x86_64_raw_data_cache_size_half): Likewise.
47767 (__x86_64_raw_shared_cache_size): Likewise.
47768 (__x86_64_raw_shared_cache_size_half): Likewise.
47769
47770 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47771 (__x86_64_raw_data_cache_size_half): Likewise.
47772 (__x86_64_raw_shared_cache_size): Likewise.
47773 (__x86_64_raw_shared_cache_size_half): Likewise.
47774 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47775 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47776 and __x86_64_raw_shared_cache_size_half. Round
47777 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47778 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47779 to multiple of 256 bytes.
47780
477812010-11-03 Ulrich Drepper <drepper@gmail.com>
47782
47783 [BZ #12167]
47784 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47785 of inacessible symlinks. Verify result of symlink before returning it.
47786 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47787 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47788
477892010-10-28 Erich Ritz <erichritz@gmail.com>
47790
47791 * math/math.h (isinf): Fix typo in comment.
47792
477932010-11-01 Ulrich Drepper <drepper@gmail.com>
47794
47795 * po/da.po: Update from translation team.
47796
477972010-10-26 Ulrich Drepper <drepper@gmail.com>
47798
47799 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47800 is added to the list.
47801
478022010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47803 Ulrich Drepper <drepper@gmail.com>
47804
47805 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47806 the global list here. Move code to...
47807 (_dl_add_to_namespace_list): ...here. New function.
47808 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47809 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47810 * elf/dl-load.c (lose): Don't remove the element from the list.
47811 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47812 (_dl_map_object): Likewise.
47813
478142010-10-25 Ulrich Drepper <drepper@gmail.com>
47815
47816 [BZ #12159]
47817 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47818 into all bytes of SSE register.
47819 Patch by Richard Li <richardpku@gmail.com>.
47820
478212010-10-24 Ulrich Drepper <drepper@gmail.com>
47822
47823 [BZ #12140]
47824 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47825 perturbing.
47826
478272010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47828
47829 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47830 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47831 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47832 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47834 submachine.
47835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47836
478372010-10-22 Andreas Schwab <schwab@redhat.com>
47838
47839 * include/dlfcn.h (__RTLD_SECURE): Define.
47840 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47841 mode & __RTLD_SECURE instead.
47842 (open_path): Rename preloaded parameter to secure.
47843 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47844 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47845 * elf/dl-deps.c (openaux): Likewise.
47846 * elf/rtld.c (struct map_args): Remove is_preloaded.
47847 (map_doit): Don't use it.
47848 (dl_main): Likewise.
47849 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47850 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47851
478522010-09-09 Andreas Schwab <schwab@redhat.com>
47853
47854 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47855 (sysd-rules-targets): Remove duplicates.
47856 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47857 rtld-%.$o dependency.
47858
478592010-10-18 Andreas Schwab <schwab@redhat.com>
47860
47861 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47862 _dl_map_object do it.
47863
478642010-10-19 Ulrich Drepper <drepper@gmail.com>
47865
47866 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47867 fast fma builtins, define the macros in the C99 standard.
47868 (FP_FAST_FMAF): Likewise.
47869 (FP_FAST_FMAL): Likewise.
47870 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47871
47872 * bits/mathdef.h: Update copyright year.
47873 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47874
478752010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47876
47877 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47878 builtins, define the macros in the C99 standard.
47879 (FP_FAST_FMAF): Likewise.
47880 (FP_FAST_FMAL): Likewise.
47881 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47882 multiply/add.
47883 (FP_FAST_FMAF): Likewise.
47884
478852010-10-15 Jakub Jelinek <jakub@redhat.com>
47886
47887 [BZ #3268]
47888 * math/libm-test.inc (fma_test): Some new testcases.
47889 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47890 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47891 y and infinite z. Do multiplication by C already in long double.
47892 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47894 y and infinite z. Do bitwise or of inexact bit into u.d.
47895 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47896 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47897 * sysdeps/i386/fpu/s_fma.S: Removed.
47898 * sysdeps/i386/fpu/s_fmal.S: Removed.
47899
479002010-10-16 Jakub Jelinek <jakub@redhat.com>
47901
47902 [BZ #3268]
47903 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47905 computation is not scheduled after fetestexcept. Fix value
47906 of minimum denormal long double.
47907
479082010-10-14 Jakub Jelinek <jakub@redhat.com>
47909
47910 [BZ #3268]
47911 * math/libm-test.inc (fma_test): Add some more tests.
47912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47913 correctly.
47914
479152010-10-15 Andreas Schwab <schwab@redhat.com>
47916
47917 * scripts/data/localplt-s390-linux-gnu.data: New file.
47918 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47919
479202010-10-13 Jakub Jelinek <jakub@redhat.com>
47921
47922 [BZ #3268]
47923 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47924 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47925 instead of dbl-64.
47926 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47927 inlines.
47928 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47930 if one of x and y is very large and the other is subnormal.
47931 * sysdeps/s390/fpu/s_fmaf.c: New file.
47932 * sysdeps/s390/fpu/s_fma.c: New file.
47933 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47934 * sysdeps/powerpc/fpu/s_fma.S: New file.
47935 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47936 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47937 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47938
479392010-10-12 Jakub Jelinek <jakub@redhat.com>
47940
47941 [BZ #3268]
47942 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47943 fma tests.
47944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47945 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47946 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47947 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47948 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47949 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47950 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47951
479522010-10-12 Ulrich Drepper <drepper@redhat.com>
47953
47954 [BZ #12078]
47955 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47956 * posix/bug-regex31.input: Add test case.
47957
479582010-10-11 Ulrich Drepper <drepper@gmail.com>
47959
47960 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47961 * posix/bug-regex31.input: New file.
47962
47963 [BZ #12078]
47964 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47965 (parse_sub_exp): Fix last change, use postorder.
47966
47967 * posix/bug-regex31.c: New file.
47968 * posix/Makefile: Add rules to build and run bug-regex31.
47969
47970 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47971
47972 [BZ #12078]
47973 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47974
47975 [BZ #12108]
47976 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47977 to have entries in sys_siglist.
47978
47979 [BZ #12093]
47980 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47981 be NULL.
47982
479832010-10-07 Jakub Jelinek <jakub@redhat.com>
47984
47985 [BZ #3268]
47986 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47987 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47988 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47989 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47990 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47991 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47992 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47993 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47994 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47995 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47996 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47997 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47998 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47999 * math/ftestexcept.c (fetestexcept): Likewise.
48000 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48001 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48002 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48003 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48004 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48005 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48006 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48007
480082010-10-11 Ulrich Drepper <drepper@gmail.com>
48009
48010 [BZ #12107]
48011 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48012 newline.
48013
480142010-10-06 Ulrich Drepper <drepper@gmail.com>
48015
48016 * string/bug-strstr1.c: New file.
48017 * string/Makefile: Add rules to build and run bug-strstr1.
48018
480192010-10-05 Eric Blake <eblake@redhat.com>
48020
48021 [BZ #12092]
48022 * string/str-two-way.h (two_way_long_needle): Always clear memory
48023 when skipping input due to the shift table.
48024
480252010-10-03 Ulrich Drepper <drepper@gmail.com>
48026
48027 [BZ #12005]
48028 * malloc/mcheck.c: Handle large requests.
48029
48030 [BZ #12077]
48031 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48032 for strncmp and strncasecmp.
48033 * string/stratcliff.c: Add tests for strcmp and strncmp.
48034 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48035
480362010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48037
48038 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48039 __set_fpscr.
48040
480412010-09-30 Andreas Jaeger <aj@suse.de>
48042
48043 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48044 (CGROUP_SUPER_MAGIC): Define.
48045 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48046 Handle btrfs and cgroup file systems.
48047 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48048 Likewise.
48049
480502010-09-27 Luis Machado <luisgpm@br.ibm.com>
48051
48052 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48053 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48054
480552010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48056
48057 [BZ #12067]
48058 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48059 trying to locate the ELF header.
48060
480612010-09-27 Andreas Schwab <schwab@redhat.com>
48062
48063 [BZ #11611]
48064 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48065 Mask out sign-bit copies when constructing f_fsid.
48066
480672010-09-24 Petr Baudis <pasky@suse.cz>
48068
48069 * debug/stack_chk_fail_local.c: Add missing licence exception.
48070 * debug/warning-nop.c: Likewise.
48071
480722010-09-15 Joseph Myers <joseph@codesourcery.com>
48073
48074 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48075 implementing getdents64 using getdents syscall, set d_type if
48076 __ASSUME_GETDENTS32_D_TYPE.
48077
480782010-09-16 Andreas Schwab <schwab@redhat.com>
48079
48080 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48081 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48082
480832010-09-21 Ulrich Drepper <drepper@redhat.com>
48084
48085 [BZ #12037]
48086 * posix/unistd.h: Undo change of feature selection for ftruncate from
48087 2010-01-11.
48088
480892010-09-20 Ulrich Drepper <drepper@redhat.com>
48090
48091 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48092 detection.
48093
480942010-09-20 Andreas Schwab <schwab@redhat.com>
48095
48096 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48097 fanotify_mark.
48098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48099
481002010-09-14 Andreas Schwab <schwab@redhat.com>
48101
48102 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48103 variables after CHECK_SP call.
48104 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48105
481062010-09-13 Andreas Schwab <schwab@redhat.com>
48107 Ulrich Drepper <drepper@redhat.com>
48108
48109 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48110 re-relocationg ld.so.
48111 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48112 _dl_init_paths call.
48113 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48114 here anymore.
48115
481162010-09-14 Ulrich Drepper <drepper@redhat.com>
48117
48118 * resolv/res_init.c (__res_vinit): Count the default server we added.
48119
481202010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48121 Ulrich Drepper <drepper@redhat.com>
48122
48123 [BZ #11968]
48124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48125 (____longjmp_chk): Use %ebx for saving value across system call.
48126 Add unwind info.
48127
481282010-09-06 Andreas Schwab <schwab@redhat.com>
48129
48130 * manual/Makefile: Don't mix pattern rules with normal rules.
48131
481322010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48133
48134 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48135 operation.
48136 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48137 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48138 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48139 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48141 Likewise.
48142
481432010-09-04 Ulrich Drepper <drepper@redhat.com>
48144
48145 [BZ #11979]
48146 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48147 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48148
481492010-09-02 Ulrich Drepper <drepper@redhat.com>
48150
48151 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48152 * sysdeps/x86_64/addmul_1.S: Likewise.
48153 * sysdeps/x86_64/lshift.S: Likewise.
48154 * sysdeps/x86_64/mul_1.S: Likewise.
48155 * sysdeps/x86_64/rshift.S: Likewise.
48156 * sysdeps/x86_64/sub_n.S: Likewise.
48157 * sysdeps/x86_64/submul_1.S: Likewise.
48158
481592010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48160
48161 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48162 Define __sched_param instead of SCHED_* and sched_param when
48163 <bits/sched.h> is included with __need_schedparam defined.
48164 * bits/sched.h [__need_schedparam]
48165 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48166 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48167 (__defined_schedparam): Define to 1.
48168 (__sched_param): New structure, identical to sched_param.
48169 (__need_schedparam): Undefine.
48170
481712010-08-31 Mike Frysinger <vapier@gentoo.org>
48172
48173 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48174 (epoll_create1): Declare.
48175
48176 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48177
481782010-08-31 Andreas Schwab <schwab@redhat.com>
48179
48180 [BZ #7066]
48181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48182 shifting retval into place.
48183
481842010-09-01 Ulrich Drepper <drepper@redhat.com>
48185
48186 * nis/rpcsvc/nis.h: Update copyright notice.
48187 * nis/rpcsvc/nis.x: Likewise.
48188 * nis/rpcsvc/nis_callback.h: Likewise.
48189 * nis/rpcsvc/nis_callback.x: Likewise.
48190 * nis/rpcsvc/nis_object.x: Likewise.
48191 * nis/rpcsvc/nis_tags.h: Likewise.
48192 * nis/rpcsvc/yp.h: Likewise.
48193 * nis/rpcsvc/yp.x: Likewise.
48194 * nis/rpcsvc/ypupd.h: Likewise.
48195 * nis/yp_xdr.c: Likewise.
48196 * nis/ypupdate_xdr.c: Likewise.
48197
48198 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48199 mainly the body of pmap_getport. Add parameters to specify timeouts.
48200 (pmap_getport): Use __libc_rpc_getport.
48201 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48202 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48203 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48204
482052010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48206
48207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48208 fanotify_mark.
48209
482102010-08-27 Roland McGrath <roland@redhat.com>
48211
48212 * sysdeps/i386/i686/multiarch/Makefile
48213 (CFLAGS-varshift.c): New variable.
48214
482152010-08-27 Ulrich Drepper <drepper@redhat.com>
48216
48217 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48218 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48219
48220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48221
48222 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48223
482242010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48225
48226 * sysdeps/x86_64/strlen.S: Unroll the loop.
48227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48228 strlen-sse2 strlen-sse2-bsf.
48229 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48230 __strlen_no_bsf if bit_Slow_BSF is set.
48231 (__strlen_sse42): Removed.
48232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48233 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48234
482352010-08-25 Roland McGrath <roland@redhat.com>
48236
48237 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48238 * sysdeps/x86_64/multiarch/varshift.c: New file.
48239 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48240 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48241 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48242 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48243
482442010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48245
48246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48247 strlen-sse2 strlen-sse2-bsf.
48248 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48249 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48250 (__strlen_sse2): Removed.
48251 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48254 bit_Slow_BSF for Atom.
48255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48256 (index_Slow_BSF): Define.
48257 (HAS_SLOW_BSF): Define.
48258
482592010-08-25 Ulrich Drepper <drepper@redhat.com>
48260
48261 [BZ #10851]
48262 * resolv/res_init.c (__res_vinit): When no server address at all
48263 is given default to loopback.
48264
482652010-08-24 Roland McGrath <roland@redhat.com>
48266
48267 * configure.in: Remove config-name.h generation.
48268 * configure: Regenerated.
48269 * config-name.in: File removed.
48270 * scripts/config-uname.sh: New file.
48271 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48272 ($(objdir)config-name.h): New target.
48273
48274 * sunrpc/rpc_parse.h: Avoid nested comment.
48275
482762010-08-24 Richard Henderson <rth@redhat.com>
48277 Ulrich Drepper <drepper@redhat.com>
48278 H.J. Lu <hongjiu.lu@intel.com>
48279
48280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48282 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48283 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48284 _mm_alignr_epi8 with _mm_loadu_si128.
48285 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48286 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48287 (__m128i_shift_right): Removed.
48288 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48289 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48290 * sysdeps/x86_64/multiarch/varshift.h: New file.
48291 * sysdeps/x86_64/multiarch/varshift.S: New file.
48292
482932010-08-21 Mike Frysinger <vapier@gentoo.org>
48294
48295 * configure.in: Move assembler checks to before sysdep dir checking.
48296
482972010-08-20 Petr Baudis <pasky@suse.cz>
48298
48299 * LICENSES: Sync the sunrpc license.
48300
483012010-08-19 Ulrich Drepper <drepper@redhat.com>
48302
48303 * sunrpc/auth_des.c: Update copyright notice once again.
48304 * sunrpc/auth_none.c: Likewise.
48305 * sunrpc/auth_unix.c: Likewise.
48306 * sunrpc/authdes_prot.c: Likewise.
48307 * sunrpc/authuxprot.c: Likewise.
48308 * sunrpc/bindrsvprt.c: Likewise.
48309 * sunrpc/clnt_gen.c: Likewise.
48310 * sunrpc/clnt_perr.c: Likewise.
48311 * sunrpc/clnt_raw.c: Likewise.
48312 * sunrpc/clnt_simp.c: Likewise.
48313 * sunrpc/clnt_tcp.c: Likewise.
48314 * sunrpc/clnt_udp.c: Likewise.
48315 * sunrpc/clnt_unix.c: Likewise.
48316 * sunrpc/des_crypt.c: Likewise.
48317 * sunrpc/des_soft.c: Likewise.
48318 * sunrpc/get_myaddr.c: Likewise.
48319 * sunrpc/getrpcport.c: Likewise.
48320 * sunrpc/key_call.c: Likewise.
48321 * sunrpc/key_prot.c: Likewise.
48322 * sunrpc/openchild.c: Likewise.
48323 * sunrpc/pm_getmaps.c: Likewise.
48324 * sunrpc/pm_getport.c: Likewise.
48325 * sunrpc/pmap_clnt.c: Likewise.
48326 * sunrpc/pmap_prot.c: Likewise.
48327 * sunrpc/pmap_prot2.c: Likewise.
48328 * sunrpc/pmap_rmt.c: Likewise.
48329 * sunrpc/rpc/auth.h: Likewise.
48330 * sunrpc/rpc/auth_unix.h: Likewise.
48331 * sunrpc/rpc/clnt.h: Likewise.
48332 * sunrpc/rpc/des_crypt.h: Likewise.
48333 * sunrpc/rpc/key_prot.h: Likewise.
48334 * sunrpc/rpc/netdb.h: Likewise.
48335 * sunrpc/rpc/pmap_clnt.h: Likewise.
48336 * sunrpc/rpc/pmap_prot.h: Likewise.
48337 * sunrpc/rpc/pmap_rmt.h: Likewise.
48338 * sunrpc/rpc/rpc.h: Likewise.
48339 * sunrpc/rpc/rpc_des.h: Likewise.
48340 * sunrpc/rpc/rpc_msg.h: Likewise.
48341 * sunrpc/rpc/svc.h: Likewise.
48342 * sunrpc/rpc/svc_auth.h: Likewise.
48343 * sunrpc/rpc/types.h: Likewise.
48344 * sunrpc/rpc/xdr.h: Likewise.
48345 * sunrpc/rpc_clntout.c: Likewise.
48346 * sunrpc/rpc_cmsg.c: Likewise.
48347 * sunrpc/rpc_common.c: Likewise.
48348 * sunrpc/rpc_cout.c: Likewise.
48349 * sunrpc/rpc_dtable.c: Likewise.
48350 * sunrpc/rpc_hout.c: Likewise.
48351 * sunrpc/rpc_main.c: Likewise.
48352 * sunrpc/rpc_parse.c: Likewise.
48353 * sunrpc/rpc_parse.h: Likewise.
48354 * sunrpc/rpc_prot.c: Likewise.
48355 * sunrpc/rpc_sample.c: Likewise.
48356 * sunrpc/rpc_scan.c: Likewise.
48357 * sunrpc/rpc_scan.h: Likewise.
48358 * sunrpc/rpc_svcout.c: Likewise.
48359 * sunrpc/rpc_tblout.c: Likewise.
48360 * sunrpc/rpc_util.c: Likewise.
48361 * sunrpc/rpc_util.h: Likewise.
48362 * sunrpc/rpcinfo.c: Likewise.
48363 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48364 * sunrpc/rpcsvc/key_prot.x: Likewise.
48365 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48366 * sunrpc/rpcsvc/mount.x: Likewise.
48367 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48368 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48369 * sunrpc/rpcsvc/rex.x: Likewise.
48370 * sunrpc/rpcsvc/rstat.x: Likewise.
48371 * sunrpc/rpcsvc/rusers.x: Likewise.
48372 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48373 * sunrpc/rpcsvc/spray.x: Likewise.
48374 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48375 * sunrpc/rtime.c: Likewise.
48376 * sunrpc/svc.c: Likewise.
48377 * sunrpc/svc_auth.c: Likewise.
48378 * sunrpc/svc_authux.c: Likewise.
48379 * sunrpc/svc_raw.c: Likewise.
48380 * sunrpc/svc_run.c: Likewise.
48381 * sunrpc/svc_simple.c: Likewise.
48382 * sunrpc/svc_tcp.c: Likewise.
48383 * sunrpc/svc_udp.c: Likewise.
48384 * sunrpc/svc_unix.c: Likewise.
48385 * sunrpc/svcauth_des.c: Likewise.
48386 * sunrpc/xcrypt.c: Likewise.
48387 * sunrpc/xdr.c: Likewise.
48388 * sunrpc/xdr_array.c: Likewise.
48389 * sunrpc/xdr_float.c: Likewise.
48390 * sunrpc/xdr_mem.c: Likewise.
48391 * sunrpc/xdr_rec.c: Likewise.
48392 * sunrpc/xdr_ref.c: Likewise.
48393 * sunrpc/xdr_sizeof.c: Likewise.
48394 * sunrpc/xdr_stdio.c: Likewise.
48395
48396 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48397 handling.
48398
483992010-08-19 Andreas Schwab <schwab@redhat.com>
48400
48401 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48402
484032010-08-19 Luis Machado <luisgpm@br.ibm.com>
48404
48405 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48406 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48407 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48408 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48409 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48410 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48411 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48412 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48413 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48415 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48416 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48417 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48418 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48419
484202010-07-26 Anton Blanchard <anton@samba.org>
48421
48422 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48423 * malloc/arena.c (heap_trim): Likewise.
48424
484252010-08-16 Ulrich Drepper <drepper@redhat.com>
48426
48427 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48428 here. Not...
48429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48430 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48431
484322010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48433
48434 * sysdeps/i386/elf/Makefile: New file.
48435
484362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48437
48438 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48439 from fanotify_init.
48440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48442
484432010-08-15 Ulrich Drepper <drepper@redhat.com>
48444
48445 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48446 of strncasecmp_l.
48447 * sysdeps/multiarch/strcmp.S: Likewise.
48448
484492010-08-14 Ulrich Drepper <drepper@redhat.com>
48450
48451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48452 strncase_l-nonascii.
48453 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48454 Add strncase_l-ssse3.
48455 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48456 * sysdeps/x86_64/strcmp.S: Likewise.
48457 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48458 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48459 * sysdeps/x86_64/strncase.S: New file.
48460 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48461 * sysdeps/x86_64/strncase_l.S: New file.
48462 * string/Makefile (strop-tests): Add strncasecmp.
48463 * string/test-strncasecmp.c: New file.
48464
48465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48466 warning.
48467
48468 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48469 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48470
484712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48472
48473 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48474
484752010-08-12 Ulrich Drepper <drepper@redhat.com>
48476
48477 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48479 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48480
484812010-05-01 Alan Modra <amodra@gmail.com>
48482
48483 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48484 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48485 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48486 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48487 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48488 tidying. Don't tail-call __sigjmp_save for static lib.
48489 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48490 save location.
48491 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48492 (CALL_MCOUNT): Add eh info, and nop after bl.
48493 (TAIL_CALL_SYSCALL_ERROR): New macro.
48494 (PSEUDO_RET): Use it.
48495 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48496 Correct save location of integer regs and cr.
48497 (_dl_profile_resolve): Correct cr save location. Delete nops
48498 after bl when SHARED. Reduce cfi size a little by better
48499 placement of cfi directives.
48500 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48501 make a stack frame. Instead use parm save area as a temp.
48502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48503 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48505 Don't make a stack frame for parent, use parm save area.
48506 Increase child stack frame to 112 bytes. Don't save unused reg,
48507 and adjust reg usage. Set up cfi on error recovery and
48508 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48510 (__makecontext): Add dummy nop after jump to exit.
48511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48512 Use correct parm save area and cr save, reduce stack frame.
48513 Correct cfi for possible PSEUDO_RET frame setup.
48514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48515 Branch to local label emitted by PSEUDO_RET rather than
48516 __syscall_error.
48517
485182010-08-12 Andreas Schwab <schwab@redhat.com>
48519
48520 [BZ #11904]
48521 * locale/programs/locale.c (print_assignment): New function.
48522 (show_locale_vars): Use it.
48523
485242010-08-11 Ulrich Drepper <drepper@redhat.com>
48525
48526 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48527 field.
48528 (struct statfs64): Likewise.
48529 (_STATFS_F_FLAGS): Define.
48530 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48531 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48532 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48533 (ST_VALID): Define locally.
48534 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48535 __statvfs_getflags, use the provided value.
48536 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48537 __ASSUME_STATFS_F_FLAGS.
48538
48539 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48540
48541 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48542 Add sys/fanotify.h.
48543 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48544 fanotify_mask for GLIBC_2.13.
48545 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48546 fanotify_init and fanotify_mark.
48547 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48548 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48549
48550 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48551 Add prlimit.
48552 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48553 prlimit64 for GLIBC_2.13.
48554 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48555 prlimit64.
48556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48557 syscall.
48558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48559 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48560 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48561 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48563 add prlimit alias.
48564 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48565
48566 [BZ #11903]
48567 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48568 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48569
48570 * nss/Makefile: Add rules to build and run tst-nss-test1.
48571 * shlib-versions: Add entry for libnss_test1.
48572 * nss/nss_test1.c: New file.
48573 * nss/tst-nss-test1.c: New file.
48574
48575 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48576 (__nss_configure_lookup): Set appropriate entry in
48577 __nss_configure_lookup to true.
48578 * nss/nsswitch.h: Define enum with indeces of databases in
48579 databases and __nss_database_custom arrays. Declare
48580 __nss_database_custom.
48581 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48582 to avoid using nscd when custom rules are installed.
48583 * nss/getXXbyYY_r.c: Likewise.
48584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48585
48586 * nss/nss_files/files-parse.c: Whitespace fixes.
48587
485882010-08-09 Ulrich Drepper <drepper@redhat.com>
48589
48590 [BZ #11883]
48591 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48592 * posix/fnmatch_loop.c: Likewise.
48593
485942010-07-17 Andi Kleen <ak@linux.intel.com>
48595
48596 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48597 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48598 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48599 * Versions.def [GLIBC_2.13]: Add.
48600
486012010-08-06 Ulrich Drepper <drepper@redhat.com>
48602
48603 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48604 Also fail if tpwd after pwuid call is NULL.
48605
486062010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48607
48608 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48609 when converting to ms.
48610
486112010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48612
48613 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48614 EOPNOTSUPP errors with ENOTTY.
48615 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48616 EOPNOTSUPP errors with ENOTTY.
48617
486182010-07-31 Ulrich Drepper <drepper@redhat.com>
48619
48620 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48621 Add strcasecmp_l-ssse3.
48622 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48623 strcasecmp.
48624 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48625 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48626 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48627
486282010-07-30 Ulrich Drepper <drepper@redhat.com>
48629
48630 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48631
48632 * string/Makefile (strop-tests): Add strcasecmp.
48633 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48634 strcasecmp_l-nonascii.
48635 (gen-as-const-headers): Add locale-defines.sym.
48636 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48637 * sysdeps/x86_64/strcasecmp.S: New file.
48638 * sysdeps/x86_64/strcasecmp_l.S: New file.
48639 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48640 * sysdeps/x86_64/locale-defines.sym: New file.
48641 * string/test-strcasecmp.c: New file.
48642
48643 * string/test-strcasestr.c: Test both ends of the range of characters.
48644 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48645
486462010-07-29 Roland McGrath <roland@redhat.com>
48647
48648 [BZ #11856]
48649 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48650
486512010-07-27 Ulrich Drepper <drepper@redhat.com>
48652
48653 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48654 for ld.so.
48655
486562010-07-27 Andreas Schwab <schwab@redhat.com>
48657
48658 * manual/memory.texi (Malloc Tunable Parameters): Document
48659 M_PERTURB.
48660
486612010-07-26 Roland McGrath <roland@redhat.com>
48662
48663 [BZ #11840]
48664 * configure.in (-fgnu89-inline check): Set and substitute
48665 gnu89_inline, not libc_cv_gnu89_inline.
48666 * configure: Regenerated.
48667 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48668
486692010-07-26 Ulrich Drepper <drepper@redhat.com>
48670
48671 * string/test-strnlen.c: New file.
48672 * string/Makefile (strop-tests): Add strnlen.
48673 * string/tester.c (test_strnlen): Add a few more test cases.
48674 * string/tst-strlen.c: Better error reporting.
48675
48676 * sysdeps/x86_64/strnlen.S: New file.
48677
486782010-07-24 Ulrich Drepper <drepper@redhat.com>
48679
48680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48681 lower-latency instructions.
48682
486832010-07-23 Ulrich Drepper <drepper@redhat.com>
48684
48685 * string/test-strcasestr.c: New file.
48686 * string/test-strstr.c: New file.
48687 * string/Makefile (strop-tests): Add strstr and strcasestr.
48688 * string/str-two-way.h: Don't undefine MAX.
48689 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48690
486912010-07-21 Andreas Schwab <schwab@redhat.com>
48692
48693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48694 strcasestr-nonascii.
48695 (CFLAGS-strcasestr-nonascii.c): Define.
48696 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48698 Remove unused attribute.
48699
487002010-07-20 Roland McGrath <roland@redhat.com>
48701
48702 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48703 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48704 ld.so.cache was broken. With it, there is no way to disable dsocaps
48705 like LD_HWCAP_MASK can disable hwcaps.
48706
487072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48708
48709 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48710
487112010-07-16 Ulrich Drepper <drepper@redhat.com>
48712
48713 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48714 call in strcasestr.
48715 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48716 __strcasestr_sse42_nonascii.
48717 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48718 strcasestr-nonascii.c.
48719 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48720
487212010-06-15 Luis Machado <luisgpm@br.ibm.com>
48722
48723 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48725 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48726 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48727
487282010-07-09 Ulrich Drepper <drepper@redhat.com>
48729
48730 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48731 fcntl.
48732
487332010-07-06 Andreas Schwab <schwab@redhat.com>
48734
48735 [BZ #11577]
48736 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48737 dl_signal_cerror.
48738
487392010-07-06 Ulrich Drepper <drepper@redhat.com>
48740
48741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48742 _PC_PIPE_BUF using F_GETPIPE_SZ.
48743
487442010-07-05 Roland McGrath <roland@redhat.com>
48745
48746 * manual/arith.texi (Rounding Functions): Fix rint description
48747 implicit in round description.
48748
487492010-07-02 Ulrich Drepper <drepper@redhat.com>
48750
48751 * elf/Makefile: Fix linking for a few tests to make recent linker
48752 happy.
48753
487542010-06-30 Andreas Schwab <schwab@redhat.com>
48755
48756 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48757 $(common-objpfx)libc_nonshared.a.
48758
487592010-06-21 Luis Machado <luisgpm@br.ibm.com>
48760
48761 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48762 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48763 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48764 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48765 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48766 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48767 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48768 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48783 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48784 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48785 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48786 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48787 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48788 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48789 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48790 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48791 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48792 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48793 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48794 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48809
488102010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48811
48812 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48813 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48814 * string/memmove.c (memmove): Renamed to ...
48815 (MEMMOVE): ...this. Default to memmove.
48816 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48817 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48818 (END_CHK): Define.
48819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48820 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48821 mempcpy-ssse3-back memmove-ssse3-back.
48822 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48825 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48826 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48827 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48828 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48829 * sysdeps/x86_64/multiarch/memmove.c: New file.
48830 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48831 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48832 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48833 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48836 Define.
48837 (index_Fast_Copy_Backward): Define.
48838 (HAS_ARCH_FEATURE): Define.
48839 (HAS_FAST_REP_STRING): Define.
48840 (HAS_FAST_COPY_BACKWARD): Define.
48841
488422010-06-21 Andreas Schwab <schwab@redhat.com>
48843
48844 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48845 Restore proper fallback handling.
48846
488472010-06-19 Ulrich Drepper <drepper@redhat.com>
48848
48849 [BZ #11701]
48850 * posix/group_member.c (__group_member): Correct checking loop.
48851
48852 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48853 OOM in getpwuid_r correctly. Return error number when the caller
48854 should return, otherwise -1.
48855 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48856 call returning > 0 value.
48857 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48858
488592010-06-07 Andreas Schwab <schwab@redhat.com>
48860
48861 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48862 libc_nonshared.a from targets in modules-names.
48863
488642010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48865
48866 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48867 requires it.
48868
488692010-06-10 Luis Machado <luisgpm@br.ibm.com>
48870
48871 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48872 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48874 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48875
488762010-06-02 Andreas Schwab <schwab@redhat.com>
48877
48878 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48879
488802010-06-14 Ulrich Drepper <drepper@redhat.com>
48881
48882 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48883 and F_GETPIPE_SZ.
48884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48888 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48889 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48890
488912010-06-14 Roland McGrath <roland@redhat.com>
48892
48893 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48894
488952010-06-07 Jakub Jelinek <jakub@redhat.com>
48896
48897 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48898 __REDIRECT followed by __THROW.
48899 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48900 * posix/getopt.h (getopt): Likewise.
48901
489022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48903
48904 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48905 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48906 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48907 in AT_FLAGS.
48908 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48909 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48910
489112010-05-28 Luis Machado <luisgpm@br.ibm.com>
48912
48913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48914
489152010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48916
48917 [BZ #11640]
48918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48919 Properly check family and model.
48920
489212010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48922
48923 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48924
489252010-05-24 Luis Machado <luisgpm@br.ibm.com>
48926
48927 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48928
489292010-05-21 Ulrich Drepper <drepper@redhat.com>
48930
48931 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48932 symbol reference.
48933
489342010-05-19 Andreas Schwab <schwab@redhat.com>
48935
48936 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48937 symbol reference.
48938
489392010-05-21 Andreas Schwab <schwab@redhat.com>
48940
48941 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48942 and internal_recvmmsg.
48943 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48944 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48945 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48946 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48947
48948 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48949 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48950 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48951
489522010-05-20 Andreas Schwab <schwab@redhat.com>
48953
48954 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48955
489562010-05-17 Luis Machado <luisgpm@br.ibm.com>
48957
48958 POWER7 optimizations.
48959 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48960 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48961
489622010-05-19 Ulrich Drepper <drepper@redhat.com>
48963
48964 * version.h: Update for 2.13 development version.
48965
489662010-05-12 Andrew Stubbs <ams@codesourcery.com>
48967
48968 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48969 exceptions. Return 0.
48970
489712010-05-07 Roland McGrath <roland@redhat.com>
48972
48973 * elf/ldconfig.c (main): Add a const.
48974
489752010-05-06 Ulrich Drepper <drepper@redhat.com>
48976
48977 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48978 (args_options): Add no-idn option.
48979 (ahosts_keys_int): Add idn_flags to ai_flags.
48980 (parse_option): Handle 'i' option to clear idn_flags.
48981
48982 * malloc/malloc.c (_int_free): Possible race in the most recently
48983 added check. Only act on the data if no current modification
48984 happened.
48985
48986See ChangeLog.17 for earlier changes.